1 #############################################################################
2 ## Name: XS/Choicebook.xsp
3 ## Purpose: XS++ for Wx::Choicebook
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: Choicebook.xsp 2079 2007-07-08 21:18:04Z mbarbon $
8 ## Copyright: (c) 2005, 2006 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 #############################################################################
15 %typemap{wxChoicebook*}{simple};
18 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
20 #include <wx/choice.h>
21 #include <wx/choicebk.h>
24 %name{Wx::Choicebook} class wxChoicebook
26 %name{newDefault} wxChoicebook()
27 %code{% RETVAL = new wxChoicebook();
28 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
30 %name{newFull} wxChoicebook(wxWindow *parent,
32 const wxPoint& pos = wxDefaultPosition,
33 const wxSize& size = wxDefaultSize,
35 const wxString& name = wxEmptyString)
36 %code{% RETVAL = new wxChoicebook( parent, id, pos, size, style, name );
37 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
40 bool Create(wxWindow *parent,
42 const wxPoint& pos = wxDefaultPosition,
43 const wxSize& size = wxDefaultSize,
45 const wxString& name = wxEmptyString);
48 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
49 wxChoice* GetChoiceCtrl() const;
58 MATCH_VOIDM_REDISP( newDefault )
59 MATCH_ANY_REDISP( newFull )
60 END_OVERLOAD( "Wx::Choicebook::new" )