X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef74b15f769a43096fbd590e804caef53977701..50b2d5444664827e97c637b3921500ea22b4fd45:/include/wx/pickerbase.h

diff --git a/include/wx/pickerbase.h b/include/wx/pickerbase.h
index c1b8bb9b49..8fc0846b2a 100644
--- a/include/wx/pickerbase.h
+++ b/include/wx/pickerbase.h
@@ -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() {}