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)
{
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);
// limit is big enough)
void AdjustSpaceLimit();
- virtual wxSize DoGetBestSize();
+ virtual wxSize DoGetBestSize() const;
private:
DECLARE_EVENT_TABLE()