X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b55490abdb56cd66acf9d965981c4bb4b5f2abb..94e2ed3b8db0220160c0b939782cd46914ec073a:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 853e75e5a1..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; @@ -37,8 +38,6 @@ enum wxSPLIT_DRAG_LEFT_DOWN }; -class WXDLLEXPORT wxControlContainer; - // --------------------------------------------------------------------------- // wxSplitterWindow maintains one or two panes, with // an optional vertical or horizontal split which @@ -62,7 +61,7 @@ public: // Public API // Default constructor - wxSplitterWindow() : m_container(this) + wxSplitterWindow() { Init(); } @@ -73,7 +72,6 @@ public: const wxSize& size = wxDefaultSize, long style = wxSP_3D, const wxString& name = "splitter") - : m_container(this) { Init(); Create(parent, id, pos, size, style, name);