X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..0d575a5dfaff72e6cbf20862e39f1912e0de2229:/wxPython/src/_splitter.i?ds=inline diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index 5f839f6287..863ad23bbd 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -27,6 +27,7 @@ enum { wxSP_LIVE_UPDATE, wxSP_3DSASH, wxSP_3DBORDER, + wxSP_NO_XP_THEME, wxSP_BORDER, wxSP_3D, }; @@ -108,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; @@ -186,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 } //---------------------------------------------------------------------------