]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
Restored wxSizeEvent code form last week -> wxGLCanvas
[wxWidgets.git] / include / wx / msw / listbox.h
index 03f08992db745bcd8618841a04aa78f3964b9df5..6d1d8c0ba6e89b2ccd69481b9e3f23b2a6d98989 100644 (file)
@@ -26,7 +26,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxListBoxNameStr;
   // define the array of list box items
   #include  <wx/dynarray.h>
 
-  WX_DEFINE_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray);
+  WX_DEFINE_EXPORTED_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray);
 
 #endif
 
@@ -129,6 +129,8 @@ protected:
     int m_noItems;
     int m_selected;
 
+    virtual wxSize DoGetBestSize();
+
 #if wxUSE_OWNER_DRAWN
     // control items
     wxListBoxItemsArray m_aItems;