X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..2e5f9929e68e3878728c6a915268f4e8ed09383a:/src/palmos/listbox.cpp diff --git a/src/palmos/listbox.cpp b/src/palmos/listbox.cpp index de22719ab6..fd23382ec9 100644 --- a/src/palmos/listbox.cpp +++ b/src/palmos/listbox.cpp @@ -95,7 +95,7 @@ wxEND_HANDLERS_TABLE() wxCONSTRUCTOR_4( wxListBox , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size ) #else -IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems) #endif // ============================================================================ @@ -200,7 +200,7 @@ bool wxListBox::IsSelected(int N) const void *wxListBox::DoGetItemClientData(unsigned int n) const { - return (void *)NULL; + return NULL; } void wxListBox::DoSetItemClientData(unsigned int n, void *clientData)