X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef74b15f769a43096fbd590e804caef53977701..a2c5db764c8450dda6e87fe58917b0a00ec2c74f:/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() {}