From: Julian Smart Date: Tue, 16 Apr 2002 19:56:20 +0000 (+0000) Subject: Pass validator, not wxDefaultValidator! X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/787a85c23949784c470f9bfaa1f88d0a2dcdeabf?ds=sidebyside Pass validator, not wxDefaultValidator! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;