Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / XS / StaticText.xs
1 #############################################################################
2 ## Name:        XS/StaticText.xs
3 ## Purpose:     XS for Wx::StaticText
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     08/11/2000
7 ## RCS-ID:      $Id: StaticText.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright:   (c) 2000-2001, 2003, 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 #############################################################################
12
13 #include <wx/stattext.h>
14
15 MODULE=Wx PACKAGE=Wx::StaticText
16
17 wxStaticText*
18 wxStaticText::new( parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr )
19     wxWindow* parent
20     wxWindowID id
21     wxString label
22     wxPoint pos
23     wxSize size
24     long style
25     wxString name
26   CODE:
27     RETVAL = new wxStaticText( parent, id, label,
28         pos, size, style, name );
29     wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
30   OUTPUT:
31     RETVAL
32
33 bool
34 wxStaticText::Create( parent, id, label, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticTextNameStr )
35     wxWindow* parent
36     wxWindowID id
37     wxString label
38     wxPoint pos
39     wxSize size
40     long style
41     wxString name
42
43 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
44
45 void
46 wxStaticText::Wrap(width)
47     int width
48
49 #endif