X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c4d796c56bd48ce370240107f3e4c07e142985..ec974d23005b5f225fe59e674d664b248619f3b2:/include/wx/os2/listbox.h diff --git a/include/wx/os2/listbox.h b/include/wx/os2/listbox.h index 4a5691fb7b..790d8606ac 100644 --- a/include/wx/os2/listbox.h +++ b/include/wx/os2/listbox.h @@ -43,11 +43,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 = wxListBoxNameStr) { @@ -60,11 +56,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 = wxListBoxNameStr); @@ -131,7 +123,7 @@ protected: int m_noItems; int m_selected; - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; #if wxUSE_OWNER_DRAWN // control items