- wxFloatingPane(wxWindow* parent,
- wxFrameManager* owner_mgr,
- wxWindowID id = -1,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize);
- ~wxFloatingPane();
- void SetPaneWindow(const wxPaneInfo& pane);
+ wxAuiFloatingFrame(wxWindow* parent,
+ wxAuiManager* ownerMgr,
+ const wxAuiPaneInfo& pane,
+ wxWindowID id = wxID_ANY,
+ long style = wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION |
+ wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT |
+ wxCLIP_CHILDREN
+ );
+ virtual ~wxAuiFloatingFrame();
+ void SetPaneWindow(const wxAuiPaneInfo& pane);
+ wxAuiManager* GetOwnerManager() const;
+
+protected:
+ virtual void OnMoveStart();
+ virtual void OnMoving(const wxRect& windowRect, wxDirection dir);
+ virtual void OnMoveFinished();
+