1 #############################################################################
2 ## Name: XS/Toolbook.xsp
3 ## Purpose: XS++ for Wx::Toolbook
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: Toolbook.xsp 2079 2007-07-08 21:18:04Z mbarbon $
8 ## Copyright: (c) 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{wxToolbook*}{simple};
18 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
20 #include <wx/toolbar.h>
21 #include <wx/toolbook.h>
24 %name{Wx::Toolbook} class wxToolbook
26 %name{newDefault} wxToolbook()
27 %code{% RETVAL = new wxToolbook();
28 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
30 %name{newFull} wxToolbook(wxWindow *parent,
31 wxWindowID id = wxID_ANY,
32 const wxPoint& pos = wxDefaultPosition,
33 const wxSize& size = wxDefaultSize,
35 const wxString& name = wxEmptyString)
36 %code{% RETVAL = new wxToolbook( parent, id, pos, size, style, name );
37 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
40 bool Create(wxWindow *parent,
41 wxWindowID id = wxID_ANY,
42 const wxPoint& pos = wxDefaultPosition,
43 const wxSize& size = wxDefaultSize,
45 const wxString& name = wxEmptyString);
47 wxToolBarBase* GetToolBar();
56 MATCH_VOIDM_REDISP( newDefault )
57 MATCH_ANY_REDISP( newFull )
58 END_OVERLOAD( "Wx::Toolbook::new" )