Removal of previous wxValidtor code for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user