From 787a85c23949784c470f9bfaa1f88d0a2dcdeabf Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 16 Apr 2002 19:56:20 +0000 Subject: [PATCH] Pass validator, not wxDefaultValidator! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/checkbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2