]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
All events now internally watched
[wxWidgets.git] / src / msw / textctrl.cpp
index 5cc8e00a8221d666d210abe1bf55e142a0d1d816..6965ccf42a764fd431356f7475df026eced595f7 100644 (file)
@@ -115,7 +115,8 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     if ( !CreateBase(parent, id, pos, size, style, validator, name) )
         return FALSE;
 
-    SetValidator(validator);
+    // Validator was set in CreateBase
+    //SetValidator(validator);
     if ( parent )
         parent->AddChild(this);