]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
Don't use wxDC in header
[wxWidgets.git] / include / wx / msw / listbox.h
index 9ccfa810a7684494b9f400658527afb824ec1d71..0d9982bab80879d9d063718270b621458e84694e 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);
     }