X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14b4c0ff125b7bd175916f465e76a359b4fda706..e3c55eb333d273693ed2aea23da909b33e9e5484:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 84fa3077c4..239d5dcec6 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -221,6 +221,7 @@ public: #ifdef __WXMAC__ virtual bool MacClipGrandChildren() const { return true ; } #endif + protected: // event handlers #if defined(__WXMSW__) || defined(__WXMAC__) @@ -231,7 +232,6 @@ protected: // by the user code inline bool DoSendEvent(wxSplitterEvent& event); -protected: // common part of all ctors void Init(); @@ -270,6 +270,11 @@ protected: // redraw the splitter if its "hotness" changed if necessary void RedrawIfHotSensitive(bool isHot); + // return the best size of the splitter equal to best sizes of its + // subwindows + virtual wxSize DoGetBestSize() const; + + wxSplitMode m_splitMode; wxWindow* m_windowOne; wxWindow* m_windowTwo;