X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4438caf41af49f00f3c8137ac801871f59cce386..efba2b89f15ba8757a722fc56c67f434cf960482:/include/wx/msw/listbox.h?ds=inline diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 03f08992db..6d1d8c0ba6 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -26,7 +26,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxListBoxNameStr; // define the array of list box items #include - 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;