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