X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fadc2df6823d988f7a264b94e69a7e1bbcac1337..ed8efd46d9c8fa3bf5d10b2a6efd295a6dd71bdb:/interface/wx/splitter.h diff --git a/interface/wx/splitter.h b/interface/wx/splitter.h index 3561831d42..7269d4a9b0 100644 --- a/interface/wx/splitter.h +++ b/interface/wx/splitter.h @@ -37,7 +37,7 @@ @endStyleTable - @beginEventTable{wxSplitterEvent} + @beginEventEmissionTable{wxSplitterEvent} @event{EVT_SPLITTER_SASH_POS_CHANGING(id, func)} The sash position is in the process of being changed. May be used to modify the position of the tracking bar to properly @@ -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 @@ -424,7 +423,7 @@ public: @library{wxcore} @category{events} - @see wxSplitterWindow, @ref overview_eventhandling + @see wxSplitterWindow, @ref overview_events */ class wxSplitterEvent : public wxNotifyEvent {