]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
1. wxSpinButton fixed: it now sends EVT_SPIN_UP/DOWN messages (and unnecessary
[wxWidgets.git] / src / msw / textctrl.cpp
index 3ba5f18f0eab7d7c1d5f93fc21f9cf3b18ad3dce..e953ec4e7daf80a3dc9d8ed8cdf68d7a1232ae4f 100644 (file)
@@ -112,7 +112,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
                         const wxString& name)
 {
     // base initialization
                         const wxString& name)
 {
     // base initialization
-    if ( !CreateBase(parent, id, pos, size, style, name) )
+    if ( !CreateBase(parent, id, pos, size, style, validator, name) )
         return FALSE;
 
     SetValidator(validator);
         return FALSE;
 
     SetValidator(validator);