]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/pickerbase.h
Patch 1708290
[wxWidgets.git] / include / wx / pickerbase.h
index c1b8bb9b496961e248fd075be1c33ae092dca556..8fc0846b2ac82bbd7643eb302a9ad783e114c553 100644 (file)
@@ -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() {}