X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c4d796c56bd48ce370240107f3e4c07e142985..dad5f99acb6b3400ff73562c03db2f3f21b658cd:/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