X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ace954f1db1aa71cd477cb39e08b893f46aa7de0..b92203a8be20debe7615492c26969d17bcd7fa8d:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 0021cc304f..dc2659dac3 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -28,7 +28,7 @@ // define the array of list box items #include "wx/dynarray.h" - WX_DEFINE_EXPORTED_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray); + WX_DEFINE_EXPORTED_ARRAY_NO_PTR(wxOwnerDrawn *, wxListBoxItemsArray); #endif // wxUSE_OWNER_DRAWN // forward decl for GetSelections() @@ -95,7 +95,7 @@ public: bool MSWOnDraw(WXDRAWITEMSTRUCT *item); // plug-in for derived classes - virtual wxOwnerDrawn *CreateItem(size_t n); + virtual wxOwnerDrawn *CreateLboxItem(size_t n); // allows to get the item and use SetXXX functions to set it's appearance wxOwnerDrawn *GetItem(size_t n) const { return m_aItems[n]; }