1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XS for Wx::Control and derived classes
4 // Author: Mattia Barbon
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 /////////////////////////////////////////////////////////////////////////////
13 #define PERL_NO_GET_CONTEXT
15 #include "cpp/wxapi.h"
19 #include <wx/imaglist.h>
21 #include <wx/colour.h>
22 #include <wx/listctrl.h>
23 #include <wx/treectrl.h>
24 #include <wx/ctrlsub.h>
26 // re-include for client data
27 #include "cpp/helpers.h"
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
37 #include "cpp/v_cback.h"
39 #include "cpp/controls.h"
40 #include "cpp/controls.cpp"
41 #include "cpp/overload.h"
43 WXPLI_BOOT_ONCE(Wx_Ctrl);
44 #define boot_Wx_Ctrl wxPli_boot_Wx_Ctrl
46 MODULE=Wx_Ctrl PACKAGE=Wx::Control
49 wxControl::Command( event )
52 THIS->Command( *event );
54 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
57 wxControl::GetLabelText()
61 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ControlWithItems.xsp |
63 INCLUDE: XS/BitmapButton.xs
64 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/AnimationCtrl.xsp |
66 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/EditableListBox.xsp |
68 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BookCtrl.xsp |
70 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Listbook.xsp |
72 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Choicebook.xsp |
74 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Toolbook.xsp |
76 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Treebook.xsp |
78 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/HyperlinkCtrl.xsp |
80 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VListBox.xsp |
82 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SearchCtrl.xsp |
84 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboPopup.xsp |
86 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ComboCtrl.xsp |
88 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/OwnerDrawnComboBox.xsp |
90 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/CollapsiblePane.xsp |
92 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/BitmapComboBox.xsp |
94 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DirCtrl.xsp |
96 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FileCtrl.xsp |
99 INCLUDE: XS/CheckBox.xs
100 INCLUDE: XS/CheckListBox.xs
101 INCLUDE: XS/Choice.xs
102 INCLUDE: XS/ComboBox.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
120 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextAttr.xsp |
122 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/TextCtrl.xs |
124 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/PickerCtrl.xsp |
126 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ColourPickerCtrl.xsp |
128 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FilePickerCtrl.xsp |
130 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontPickerCtrl.xsp |
132 MODULE=Wx_Ctrl PACKAGE=Wx::Control