]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/__controls_rename.i
A little cleanup
[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;
50%rename(TE_LINEWRAP) wxTE_LINEWRAP;
51%rename(TE_WORDWRAP) wxTE_WORDWRAP;
52%rename(TE_RICH2) wxTE_RICH2;
53%rename(TEXT_ALIGNMENT_DEFAULT) wxTEXT_ALIGNMENT_DEFAULT;
54%rename(TEXT_ALIGNMENT_LEFT) wxTEXT_ALIGNMENT_LEFT;
55%rename(TEXT_ALIGNMENT_CENTRE) wxTEXT_ALIGNMENT_CENTRE;
56%rename(TEXT_ALIGNMENT_CENTER) wxTEXT_ALIGNMENT_CENTER;
57%rename(TEXT_ALIGNMENT_RIGHT) wxTEXT_ALIGNMENT_RIGHT;
58%rename(TEXT_ALIGNMENT_JUSTIFIED) wxTEXT_ALIGNMENT_JUSTIFIED;
59%rename(TEXT_ATTR_TEXT_COLOUR) wxTEXT_ATTR_TEXT_COLOUR;
60%rename(TEXT_ATTR_BACKGROUND_COLOUR) wxTEXT_ATTR_BACKGROUND_COLOUR;
61%rename(TEXT_ATTR_FONT_FACE) wxTEXT_ATTR_FONT_FACE;
62%rename(TEXT_ATTR_FONT_SIZE) wxTEXT_ATTR_FONT_SIZE;
63%rename(TEXT_ATTR_FONT_WEIGHT) wxTEXT_ATTR_FONT_WEIGHT;
64%rename(TEXT_ATTR_FONT_ITALIC) wxTEXT_ATTR_FONT_ITALIC;
65%rename(TEXT_ATTR_FONT_UNDERLINE) wxTEXT_ATTR_FONT_UNDERLINE;
66%rename(TEXT_ATTR_FONT) wxTEXT_ATTR_FONT;
67%rename(TEXT_ATTR_ALIGNMENT) wxTEXT_ATTR_ALIGNMENT;
68%rename(TEXT_ATTR_LEFT_INDENT) wxTEXT_ATTR_LEFT_INDENT;
69%rename(TEXT_ATTR_RIGHT_INDENT) wxTEXT_ATTR_RIGHT_INDENT;
70%rename(TEXT_ATTR_TABS) wxTEXT_ATTR_TABS;
4e760a36
RD
71%rename(TE_HT_UNKNOWN) wxTE_HT_UNKNOWN;
72%rename(TE_HT_BEFORE) wxTE_HT_BEFORE;
73%rename(TE_HT_ON_TEXT) wxTE_HT_ON_TEXT;
74%rename(TE_HT_BELOW) wxTE_HT_BELOW;
75%rename(TE_HT_BEYOND) wxTE_HT_BEYOND;
d14a1e28
RD
76%rename(TextAttr) wxTextAttr;
77%rename(TextCtrl) wxTextCtrl;
78%rename(TextUrlEvent) wxTextUrlEvent;
79%rename(ScrollBar) wxScrollBar;
80%rename(SP_HORIZONTAL) wxSP_HORIZONTAL;
81%rename(SP_VERTICAL) wxSP_VERTICAL;
82%rename(SP_ARROW_KEYS) wxSP_ARROW_KEYS;
83%rename(SP_WRAP) wxSP_WRAP;
84%rename(SpinButton) wxSpinButton;
85%rename(SpinCtrl) wxSpinCtrl;
b1dfbb7a 86%rename(SpinEvent) wxSpinEvent;
d14a1e28
RD
87%rename(RadioBox) wxRadioBox;
88%rename(RadioButton) wxRadioButton;
89%rename(Slider) wxSlider;
90%rename(ToggleButton) wxToggleButton;
f05ebffd
RD
91%rename(BookCtrlBase) wxBookCtrlBase;
92%rename(BookCtrlBaseEvent) wxBookCtrlBaseEvent;
d14a1e28
RD
93%rename(NB_FIXEDWIDTH) wxNB_FIXEDWIDTH;
94%rename(NB_TOP) wxNB_TOP;
95%rename(NB_LEFT) wxNB_LEFT;
96%rename(NB_RIGHT) wxNB_RIGHT;
97%rename(NB_BOTTOM) wxNB_BOTTOM;
98%rename(NB_MULTILINE) wxNB_MULTILINE;
99%rename(NB_HITTEST_NOWHERE) wxNB_HITTEST_NOWHERE;
100%rename(NB_HITTEST_ONICON) wxNB_HITTEST_ONICON;
101%rename(NB_HITTEST_ONLABEL) wxNB_HITTEST_ONLABEL;
102%rename(NB_HITTEST_ONITEM) wxNB_HITTEST_ONITEM;
103%rename(Notebook) wxNotebook;
104%rename(NotebookEvent) wxNotebookEvent;
105%rename(LB_DEFAULT) wxLB_DEFAULT;
106%rename(LB_TOP) wxLB_TOP;
107%rename(LB_BOTTOM) wxLB_BOTTOM;
108%rename(LB_LEFT) wxLB_LEFT;
109%rename(LB_RIGHT) wxLB_RIGHT;
110%rename(LB_ALIGN_MASK) wxLB_ALIGN_MASK;
111%rename(Listbook) wxListbook;
112%rename(ListbookEvent) wxListbookEvent;
2ef75293
RD
113%rename(CHB_DEFAULT) wxCHB_DEFAULT;
114%rename(CHB_TOP) wxCHB_TOP;
115%rename(CHB_BOTTOM) wxCHB_BOTTOM;
116%rename(CHB_LEFT) wxCHB_LEFT;
117%rename(CHB_RIGHT) wxCHB_RIGHT;
118%rename(CHB_ALIGN_MASK) wxCHB_ALIGN_MASK;
119%rename(Choicebook) wxChoicebook;
120%rename(ChoicebookEvent) wxChoicebookEvent;
d14a1e28
RD
121%rename(BookCtrlSizer) wxBookCtrlSizer;
122%rename(NotebookSizer) wxNotebookSizer;
123%rename(TOOL_STYLE_BUTTON) wxTOOL_STYLE_BUTTON;
124%rename(TOOL_STYLE_SEPARATOR) wxTOOL_STYLE_SEPARATOR;
125%rename(TOOL_STYLE_CONTROL) wxTOOL_STYLE_CONTROL;
126%rename(TB_HORIZONTAL) wxTB_HORIZONTAL;
127%rename(TB_VERTICAL) wxTB_VERTICAL;
128%rename(TB_3DBUTTONS) wxTB_3DBUTTONS;
129%rename(TB_FLAT) wxTB_FLAT;
130%rename(TB_DOCKABLE) wxTB_DOCKABLE;
131%rename(TB_NOICONS) wxTB_NOICONS;
132%rename(TB_TEXT) wxTB_TEXT;
133%rename(TB_NODIVIDER) wxTB_NODIVIDER;
134%rename(TB_NOALIGN) wxTB_NOALIGN;
135%rename(TB_HORZ_LAYOUT) wxTB_HORZ_LAYOUT;
136%rename(TB_HORZ_TEXT) wxTB_HORZ_TEXT;
137%rename(ToolBarToolBase) wxToolBarToolBase;
138%rename(ToolBarBase) wxToolBarBase;
139%rename(ToolBar) wxToolBar;
140%rename(LC_VRULES) wxLC_VRULES;
141%rename(LC_HRULES) wxLC_HRULES;
142%rename(LC_ICON) wxLC_ICON;
143%rename(LC_SMALL_ICON) wxLC_SMALL_ICON;
144%rename(LC_LIST) wxLC_LIST;
145%rename(LC_REPORT) wxLC_REPORT;
146%rename(LC_ALIGN_TOP) wxLC_ALIGN_TOP;
147%rename(LC_ALIGN_LEFT) wxLC_ALIGN_LEFT;
148%rename(LC_AUTOARRANGE) wxLC_AUTOARRANGE;
149%rename(LC_VIRTUAL) wxLC_VIRTUAL;
150%rename(LC_EDIT_LABELS) wxLC_EDIT_LABELS;
151%rename(LC_NO_HEADER) wxLC_NO_HEADER;
152%rename(LC_NO_SORT_HEADER) wxLC_NO_SORT_HEADER;
153%rename(LC_SINGLE_SEL) wxLC_SINGLE_SEL;
154%rename(LC_SORT_ASCENDING) wxLC_SORT_ASCENDING;
155%rename(LC_SORT_DESCENDING) wxLC_SORT_DESCENDING;
156%rename(LC_MASK_TYPE) wxLC_MASK_TYPE;
157%rename(LC_MASK_ALIGN) wxLC_MASK_ALIGN;
158%rename(LC_MASK_SORT) wxLC_MASK_SORT;
159%rename(LIST_MASK_STATE) wxLIST_MASK_STATE;
160%rename(LIST_MASK_TEXT) wxLIST_MASK_TEXT;
161%rename(LIST_MASK_IMAGE) wxLIST_MASK_IMAGE;
162%rename(LIST_MASK_DATA) wxLIST_MASK_DATA;
163%rename(LIST_SET_ITEM) wxLIST_SET_ITEM;
164%rename(LIST_MASK_WIDTH) wxLIST_MASK_WIDTH;
165%rename(LIST_MASK_FORMAT) wxLIST_MASK_FORMAT;
166%rename(LIST_STATE_DONTCARE) wxLIST_STATE_DONTCARE;
167%rename(LIST_STATE_DROPHILITED) wxLIST_STATE_DROPHILITED;
168%rename(LIST_STATE_FOCUSED) wxLIST_STATE_FOCUSED;
169%rename(LIST_STATE_SELECTED) wxLIST_STATE_SELECTED;
170%rename(LIST_STATE_CUT) wxLIST_STATE_CUT;
171%rename(LIST_STATE_DISABLED) wxLIST_STATE_DISABLED;
172%rename(LIST_STATE_FILTERED) wxLIST_STATE_FILTERED;
173%rename(LIST_STATE_INUSE) wxLIST_STATE_INUSE;
174%rename(LIST_STATE_PICKED) wxLIST_STATE_PICKED;
175%rename(LIST_STATE_SOURCE) wxLIST_STATE_SOURCE;
176%rename(LIST_HITTEST_ABOVE) wxLIST_HITTEST_ABOVE;
177%rename(LIST_HITTEST_BELOW) wxLIST_HITTEST_BELOW;
178%rename(LIST_HITTEST_NOWHERE) wxLIST_HITTEST_NOWHERE;
179%rename(LIST_HITTEST_ONITEMICON) wxLIST_HITTEST_ONITEMICON;
180%rename(LIST_HITTEST_ONITEMLABEL) wxLIST_HITTEST_ONITEMLABEL;
181%rename(LIST_HITTEST_ONITEMRIGHT) wxLIST_HITTEST_ONITEMRIGHT;
182%rename(LIST_HITTEST_ONITEMSTATEICON) wxLIST_HITTEST_ONITEMSTATEICON;
183%rename(LIST_HITTEST_TOLEFT) wxLIST_HITTEST_TOLEFT;
184%rename(LIST_HITTEST_TORIGHT) wxLIST_HITTEST_TORIGHT;
185%rename(LIST_HITTEST_ONITEM) wxLIST_HITTEST_ONITEM;
186%rename(LIST_NEXT_ABOVE) wxLIST_NEXT_ABOVE;
187%rename(LIST_NEXT_ALL) wxLIST_NEXT_ALL;
188%rename(LIST_NEXT_BELOW) wxLIST_NEXT_BELOW;
189%rename(LIST_NEXT_LEFT) wxLIST_NEXT_LEFT;
190%rename(LIST_NEXT_RIGHT) wxLIST_NEXT_RIGHT;
191%rename(LIST_ALIGN_DEFAULT) wxLIST_ALIGN_DEFAULT;
192%rename(LIST_ALIGN_LEFT) wxLIST_ALIGN_LEFT;
193%rename(LIST_ALIGN_TOP) wxLIST_ALIGN_TOP;
194%rename(LIST_ALIGN_SNAP_TO_GRID) wxLIST_ALIGN_SNAP_TO_GRID;
195%rename(LIST_FORMAT_LEFT) wxLIST_FORMAT_LEFT;
196%rename(LIST_FORMAT_RIGHT) wxLIST_FORMAT_RIGHT;
197%rename(LIST_FORMAT_CENTRE) wxLIST_FORMAT_CENTRE;
198%rename(LIST_FORMAT_CENTER) wxLIST_FORMAT_CENTER;
199%rename(LIST_AUTOSIZE) wxLIST_AUTOSIZE;
200%rename(LIST_AUTOSIZE_USEHEADER) wxLIST_AUTOSIZE_USEHEADER;
201%rename(LIST_RECT_BOUNDS) wxLIST_RECT_BOUNDS;
202%rename(LIST_RECT_ICON) wxLIST_RECT_ICON;
203%rename(LIST_RECT_LABEL) wxLIST_RECT_LABEL;
204%rename(LIST_FIND_UP) wxLIST_FIND_UP;
205%rename(LIST_FIND_DOWN) wxLIST_FIND_DOWN;
206%rename(LIST_FIND_LEFT) wxLIST_FIND_LEFT;
207%rename(LIST_FIND_RIGHT) wxLIST_FIND_RIGHT;
208%rename(ListItemAttr) wxListItemAttr;
209%rename(ListItem) wxListItem;
210%rename(ListEvent) wxListEvent;
211%rename(ListView) wxListView;
212%rename(TR_NO_BUTTONS) wxTR_NO_BUTTONS;
213%rename(TR_HAS_BUTTONS) wxTR_HAS_BUTTONS;
214%rename(TR_NO_LINES) wxTR_NO_LINES;
215%rename(TR_LINES_AT_ROOT) wxTR_LINES_AT_ROOT;
216%rename(TR_SINGLE) wxTR_SINGLE;
217%rename(TR_MULTIPLE) wxTR_MULTIPLE;
218%rename(TR_EXTENDED) wxTR_EXTENDED;
219%rename(TR_HAS_VARIABLE_ROW_HEIGHT) wxTR_HAS_VARIABLE_ROW_HEIGHT;
220%rename(TR_EDIT_LABELS) wxTR_EDIT_LABELS;
221%rename(TR_HIDE_ROOT) wxTR_HIDE_ROOT;
222%rename(TR_ROW_LINES) wxTR_ROW_LINES;
223%rename(TR_FULL_ROW_HIGHLIGHT) wxTR_FULL_ROW_HIGHLIGHT;
224%rename(TR_DEFAULT_STYLE) wxTR_DEFAULT_STYLE;
225%rename(TR_TWIST_BUTTONS) wxTR_TWIST_BUTTONS;
226%rename(TR_MAC_BUTTONS) wxTR_MAC_BUTTONS;
227%rename(TR_AQUA_BUTTONS) wxTR_AQUA_BUTTONS;
228%rename(TreeItemIcon_Normal) wxTreeItemIcon_Normal;
229%rename(TreeItemIcon_Selected) wxTreeItemIcon_Selected;
230%rename(TreeItemIcon_Expanded) wxTreeItemIcon_Expanded;
231%rename(TreeItemIcon_SelectedExpanded) wxTreeItemIcon_SelectedExpanded;
232%rename(TreeItemIcon_Max) wxTreeItemIcon_Max;
233%rename(TREE_HITTEST_ABOVE) wxTREE_HITTEST_ABOVE;
234%rename(TREE_HITTEST_BELOW) wxTREE_HITTEST_BELOW;
235%rename(TREE_HITTEST_NOWHERE) wxTREE_HITTEST_NOWHERE;
236%rename(TREE_HITTEST_ONITEMBUTTON) wxTREE_HITTEST_ONITEMBUTTON;
237%rename(TREE_HITTEST_ONITEMICON) wxTREE_HITTEST_ONITEMICON;
238%rename(TREE_HITTEST_ONITEMINDENT) wxTREE_HITTEST_ONITEMINDENT;
239%rename(TREE_HITTEST_ONITEMLABEL) wxTREE_HITTEST_ONITEMLABEL;
240%rename(TREE_HITTEST_ONITEMRIGHT) wxTREE_HITTEST_ONITEMRIGHT;
241%rename(TREE_HITTEST_ONITEMSTATEICON) wxTREE_HITTEST_ONITEMSTATEICON;
242%rename(TREE_HITTEST_TOLEFT) wxTREE_HITTEST_TOLEFT;
243%rename(TREE_HITTEST_TORIGHT) wxTREE_HITTEST_TORIGHT;
244%rename(TREE_HITTEST_ONITEMUPPERPART) wxTREE_HITTEST_ONITEMUPPERPART;
245%rename(TREE_HITTEST_ONITEMLOWERPART) wxTREE_HITTEST_ONITEMLOWERPART;
246%rename(TREE_HITTEST_ONITEM) wxTREE_HITTEST_ONITEM;
247%rename(TreeItemId) wxTreeItemId;
248%rename(TreeEvent) wxTreeEvent;
249%rename(DIRCTRL_DIR_ONLY) wxDIRCTRL_DIR_ONLY;
250%rename(DIRCTRL_SELECT_FIRST) wxDIRCTRL_SELECT_FIRST;
251%rename(DIRCTRL_SHOW_FILTERS) wxDIRCTRL_SHOW_FILTERS;
252%rename(DIRCTRL_3D_INTERNAL) wxDIRCTRL_3D_INTERNAL;
253%rename(DIRCTRL_EDIT_LABELS) wxDIRCTRL_EDIT_LABELS;
254%rename(GenericDirCtrl) wxGenericDirCtrl;
255%rename(DirFilterListCtrl) wxDirFilterListCtrl;
256%rename(PyControl) wxPyControl;
257%rename(FRAME_EX_CONTEXTHELP) wxFRAME_EX_CONTEXTHELP;
258%rename(DIALOG_EX_CONTEXTHELP) wxDIALOG_EX_CONTEXTHELP;
259%rename(HelpEvent) wxHelpEvent;
260%rename(ContextHelp) wxContextHelp;
261%rename(ContextHelpButton) wxContextHelpButton;
262%rename(HelpProvider) wxHelpProvider;
263%rename(SimpleHelpProvider) wxSimpleHelpProvider;
264
265#endif