X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef74b15f769a43096fbd590e804caef53977701..1e40f6676a0e403bf9f98ab44d40edab0811499b:/include/wx/pickerbase.h diff --git a/include/wx/pickerbase.h b/include/wx/pickerbase.h index c1b8bb9b49..b7a696d7eb 100644 --- a/include/wx/pickerbase.h +++ b/include/wx/pickerbase.h @@ -16,8 +16,8 @@ #include "wx/sizer.h" #include "wx/containr.h" -class WXDLLIMPEXP_CORE wxTextCtrl; -class WXDLLEXPORT wxToolTip; +class WXDLLIMPEXP_FWD_CORE wxTextCtrl; +class WXDLLIMPEXP_FWD_CORE wxToolTip; extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[]; @@ -37,7 +37,7 @@ class WXDLLIMPEXP_CORE wxPickerBase : public wxControl public: // ctor: text is the associated text control wxPickerBase() : m_text(NULL), m_picker(NULL), m_sizer(NULL) - { m_container.SetContainerWindow(this); } + { WX_INIT_CONTROL_CONTAINER(); } virtual ~wxPickerBase() {}