]>
Commit | Line | Data |
---|---|---|
9c039d08 | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/frames.cpp |
9c039d08 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
9c039d08 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
9c039d08 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1c09ae54 | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
1c09ae54 | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1c09ae54 | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
37 | #endif |
38 | ||
1c09ae54 RD |
39 | #include "Python.h" |
40 | ||
9c039d08 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
1c09ae54 | 44 | |
9c039d08 RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
9c039d08 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
9c039d08 RD |
54 | #define SWIG_init initframesc |
55 | ||
56 | #define SWIG_name "framesc" | |
57 | ||
58 | #include "helpers.h" | |
9c039d08 | 59 | #include <wx/minifram.h> |
9c039d08 RD |
60 | |
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
1c09ae54 | 63 | if (!target) { |
9c039d08 | 64 | target = o; |
1c09ae54 | 65 | } else if (target == Py_None) { |
9c039d08 RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
1c09ae54 | 68 | } else { |
9c039d08 RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
1c09ae54 | 85 | if (!target) { |
9c039d08 | 86 | target = o; |
1c09ae54 | 87 | } else if (target == Py_None) { |
9c039d08 RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
1c09ae54 | 90 | } else { |
9c039d08 RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
1c09ae54 RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
98 | |
99 | o2 = target; | |
1c09ae54 RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
9c039d08 RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
7a446686 RD |
107 | #if PYTHON_API_VERSION >= 1009 |
108 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
109 | #else | |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
111 | #endif | |
1d99702e RD |
112 | #ifdef __cplusplus |
113 | extern "C" { | |
114 | #endif | |
9c039d08 RD |
115 | static void *SwigwxFrameTowxWindow(void *ptr) { |
116 | wxFrame *src; | |
117 | wxWindow *dest; | |
118 | src = (wxFrame *) ptr; | |
119 | dest = (wxWindow *) src; | |
120 | return (void *) dest; | |
121 | } | |
122 | ||
123 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
124 | wxFrame *src; | |
125 | wxEvtHandler *dest; | |
126 | src = (wxFrame *) ptr; | |
127 | dest = (wxEvtHandler *) src; | |
128 | return (void *) dest; | |
129 | } | |
130 | ||
9df61a29 RD |
131 | static void *SwigwxFrameTowxObject(void *ptr) { |
132 | wxFrame *src; | |
133 | wxObject *dest; | |
134 | src = (wxFrame *) ptr; | |
135 | dest = (wxObject *) src; | |
136 | return (void *) dest; | |
137 | } | |
138 | ||
9c039d08 | 139 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 140 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
141 | PyObject * _resultobj; |
142 | wxFrame * _result; | |
143 | wxWindow * _arg0; | |
144 | wxWindowID _arg1; | |
145 | wxString * _arg2; | |
b68dc582 RD |
146 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
147 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
148 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
149 | char * _arg6 = (char *) "frame"; | |
150 | PyObject * _argo0 = 0; | |
9c039d08 | 151 | PyObject * _obj2 = 0; |
2f90df85 RD |
152 | wxPoint temp; |
153 | PyObject * _obj3 = 0; | |
154 | wxSize temp0; | |
155 | PyObject * _obj4 = 0; | |
efc5f224 | 156 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
157 | char _ptemp[128]; |
158 | ||
159 | self = self; | |
2f90df85 | 160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 161 | return NULL; |
1d99702e RD |
162 | if (_argo0) { |
163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); |
166 | return NULL; | |
167 | } | |
168 | } | |
169 | { | |
2cd2fac8 RD |
170 | #if PYTHON_API_VERSION >= 1009 |
171 | char* tmpPtr; int tmpSize; | |
172 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 173 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
174 | return NULL; |
175 | } | |
176 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
177 | return NULL; | |
178 | _arg2 = new wxString(tmpPtr, tmpSize); | |
179 | #else | |
9c039d08 RD |
180 | if (!PyString_Check(_obj2)) { |
181 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
182 | return NULL; | |
183 | } | |
2cd2fac8 RD |
184 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
185 | #endif | |
9c039d08 | 186 | } |
2f90df85 RD |
187 | if (_obj3) |
188 | { | |
189 | _arg3 = &temp; | |
190 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 191 | return NULL; |
2f90df85 RD |
192 | } |
193 | if (_obj4) | |
194 | { | |
195 | _arg4 = &temp0; | |
196 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 197 | return NULL; |
2f90df85 | 198 | } |
cf694132 RD |
199 | { |
200 | wxPy_BEGIN_ALLOW_THREADS; | |
201 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
202 | ||
203 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
204 | } if (_result) { |
205 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
206 | _resultobj = Py_BuildValue("s",_ptemp); | |
207 | } else { | |
208 | Py_INCREF(Py_None); | |
209 | _resultobj = Py_None; | |
210 | } | |
9c039d08 RD |
211 | { |
212 | if (_obj2) | |
213 | delete _arg2; | |
214 | } | |
215 | return _resultobj; | |
216 | } | |
217 | ||
218 | #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
efc5f224 | 219 | static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
220 | PyObject * _resultobj; |
221 | wxFrame * _arg0; | |
1d99702e RD |
222 | int _arg1 = (int ) wxBOTH; |
223 | PyObject * _argo0 = 0; | |
efc5f224 | 224 | char *_kwnames[] = { "self","direction", NULL }; |
9c039d08 RD |
225 | |
226 | self = self; | |
efc5f224 | 227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 228 | return NULL; |
1d99702e RD |
229 | if (_argo0) { |
230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p."); |
233 | return NULL; | |
234 | } | |
235 | } | |
cf694132 RD |
236 | { |
237 | wxPy_BEGIN_ALLOW_THREADS; | |
238 | wxFrame_Centre(_arg0,_arg1); | |
239 | ||
240 | wxPy_END_ALLOW_THREADS; | |
241 | } Py_INCREF(Py_None); | |
9c039d08 RD |
242 | _resultobj = Py_None; |
243 | return _resultobj; | |
244 | } | |
245 | ||
9c039d08 | 246 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 247 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
248 | PyObject * _resultobj; |
249 | wxStatusBar * _result; | |
250 | wxFrame * _arg0; | |
1d99702e RD |
251 | int _arg1 = (int ) 1; |
252 | long _arg2 = (long ) wxST_SIZEGRIP; | |
253 | wxWindowID _arg3 = (wxWindowID ) -1; | |
254 | char * _arg4 = (char *) "statusBar"; | |
255 | PyObject * _argo0 = 0; | |
efc5f224 | 256 | char *_kwnames[] = { "self","number","style","id","name", NULL }; |
9c039d08 RD |
257 | |
258 | self = self; | |
efc5f224 | 259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) |
9c039d08 | 260 | return NULL; |
1d99702e RD |
261 | if (_argo0) { |
262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); |
265 | return NULL; | |
266 | } | |
267 | } | |
cf694132 RD |
268 | { |
269 | wxPy_BEGIN_ALLOW_THREADS; | |
270 | _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4); | |
271 | ||
272 | wxPy_END_ALLOW_THREADS; | |
9df61a29 | 273 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
274 | return _resultobj; |
275 | } | |
276 | ||
277 | #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 278 | static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
279 | PyObject * _resultobj; |
280 | wxToolBar * _result; | |
281 | wxFrame * _arg0; | |
1d99702e RD |
282 | long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT; |
283 | wxWindowID _arg2 = (wxWindowID ) -1; | |
284 | char * _arg3 = (char *) "toolBar"; | |
285 | PyObject * _argo0 = 0; | |
efc5f224 | 286 | char *_kwnames[] = { "self","style","id","name", NULL }; |
9c039d08 RD |
287 | |
288 | self = self; | |
efc5f224 | 289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
9c039d08 | 290 | return NULL; |
1d99702e RD |
291 | if (_argo0) { |
292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p."); |
295 | return NULL; | |
296 | } | |
297 | } | |
cf694132 RD |
298 | { |
299 | wxPy_BEGIN_ALLOW_THREADS; | |
300 | _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3); | |
301 | ||
302 | wxPy_END_ALLOW_THREADS; | |
9df61a29 | 303 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
304 | return _resultobj; |
305 | } | |
306 | ||
f6bcfd97 BP |
307 | #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon()) |
308 | static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
309 | PyObject * _resultobj; | |
310 | wxIcon * _result; | |
311 | wxFrame * _arg0; | |
312 | PyObject * _argo0 = 0; | |
313 | char *_kwnames[] = { "self", NULL }; | |
314 | char _ptemp[128]; | |
315 | ||
316 | self = self; | |
317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0)) | |
318 | return NULL; | |
319 | if (_argo0) { | |
320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p."); | |
323 | return NULL; | |
324 | } | |
325 | } | |
326 | { | |
327 | wxPy_BEGIN_ALLOW_THREADS; | |
328 | const wxIcon & _result_ref = wxFrame_GetIcon(_arg0); | |
329 | _result = (wxIcon *) &_result_ref; | |
330 | ||
331 | wxPy_END_ALLOW_THREADS; | |
332 | } if (_result) { | |
333 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p"); | |
334 | _resultobj = Py_BuildValue("s",_ptemp); | |
335 | } else { | |
336 | Py_INCREF(Py_None); | |
337 | _resultobj = Py_None; | |
338 | } | |
339 | return _resultobj; | |
340 | } | |
341 | ||
9c039d08 | 342 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) |
efc5f224 | 343 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
344 | PyObject * _resultobj; |
345 | wxMenuBar * _result; | |
346 | wxFrame * _arg0; | |
1d99702e | 347 | PyObject * _argo0 = 0; |
efc5f224 | 348 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
349 | |
350 | self = self; | |
efc5f224 | 351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0)) |
9c039d08 | 352 | return NULL; |
1d99702e RD |
353 | if (_argo0) { |
354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); |
357 | return NULL; | |
358 | } | |
359 | } | |
cf694132 RD |
360 | { |
361 | wxPy_BEGIN_ALLOW_THREADS; | |
362 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); | |
363 | ||
364 | wxPy_END_ALLOW_THREADS; | |
9df61a29 | 365 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
366 | return _resultobj; |
367 | } | |
368 | ||
369 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
efc5f224 | 370 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
371 | PyObject * _resultobj; |
372 | wxStatusBar * _result; | |
373 | wxFrame * _arg0; | |
1d99702e | 374 | PyObject * _argo0 = 0; |
efc5f224 | 375 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
376 | |
377 | self = self; | |
efc5f224 | 378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0)) |
9c039d08 | 379 | return NULL; |
1d99702e RD |
380 | if (_argo0) { |
381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); |
384 | return NULL; | |
385 | } | |
386 | } | |
cf694132 RD |
387 | { |
388 | wxPy_BEGIN_ALLOW_THREADS; | |
389 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); | |
390 | ||
391 | wxPy_END_ALLOW_THREADS; | |
9df61a29 | 392 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
393 | return _resultobj; |
394 | } | |
395 | ||
396 | #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
efc5f224 | 397 | static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
398 | PyObject * _resultobj; |
399 | wxString * _result; | |
400 | wxFrame * _arg0; | |
1d99702e | 401 | PyObject * _argo0 = 0; |
efc5f224 | 402 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
403 | |
404 | self = self; | |
efc5f224 | 405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0)) |
9c039d08 | 406 | return NULL; |
1d99702e RD |
407 | if (_argo0) { |
408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p."); |
411 | return NULL; | |
412 | } | |
413 | } | |
9c039d08 | 414 | { |
cf694132 RD |
415 | wxPy_BEGIN_ALLOW_THREADS; |
416 | _result = new wxString (wxFrame_GetTitle(_arg0)); | |
417 | ||
418 | wxPy_END_ALLOW_THREADS; | |
419 | }{ | |
eec92d76 | 420 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
9c039d08 RD |
421 | } |
422 | { | |
423 | delete _result; | |
424 | } | |
425 | return _resultobj; | |
426 | } | |
427 | ||
428 | #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) | |
efc5f224 | 429 | static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
430 | PyObject * _resultobj; |
431 | wxToolBar * _result; | |
432 | wxFrame * _arg0; | |
1d99702e | 433 | PyObject * _argo0 = 0; |
efc5f224 | 434 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
435 | |
436 | self = self; | |
efc5f224 | 437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0)) |
9c039d08 | 438 | return NULL; |
1d99702e RD |
439 | if (_argo0) { |
440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p."); |
443 | return NULL; | |
444 | } | |
445 | } | |
cf694132 RD |
446 | { |
447 | wxPy_BEGIN_ALLOW_THREADS; | |
448 | _result = (wxToolBar *)wxFrame_GetToolBar(_arg0); | |
449 | ||
450 | wxPy_END_ALLOW_THREADS; | |
9df61a29 | 451 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
452 | return _resultobj; |
453 | } | |
454 | ||
455 | #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) | |
efc5f224 | 456 | static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
457 | PyObject * _resultobj; |
458 | wxFrame * _arg0; | |
459 | bool _arg1; | |
1d99702e | 460 | PyObject * _argo0 = 0; |
9c039d08 | 461 | int tempbool1; |
efc5f224 | 462 | char *_kwnames[] = { "self","iconize", NULL }; |
9c039d08 RD |
463 | |
464 | self = self; | |
efc5f224 | 465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 466 | return NULL; |
1d99702e RD |
467 | if (_argo0) { |
468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p."); |
471 | return NULL; | |
472 | } | |
473 | } | |
474 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
475 | { |
476 | wxPy_BEGIN_ALLOW_THREADS; | |
477 | wxFrame_Iconize(_arg0,_arg1); | |
478 | ||
479 | wxPy_END_ALLOW_THREADS; | |
480 | } Py_INCREF(Py_None); | |
9c039d08 RD |
481 | _resultobj = Py_None; |
482 | return _resultobj; | |
483 | } | |
484 | ||
485 | #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized()) | |
efc5f224 | 486 | static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
487 | PyObject * _resultobj; |
488 | bool _result; | |
489 | wxFrame * _arg0; | |
1d99702e | 490 | PyObject * _argo0 = 0; |
efc5f224 | 491 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
492 | |
493 | self = self; | |
efc5f224 | 494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0)) |
9c039d08 | 495 | return NULL; |
1d99702e RD |
496 | if (_argo0) { |
497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p."); |
500 | return NULL; | |
501 | } | |
502 | } | |
cf694132 RD |
503 | { |
504 | wxPy_BEGIN_ALLOW_THREADS; | |
505 | _result = (bool )wxFrame_IsIconized(_arg0); | |
506 | ||
507 | wxPy_END_ALLOW_THREADS; | |
508 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
509 | return _resultobj; |
510 | } | |
511 | ||
512 | #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) | |
efc5f224 | 513 | static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
514 | PyObject * _resultobj; |
515 | wxFrame * _arg0; | |
516 | bool _arg1; | |
1d99702e | 517 | PyObject * _argo0 = 0; |
9c039d08 | 518 | int tempbool1; |
efc5f224 | 519 | char *_kwnames[] = { "self","maximize", NULL }; |
9c039d08 RD |
520 | |
521 | self = self; | |
efc5f224 | 522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 523 | return NULL; |
1d99702e RD |
524 | if (_argo0) { |
525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p."); |
528 | return NULL; | |
529 | } | |
530 | } | |
531 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
532 | { |
533 | wxPy_BEGIN_ALLOW_THREADS; | |
534 | wxFrame_Maximize(_arg0,_arg1); | |
535 | ||
536 | wxPy_END_ALLOW_THREADS; | |
537 | } Py_INCREF(Py_None); | |
9c039d08 RD |
538 | _resultobj = Py_None; |
539 | return _resultobj; | |
540 | } | |
541 | ||
f6bcfd97 BP |
542 | #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized()) |
543 | static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
544 | PyObject * _resultobj; | |
545 | bool _result; | |
546 | wxFrame * _arg0; | |
547 | PyObject * _argo0 = 0; | |
548 | char *_kwnames[] = { "self", NULL }; | |
549 | ||
550 | self = self; | |
551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0)) | |
552 | return NULL; | |
553 | if (_argo0) { | |
554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p."); | |
557 | return NULL; | |
558 | } | |
559 | } | |
560 | { | |
561 | wxPy_BEGIN_ALLOW_THREADS; | |
562 | _result = (bool )wxFrame_IsMaximized(_arg0); | |
563 | ||
564 | wxPy_END_ALLOW_THREADS; | |
565 | } _resultobj = Py_BuildValue("i",_result); | |
566 | return _resultobj; | |
567 | } | |
568 | ||
569 | #define wxFrame_Restore(_swigobj) (_swigobj->Restore()) | |
570 | static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
571 | PyObject * _resultobj; | |
572 | wxFrame * _arg0; | |
573 | PyObject * _argo0 = 0; | |
574 | char *_kwnames[] = { "self", NULL }; | |
575 | ||
576 | self = self; | |
577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0)) | |
578 | return NULL; | |
579 | if (_argo0) { | |
580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p."); | |
583 | return NULL; | |
584 | } | |
585 | } | |
586 | { | |
587 | wxPy_BEGIN_ALLOW_THREADS; | |
588 | wxFrame_Restore(_arg0); | |
589 | ||
590 | wxPy_END_ALLOW_THREADS; | |
591 | } Py_INCREF(Py_None); | |
592 | _resultobj = Py_None; | |
593 | return _resultobj; | |
594 | } | |
595 | ||
9c039d08 | 596 | #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0)) |
efc5f224 | 597 | static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
598 | PyObject * _resultobj; |
599 | wxFrame * _arg0; | |
600 | wxAcceleratorTable * _arg1; | |
1d99702e RD |
601 | PyObject * _argo0 = 0; |
602 | PyObject * _argo1 = 0; | |
efc5f224 | 603 | char *_kwnames[] = { "self","accel", NULL }; |
9c039d08 RD |
604 | |
605 | self = self; | |
efc5f224 | 606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 607 | return NULL; |
1d99702e RD |
608 | if (_argo0) { |
609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p."); |
612 | return NULL; | |
613 | } | |
614 | } | |
1d99702e RD |
615 | if (_argo1) { |
616 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
617 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) { | |
9c039d08 RD |
618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p."); |
619 | return NULL; | |
620 | } | |
621 | } | |
cf694132 RD |
622 | { |
623 | wxPy_BEGIN_ALLOW_THREADS; | |
624 | wxFrame_SetAcceleratorTable(_arg0,*_arg1); | |
625 | ||
626 | wxPy_END_ALLOW_THREADS; | |
627 | } Py_INCREF(Py_None); | |
9c039d08 RD |
628 | _resultobj = Py_None; |
629 | return _resultobj; | |
630 | } | |
631 | ||
632 | #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) | |
efc5f224 | 633 | static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
634 | PyObject * _resultobj; |
635 | wxFrame * _arg0; | |
636 | wxIcon * _arg1; | |
1d99702e RD |
637 | PyObject * _argo0 = 0; |
638 | PyObject * _argo1 = 0; | |
efc5f224 | 639 | char *_kwnames[] = { "self","icon", NULL }; |
9c039d08 RD |
640 | |
641 | self = self; | |
efc5f224 | 642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 643 | return NULL; |
1d99702e RD |
644 | if (_argo0) { |
645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p."); |
648 | return NULL; | |
649 | } | |
650 | } | |
1d99702e RD |
651 | if (_argo1) { |
652 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
653 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
9c039d08 RD |
654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p."); |
655 | return NULL; | |
656 | } | |
657 | } | |
cf694132 RD |
658 | { |
659 | wxPy_BEGIN_ALLOW_THREADS; | |
660 | wxFrame_SetIcon(_arg0,*_arg1); | |
661 | ||
662 | wxPy_END_ALLOW_THREADS; | |
663 | } Py_INCREF(Py_None); | |
9c039d08 RD |
664 | _resultobj = Py_None; |
665 | return _resultobj; | |
666 | } | |
667 | ||
668 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
efc5f224 | 669 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
670 | PyObject * _resultobj; |
671 | wxFrame * _arg0; | |
672 | wxMenuBar * _arg1; | |
1d99702e RD |
673 | PyObject * _argo0 = 0; |
674 | PyObject * _argo1 = 0; | |
efc5f224 | 675 | char *_kwnames[] = { "self","menuBar", NULL }; |
9c039d08 RD |
676 | |
677 | self = self; | |
efc5f224 | 678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 679 | return NULL; |
1d99702e RD |
680 | if (_argo0) { |
681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); |
684 | return NULL; | |
685 | } | |
686 | } | |
1d99702e RD |
687 | if (_argo1) { |
688 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
689 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) { | |
9c039d08 RD |
690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); |
691 | return NULL; | |
692 | } | |
693 | } | |
cf694132 RD |
694 | { |
695 | wxPy_BEGIN_ALLOW_THREADS; | |
696 | wxFrame_SetMenuBar(_arg0,_arg1); | |
697 | ||
698 | wxPy_END_ALLOW_THREADS; | |
699 | } Py_INCREF(Py_None); | |
9c039d08 RD |
700 | _resultobj = Py_None; |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0)) | |
efc5f224 | 705 | static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
706 | PyObject * _resultobj; |
707 | wxFrame * _arg0; | |
708 | wxStatusBar * _arg1; | |
1d99702e RD |
709 | PyObject * _argo0 = 0; |
710 | PyObject * _argo1 = 0; | |
efc5f224 | 711 | char *_kwnames[] = { "self","statusBar", NULL }; |
9c039d08 RD |
712 | |
713 | self = self; | |
efc5f224 | 714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 715 | return NULL; |
1d99702e RD |
716 | if (_argo0) { |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p."); |
720 | return NULL; | |
721 | } | |
722 | } | |
1d99702e RD |
723 | if (_argo1) { |
724 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
725 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) { | |
9c039d08 RD |
726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p."); |
727 | return NULL; | |
728 | } | |
729 | } | |
cf694132 RD |
730 | { |
731 | wxPy_BEGIN_ALLOW_THREADS; | |
732 | wxFrame_SetStatusBar(_arg0,_arg1); | |
733 | ||
734 | wxPy_END_ALLOW_THREADS; | |
735 | } Py_INCREF(Py_None); | |
9c039d08 RD |
736 | _resultobj = Py_None; |
737 | return _resultobj; | |
738 | } | |
739 | ||
740 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
efc5f224 | 741 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
742 | PyObject * _resultobj; |
743 | wxFrame * _arg0; | |
744 | wxString * _arg1; | |
1d99702e RD |
745 | int _arg2 = (int ) 0; |
746 | PyObject * _argo0 = 0; | |
9c039d08 | 747 | PyObject * _obj1 = 0; |
efc5f224 | 748 | char *_kwnames[] = { "self","text","number", NULL }; |
9c039d08 RD |
749 | |
750 | self = self; | |
efc5f224 | 751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) |
9c039d08 | 752 | return NULL; |
1d99702e RD |
753 | if (_argo0) { |
754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); |
757 | return NULL; | |
758 | } | |
759 | } | |
760 | { | |
2cd2fac8 RD |
761 | #if PYTHON_API_VERSION >= 1009 |
762 | char* tmpPtr; int tmpSize; | |
763 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 764 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
765 | return NULL; |
766 | } | |
767 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
768 | return NULL; | |
769 | _arg1 = new wxString(tmpPtr, tmpSize); | |
770 | #else | |
9c039d08 RD |
771 | if (!PyString_Check(_obj1)) { |
772 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
773 | return NULL; | |
774 | } | |
2cd2fac8 RD |
775 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
776 | #endif | |
9c039d08 | 777 | } |
cf694132 RD |
778 | { |
779 | wxPy_BEGIN_ALLOW_THREADS; | |
780 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); | |
781 | ||
782 | wxPy_END_ALLOW_THREADS; | |
783 | } Py_INCREF(Py_None); | |
9c039d08 RD |
784 | _resultobj = Py_None; |
785 | { | |
786 | if (_obj1) | |
787 | delete _arg1; | |
788 | } | |
789 | return _resultobj; | |
790 | } | |
791 | ||
792 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
efc5f224 | 793 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
794 | PyObject * _resultobj; |
795 | wxFrame * _arg0; | |
796 | int _arg1; | |
797 | int * _arg2; | |
1d99702e | 798 | PyObject * _argo0 = 0; |
9c039d08 | 799 | PyObject * _obj2 = 0; |
eec92d76 | 800 | char *_kwnames[] = { "self","choices", NULL }; |
9c039d08 RD |
801 | |
802 | self = self; | |
efc5f224 | 803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2)) |
9c039d08 | 804 | return NULL; |
1d99702e RD |
805 | if (_argo0) { |
806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); |
809 | return NULL; | |
810 | } | |
811 | } | |
812 | if (_obj2) | |
813 | { | |
814 | _arg2 = int_LIST_helper(_obj2); | |
815 | if (_arg2 == NULL) { | |
816 | return NULL; | |
817 | } | |
818 | } | |
819 | { | |
cf694132 RD |
820 | if (_obj2) { |
821 | _arg1 = PyList_Size(_obj2); | |
822 | } | |
823 | else { | |
824 | _arg1 = 0; | |
825 | } | |
9c039d08 | 826 | } |
cf694132 RD |
827 | { |
828 | wxPy_BEGIN_ALLOW_THREADS; | |
829 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); | |
830 | ||
831 | wxPy_END_ALLOW_THREADS; | |
832 | } Py_INCREF(Py_None); | |
9c039d08 RD |
833 | _resultobj = Py_None; |
834 | { | |
835 | delete [] _arg2; | |
836 | } | |
837 | return _resultobj; | |
838 | } | |
839 | ||
840 | #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
efc5f224 | 841 | static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
842 | PyObject * _resultobj; |
843 | wxFrame * _arg0; | |
844 | wxString * _arg1; | |
1d99702e | 845 | PyObject * _argo0 = 0; |
9c039d08 | 846 | PyObject * _obj1 = 0; |
efc5f224 | 847 | char *_kwnames[] = { "self","title", NULL }; |
9c039d08 RD |
848 | |
849 | self = self; | |
efc5f224 | 850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 851 | return NULL; |
1d99702e RD |
852 | if (_argo0) { |
853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p."); |
856 | return NULL; | |
857 | } | |
858 | } | |
859 | { | |
2cd2fac8 RD |
860 | #if PYTHON_API_VERSION >= 1009 |
861 | char* tmpPtr; int tmpSize; | |
862 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 863 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
864 | return NULL; |
865 | } | |
866 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
867 | return NULL; | |
868 | _arg1 = new wxString(tmpPtr, tmpSize); | |
869 | #else | |
9c039d08 RD |
870 | if (!PyString_Check(_obj1)) { |
871 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
872 | return NULL; | |
873 | } | |
2cd2fac8 RD |
874 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
875 | #endif | |
9c039d08 | 876 | } |
cf694132 RD |
877 | { |
878 | wxPy_BEGIN_ALLOW_THREADS; | |
879 | wxFrame_SetTitle(_arg0,*_arg1); | |
880 | ||
881 | wxPy_END_ALLOW_THREADS; | |
882 | } Py_INCREF(Py_None); | |
9c039d08 RD |
883 | _resultobj = Py_None; |
884 | { | |
885 | if (_obj1) | |
886 | delete _arg1; | |
887 | } | |
888 | return _resultobj; | |
889 | } | |
890 | ||
891 | #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) | |
efc5f224 | 892 | static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
893 | PyObject * _resultobj; |
894 | wxFrame * _arg0; | |
895 | wxToolBar * _arg1; | |
1d99702e RD |
896 | PyObject * _argo0 = 0; |
897 | PyObject * _argo1 = 0; | |
efc5f224 | 898 | char *_kwnames[] = { "self","toolbar", NULL }; |
9c039d08 RD |
899 | |
900 | self = self; | |
efc5f224 | 901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 902 | return NULL; |
1d99702e RD |
903 | if (_argo0) { |
904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p."); |
907 | return NULL; | |
908 | } | |
909 | } | |
1d99702e RD |
910 | if (_argo1) { |
911 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
912 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) { | |
9c039d08 RD |
913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p."); |
914 | return NULL; | |
915 | } | |
916 | } | |
cf694132 RD |
917 | { |
918 | wxPy_BEGIN_ALLOW_THREADS; | |
919 | wxFrame_SetToolBar(_arg0,_arg1); | |
920 | ||
921 | wxPy_END_ALLOW_THREADS; | |
922 | } Py_INCREF(Py_None); | |
9c039d08 RD |
923 | _resultobj = Py_None; |
924 | return _resultobj; | |
925 | } | |
926 | ||
f6bcfd97 BP |
927 | #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0)) |
928 | static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
929 | PyObject * _resultobj; | |
930 | wxFrame * _arg0; | |
931 | bool _arg1 = (bool ) TRUE; | |
932 | PyObject * _argo0 = 0; | |
933 | int tempbool1 = (int) TRUE; | |
934 | char *_kwnames[] = { "self","modal", NULL }; | |
935 | ||
936 | self = self; | |
937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1)) | |
938 | return NULL; | |
939 | if (_argo0) { | |
940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p."); | |
943 | return NULL; | |
944 | } | |
945 | } | |
946 | _arg1 = (bool ) tempbool1; | |
947 | { | |
948 | wxPy_BEGIN_ALLOW_THREADS; | |
949 | wxFrame_MakeModal(_arg0,_arg1); | |
950 | ||
951 | wxPy_END_ALLOW_THREADS; | |
952 | } Py_INCREF(Py_None); | |
953 | _resultobj = Py_None; | |
954 | return _resultobj; | |
955 | } | |
956 | ||
957 | #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin()) | |
958 | static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
959 | PyObject * _resultobj; | |
960 | wxPoint * _result; | |
961 | wxFrame * _arg0; | |
962 | PyObject * _argo0 = 0; | |
963 | char *_kwnames[] = { "self", NULL }; | |
964 | char _ptemp[128]; | |
965 | ||
966 | self = self; | |
967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0)) | |
968 | return NULL; | |
969 | if (_argo0) { | |
970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p."); | |
973 | return NULL; | |
974 | } | |
975 | } | |
976 | { | |
977 | wxPy_BEGIN_ALLOW_THREADS; | |
978 | _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0)); | |
979 | ||
980 | wxPy_END_ALLOW_THREADS; | |
981 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
982 | _resultobj = Py_BuildValue("s",_ptemp); | |
983 | return _resultobj; | |
984 | } | |
985 | ||
986 | #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
987 | static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) { | |
988 | PyObject * _resultobj; | |
989 | bool _result; | |
990 | wxFrame * _arg0; | |
991 | int _arg1; | |
992 | PyObject * _argo0 = 0; | |
993 | char *_kwnames[] = { "self","id", NULL }; | |
994 | ||
995 | self = self; | |
996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1)) | |
997 | return NULL; | |
998 | if (_argo0) { | |
999 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1000 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1001 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p."); | |
1002 | return NULL; | |
1003 | } | |
1004 | } | |
1005 | { | |
1006 | wxPy_BEGIN_ALLOW_THREADS; | |
1007 | _result = (bool )wxFrame_Command(_arg0,_arg1); | |
1008 | ||
1009 | wxPy_END_ALLOW_THREADS; | |
1010 | } _resultobj = Py_BuildValue("i",_result); | |
1011 | return _resultobj; | |
1012 | } | |
1013 | ||
1014 | #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0)) | |
1015 | static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1016 | PyObject * _resultobj; | |
1017 | bool _result; | |
1018 | wxFrame * _arg0; | |
1019 | int _arg1; | |
1020 | PyObject * _argo0 = 0; | |
1021 | char *_kwnames[] = { "self","id", NULL }; | |
1022 | ||
1023 | self = self; | |
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1)) | |
1025 | return NULL; | |
1026 | if (_argo0) { | |
1027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p."); | |
1030 | return NULL; | |
1031 | } | |
1032 | } | |
1033 | { | |
1034 | wxPy_BEGIN_ALLOW_THREADS; | |
1035 | _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1); | |
1036 | ||
1037 | wxPy_END_ALLOW_THREADS; | |
1038 | } _resultobj = Py_BuildValue("i",_result); | |
1039 | return _resultobj; | |
1040 | } | |
1041 | ||
9df61a29 RD |
1042 | #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1)) |
1043 | static PyObject *_wrap_wxFrame_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1044 | PyObject * _resultobj; | |
1045 | bool _result; | |
1046 | wxFrame * _arg0; | |
1047 | bool _arg1; | |
1048 | long _arg2 = (long ) (wxFULLSCREEN_ALL); | |
1049 | PyObject * _argo0 = 0; | |
1050 | int tempbool1; | |
1051 | char *_kwnames[] = { "self","show","style", NULL }; | |
1052 | ||
1053 | self = self; | |
1054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxFrame_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2)) | |
1055 | return NULL; | |
1056 | if (_argo0) { | |
1057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p."); | |
1060 | return NULL; | |
1061 | } | |
1062 | } | |
1063 | _arg1 = (bool ) tempbool1; | |
1064 | { | |
1065 | wxPy_BEGIN_ALLOW_THREADS; | |
1066 | _result = (bool )wxFrame_ShowFullScreen(_arg0,_arg1,_arg2); | |
1067 | ||
1068 | wxPy_END_ALLOW_THREADS; | |
1069 | } _resultobj = Py_BuildValue("i",_result); | |
1070 | return _resultobj; | |
1071 | } | |
1072 | ||
9c039d08 RD |
1073 | static void *SwigwxMiniFrameTowxFrame(void *ptr) { |
1074 | wxMiniFrame *src; | |
1075 | wxFrame *dest; | |
1076 | src = (wxMiniFrame *) ptr; | |
1077 | dest = (wxFrame *) src; | |
1078 | return (void *) dest; | |
1079 | } | |
1080 | ||
1081 | static void *SwigwxMiniFrameTowxWindow(void *ptr) { | |
1082 | wxMiniFrame *src; | |
1083 | wxWindow *dest; | |
1084 | src = (wxMiniFrame *) ptr; | |
1085 | dest = (wxWindow *) src; | |
1086 | return (void *) dest; | |
1087 | } | |
1088 | ||
1089 | static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) { | |
1090 | wxMiniFrame *src; | |
1091 | wxEvtHandler *dest; | |
1092 | src = (wxMiniFrame *) ptr; | |
1093 | dest = (wxEvtHandler *) src; | |
1094 | return (void *) dest; | |
1095 | } | |
1096 | ||
9df61a29 RD |
1097 | static void *SwigwxMiniFrameTowxObject(void *ptr) { |
1098 | wxMiniFrame *src; | |
1099 | wxObject *dest; | |
1100 | src = (wxMiniFrame *) ptr; | |
1101 | dest = (wxObject *) src; | |
1102 | return (void *) dest; | |
1103 | } | |
1104 | ||
9c039d08 | 1105 | #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 1106 | static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1107 | PyObject * _resultobj; |
1108 | wxMiniFrame * _result; | |
1109 | wxWindow * _arg0; | |
1110 | wxWindowID _arg1; | |
1111 | wxString * _arg2; | |
b68dc582 RD |
1112 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
1113 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
1114 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
1115 | char * _arg6 = (char *) "frame"; | |
1116 | PyObject * _argo0 = 0; | |
9c039d08 | 1117 | PyObject * _obj2 = 0; |
2f90df85 RD |
1118 | wxPoint temp; |
1119 | PyObject * _obj3 = 0; | |
1120 | wxSize temp0; | |
1121 | PyObject * _obj4 = 0; | |
efc5f224 | 1122 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
1123 | char _ptemp[128]; |
1124 | ||
1125 | self = self; | |
2f90df85 | 1126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 1127 | return NULL; |
1d99702e RD |
1128 | if (_argo0) { |
1129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
1131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p."); |
1132 | return NULL; | |
1133 | } | |
1134 | } | |
1135 | { | |
2cd2fac8 RD |
1136 | #if PYTHON_API_VERSION >= 1009 |
1137 | char* tmpPtr; int tmpSize; | |
1138 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 1139 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1140 | return NULL; |
1141 | } | |
1142 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
1143 | return NULL; | |
1144 | _arg2 = new wxString(tmpPtr, tmpSize); | |
1145 | #else | |
9c039d08 RD |
1146 | if (!PyString_Check(_obj2)) { |
1147 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1148 | return NULL; | |
1149 | } | |
2cd2fac8 RD |
1150 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
1151 | #endif | |
9c039d08 | 1152 | } |
2f90df85 RD |
1153 | if (_obj3) |
1154 | { | |
1155 | _arg3 = &temp; | |
1156 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 1157 | return NULL; |
2f90df85 RD |
1158 | } |
1159 | if (_obj4) | |
1160 | { | |
1161 | _arg4 = &temp0; | |
1162 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 1163 | return NULL; |
2f90df85 | 1164 | } |
cf694132 RD |
1165 | { |
1166 | wxPy_BEGIN_ALLOW_THREADS; | |
1167 | _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
1168 | ||
1169 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1170 | } if (_result) { |
1171 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
1172 | _resultobj = Py_BuildValue("s",_ptemp); | |
1173 | } else { | |
1174 | Py_INCREF(Py_None); | |
1175 | _resultobj = Py_None; | |
1176 | } | |
9c039d08 RD |
1177 | { |
1178 | if (_obj2) | |
1179 | delete _arg2; | |
1180 | } | |
1181 | return _resultobj; | |
1182 | } | |
1183 | ||
1184 | static PyMethodDef framescMethods[] = { | |
efc5f224 | 1185 | { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS }, |
9df61a29 | 1186 | { "wxFrame_ShowFullScreen", (PyCFunction) _wrap_wxFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
1187 | { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, |
1188 | { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS }, | |
1189 | { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
1190 | { "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1191 | { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, |
1192 | { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
1193 | { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
1194 | { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
1195 | { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
1196 | { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
1197 | { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
1198 | { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
1199 | { "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS }, |
1200 | { "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1201 | { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, |
1202 | { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
1203 | { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
1204 | { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
1205 | { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
1206 | { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
1207 | { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 1208 | { "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
1209 | { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, |
1210 | { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1211 | { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS }, |
1212 | { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS }, | |
9c039d08 RD |
1213 | { NULL, NULL } |
1214 | }; | |
1d99702e RD |
1215 | #ifdef __cplusplus |
1216 | } | |
1217 | #endif | |
1218 | /* | |
1219 | * This table is used by the pointer type-checker | |
1220 | */ | |
1221 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1222 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
1223 | { "_wxEvent","_class_wxEvent",0}, | |
1224 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
1225 | { "_signed_long","_long",0}, | |
1226 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 1227 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 1228 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 1229 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 1230 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
1231 | { "_wxPrintQuality","_int",0}, |
1232 | { "_wxPrintQuality","_signed_int",0}, | |
1233 | { "_wxPrintQuality","_unsigned_int",0}, | |
1234 | { "_wxPrintQuality","_wxWindowID",0}, | |
1235 | { "_wxPrintQuality","_uint",0}, | |
1236 | { "_wxPrintQuality","_EBool",0}, | |
1237 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 1238 | { "_wxPrintQuality","_time_t",0}, |
b1462dfa | 1239 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
f6bcfd97 | 1240 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
1d99702e | 1241 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
65dd82cb | 1242 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
1243 | { "_class_wxMenuBar","_wxMenuBar",0}, |
1244 | { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1245 | { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1246 | { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1247 | { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1248 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
1249 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1250 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1251 | { "_wxCursor","_class_wxCursor",0}, | |
1252 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
9b3d3bc4 | 1253 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
1d99702e RD |
1254 | { "_wxMask","_class_wxMask",0}, |
1255 | { "_wxPen","_class_wxPen",0}, | |
1256 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1257 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 1258 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 1259 | { "_wxStaticBox","_class_wxStaticBox",0}, |
1c09ae54 | 1260 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
65dd82cb RD |
1261 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
1262 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
1263 | { "_wxChoice","_class_wxChoice",0}, |
1264 | { "_wxSlider","_class_wxSlider",0}, | |
1d99702e RD |
1265 | { "_long","_unsigned_long",0}, |
1266 | { "_long","_signed_long",0}, | |
1267 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 1268 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
1269 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
1270 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
1271 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 1272 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e | 1273 | { "_class_wxGauge","_wxGauge",0}, |
9df61a29 | 1274 | { "_wxGDIObject","_class_wxGDIObject",0}, |
1d99702e | 1275 | { "_wxDC","_class_wxDC",0}, |
b1462dfa | 1276 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
9df61a29 RD |
1277 | { "_class_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject}, |
1278 | { "_class_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject}, | |
1279 | { "_class_wxObject","_class_wxFrame",SwigwxFrameTowxObject}, | |
1280 | { "_class_wxObject","_wxFrame",SwigwxFrameTowxObject}, | |
1281 | { "_class_wxObject","_wxObject",0}, | |
1d99702e | 1282 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 1283 | { "_size_t","_wxCoord",0}, |
1d99702e | 1284 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 1285 | { "_size_t","_time_t",0}, |
1d99702e RD |
1286 | { "_size_t","_unsigned_int",0}, |
1287 | { "_size_t","_int",0}, | |
1288 | { "_size_t","_wxWindowID",0}, | |
1289 | { "_size_t","_uint",0}, | |
1290 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 1291 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
48115f4a | 1292 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
1293 | { "_class_wxMenuItem","_wxMenuItem",0}, |
1294 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
1295 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1296 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
f6bcfd97 | 1297 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
1d99702e RD |
1298 | { "_wxPanel","_class_wxPanel",0}, |
1299 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
1300 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
1301 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
1302 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
1303 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 1304 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
1305 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
1306 | { "_wxColour","_class_wxColour",0}, | |
1307 | { "_class_wxDialog","_wxDialog",0}, | |
65dd82cb | 1308 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
1309 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
1310 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
1311 | { "_wxToolBar","_class_wxToolBar",0}, | |
b1462dfa | 1312 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
1313 | { "_wxStaticLine","_class_wxStaticLine",0}, |
1314 | { "_wxBrush","_class_wxBrush",0}, | |
7a446686 | 1315 | { "_wxToggleButton","_class_wxToggleButton",0}, |
1d99702e | 1316 | { "_wxMiniFrame","_class_wxMiniFrame",0}, |
b1462dfa RD |
1317 | { "_wxDataFormat","_class_wxDataFormat",0}, |
1318 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 1319 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 1320 | { "_uint","_wxCoord",0}, |
1d99702e | 1321 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 1322 | { "_uint","_time_t",0}, |
1d99702e RD |
1323 | { "_uint","_size_t",0}, |
1324 | { "_uint","_unsigned_int",0}, | |
1325 | { "_uint","_int",0}, | |
1326 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 1327 | { "_wxChar","_char",0}, |
2f90df85 | 1328 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
1329 | { "_class_wxEvent","_wxEvent",0}, |
1330 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
1331 | { "_wxRect","_class_wxRect",0}, | |
1332 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
1333 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
1334 | { "_wxPoint","_class_wxPoint",0}, | |
1335 | { "_class_wxButton","_wxButton",0}, | |
1336 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
f6bcfd97 BP |
1337 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
1338 | { "_char","_wxChar",0}, | |
1d99702e | 1339 | { "_wxBitmap","_class_wxBitmap",0}, |
1c09ae54 | 1340 | { "_wxPenList","_class_wxPenList",0}, |
1d99702e | 1341 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 1342 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
1d99702e RD |
1343 | { "_wxScrollBar","_class_wxScrollBar",0}, |
1344 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1d99702e RD |
1345 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
1346 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 1347 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
1348 | { "_class_wxPyEvent","_wxPyEvent",0}, |
1349 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
1350 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
9b3d3bc4 | 1351 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, |
1d99702e | 1352 | { "_class_wxToolBar","_wxToolBar",0}, |
65dd82cb | 1353 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e | 1354 | { "_class_wxStaticLine","_wxStaticLine",0}, |
1c09ae54 | 1355 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
1d99702e | 1356 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
9b3d3bc4 | 1357 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
b1462dfa | 1358 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
1359 | { "_EBool","_wxPrintQuality",0}, |
1360 | { "_EBool","_signed_int",0}, | |
1361 | { "_EBool","_int",0}, | |
1362 | { "_EBool","_wxWindowID",0}, | |
1363 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 1364 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 1365 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 1366 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
1367 | { "_wxStaticText","_class_wxStaticText",0}, |
1368 | { "_wxFont","_class_wxFont",0}, | |
65dd82cb | 1369 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e | 1370 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
1d99702e RD |
1371 | { "_unsigned_long","_long",0}, |
1372 | { "_class_wxRect","_wxRect",0}, | |
1373 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 1374 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
1c09ae54 | 1375 | { "_class_wxBrushList","_wxBrushList",0}, |
48115f4a | 1376 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
1c09ae54 | 1377 | { "_class_wxPenList","_wxPenList",0}, |
48115f4a | 1378 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
1d99702e RD |
1379 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
1380 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 1381 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
1d99702e RD |
1382 | { "_class_wxSpinButton","_wxSpinButton",0}, |
1383 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1384 | { "_class_wxPanel","_wxPanel",0}, | |
1385 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
1386 | { "_wxComboBox","_class_wxComboBox",0}, | |
1387 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 1388 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
1389 | { "_signed_int","_wxPrintQuality",0}, |
1390 | { "_signed_int","_EBool",0}, | |
1391 | { "_signed_int","_wxWindowID",0}, | |
1392 | { "_signed_int","_int",0}, | |
1393 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
1394 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
b1462dfa | 1395 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
1396 | { "_wxMenu","_class_wxMenu",0}, |
1397 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
1398 | { "_wxListBox","_class_wxListBox",0}, | |
1399 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
9b3d3bc4 | 1400 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
1d99702e RD |
1401 | { "_WXTYPE","_short",0}, |
1402 | { "_WXTYPE","_signed_short",0}, | |
1403 | { "_WXTYPE","_unsigned_short",0}, | |
65dd82cb | 1404 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
1405 | { "_class_wxBrush","_wxBrush",0}, |
1406 | { "_unsigned_short","_WXTYPE",0}, | |
1407 | { "_unsigned_short","_short",0}, | |
1408 | { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1409 | { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1410 | { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1411 | { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
1412 | { "_class_wxWindow","_wxWindow",0}, | |
1413 | { "_class_wxStaticText","_wxStaticText",0}, | |
1414 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 1415 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 1416 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 1417 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 1418 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1c09ae54 | 1419 | { "_wxFontList","_class_wxFontList",0}, |
1d99702e | 1420 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 1421 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 1422 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
1423 | { "_wxClientDC","_class_wxClientDC",0}, |
1424 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
9df61a29 RD |
1425 | { "_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject}, |
1426 | { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject}, | |
1427 | { "_wxObject","_class_wxFrame",SwigwxFrameTowxObject}, | |
1428 | { "_wxObject","_wxFrame",SwigwxFrameTowxObject}, | |
1429 | { "_wxObject","_class_wxObject",0}, | |
1d99702e RD |
1430 | { "_class_wxPoint","_wxPoint",0}, |
1431 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
1432 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1433 | { "_signed_short","_WXTYPE",0}, | |
1434 | { "_signed_short","_short",0}, | |
1435 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 1436 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
1437 | { "_wxPaintDC","_class_wxPaintDC",0}, |
1438 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1439 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
1440 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
1441 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
1d99702e RD |
1442 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
1443 | { "_class_wxCursor","_wxCursor",0}, | |
f6bcfd97 | 1444 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
65dd82cb | 1445 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
1446 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
1447 | { "_unsigned_char","_byte",0}, | |
1d99702e RD |
1448 | { "_class_wxMenu","_wxMenu",0}, |
1449 | { "_wxControl","_class_wxControl",0}, | |
1450 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 1451 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 1452 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 1453 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
1454 | { "_unsigned_int","_size_t",0}, |
1455 | { "_unsigned_int","_uint",0}, | |
1456 | { "_unsigned_int","_wxWindowID",0}, | |
1457 | { "_unsigned_int","_int",0}, | |
1458 | { "_wxIcon","_class_wxIcon",0}, | |
1459 | { "_wxDialog","_class_wxDialog",0}, | |
1460 | { "_class_wxPen","_wxPen",0}, | |
1461 | { "_short","_WXTYPE",0}, | |
1462 | { "_short","_unsigned_short",0}, | |
1463 | { "_short","_signed_short",0}, | |
1464 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
1465 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
1466 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
1467 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
1468 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
1469 | { "_class_wxChoice","_wxChoice",0}, | |
1470 | { "_class_wxSlider","_wxSlider",0}, | |
1471 | { "_class_wxImageList","_wxImageList",0}, | |
1472 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
1473 | { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1474 | { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1475 | { "_wxFrame","_class_wxFrame",0}, | |
48115f4a | 1476 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 1477 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 1478 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 1479 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
1480 | { "_wxWindowID","_size_t",0}, |
1481 | { "_wxWindowID","_EBool",0}, | |
1482 | { "_wxWindowID","_uint",0}, | |
1483 | { "_wxWindowID","_int",0}, | |
1484 | { "_wxWindowID","_signed_int",0}, | |
1485 | { "_wxWindowID","_unsigned_int",0}, | |
9df61a29 | 1486 | { "_class_wxGDIObject","_wxGDIObject",0}, |
d426c97e | 1487 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 1488 | { "_int","_wxCoord",0}, |
1d99702e | 1489 | { "_int","_wxPrintQuality",0}, |
c368d904 | 1490 | { "_int","_time_t",0}, |
1d99702e RD |
1491 | { "_int","_size_t",0}, |
1492 | { "_int","_EBool",0}, | |
1493 | { "_int","_uint",0}, | |
1494 | { "_int","_wxWindowID",0}, | |
1495 | { "_int","_unsigned_int",0}, | |
1496 | { "_int","_signed_int",0}, | |
1497 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 1498 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 1499 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a | 1500 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
1501 | { "_time_t","_wxCoord",0}, |
1502 | { "_time_t","_wxPrintQuality",0}, | |
1503 | { "_time_t","_unsigned_int",0}, | |
1504 | { "_time_t","_int",0}, | |
1505 | { "_time_t","_wxWindowID",0}, | |
1506 | { "_time_t","_uint",0}, | |
1507 | { "_time_t","_size_t",0}, | |
48115f4a | 1508 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
1d99702e RD |
1509 | { "_wxButton","_class_wxButton",0}, |
1510 | { "_wxSize","_class_wxSize",0}, | |
1511 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
65dd82cb | 1512 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
1513 | { "_class_wxPaintDC","_wxPaintDC",0}, |
1514 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
65dd82cb | 1515 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
1516 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
1517 | { "_class_wxComboBox","_wxComboBox",0}, | |
1518 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 1519 | { "_wxValidator","_class_wxValidator",0}, |
9b3d3bc4 | 1520 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
1d99702e RD |
1521 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
1522 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
1523 | { "_class_wxControl","_wxControl",0}, | |
1524 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
1525 | { "_class_wxIcon","_wxIcon",0}, | |
1526 | { "_class_wxColour","_wxColour",0}, | |
1527 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
1528 | { "_wxPalette","_class_wxPalette",0}, | |
1529 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
1530 | { "_wxCoord","_int",0}, |
1531 | { "_wxCoord","_signed_int",0}, | |
1532 | { "_wxCoord","_unsigned_int",0}, | |
1533 | { "_wxCoord","_wxWindowID",0}, | |
1534 | { "_wxCoord","_uint",0}, | |
1535 | { "_wxCoord","_EBool",0}, | |
1536 | { "_wxCoord","_size_t",0}, | |
c368d904 | 1537 | { "_wxCoord","_time_t",0}, |
b1462dfa | 1538 | { "_wxCoord","_wxPrintQuality",0}, |
1d99702e | 1539 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 1540 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e | 1541 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
7a446686 | 1542 | { "_class_wxToggleButton","_wxToggleButton",0}, |
1d99702e RD |
1543 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
1544 | { "_wxRegion","_class_wxRegion",0}, | |
1545 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
65dd82cb | 1546 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
1547 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
1548 | { "_wxGauge","_class_wxGauge",0}, | |
1549 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 1550 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1c09ae54 | 1551 | { "_class_wxFontList","_wxFontList",0}, |
1d99702e RD |
1552 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
1553 | { "_class_wxClientDC","_wxClientDC",0}, | |
1554 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
1c09ae54 | 1555 | { "_wxBrushList","_class_wxBrushList",0}, |
b1462dfa | 1556 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
1557 | { "_class_wxSize","_wxSize",0}, |
1558 | { "_class_wxBitmap","_wxBitmap",0}, | |
1559 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
65dd82cb | 1560 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
1561 | { "_wxMenuBar","_class_wxMenuBar",0}, |
1562 | { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1563 | { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1564 | { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1565 | { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1566 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
1567 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
1568 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1d99702e RD |
1569 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
1570 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
1571 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
1572 | { "_class_wxPalette","_wxPalette",0}, | |
65dd82cb | 1573 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 1574 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 1575 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
9b3d3bc4 | 1576 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, |
1d99702e RD |
1577 | { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, |
1578 | { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1579 | { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1580 | { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
1581 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 1582 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
1583 | { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, |
1584 | { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1585 | { "_class_wxFrame","_wxFrame",0}, | |
1586 | {0,0,0}}; | |
1587 | ||
9c039d08 RD |
1588 | static PyObject *SWIG_globals; |
1589 | #ifdef __cplusplus | |
1590 | extern "C" | |
1591 | #endif | |
1d99702e | 1592 | SWIGEXPORT(void) initframesc() { |
9c039d08 RD |
1593 | PyObject *m, *d; |
1594 | SWIG_globals = SWIG_newvarlink(); | |
1595 | m = Py_InitModule("framesc", framescMethods); | |
1596 | d = PyModule_GetDict(m); | |
f6bcfd97 BP |
1597 | PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR)); |
1598 | PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR)); | |
1599 | PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR)); | |
1600 | PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER)); | |
1601 | PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION)); | |
1602 | PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL)); | |
1d99702e RD |
1603 | { |
1604 | int i; | |
1605 | for (i = 0; _swig_mapping[i].n1; i++) | |
1606 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1607 | } | |
9c039d08 | 1608 | } |