1 #############################################################################
2 ## Name: XS/CheckBox.xs
3 ## Purpose: XS for Wx::CheckBox
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: CheckBox.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright: (c) 2000-2004 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
13 MODULE=Wx PACKAGE=Wx::CheckBox
15 #include <wx/checkbox.h>
21 MATCH_VOIDM_REDISP( newDefault )
22 MATCH_ANY_REDISP( newFull )
23 END_OVERLOAD( "Wx::CheckBox::new" )
29 RETVAL = new wxCheckBox();
30 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
34 newFull( CLASS, parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr )
42 wxValidator* validator
45 RETVAL = new wxCheckBox( parent, id, label, pos, size,
46 style, *validator, name );
47 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
52 wxCheckBox::Create( parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, validator = (wxValidator*)&wxDefaultValidator, name = wxCheckBoxNameStr )
59 wxValidator* validator
61 C_ARGS: parent, id, label, pos, size, style, *validator, name
64 wxCheckBox::GetValue()
66 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
69 wxCheckBox::Get3StateValue()
72 wxCheckBox::Set3StateValue(state)
76 wxCheckBox::Is3State()
79 wxCheckBox::Is3rdStateAllowedForUser()
84 wxCheckBox::SetValue( state )
88 wxCheckBox::IsChecked()