X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fadc2df6823d988f7a264b94e69a7e1bbcac1337..d8efd2198ff050ca5a5726bcad0f42692fe872df:/interface/wx/splitter.h diff --git a/interface/wx/splitter.h b/interface/wx/splitter.h index 3561831d42..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