]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
Allow using wxDEFAULT as font size in wxOSX.
[wxWidgets.git] / include / wx / msw / listbox.h
index 38b1afcd158a889d3437634dfb07b84ba89e4cdd..b687aac8d7e6e5ebef1aa8f1c4fdb35f83d1df24 100644 (file)
@@ -59,6 +59,8 @@ public:
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxListBoxNameStr)
     {
+        Init();
+
         Create(parent, id, pos, size, choices, style, validator, name);
     }
 
@@ -190,6 +192,7 @@ private:
     // i.e. if we need to call SetHorizontalExtent() from OnInternalIdle()
     bool m_updateHorizontalExtent;
 
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxListBox)
 };