X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..efba2b89f15ba8757a722fc56c67f434cf960482:/include/wx/os2/listbox.h?ds=inline diff --git a/include/wx/os2/listbox.h b/include/wx/os2/listbox.h index 67d25700cc..5dc6a7a63a 100644 --- a/include/wx/os2/listbox.h +++ b/include/wx/os2/listbox.h @@ -132,9 +132,9 @@ protected: #endif private: //Virtual function hiding suppression, do not use - wxControl *CreateItem(const wxItemResource* childResource, - const wxItemResource* parentResource, - const wxResourceTable *table = (const wxResourceTable *) NULL) + virtual wxControl *CreateItem(const wxItemResource* childResource, + const wxItemResource* parentResource, + const wxResourceTable *table = (const wxResourceTable *) NULL) { return(wxWindowBase::CreateItem(childResource, parentResource, table));}; };