X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dead66baf536dd55f3d9ab6365acc42bdecd1850..761df41e86ceeed56d32c038a6c9f88554d4f47a:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 09fa572b01..8528e2265b 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -17,6 +17,7 @@ #endif #include "wx/window.h" // base class declaration +#include "wx/containr.h" // wxControlContainer class WXDLLEXPORT wxSplitterEvent; @@ -76,7 +77,7 @@ public: Create(parent, id, pos, size, style, name); } - ~wxSplitterWindow(); + virtual ~wxSplitterWindow(); bool Create(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, @@ -209,9 +210,9 @@ protected: void SendUnsplitEvent(wxWindow *winRemoved); protected: + // common part of all ctors void Init(); - int m_splitMode; bool m_permitUnsplitAlways; bool m_needUpdating; // when in live mode, set this to TRUE to resize children in idle @@ -237,6 +238,8 @@ protected: wxPen* m_facePen; private: + WX_DECLARE_CONTROL_CONTAINER(); + DECLARE_DYNAMIC_CLASS(wxSplitterWindow) DECLARE_EVENT_TABLE() };