X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e725ba4fc2984f86fc64c405ecb50883e2178e6e..fcd209b6a20b41e7ddf9acf837311ac6779ea41f:/interface/wx/splitter.h diff --git a/interface/wx/splitter.h b/interface/wx/splitter.h index e1838691d6..7934d3db1e 100644 --- a/interface/wx/splitter.h +++ b/interface/wx/splitter.h @@ -95,7 +95,7 @@ public: @see Initialize(), SplitVertically(), SplitHorizontally(), Create() */ - wxSplitterWindow(wxWindow* parent, wxWindowID id, + wxSplitterWindow(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSP_3D, @@ -110,11 +110,10 @@ public: Creation function, for two-step construction. See wxSplitterWindow() for details. */ - bool Create(wxWindow* parent, wxWindowID id, + bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& point = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxSP_3D, - const wxString& name = "splitterWindow"); + const wxSize& size = wxDefaultSize, long style = wxSP_3D, + const wxString& name = "splitter"); /** Returns the current minimum pane size (defaults to zero). @@ -142,7 +141,7 @@ public: @see SetSplitMode(), SplitVertically(), SplitHorizontally(). */ - int GetSplitMode() const; + wxSplitMode GetSplitMode() const; /** Returns the left/top or only pane. @@ -284,7 +283,7 @@ public: @see GetSashPosition() */ - void SetSashPosition(int position, const bool redraw = true); + void SetSashPosition(int position, bool redraw = true); /** Sets the sash size. Normally, the sash size is determined according to the @@ -330,8 +329,8 @@ public: @see SplitVertically(), IsSplit(), Unsplit() */ - bool SplitHorizontally(wxWindow* window1, wxWindow* window2, - int sashPosition = 0); + virtual bool SplitHorizontally(wxWindow* window1, wxWindow* window2, + int sashPosition = 0); /** Initializes the left and right panes of the splitter window. @@ -357,8 +356,8 @@ public: @see SplitHorizontally(), IsSplit(), Unsplit(). */ - bool SplitVertically(wxWindow* window1, wxWindow* window2, - int sashPosition = 0); + virtual bool SplitVertically(wxWindow* window1, wxWindow* window2, + int sashPosition = 0); /** Unsplits the window.