1 #############################################################################
2 ## Name: XS/Listbook.xsp
3 ## Purpose: XS++ for Wx::Listbook
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: Listbook.xsp 2079 2007-07-08 21:18:04Z mbarbon $
8 ## Copyright: (c) 2003, 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{wxListbook*}{simple};
18 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
20 #include <wx/listbook.h>
23 %name{Wx::Listbook} class wxListbook
25 %name{newDefault} wxListbook()
26 %code{% RETVAL = new wxListbook();
27 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
29 %name{newFull} wxListbook(wxWindow *parent,
30 wxWindowID id = wxID_ANY,
31 const wxPoint& pos = wxDefaultPosition,
32 const wxSize& size = wxDefaultSize,
34 const wxString& name = wxEmptyString)
35 %code{% RETVAL = new wxListbook( parent, id, pos, size, style, name );
36 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
39 bool Create(wxWindow *parent,
40 wxWindowID id = wxID_ANY,
41 const wxPoint& pos = wxDefaultPosition,
42 const wxSize& size = wxDefaultSize,
44 const wxString& name = wxEmptyString);
46 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
47 wxListView* GetListView();
56 MATCH_VOIDM_REDISP( newDefault )
57 MATCH_ANY_REDISP( newFull )
58 END_OVERLOAD( "Wx::Listbook::new" )