X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c4d796c56bd48ce370240107f3e4c07e142985..292d1a2fdd03f72686c1be2ff067b5c6bcbf253a:/include/wx/os2/textctrl.h diff --git a/include/wx/os2/textctrl.h b/include/wx/os2/textctrl.h index 56ba625ffa..7f819fe260 100644 --- a/include/wx/os2/textctrl.h +++ b/include/wx/os2/textctrl.h @@ -25,11 +25,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxTextCtrlNameStr) { @@ -42,11 +38,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif const wxString& name = wxTextCtrlNameStr); @@ -154,7 +146,7 @@ protected: // limit is big enough) void AdjustSpaceLimit(); - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; private: DECLARE_EVENT_TABLE()