]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/control.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / msw / control.h
index 0819a8a478c55ef76b7e5d88f7237dae3539c1c2..f1ce9942e13a2603dc22adde37862bb7f0576fef 100644 (file)
@@ -30,9 +30,7 @@ public:
    wxControl(wxWindow *parent, wxWindowID id,
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize, long style = 0,
-#if wxUSE_VALIDATORS
              const wxValidator& validator = wxDefaultValidator,
-#endif
              const wxString& name = wxControlNameStr)
     {
         Create(parent, id, pos, size, style, validator, name);
@@ -41,9 +39,7 @@ public:
     bool Create(wxWindow *parent, wxWindowID id,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize, long style = 0,
-#if wxUSE_VALIDATORS
             const wxValidator& validator = wxDefaultValidator,
-#endif
             const wxString& name = wxControlNameStr);
 
     virtual ~wxControl();