X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c4d796c56bd48ce370240107f3e4c07e142985..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/os2/choice.h diff --git a/include/wx/os2/choice.h b/include/wx/os2/choice.h index 54eab34fa1..6289745486 100644 --- a/include/wx/os2/choice.h +++ b/include/wx/os2/choice.h @@ -29,11 +29,7 @@ public: int n = 0, const wxString choices[] = NULL, long style = 0, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxChoiceNameStr) { @@ -46,11 +42,7 @@ public: int n = 0, const wxString choices[] = NULL, long style = 0, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxChoiceNameStr); @@ -69,7 +61,7 @@ public: // OS2 only virtual bool OS2Command(WXUINT param, WXWORD id); - MRESULT OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + MRESULT OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); protected: virtual void DoSetItemClientData( int n, void* clientData ); @@ -78,7 +70,7 @@ protected: virtual wxClientData* DoGetItemClientObject( int n ) const; // OS2 implementation - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);