Pass validator, not wxDefaultValidator!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-04-16 19:56:20 +00:00
parent b5b49e4293
commit 787a85c239

View 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;