X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cefae4bc3cac29222757afbd605867b34f421af9..4263de1e0586d20cb49d0dde23f0d227c5ef25cb:/wxPython/src/_splitter.i?ds=inline diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index 557e02eefb..863ad23bbd 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -109,6 +109,11 @@ public: // parameter should be NULL) bool ReplaceWindow(wxWindow *winOld, wxWindow *winNew); + // Make sure the child window sizes are updated. This is useful + // for reducing flicker by updating the sizes before a + // window is shown, if you know the overall size is correct. + void UpdateSize(); + // Is the window split? bool IsSplit() const; @@ -187,6 +192,7 @@ EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_PO EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 ) EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 ) EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 ) +EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED } //---------------------------------------------------------------------------