]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
0. wxExecute() with IO redirection now works again (but the real fix is
[wxWidgets.git] / src / msw / checkbox.cpp
index 15347befaa1b2e2cd17eeb1601b03fa66c514e73..bc4e9e8393f7eb64e497dfb7388333e558e9c1e4 100644 (file)
@@ -71,7 +71,7 @@ bool wxCheckBox::Create(wxWindow *parent,
                         const wxValidator& validator,
                         const wxString& name)
 {
-    if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) )
+    if ( !CreateControl(parent, id, pos, size, style, validator, name) )
         return FALSE;
 
     long msStyle = BS_AUTOCHECKBOX | WS_TABSTOP;