X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d99be5f5381dad56492da02c2df1c3ec0750926..bf3e0fbd1ff071caa5d929f01ad6ef9a64ee6494:/include/wx/choice.h diff --git a/include/wx/choice.h b/include/wx/choice.h index 9940c9f69f..c87d9345c4 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------------- #ifdef __GNUG__ - #pragma interface "choicebase.h" + #pragma interface "choiccmn.h" #endif #include "wx/control.h" // the base class @@ -104,6 +104,11 @@ private: // the type of the client data for the items wxClientDataType m_clientDataItemsType; + // the above pure virtuals hide these virtuals in wxWindowBase + virtual void DoSetClientData(void* clientData ) { wxWindowBase::DoSetClientData(clientData); }; + virtual void* DoGetClientData() const { return(wxWindowBase::DoGetClientData()); }; + virtual void DoSetClientObject( wxClientData* clientData ) { wxWindowBase::DoSetClientObject(clientData); }; + virtual wxClientData* DoGetClientObject() const { return(wxWindowBase::DoGetClientObject()); }; }; // ---------------------------------------------------------------------------- @@ -120,6 +125,8 @@ private: #include "wx/qt/choice.h" #elif defined(__WXMAC__) #include "wx/mac/choice.h" +#elif defined(__WXPM__) + #include "wx/os2/choice.h" #elif defined(__WXSTUBS__) #include "wx/stubs/choice.h" #endif