X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..a20a357d928b6da93bc8b92193471f51a71127ba:/interface/wx/aui/framemanager.h diff --git a/interface/wx/aui/framemanager.h b/interface/wx/aui/framemanager.h index 2f4b7c5591..bdca83fbfd 100644 --- a/interface/wx/aui/framemanager.h +++ b/interface/wx/aui/framemanager.h @@ -35,6 +35,7 @@ enum wxAuiManagerOption wxAUI_MGR_RECTANGLE_HINT = 1 << 5, wxAUI_MGR_HINT_FADE = 1 << 6, wxAUI_MGR_NO_VENETIAN_BLINDS_FADE = 1 << 7, + wxAUI_MGR_LIVE_RESIZE = 1 << 8, wxAUI_MGR_DEFAULT = wxAUI_MGR_ALLOW_FLOATING | wxAUI_MGR_TRANSPARENT_HINT | @@ -69,8 +70,8 @@ enum wxAuiManagerOption @code wxTextCtrl* text1 = new wxTextCtrl(this, -1); wxTextCtrl* text2 = new wxTextCtrl(this, -1); - m_mgr.AddPane(text1, wxLEFT, wxT("Pane Caption")); - m_mgr.AddPane(text2, wxBOTTOM, wxT("Pane Caption")); + m_mgr.AddPane(text1, wxLEFT, "Pane Caption"); + m_mgr.AddPane(text2, wxBOTTOM, "Pane Caption"); m_mgr.Update(); @endcode @@ -82,7 +83,7 @@ enum wxAuiManagerOption @endcode - @section wxauimanager_layers Layers, Rows and Directions, Positions + @section auimanager_layers Layers, Rows and Directions, Positions Inside wxAUI, the docking layout is figured out by checking several pane parameters. Four of these are important for determining where a pane will end up: @@ -202,8 +203,8 @@ public: interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned wxAuiPaneInfo's IsOk() method will return @false. */ - wxAuiPaneInfo GetPane(wxWindow* window); - wxAuiPaneInfo GetPane(const wxString& name); + wxAuiPaneInfo& GetPane(wxWindow* window); + wxAuiPaneInfo& GetPane(const wxString& name); //@} /** @@ -365,8 +366,8 @@ public: BestSize() sets the ideal size for the pane. The docking manager will attempt to use this size as much as possible when docking or floating the pane. */ - wxAuiPaneInfo BestSize(const wxSize& size); - wxAuiPaneInfo BestSize(int x, int y); + wxAuiPaneInfo& BestSize(const wxSize& size); + wxAuiPaneInfo& BestSize(int x, int y); //@} /** @@ -399,8 +400,8 @@ public: right, bottom) are subtracted from the layout. This is the same thing as calling Direction(wxAUI_DOCK_CENTRE). */ - wxAuiPaneInfo Centre(); - wxAuiPaneInfo Center(); + wxAuiPaneInfo& Centre(); + wxAuiPaneInfo& Center(); //@} //@{ @@ -410,8 +411,8 @@ public: This function provides an easy way of preparing a pane to be displayed in the center dock position. */ - wxAuiPaneInfo CentrePane(); - wxAuiPaneInfo CenterPane(); + wxAuiPaneInfo& CentrePane(); + wxAuiPaneInfo& CenterPane(); //@} /** @@ -478,16 +479,16 @@ public: /** FloatingPosition() sets the position of the floating pane. */ - wxAuiPaneInfo FloatingPosition(const wxPoint& pos); - wxAuiPaneInfo FloatingPosition(int x, int y); + wxAuiPaneInfo& FloatingPosition(const wxPoint& pos); + wxAuiPaneInfo& FloatingPosition(int x, int y); //@} //@{ /** FloatingSize() sets the size of the floating pane. */ - wxAuiPaneInfo FloatingSize(const wxSize& size); - wxAuiPaneInfo FloatingSize(int x, int y); + wxAuiPaneInfo& FloatingSize(const wxSize& size); + wxAuiPaneInfo& FloatingSize(int x, int y); //@} /** @@ -516,10 +517,10 @@ public: bool HasCloseButton() const; /** - HasFlag() returns @true if the the property specified by flag is active for the - pane. + HasFlag() returns @true if the property specified by flag is active for + the pane. */ - bool HasFlag(unsigned int flag) const; + bool HasFlag(int flag) const; /** HasGripper() returns @true if the pane displays a gripper. @@ -648,8 +649,8 @@ public: /** MaxSize() sets the maximum size of the pane. */ - wxAuiPaneInfo MaxSize(const wxSize& size); - wxAuiPaneInfo MaxSize(int x, int y); + wxAuiPaneInfo& MaxSize(const wxSize& size); + wxAuiPaneInfo& MaxSize(int x, int y); //@} /** @@ -662,8 +663,8 @@ public: MinSize() sets the minimum size of the pane. Please note that this is only partially supported as of this writing. */ - wxAuiPaneInfo MinSize(const wxSize& size); - wxAuiPaneInfo MinSize(int x, int y); + wxAuiPaneInfo& MinSize(const wxSize& size); + wxAuiPaneInfo& MinSize(int x, int y); //@} /** @@ -730,7 +731,7 @@ public: SetFlag() turns the property given by flag on or off with the option_state parameter. */ - wxAuiPaneInfo& SetFlag(unsigned int flag, bool option_state); + wxAuiPaneInfo& SetFlag(int flag, bool option_state); /** Show() indicates that a pane should be shown.