]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / listbox.h
index 38b1afcd158a889d3437634dfb07b84ba89e4cdd..8d8bd01a87f0bc3649d3b3ecb89d3bc2dc87554b 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     01/02/97
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -59,6 +58,8 @@ public:
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxListBoxNameStr)
     {
+        Init();
+
         Create(parent, id, pos, size, choices, style, validator, name);
     }
 
@@ -190,6 +191,7 @@ private:
     // i.e. if we need to call SetHorizontalExtent() from OnInternalIdle()
     bool m_updateHorizontalExtent;
 
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxListBox)
 };