Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / Controls.xs
1 /////////////////////////////////////////////////////////////////////////////
2 // Name:        Controls.xs
3 // Purpose:     XS for Wx::Control and derived classes
4 // Author:      Mattia Barbon
5 // Modified by:
6 // Created:     29/10/2000
7 // RCS-ID:      $Id: Controls.xs 2700 2009-12-13 11:25:50Z mbarbon $
8 // Copyright:   (c) 2000-2009 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 #define PERL_NO_GET_CONTEXT
14
15 #include "cpp/wxapi.h"
16
17 #include <wx/defs.h>
18
19 #include <wx/imaglist.h>
20 #include <wx/event.h>
21 #include <wx/colour.h>
22 #include <wx/listctrl.h>
23 #include <wx/treectrl.h>
24 #include <wx/ctrlsub.h>
25
26 // re-include for client data
27 #include "cpp/helpers.h"
28
29 #define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
30 #define wxBLACKPtr (wxColour*)wxBLACK
31 #define wxNORMAL_FONTPtr (wxFont*)wxNORMAL_FONT
32 #define wxNullBitmapPtr (wxBitmap*) &wxNullBitmap
33 #define wxNullAnimationPtr (wxAnimation*) &wxNullAnimation
34
35 #undef THIS
36
37 #include "cpp/v_cback.h"
38
39 #include "cpp/controls.h"
40 #include "cpp/controls.cpp"
41 #include "cpp/overload.h"
42
43 WXPLI_BOOT_ONCE(Wx_Ctrl);
44 #define boot_Wx_Ctrl wxPli_boot_Wx_Ctrl
45
46 MODULE=Wx_Ctrl PACKAGE=Wx::Control
47
48 void
49 wxControl::Command( event )
50     wxCommandEvent* event
51   CODE:
52     THIS->Command( *event );
53
54 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
55
56 wxString
57 wxControl::GetLabelText()
58
59 #endif
60
61 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |
62
63 INCLUDE: XS/BitmapButton.xs
64 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp |
65
66 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp |
67
68 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp |
69
70 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp |
71
72 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp |
73
74 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp |
75
76 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp |
77
78 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp |
79
80 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp |
81
82 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp |
83
84 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp |
85
86 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp |
87
88 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |
89
90 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp |
91
92 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp |
93
94 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp |
95
96 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp |
97
98 INCLUDE: XS/Button.xs
99 INCLUDE: XS/CheckBox.xs
100 INCLUDE: XS/CheckListBox.xs
101 INCLUDE: XS/Choice.xs
102 INCLUDE: XS/ComboBox.xs
103 INCLUDE: XS/Gauge.xs
104 INCLUDE: XS/ListBox.xs
105 INCLUDE: XS/ListCtrl.xs
106 INCLUDE: XS/Notebook.xs
107 INCLUDE: XS/RadioBox.xs
108 INCLUDE: XS/RadioButton.xs
109 INCLUDE: XS/ScrollBar.xs
110 INCLUDE: XS/Slider.xs
111 INCLUDE: XS/SpinButton.xs
112 INCLUDE: XS/SpinCtrl.xs
113 INCLUDE: XS/StaticBitmap.xs
114 INCLUDE: XS/StaticBox.xs
115 INCLUDE: XS/StaticLine.xs
116 INCLUDE: XS/StaticText.xs
117 INCLUDE: XS/ToggleButton.xs
118 INCLUDE: XS/TreeCtrl.xs
119
120 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp |
121
122 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xs |
123
124 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp |
125
126 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp |
127
128 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp |
129
130 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp |
131
132 MODULE=Wx_Ctrl PACKAGE=Wx::Control