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:
parent
b5b49e4293
commit
787a85c239
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user