X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8912d7eb182ef5a5f95026a9ed239c9ad6c75915..7e25f59e48c3ee93fcb54aa7fca1fd51628c2fac:/src/msw/checkbox.cpp diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index 15347befaa..bc4e9e8393 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -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;