X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f68586e51b20dccee3fd5645aeaca7cc8ff298c2..5ef9f903666c6d4be2b5120d8d531cb3b41fd8c1:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index afc521e18f..f78da2dbfc 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -121,12 +121,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, + #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - const wxValidator* validator = wxDefaultValidator, -# else const wxValidator& validator = wxDefaultValidator, -# endif #endif // wxUSE_VALIDATORS const wxString& name = wxPanelNameStr); @@ -392,11 +389,7 @@ public: #if wxUSE_VALIDATORS // a window may have an associated validator which is used to control // user input -# if defined(__VISAGECPP__) - virtual void SetValidator( const wxValidator *validator ); -# else virtual void SetValidator( const wxValidator &validator ); -# endif virtual wxValidator *GetValidator() { return m_windowValidator; } #endif // wxUSE_VALIDATORS