]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/_controls_rename.i
Added __nonzero__ for wxTraskBarIcon
[wxWidgets.git] / wxPython / src / _controls_rename.i
1 // A bunch of %rename directives generated by ./distrib/build_renamers.py
2 // in order to remove the wx prefix from all global scope names.
3
4 #ifndef BUILDING_RENAMERS
5
6 %rename(BU_LEFT) wxBU_LEFT;
7 %rename(BU_TOP) wxBU_TOP;
8 %rename(BU_RIGHT) wxBU_RIGHT;
9 %rename(BU_BOTTOM) wxBU_BOTTOM;
10 %rename(BU_EXACTFIT) wxBU_EXACTFIT;
11 %rename(BU_AUTODRAW) wxBU_AUTODRAW;
12 %rename(Button) wxButton;
13 %rename(BitmapButton) wxBitmapButton;
14 %rename(CHK_2STATE) wxCHK_2STATE;
15 %rename(CHK_3STATE) wxCHK_3STATE;
16 %rename(CHK_ALLOW_3RD_STATE_FOR_USER) wxCHK_ALLOW_3RD_STATE_FOR_USER;
17 %rename(CHK_UNCHECKED) wxCHK_UNCHECKED;
18 %rename(CHK_CHECKED) wxCHK_CHECKED;
19 %rename(CHK_UNDETERMINED) wxCHK_UNDETERMINED;
20 %rename(CheckBox) wxCheckBox;
21 %rename(Choice) wxChoice;
22 %rename(ComboBox) wxComboBox;
23 %rename(GA_HORIZONTAL) wxGA_HORIZONTAL;
24 %rename(GA_VERTICAL) wxGA_VERTICAL;
25 %rename(GA_SMOOTH) wxGA_SMOOTH;
26 %rename(GA_PROGRESSBAR) wxGA_PROGRESSBAR;
27 %rename(Gauge) wxGauge;
28 %rename(StaticBox) wxStaticBox;
29 %rename(StaticLine) wxStaticLine;
30 %rename(StaticText) wxStaticText;
31 %rename(StaticBitmap) wxStaticBitmap;
32 %rename(ListBox) wxListBox;
33 %rename(CheckListBox) wxCheckListBox;
34 %rename(TE_NO_VSCROLL) wxTE_NO_VSCROLL;
35 %rename(TE_AUTO_SCROLL) wxTE_AUTO_SCROLL;
36 %rename(TE_READONLY) wxTE_READONLY;
37 %rename(TE_MULTILINE) wxTE_MULTILINE;
38 %rename(TE_PROCESS_TAB) wxTE_PROCESS_TAB;
39 %rename(TE_LEFT) wxTE_LEFT;
40 %rename(TE_CENTER) wxTE_CENTER;
41 %rename(TE_RIGHT) wxTE_RIGHT;
42 %rename(TE_CENTRE) wxTE_CENTRE;
43 %rename(TE_RICH) wxTE_RICH;
44 %rename(TE_PROCESS_ENTER) wxTE_PROCESS_ENTER;
45 %rename(TE_PASSWORD) wxTE_PASSWORD;
46 %rename(TE_AUTO_URL) wxTE_AUTO_URL;
47 %rename(TE_NOHIDESEL) wxTE_NOHIDESEL;
48 %rename(TE_DONTWRAP) wxTE_DONTWRAP;
49 %rename(TE_LINEWRAP) wxTE_LINEWRAP;
50 %rename(TE_WORDWRAP) wxTE_WORDWRAP;
51 %rename(TE_RICH2) wxTE_RICH2;
52 %rename(TEXT_ALIGNMENT_DEFAULT) wxTEXT_ALIGNMENT_DEFAULT;
53 %rename(TEXT_ALIGNMENT_LEFT) wxTEXT_ALIGNMENT_LEFT;
54 %rename(TEXT_ALIGNMENT_CENTRE) wxTEXT_ALIGNMENT_CENTRE;
55 %rename(TEXT_ALIGNMENT_CENTER) wxTEXT_ALIGNMENT_CENTER;
56 %rename(TEXT_ALIGNMENT_RIGHT) wxTEXT_ALIGNMENT_RIGHT;
57 %rename(TEXT_ALIGNMENT_JUSTIFIED) wxTEXT_ALIGNMENT_JUSTIFIED;
58 %rename(TEXT_ATTR_TEXT_COLOUR) wxTEXT_ATTR_TEXT_COLOUR;
59 %rename(TEXT_ATTR_BACKGROUND_COLOUR) wxTEXT_ATTR_BACKGROUND_COLOUR;
60 %rename(TEXT_ATTR_FONT_FACE) wxTEXT_ATTR_FONT_FACE;
61 %rename(TEXT_ATTR_FONT_SIZE) wxTEXT_ATTR_FONT_SIZE;
62 %rename(TEXT_ATTR_FONT_WEIGHT) wxTEXT_ATTR_FONT_WEIGHT;
63 %rename(TEXT_ATTR_FONT_ITALIC) wxTEXT_ATTR_FONT_ITALIC;
64 %rename(TEXT_ATTR_FONT_UNDERLINE) wxTEXT_ATTR_FONT_UNDERLINE;
65 %rename(TEXT_ATTR_FONT) wxTEXT_ATTR_FONT;
66 %rename(TEXT_ATTR_ALIGNMENT) wxTEXT_ATTR_ALIGNMENT;
67 %rename(TEXT_ATTR_LEFT_INDENT) wxTEXT_ATTR_LEFT_INDENT;
68 %rename(TEXT_ATTR_RIGHT_INDENT) wxTEXT_ATTR_RIGHT_INDENT;
69 %rename(TEXT_ATTR_TABS) wxTEXT_ATTR_TABS;
70 %rename(TE_HT_UNKNOWN) wxTE_HT_UNKNOWN;
71 %rename(TE_HT_BEFORE) wxTE_HT_BEFORE;
72 %rename(TE_HT_ON_TEXT) wxTE_HT_ON_TEXT;
73 %rename(TE_HT_BELOW) wxTE_HT_BELOW;
74 %rename(TE_HT_BEYOND) wxTE_HT_BEYOND;
75 %rename(TextAttr) wxTextAttr;
76 %rename(TextCtrl) wxTextCtrl;
77 %rename(TextUrlEvent) wxTextUrlEvent;
78 %rename(ScrollBar) wxScrollBar;
79 %rename(SP_HORIZONTAL) wxSP_HORIZONTAL;
80 %rename(SP_VERTICAL) wxSP_VERTICAL;
81 %rename(SP_ARROW_KEYS) wxSP_ARROW_KEYS;
82 %rename(SP_WRAP) wxSP_WRAP;
83 %rename(SpinButton) wxSpinButton;
84 %rename(SpinCtrl) wxSpinCtrl;
85 %rename(SpinEvent) wxSpinEvent;
86 %rename(RadioBox) wxRadioBox;
87 %rename(RadioButton) wxRadioButton;
88 %rename(Slider) wxSlider;
89 %rename(ToggleButton) wxToggleButton;
90 %rename(BookCtrl) wxBookCtrl;
91 %rename(BookCtrlEvent) wxBookCtrlEvent;
92 %rename(NB_FIXEDWIDTH) wxNB_FIXEDWIDTH;
93 %rename(NB_TOP) wxNB_TOP;
94 %rename(NB_LEFT) wxNB_LEFT;
95 %rename(NB_RIGHT) wxNB_RIGHT;
96 %rename(NB_BOTTOM) wxNB_BOTTOM;
97 %rename(NB_MULTILINE) wxNB_MULTILINE;
98 %rename(NB_HITTEST_NOWHERE) wxNB_HITTEST_NOWHERE;
99 %rename(NB_HITTEST_ONICON) wxNB_HITTEST_ONICON;
100 %rename(NB_HITTEST_ONLABEL) wxNB_HITTEST_ONLABEL;
101 %rename(NB_HITTEST_ONITEM) wxNB_HITTEST_ONITEM;
102 %rename(Notebook) wxNotebook;
103 %rename(NotebookEvent) wxNotebookEvent;
104 %rename(LB_DEFAULT) wxLB_DEFAULT;
105 %rename(LB_TOP) wxLB_TOP;
106 %rename(LB_BOTTOM) wxLB_BOTTOM;
107 %rename(LB_LEFT) wxLB_LEFT;
108 %rename(LB_RIGHT) wxLB_RIGHT;
109 %rename(LB_ALIGN_MASK) wxLB_ALIGN_MASK;
110 %rename(Listbook) wxListbook;
111 %rename(ListbookEvent) wxListbookEvent;
112 %rename(BookCtrlSizer) wxBookCtrlSizer;
113 %rename(NotebookSizer) wxNotebookSizer;
114 %rename(TOOL_STYLE_BUTTON) wxTOOL_STYLE_BUTTON;
115 %rename(TOOL_STYLE_SEPARATOR) wxTOOL_STYLE_SEPARATOR;
116 %rename(TOOL_STYLE_CONTROL) wxTOOL_STYLE_CONTROL;
117 %rename(TB_HORIZONTAL) wxTB_HORIZONTAL;
118 %rename(TB_VERTICAL) wxTB_VERTICAL;
119 %rename(TB_3DBUTTONS) wxTB_3DBUTTONS;
120 %rename(TB_FLAT) wxTB_FLAT;
121 %rename(TB_DOCKABLE) wxTB_DOCKABLE;
122 %rename(TB_NOICONS) wxTB_NOICONS;
123 %rename(TB_TEXT) wxTB_TEXT;
124 %rename(TB_NODIVIDER) wxTB_NODIVIDER;
125 %rename(TB_NOALIGN) wxTB_NOALIGN;
126 %rename(TB_HORZ_LAYOUT) wxTB_HORZ_LAYOUT;
127 %rename(TB_HORZ_TEXT) wxTB_HORZ_TEXT;
128 %rename(ToolBarToolBase) wxToolBarToolBase;
129 %rename(ToolBarBase) wxToolBarBase;
130 %rename(ToolBar) wxToolBar;
131 %rename(LC_VRULES) wxLC_VRULES;
132 %rename(LC_HRULES) wxLC_HRULES;
133 %rename(LC_ICON) wxLC_ICON;
134 %rename(LC_SMALL_ICON) wxLC_SMALL_ICON;
135 %rename(LC_LIST) wxLC_LIST;
136 %rename(LC_REPORT) wxLC_REPORT;
137 %rename(LC_ALIGN_TOP) wxLC_ALIGN_TOP;
138 %rename(LC_ALIGN_LEFT) wxLC_ALIGN_LEFT;
139 %rename(LC_AUTOARRANGE) wxLC_AUTOARRANGE;
140 %rename(LC_VIRTUAL) wxLC_VIRTUAL;
141 %rename(LC_EDIT_LABELS) wxLC_EDIT_LABELS;
142 %rename(LC_NO_HEADER) wxLC_NO_HEADER;
143 %rename(LC_NO_SORT_HEADER) wxLC_NO_SORT_HEADER;
144 %rename(LC_SINGLE_SEL) wxLC_SINGLE_SEL;
145 %rename(LC_SORT_ASCENDING) wxLC_SORT_ASCENDING;
146 %rename(LC_SORT_DESCENDING) wxLC_SORT_DESCENDING;
147 %rename(LC_MASK_TYPE) wxLC_MASK_TYPE;
148 %rename(LC_MASK_ALIGN) wxLC_MASK_ALIGN;
149 %rename(LC_MASK_SORT) wxLC_MASK_SORT;
150 %rename(LIST_MASK_STATE) wxLIST_MASK_STATE;
151 %rename(LIST_MASK_TEXT) wxLIST_MASK_TEXT;
152 %rename(LIST_MASK_IMAGE) wxLIST_MASK_IMAGE;
153 %rename(LIST_MASK_DATA) wxLIST_MASK_DATA;
154 %rename(LIST_SET_ITEM) wxLIST_SET_ITEM;
155 %rename(LIST_MASK_WIDTH) wxLIST_MASK_WIDTH;
156 %rename(LIST_MASK_FORMAT) wxLIST_MASK_FORMAT;
157 %rename(LIST_STATE_DONTCARE) wxLIST_STATE_DONTCARE;
158 %rename(LIST_STATE_DROPHILITED) wxLIST_STATE_DROPHILITED;
159 %rename(LIST_STATE_FOCUSED) wxLIST_STATE_FOCUSED;
160 %rename(LIST_STATE_SELECTED) wxLIST_STATE_SELECTED;
161 %rename(LIST_STATE_CUT) wxLIST_STATE_CUT;
162 %rename(LIST_STATE_DISABLED) wxLIST_STATE_DISABLED;
163 %rename(LIST_STATE_FILTERED) wxLIST_STATE_FILTERED;
164 %rename(LIST_STATE_INUSE) wxLIST_STATE_INUSE;
165 %rename(LIST_STATE_PICKED) wxLIST_STATE_PICKED;
166 %rename(LIST_STATE_SOURCE) wxLIST_STATE_SOURCE;
167 %rename(LIST_HITTEST_ABOVE) wxLIST_HITTEST_ABOVE;
168 %rename(LIST_HITTEST_BELOW) wxLIST_HITTEST_BELOW;
169 %rename(LIST_HITTEST_NOWHERE) wxLIST_HITTEST_NOWHERE;
170 %rename(LIST_HITTEST_ONITEMICON) wxLIST_HITTEST_ONITEMICON;
171 %rename(LIST_HITTEST_ONITEMLABEL) wxLIST_HITTEST_ONITEMLABEL;
172 %rename(LIST_HITTEST_ONITEMRIGHT) wxLIST_HITTEST_ONITEMRIGHT;
173 %rename(LIST_HITTEST_ONITEMSTATEICON) wxLIST_HITTEST_ONITEMSTATEICON;
174 %rename(LIST_HITTEST_TOLEFT) wxLIST_HITTEST_TOLEFT;
175 %rename(LIST_HITTEST_TORIGHT) wxLIST_HITTEST_TORIGHT;
176 %rename(LIST_HITTEST_ONITEM) wxLIST_HITTEST_ONITEM;
177 %rename(LIST_NEXT_ABOVE) wxLIST_NEXT_ABOVE;
178 %rename(LIST_NEXT_ALL) wxLIST_NEXT_ALL;
179 %rename(LIST_NEXT_BELOW) wxLIST_NEXT_BELOW;
180 %rename(LIST_NEXT_LEFT) wxLIST_NEXT_LEFT;
181 %rename(LIST_NEXT_RIGHT) wxLIST_NEXT_RIGHT;
182 %rename(LIST_ALIGN_DEFAULT) wxLIST_ALIGN_DEFAULT;
183 %rename(LIST_ALIGN_LEFT) wxLIST_ALIGN_LEFT;
184 %rename(LIST_ALIGN_TOP) wxLIST_ALIGN_TOP;
185 %rename(LIST_ALIGN_SNAP_TO_GRID) wxLIST_ALIGN_SNAP_TO_GRID;
186 %rename(LIST_FORMAT_LEFT) wxLIST_FORMAT_LEFT;
187 %rename(LIST_FORMAT_RIGHT) wxLIST_FORMAT_RIGHT;
188 %rename(LIST_FORMAT_CENTRE) wxLIST_FORMAT_CENTRE;
189 %rename(LIST_FORMAT_CENTER) wxLIST_FORMAT_CENTER;
190 %rename(LIST_AUTOSIZE) wxLIST_AUTOSIZE;
191 %rename(LIST_AUTOSIZE_USEHEADER) wxLIST_AUTOSIZE_USEHEADER;
192 %rename(LIST_RECT_BOUNDS) wxLIST_RECT_BOUNDS;
193 %rename(LIST_RECT_ICON) wxLIST_RECT_ICON;
194 %rename(LIST_RECT_LABEL) wxLIST_RECT_LABEL;
195 %rename(LIST_FIND_UP) wxLIST_FIND_UP;
196 %rename(LIST_FIND_DOWN) wxLIST_FIND_DOWN;
197 %rename(LIST_FIND_LEFT) wxLIST_FIND_LEFT;
198 %rename(LIST_FIND_RIGHT) wxLIST_FIND_RIGHT;
199 %rename(ListItemAttr) wxListItemAttr;
200 %rename(ListItem) wxListItem;
201 %rename(ListEvent) wxListEvent;
202 %rename(ListView) wxListView;
203 %rename(TR_NO_BUTTONS) wxTR_NO_BUTTONS;
204 %rename(TR_HAS_BUTTONS) wxTR_HAS_BUTTONS;
205 %rename(TR_NO_LINES) wxTR_NO_LINES;
206 %rename(TR_LINES_AT_ROOT) wxTR_LINES_AT_ROOT;
207 %rename(TR_SINGLE) wxTR_SINGLE;
208 %rename(TR_MULTIPLE) wxTR_MULTIPLE;
209 %rename(TR_EXTENDED) wxTR_EXTENDED;
210 %rename(TR_HAS_VARIABLE_ROW_HEIGHT) wxTR_HAS_VARIABLE_ROW_HEIGHT;
211 %rename(TR_EDIT_LABELS) wxTR_EDIT_LABELS;
212 %rename(TR_HIDE_ROOT) wxTR_HIDE_ROOT;
213 %rename(TR_ROW_LINES) wxTR_ROW_LINES;
214 %rename(TR_FULL_ROW_HIGHLIGHT) wxTR_FULL_ROW_HIGHLIGHT;
215 %rename(TR_DEFAULT_STYLE) wxTR_DEFAULT_STYLE;
216 %rename(TR_TWIST_BUTTONS) wxTR_TWIST_BUTTONS;
217 %rename(TR_MAC_BUTTONS) wxTR_MAC_BUTTONS;
218 %rename(TR_AQUA_BUTTONS) wxTR_AQUA_BUTTONS;
219 %rename(TreeItemIcon_Normal) wxTreeItemIcon_Normal;
220 %rename(TreeItemIcon_Selected) wxTreeItemIcon_Selected;
221 %rename(TreeItemIcon_Expanded) wxTreeItemIcon_Expanded;
222 %rename(TreeItemIcon_SelectedExpanded) wxTreeItemIcon_SelectedExpanded;
223 %rename(TreeItemIcon_Max) wxTreeItemIcon_Max;
224 %rename(TREE_HITTEST_ABOVE) wxTREE_HITTEST_ABOVE;
225 %rename(TREE_HITTEST_BELOW) wxTREE_HITTEST_BELOW;
226 %rename(TREE_HITTEST_NOWHERE) wxTREE_HITTEST_NOWHERE;
227 %rename(TREE_HITTEST_ONITEMBUTTON) wxTREE_HITTEST_ONITEMBUTTON;
228 %rename(TREE_HITTEST_ONITEMICON) wxTREE_HITTEST_ONITEMICON;
229 %rename(TREE_HITTEST_ONITEMINDENT) wxTREE_HITTEST_ONITEMINDENT;
230 %rename(TREE_HITTEST_ONITEMLABEL) wxTREE_HITTEST_ONITEMLABEL;
231 %rename(TREE_HITTEST_ONITEMRIGHT) wxTREE_HITTEST_ONITEMRIGHT;
232 %rename(TREE_HITTEST_ONITEMSTATEICON) wxTREE_HITTEST_ONITEMSTATEICON;
233 %rename(TREE_HITTEST_TOLEFT) wxTREE_HITTEST_TOLEFT;
234 %rename(TREE_HITTEST_TORIGHT) wxTREE_HITTEST_TORIGHT;
235 %rename(TREE_HITTEST_ONITEMUPPERPART) wxTREE_HITTEST_ONITEMUPPERPART;
236 %rename(TREE_HITTEST_ONITEMLOWERPART) wxTREE_HITTEST_ONITEMLOWERPART;
237 %rename(TREE_HITTEST_ONITEM) wxTREE_HITTEST_ONITEM;
238 %rename(TreeItemId) wxTreeItemId;
239 %rename(TreeEvent) wxTreeEvent;
240 %rename(DIRCTRL_DIR_ONLY) wxDIRCTRL_DIR_ONLY;
241 %rename(DIRCTRL_SELECT_FIRST) wxDIRCTRL_SELECT_FIRST;
242 %rename(DIRCTRL_SHOW_FILTERS) wxDIRCTRL_SHOW_FILTERS;
243 %rename(DIRCTRL_3D_INTERNAL) wxDIRCTRL_3D_INTERNAL;
244 %rename(DIRCTRL_EDIT_LABELS) wxDIRCTRL_EDIT_LABELS;
245 %rename(GenericDirCtrl) wxGenericDirCtrl;
246 %rename(DirFilterListCtrl) wxDirFilterListCtrl;
247 %rename(PyControl) wxPyControl;
248 %rename(FRAME_EX_CONTEXTHELP) wxFRAME_EX_CONTEXTHELP;
249 %rename(DIALOG_EX_CONTEXTHELP) wxDIALOG_EX_CONTEXTHELP;
250 %rename(HelpEvent) wxHelpEvent;
251 %rename(ContextHelp) wxContextHelp;
252 %rename(ContextHelpButton) wxContextHelpButton;
253 %rename(HelpProvider) wxHelpProvider;
254 %rename(SimpleHelpProvider) wxSimpleHelpProvider;
255
256 #endif