]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/__controls_rename.i
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / __controls_rename.i
CommitLineData
237302e7 1// A bunch of %rename directives generated by BuildRenamers in config.py
d14a1e28
RD
2// in order to remove the wx prefix from all global scope names.
3
bf5ff0c3 4#ifndef BUILDING_RENAMERS
d14a1e28
RD
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;
e7e14318 10%rename(BU_ALIGN_MASK) wxBU_ALIGN_MASK;
d14a1e28
RD
11%rename(BU_EXACTFIT) wxBU_EXACTFIT;
12%rename(BU_AUTODRAW) wxBU_AUTODRAW;
13%rename(Button) wxButton;
14%rename(BitmapButton) wxBitmapButton;
15%rename(CHK_2STATE) wxCHK_2STATE;
16%rename(CHK_3STATE) wxCHK_3STATE;
17%rename(CHK_ALLOW_3RD_STATE_FOR_USER) wxCHK_ALLOW_3RD_STATE_FOR_USER;
18%rename(CHK_UNCHECKED) wxCHK_UNCHECKED;
19%rename(CHK_CHECKED) wxCHK_CHECKED;
20%rename(CHK_UNDETERMINED) wxCHK_UNDETERMINED;
21%rename(CheckBox) wxCheckBox;
22%rename(Choice) wxChoice;
23%rename(ComboBox) wxComboBox;
24%rename(GA_HORIZONTAL) wxGA_HORIZONTAL;
25%rename(GA_VERTICAL) wxGA_VERTICAL;
26%rename(GA_SMOOTH) wxGA_SMOOTH;
27%rename(GA_PROGRESSBAR) wxGA_PROGRESSBAR;
28%rename(Gauge) wxGauge;
29%rename(StaticBox) wxStaticBox;
30%rename(StaticLine) wxStaticLine;
31%rename(StaticText) wxStaticText;
32%rename(StaticBitmap) wxStaticBitmap;
33%rename(ListBox) wxListBox;
34%rename(CheckListBox) wxCheckListBox;
35%rename(TE_NO_VSCROLL) wxTE_NO_VSCROLL;
36%rename(TE_AUTO_SCROLL) wxTE_AUTO_SCROLL;
37%rename(TE_READONLY) wxTE_READONLY;
38%rename(TE_MULTILINE) wxTE_MULTILINE;
39%rename(TE_PROCESS_TAB) wxTE_PROCESS_TAB;
40%rename(TE_LEFT) wxTE_LEFT;
41%rename(TE_CENTER) wxTE_CENTER;
42%rename(TE_RIGHT) wxTE_RIGHT;
43%rename(TE_CENTRE) wxTE_CENTRE;
44%rename(TE_RICH) wxTE_RICH;
45%rename(TE_PROCESS_ENTER) wxTE_PROCESS_ENTER;
46%rename(TE_PASSWORD) wxTE_PASSWORD;
47%rename(TE_AUTO_URL) wxTE_AUTO_URL;
48%rename(TE_NOHIDESEL) wxTE_NOHIDESEL;
49%rename(TE_DONTWRAP) wxTE_DONTWRAP;
c4c1e8d6 50%rename(TE_CHARWRAP) wxTE_CHARWRAP;
d14a1e28 51%rename(TE_WORDWRAP) wxTE_WORDWRAP;
c4c1e8d6
RD
52%rename(TE_BESTWRAP) wxTE_BESTWRAP;
53%rename(TE_LINEWRAP) wxTE_LINEWRAP;
d14a1e28 54%rename(TE_RICH2) wxTE_RICH2;
4fee07f2 55%rename(TE_CAPITALIZE) wxTE_CAPITALIZE;
d14a1e28
RD
56%rename(TEXT_ALIGNMENT_DEFAULT) wxTEXT_ALIGNMENT_DEFAULT;
57%rename(TEXT_ALIGNMENT_LEFT) wxTEXT_ALIGNMENT_LEFT;
58%rename(TEXT_ALIGNMENT_CENTRE) wxTEXT_ALIGNMENT_CENTRE;
59%rename(TEXT_ALIGNMENT_CENTER) wxTEXT_ALIGNMENT_CENTER;
60%rename(TEXT_ALIGNMENT_RIGHT) wxTEXT_ALIGNMENT_RIGHT;
61%rename(TEXT_ALIGNMENT_JUSTIFIED) wxTEXT_ALIGNMENT_JUSTIFIED;
62%rename(TEXT_ATTR_TEXT_COLOUR) wxTEXT_ATTR_TEXT_COLOUR;
63%rename(TEXT_ATTR_BACKGROUND_COLOUR) wxTEXT_ATTR_BACKGROUND_COLOUR;
64%rename(TEXT_ATTR_FONT_FACE) wxTEXT_ATTR_FONT_FACE;
65%rename(TEXT_ATTR_FONT_SIZE) wxTEXT_ATTR_FONT_SIZE;
66%rename(TEXT_ATTR_FONT_WEIGHT) wxTEXT_ATTR_FONT_WEIGHT;
67%rename(TEXT_ATTR_FONT_ITALIC) wxTEXT_ATTR_FONT_ITALIC;
68%rename(TEXT_ATTR_FONT_UNDERLINE) wxTEXT_ATTR_FONT_UNDERLINE;
69%rename(TEXT_ATTR_FONT) wxTEXT_ATTR_FONT;
70%rename(TEXT_ATTR_ALIGNMENT) wxTEXT_ATTR_ALIGNMENT;
71%rename(TEXT_ATTR_LEFT_INDENT) wxTEXT_ATTR_LEFT_INDENT;
72%rename(TEXT_ATTR_RIGHT_INDENT) wxTEXT_ATTR_RIGHT_INDENT;
73%rename(TEXT_ATTR_TABS) wxTEXT_ATTR_TABS;
4e760a36
RD
74%rename(TE_HT_UNKNOWN) wxTE_HT_UNKNOWN;
75%rename(TE_HT_BEFORE) wxTE_HT_BEFORE;
76%rename(TE_HT_ON_TEXT) wxTE_HT_ON_TEXT;
77%rename(TE_HT_BELOW) wxTE_HT_BELOW;
78%rename(TE_HT_BEYOND) wxTE_HT_BEYOND;
aeee37c3
RD
79%rename(OutOfRangeTextCoord) wxOutOfRangeTextCoord;
80%rename(InvalidTextCoord) wxInvalidTextCoord;
d14a1e28
RD
81%rename(TextAttr) wxTextAttr;
82%rename(TextCtrl) wxTextCtrl;
83%rename(TextUrlEvent) wxTextUrlEvent;
84%rename(ScrollBar) wxScrollBar;
85%rename(SP_HORIZONTAL) wxSP_HORIZONTAL;
86%rename(SP_VERTICAL) wxSP_VERTICAL;
87%rename(SP_ARROW_KEYS) wxSP_ARROW_KEYS;
88%rename(SP_WRAP) wxSP_WRAP;
89%rename(SpinButton) wxSpinButton;
90%rename(SpinCtrl) wxSpinCtrl;
b1dfbb7a 91%rename(SpinEvent) wxSpinEvent;
d14a1e28
RD
92%rename(RadioBox) wxRadioBox;
93%rename(RadioButton) wxRadioButton;
7f873aa4
RD
94%rename(SL_HORIZONTAL) wxSL_HORIZONTAL;
95%rename(SL_VERTICAL) wxSL_VERTICAL;
70b7a5fe 96%rename(SL_TICKS) wxSL_TICKS;
7f873aa4
RD
97%rename(SL_AUTOTICKS) wxSL_AUTOTICKS;
98%rename(SL_LABELS) wxSL_LABELS;
99%rename(SL_LEFT) wxSL_LEFT;
100%rename(SL_TOP) wxSL_TOP;
101%rename(SL_RIGHT) wxSL_RIGHT;
102%rename(SL_BOTTOM) wxSL_BOTTOM;
103%rename(SL_BOTH) wxSL_BOTH;
104%rename(SL_SELRANGE) wxSL_SELRANGE;
105%rename(SL_INVERSE) wxSL_INVERSE;
d14a1e28
RD
106%rename(Slider) wxSlider;
107%rename(ToggleButton) wxToggleButton;
6aabc8da
RD
108%rename(BK_DEFAULT) wxBK_DEFAULT;
109%rename(BK_TOP) wxBK_TOP;
110%rename(BK_BOTTOM) wxBK_BOTTOM;
111%rename(BK_LEFT) wxBK_LEFT;
112%rename(BK_RIGHT) wxBK_RIGHT;
113%rename(BK_ALIGN_MASK) wxBK_ALIGN_MASK;
f05ebffd
RD
114%rename(BookCtrlBase) wxBookCtrlBase;
115%rename(BookCtrlBaseEvent) wxBookCtrlBaseEvent;
d14a1e28
RD
116%rename(NB_FIXEDWIDTH) wxNB_FIXEDWIDTH;
117%rename(NB_TOP) wxNB_TOP;
118%rename(NB_LEFT) wxNB_LEFT;
119%rename(NB_RIGHT) wxNB_RIGHT;
120%rename(NB_BOTTOM) wxNB_BOTTOM;
121%rename(NB_MULTILINE) wxNB_MULTILINE;
8e738329 122%rename(NB_NOPAGETHEME) wxNB_NOPAGETHEME;
d14a1e28
RD
123%rename(NB_HITTEST_NOWHERE) wxNB_HITTEST_NOWHERE;
124%rename(NB_HITTEST_ONICON) wxNB_HITTEST_ONICON;
125%rename(NB_HITTEST_ONLABEL) wxNB_HITTEST_ONLABEL;
126%rename(NB_HITTEST_ONITEM) wxNB_HITTEST_ONITEM;
127%rename(Notebook) wxNotebook;
128%rename(NotebookEvent) wxNotebookEvent;
129%rename(LB_DEFAULT) wxLB_DEFAULT;
130%rename(LB_TOP) wxLB_TOP;
131%rename(LB_BOTTOM) wxLB_BOTTOM;
132%rename(LB_LEFT) wxLB_LEFT;
133%rename(LB_RIGHT) wxLB_RIGHT;
134%rename(LB_ALIGN_MASK) wxLB_ALIGN_MASK;
135%rename(Listbook) wxListbook;
136%rename(ListbookEvent) wxListbookEvent;
2ef75293
RD
137%rename(CHB_DEFAULT) wxCHB_DEFAULT;
138%rename(CHB_TOP) wxCHB_TOP;
139%rename(CHB_BOTTOM) wxCHB_BOTTOM;
140%rename(CHB_LEFT) wxCHB_LEFT;
141%rename(CHB_RIGHT) wxCHB_RIGHT;
142%rename(CHB_ALIGN_MASK) wxCHB_ALIGN_MASK;
143%rename(Choicebook) wxChoicebook;
144%rename(ChoicebookEvent) wxChoicebookEvent;
6aabc8da
RD
145%rename(Treebook) wxTreebook;
146%rename(TreebookEvent) wxTreebookEvent;
147%rename(Toolbook) wxToolbook;
148%rename(ToolbookEvent) wxToolbookEvent;
d14a1e28
RD
149%rename(TOOL_STYLE_BUTTON) wxTOOL_STYLE_BUTTON;
150%rename(TOOL_STYLE_SEPARATOR) wxTOOL_STYLE_SEPARATOR;
151%rename(TOOL_STYLE_CONTROL) wxTOOL_STYLE_CONTROL;
152%rename(TB_HORIZONTAL) wxTB_HORIZONTAL;
153%rename(TB_VERTICAL) wxTB_VERTICAL;
154%rename(TB_3DBUTTONS) wxTB_3DBUTTONS;
155%rename(TB_FLAT) wxTB_FLAT;
156%rename(TB_DOCKABLE) wxTB_DOCKABLE;
157%rename(TB_NOICONS) wxTB_NOICONS;
158%rename(TB_TEXT) wxTB_TEXT;
159%rename(TB_NODIVIDER) wxTB_NODIVIDER;
160%rename(TB_NOALIGN) wxTB_NOALIGN;
161%rename(TB_HORZ_LAYOUT) wxTB_HORZ_LAYOUT;
162%rename(TB_HORZ_TEXT) wxTB_HORZ_TEXT;
163%rename(ToolBarToolBase) wxToolBarToolBase;
164%rename(ToolBarBase) wxToolBarBase;
165%rename(ToolBar) wxToolBar;
166%rename(LC_VRULES) wxLC_VRULES;
167%rename(LC_HRULES) wxLC_HRULES;
168%rename(LC_ICON) wxLC_ICON;
169%rename(LC_SMALL_ICON) wxLC_SMALL_ICON;
170%rename(LC_LIST) wxLC_LIST;
171%rename(LC_REPORT) wxLC_REPORT;
172%rename(LC_ALIGN_TOP) wxLC_ALIGN_TOP;
173%rename(LC_ALIGN_LEFT) wxLC_ALIGN_LEFT;
174%rename(LC_AUTOARRANGE) wxLC_AUTOARRANGE;
175%rename(LC_VIRTUAL) wxLC_VIRTUAL;
176%rename(LC_EDIT_LABELS) wxLC_EDIT_LABELS;
177%rename(LC_NO_HEADER) wxLC_NO_HEADER;
178%rename(LC_NO_SORT_HEADER) wxLC_NO_SORT_HEADER;
179%rename(LC_SINGLE_SEL) wxLC_SINGLE_SEL;
180%rename(LC_SORT_ASCENDING) wxLC_SORT_ASCENDING;
181%rename(LC_SORT_DESCENDING) wxLC_SORT_DESCENDING;
182%rename(LC_MASK_TYPE) wxLC_MASK_TYPE;
183%rename(LC_MASK_ALIGN) wxLC_MASK_ALIGN;
184%rename(LC_MASK_SORT) wxLC_MASK_SORT;
185%rename(LIST_MASK_STATE) wxLIST_MASK_STATE;
186%rename(LIST_MASK_TEXT) wxLIST_MASK_TEXT;
187%rename(LIST_MASK_IMAGE) wxLIST_MASK_IMAGE;
188%rename(LIST_MASK_DATA) wxLIST_MASK_DATA;
189%rename(LIST_SET_ITEM) wxLIST_SET_ITEM;
190%rename(LIST_MASK_WIDTH) wxLIST_MASK_WIDTH;
191%rename(LIST_MASK_FORMAT) wxLIST_MASK_FORMAT;
192%rename(LIST_STATE_DONTCARE) wxLIST_STATE_DONTCARE;
193%rename(LIST_STATE_DROPHILITED) wxLIST_STATE_DROPHILITED;
194%rename(LIST_STATE_FOCUSED) wxLIST_STATE_FOCUSED;
195%rename(LIST_STATE_SELECTED) wxLIST_STATE_SELECTED;
196%rename(LIST_STATE_CUT) wxLIST_STATE_CUT;
197%rename(LIST_STATE_DISABLED) wxLIST_STATE_DISABLED;
198%rename(LIST_STATE_FILTERED) wxLIST_STATE_FILTERED;
199%rename(LIST_STATE_INUSE) wxLIST_STATE_INUSE;
200%rename(LIST_STATE_PICKED) wxLIST_STATE_PICKED;
201%rename(LIST_STATE_SOURCE) wxLIST_STATE_SOURCE;
202%rename(LIST_HITTEST_ABOVE) wxLIST_HITTEST_ABOVE;
203%rename(LIST_HITTEST_BELOW) wxLIST_HITTEST_BELOW;
204%rename(LIST_HITTEST_NOWHERE) wxLIST_HITTEST_NOWHERE;
205%rename(LIST_HITTEST_ONITEMICON) wxLIST_HITTEST_ONITEMICON;
206%rename(LIST_HITTEST_ONITEMLABEL) wxLIST_HITTEST_ONITEMLABEL;
207%rename(LIST_HITTEST_ONITEMRIGHT) wxLIST_HITTEST_ONITEMRIGHT;
208%rename(LIST_HITTEST_ONITEMSTATEICON) wxLIST_HITTEST_ONITEMSTATEICON;
209%rename(LIST_HITTEST_TOLEFT) wxLIST_HITTEST_TOLEFT;
210%rename(LIST_HITTEST_TORIGHT) wxLIST_HITTEST_TORIGHT;
211%rename(LIST_HITTEST_ONITEM) wxLIST_HITTEST_ONITEM;
212%rename(LIST_NEXT_ABOVE) wxLIST_NEXT_ABOVE;
213%rename(LIST_NEXT_ALL) wxLIST_NEXT_ALL;
214%rename(LIST_NEXT_BELOW) wxLIST_NEXT_BELOW;
215%rename(LIST_NEXT_LEFT) wxLIST_NEXT_LEFT;
216%rename(LIST_NEXT_RIGHT) wxLIST_NEXT_RIGHT;
217%rename(LIST_ALIGN_DEFAULT) wxLIST_ALIGN_DEFAULT;
218%rename(LIST_ALIGN_LEFT) wxLIST_ALIGN_LEFT;
219%rename(LIST_ALIGN_TOP) wxLIST_ALIGN_TOP;
220%rename(LIST_ALIGN_SNAP_TO_GRID) wxLIST_ALIGN_SNAP_TO_GRID;
221%rename(LIST_FORMAT_LEFT) wxLIST_FORMAT_LEFT;
222%rename(LIST_FORMAT_RIGHT) wxLIST_FORMAT_RIGHT;
223%rename(LIST_FORMAT_CENTRE) wxLIST_FORMAT_CENTRE;
224%rename(LIST_FORMAT_CENTER) wxLIST_FORMAT_CENTER;
225%rename(LIST_AUTOSIZE) wxLIST_AUTOSIZE;
226%rename(LIST_AUTOSIZE_USEHEADER) wxLIST_AUTOSIZE_USEHEADER;
227%rename(LIST_RECT_BOUNDS) wxLIST_RECT_BOUNDS;
228%rename(LIST_RECT_ICON) wxLIST_RECT_ICON;
229%rename(LIST_RECT_LABEL) wxLIST_RECT_LABEL;
230%rename(LIST_FIND_UP) wxLIST_FIND_UP;
231%rename(LIST_FIND_DOWN) wxLIST_FIND_DOWN;
232%rename(LIST_FIND_LEFT) wxLIST_FIND_LEFT;
233%rename(LIST_FIND_RIGHT) wxLIST_FIND_RIGHT;
234%rename(ListItemAttr) wxListItemAttr;
235%rename(ListItem) wxListItem;
236%rename(ListEvent) wxListEvent;
237%rename(ListView) wxListView;
238%rename(TR_NO_BUTTONS) wxTR_NO_BUTTONS;
239%rename(TR_HAS_BUTTONS) wxTR_HAS_BUTTONS;
240%rename(TR_NO_LINES) wxTR_NO_LINES;
241%rename(TR_LINES_AT_ROOT) wxTR_LINES_AT_ROOT;
242%rename(TR_SINGLE) wxTR_SINGLE;
243%rename(TR_MULTIPLE) wxTR_MULTIPLE;
244%rename(TR_EXTENDED) wxTR_EXTENDED;
245%rename(TR_HAS_VARIABLE_ROW_HEIGHT) wxTR_HAS_VARIABLE_ROW_HEIGHT;
246%rename(TR_EDIT_LABELS) wxTR_EDIT_LABELS;
247%rename(TR_HIDE_ROOT) wxTR_HIDE_ROOT;
248%rename(TR_ROW_LINES) wxTR_ROW_LINES;
249%rename(TR_FULL_ROW_HIGHLIGHT) wxTR_FULL_ROW_HIGHLIGHT;
250%rename(TR_DEFAULT_STYLE) wxTR_DEFAULT_STYLE;
251%rename(TR_TWIST_BUTTONS) wxTR_TWIST_BUTTONS;
252%rename(TR_MAC_BUTTONS) wxTR_MAC_BUTTONS;
253%rename(TR_AQUA_BUTTONS) wxTR_AQUA_BUTTONS;
254%rename(TreeItemIcon_Normal) wxTreeItemIcon_Normal;
255%rename(TreeItemIcon_Selected) wxTreeItemIcon_Selected;
256%rename(TreeItemIcon_Expanded) wxTreeItemIcon_Expanded;
257%rename(TreeItemIcon_SelectedExpanded) wxTreeItemIcon_SelectedExpanded;
258%rename(TreeItemIcon_Max) wxTreeItemIcon_Max;
259%rename(TREE_HITTEST_ABOVE) wxTREE_HITTEST_ABOVE;
260%rename(TREE_HITTEST_BELOW) wxTREE_HITTEST_BELOW;
261%rename(TREE_HITTEST_NOWHERE) wxTREE_HITTEST_NOWHERE;
262%rename(TREE_HITTEST_ONITEMBUTTON) wxTREE_HITTEST_ONITEMBUTTON;
263%rename(TREE_HITTEST_ONITEMICON) wxTREE_HITTEST_ONITEMICON;
264%rename(TREE_HITTEST_ONITEMINDENT) wxTREE_HITTEST_ONITEMINDENT;
265%rename(TREE_HITTEST_ONITEMLABEL) wxTREE_HITTEST_ONITEMLABEL;
266%rename(TREE_HITTEST_ONITEMRIGHT) wxTREE_HITTEST_ONITEMRIGHT;
267%rename(TREE_HITTEST_ONITEMSTATEICON) wxTREE_HITTEST_ONITEMSTATEICON;
268%rename(TREE_HITTEST_TOLEFT) wxTREE_HITTEST_TOLEFT;
269%rename(TREE_HITTEST_TORIGHT) wxTREE_HITTEST_TORIGHT;
270%rename(TREE_HITTEST_ONITEMUPPERPART) wxTREE_HITTEST_ONITEMUPPERPART;
271%rename(TREE_HITTEST_ONITEMLOWERPART) wxTREE_HITTEST_ONITEMLOWERPART;
272%rename(TREE_HITTEST_ONITEM) wxTREE_HITTEST_ONITEM;
273%rename(TreeItemId) wxTreeItemId;
274%rename(TreeEvent) wxTreeEvent;
275%rename(DIRCTRL_DIR_ONLY) wxDIRCTRL_DIR_ONLY;
276%rename(DIRCTRL_SELECT_FIRST) wxDIRCTRL_SELECT_FIRST;
277%rename(DIRCTRL_SHOW_FILTERS) wxDIRCTRL_SHOW_FILTERS;
278%rename(DIRCTRL_3D_INTERNAL) wxDIRCTRL_3D_INTERNAL;
279%rename(DIRCTRL_EDIT_LABELS) wxDIRCTRL_EDIT_LABELS;
280%rename(GenericDirCtrl) wxGenericDirCtrl;
281%rename(DirFilterListCtrl) wxDirFilterListCtrl;
282%rename(PyControl) wxPyControl;
283%rename(FRAME_EX_CONTEXTHELP) wxFRAME_EX_CONTEXTHELP;
284%rename(DIALOG_EX_CONTEXTHELP) wxDIALOG_EX_CONTEXTHELP;
285%rename(HelpEvent) wxHelpEvent;
286%rename(ContextHelp) wxContextHelp;
287%rename(ContextHelpButton) wxContextHelpButton;
288%rename(HelpProvider) wxHelpProvider;
289%rename(SimpleHelpProvider) wxSimpleHelpProvider;
91334b48
RD
290%rename(DP_DEFAULT) wxDP_DEFAULT;
291%rename(DP_SPIN) wxDP_SPIN;
292%rename(DP_DROPDOWN) wxDP_DROPDOWN;
293%rename(DP_SHOWCENTURY) wxDP_SHOWCENTURY;
294%rename(DP_ALLOWNONE) wxDP_ALLOWNONE;
295%rename(DatePickerCtrl) wxDatePickerCtrl;
d14a1e28
RD
296
297#endif