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