]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/frames.cpp
SIGged updates for wxMac
[wxWidgets.git] / wxPython / src / mac / frames.cpp
1 /*
2 * FILE : src/mac/frames.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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 *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initframesc
55
56 #define SWIG_name "framesc"
57
58 #include "helpers.h"
59 #include <wx/minifram.h>
60 #include <wx/splash.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg = "String or Unicode type required";
91 #else
92 static char* wxStringErrorMsg = "String type required";
93 #endif
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97 static void *SwigwxTopLevelWindowTowxWindow(void *ptr) {
98 wxTopLevelWindow *src;
99 wxWindow *dest;
100 src = (wxTopLevelWindow *) ptr;
101 dest = (wxWindow *) src;
102 return (void *) dest;
103 }
104
105 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr) {
106 wxTopLevelWindow *src;
107 wxEvtHandler *dest;
108 src = (wxTopLevelWindow *) ptr;
109 dest = (wxEvtHandler *) src;
110 return (void *) dest;
111 }
112
113 static void *SwigwxTopLevelWindowTowxObject(void *ptr) {
114 wxTopLevelWindow *src;
115 wxObject *dest;
116 src = (wxTopLevelWindow *) ptr;
117 dest = (wxObject *) src;
118 return (void *) dest;
119 }
120
121 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
122 static PyObject *_wrap_new_wxTopLevelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
123 PyObject * _resultobj;
124 wxTopLevelWindow * _result;
125 wxWindow * _arg0;
126 wxWindowID _arg1;
127 wxString * _arg2;
128 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
129 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
130 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
131 char * _arg6 = (char *) "frame";
132 PyObject * _argo0 = 0;
133 PyObject * _obj2 = 0;
134 wxPoint temp;
135 PyObject * _obj3 = 0;
136 wxSize temp0;
137 PyObject * _obj4 = 0;
138 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
139 char _ptemp[128];
140
141 self = self;
142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxTopLevelWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
143 return NULL;
144 if (_argo0) {
145 if (_argo0 == Py_None) { _arg0 = NULL; }
146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
148 return NULL;
149 }
150 }
151 {
152 #if PYTHON_API_VERSION >= 1009
153 char* tmpPtr; int tmpSize;
154 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
156 return NULL;
157 }
158 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
159 return NULL;
160 _arg2 = new wxString(tmpPtr, tmpSize);
161 #else
162 if (!PyString_Check(_obj2)) {
163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
164 return NULL;
165 }
166 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
167 #endif
168 }
169 if (_obj3)
170 {
171 _arg3 = &temp;
172 if (! wxPoint_helper(_obj3, &_arg3))
173 return NULL;
174 }
175 if (_obj4)
176 {
177 _arg4 = &temp0;
178 if (! wxSize_helper(_obj4, &_arg4))
179 return NULL;
180 }
181 {
182 PyThreadState* __tstate = wxPyBeginAllowThreads();
183 _result = (wxTopLevelWindow *)new_wxTopLevelWindow(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
184
185 wxPyEndAllowThreads(__tstate);
186 if (PyErr_Occurred()) return NULL;
187 } if (_result) {
188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTopLevelWindow_p");
189 _resultobj = Py_BuildValue("s",_ptemp);
190 } else {
191 Py_INCREF(Py_None);
192 _resultobj = Py_None;
193 }
194 {
195 if (_obj2)
196 delete _arg2;
197 }
198 return _resultobj;
199 }
200
201 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
202 static PyObject *_wrap_new_wxPreTopLevelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
203 PyObject * _resultobj;
204 wxTopLevelWindow * _result;
205 char *_kwnames[] = { NULL };
206 char _ptemp[128];
207
208 self = self;
209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTopLevelWindow",_kwnames))
210 return NULL;
211 {
212 PyThreadState* __tstate = wxPyBeginAllowThreads();
213 _result = (wxTopLevelWindow *)new_wxPreTopLevelWindow();
214
215 wxPyEndAllowThreads(__tstate);
216 if (PyErr_Occurred()) return NULL;
217 } if (_result) {
218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTopLevelWindow_p");
219 _resultobj = Py_BuildValue("s",_ptemp);
220 } else {
221 Py_INCREF(Py_None);
222 _resultobj = Py_None;
223 }
224 return _resultobj;
225 }
226
227 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
228 static PyObject *_wrap_wxTopLevelWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
229 PyObject * _resultobj;
230 bool _result;
231 wxTopLevelWindow * _arg0;
232 wxWindow * _arg1;
233 wxWindowID _arg2;
234 wxString * _arg3;
235 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
236 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
237 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
238 char * _arg7 = (char *) "frame";
239 PyObject * _argo0 = 0;
240 PyObject * _argo1 = 0;
241 PyObject * _obj3 = 0;
242 wxPoint temp;
243 PyObject * _obj4 = 0;
244 wxSize temp0;
245 PyObject * _obj5 = 0;
246 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
247
248 self = self;
249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
250 return NULL;
251 if (_argo0) {
252 if (_argo0 == Py_None) { _arg0 = NULL; }
253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
255 return NULL;
256 }
257 }
258 if (_argo1) {
259 if (_argo1 == Py_None) { _arg1 = NULL; }
260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
262 return NULL;
263 }
264 }
265 {
266 #if PYTHON_API_VERSION >= 1009
267 char* tmpPtr; int tmpSize;
268 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
269 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
270 return NULL;
271 }
272 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
273 return NULL;
274 _arg3 = new wxString(tmpPtr, tmpSize);
275 #else
276 if (!PyString_Check(_obj3)) {
277 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
278 return NULL;
279 }
280 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
281 #endif
282 }
283 if (_obj4)
284 {
285 _arg4 = &temp;
286 if (! wxPoint_helper(_obj4, &_arg4))
287 return NULL;
288 }
289 if (_obj5)
290 {
291 _arg5 = &temp0;
292 if (! wxSize_helper(_obj5, &_arg5))
293 return NULL;
294 }
295 {
296 PyThreadState* __tstate = wxPyBeginAllowThreads();
297 _result = (bool )wxTopLevelWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
298
299 wxPyEndAllowThreads(__tstate);
300 if (PyErr_Occurred()) return NULL;
301 } _resultobj = Py_BuildValue("i",_result);
302 {
303 if (_obj3)
304 delete _arg3;
305 }
306 return _resultobj;
307 }
308
309 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
310 static PyObject *_wrap_wxTopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxTopLevelWindow * _arg0;
313 bool _arg1 = (bool ) TRUE;
314 PyObject * _argo0 = 0;
315 int tempbool1 = (int) TRUE;
316 char *_kwnames[] = { "self","maximize", NULL };
317
318 self = self;
319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxTopLevelWindow_Maximize",_kwnames,&_argo0,&tempbool1))
320 return NULL;
321 if (_argo0) {
322 if (_argo0 == Py_None) { _arg0 = NULL; }
323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
325 return NULL;
326 }
327 }
328 _arg1 = (bool ) tempbool1;
329 {
330 PyThreadState* __tstate = wxPyBeginAllowThreads();
331 wxTopLevelWindow_Maximize(_arg0,_arg1);
332
333 wxPyEndAllowThreads(__tstate);
334 if (PyErr_Occurred()) return NULL;
335 } Py_INCREF(Py_None);
336 _resultobj = Py_None;
337 return _resultobj;
338 }
339
340 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
341 static PyObject *_wrap_wxTopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
342 PyObject * _resultobj;
343 wxTopLevelWindow * _arg0;
344 PyObject * _argo0 = 0;
345 char *_kwnames[] = { "self", NULL };
346
347 self = self;
348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_Restore",_kwnames,&_argo0))
349 return NULL;
350 if (_argo0) {
351 if (_argo0 == Py_None) { _arg0 = NULL; }
352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
354 return NULL;
355 }
356 }
357 {
358 PyThreadState* __tstate = wxPyBeginAllowThreads();
359 wxTopLevelWindow_Restore(_arg0);
360
361 wxPyEndAllowThreads(__tstate);
362 if (PyErr_Occurred()) return NULL;
363 } Py_INCREF(Py_None);
364 _resultobj = Py_None;
365 return _resultobj;
366 }
367
368 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
369 static PyObject *_wrap_wxTopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
370 PyObject * _resultobj;
371 wxTopLevelWindow * _arg0;
372 bool _arg1 = (bool ) TRUE;
373 PyObject * _argo0 = 0;
374 int tempbool1 = (int) TRUE;
375 char *_kwnames[] = { "self","iconize", NULL };
376
377 self = self;
378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxTopLevelWindow_Iconize",_kwnames,&_argo0,&tempbool1))
379 return NULL;
380 if (_argo0) {
381 if (_argo0 == Py_None) { _arg0 = NULL; }
382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
384 return NULL;
385 }
386 }
387 _arg1 = (bool ) tempbool1;
388 {
389 PyThreadState* __tstate = wxPyBeginAllowThreads();
390 wxTopLevelWindow_Iconize(_arg0,_arg1);
391
392 wxPyEndAllowThreads(__tstate);
393 if (PyErr_Occurred()) return NULL;
394 } Py_INCREF(Py_None);
395 _resultobj = Py_None;
396 return _resultobj;
397 }
398
399 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
400 static PyObject *_wrap_wxTopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
401 PyObject * _resultobj;
402 bool _result;
403 wxTopLevelWindow * _arg0;
404 PyObject * _argo0 = 0;
405 char *_kwnames[] = { "self", NULL };
406
407 self = self;
408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsMaximized",_kwnames,&_argo0))
409 return NULL;
410 if (_argo0) {
411 if (_argo0 == Py_None) { _arg0 = NULL; }
412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
414 return NULL;
415 }
416 }
417 {
418 PyThreadState* __tstate = wxPyBeginAllowThreads();
419 _result = (bool )wxTopLevelWindow_IsMaximized(_arg0);
420
421 wxPyEndAllowThreads(__tstate);
422 if (PyErr_Occurred()) return NULL;
423 } _resultobj = Py_BuildValue("i",_result);
424 return _resultobj;
425 }
426
427 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
428 static PyObject *_wrap_wxTopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
429 PyObject * _resultobj;
430 bool _result;
431 wxTopLevelWindow * _arg0;
432 PyObject * _argo0 = 0;
433 char *_kwnames[] = { "self", NULL };
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsIconized",_kwnames,&_argo0))
437 return NULL;
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
442 return NULL;
443 }
444 }
445 {
446 PyThreadState* __tstate = wxPyBeginAllowThreads();
447 _result = (bool )wxTopLevelWindow_IsIconized(_arg0);
448
449 wxPyEndAllowThreads(__tstate);
450 if (PyErr_Occurred()) return NULL;
451 } _resultobj = Py_BuildValue("i",_result);
452 return _resultobj;
453 }
454
455 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
456 static PyObject *_wrap_wxTopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
457 PyObject * _resultobj;
458 wxIcon * _result;
459 wxTopLevelWindow * _arg0;
460 PyObject * _argo0 = 0;
461 char *_kwnames[] = { "self", NULL };
462 char _ptemp[128];
463
464 self = self;
465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_GetIcon",_kwnames,&_argo0))
466 return NULL;
467 if (_argo0) {
468 if (_argo0 == Py_None) { _arg0 = NULL; }
469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
471 return NULL;
472 }
473 }
474 {
475 PyThreadState* __tstate = wxPyBeginAllowThreads();
476 _result = new wxIcon (wxTopLevelWindow_GetIcon(_arg0));
477
478 wxPyEndAllowThreads(__tstate);
479 if (PyErr_Occurred()) return NULL;
480 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
481 _resultobj = Py_BuildValue("s",_ptemp);
482 return _resultobj;
483 }
484
485 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
486 static PyObject *_wrap_wxTopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
487 PyObject * _resultobj;
488 wxTopLevelWindow * _arg0;
489 wxIcon * _arg1;
490 PyObject * _argo0 = 0;
491 PyObject * _argo1 = 0;
492 char *_kwnames[] = { "self","icon", NULL };
493
494 self = self;
495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetIcon",_kwnames,&_argo0,&_argo1))
496 return NULL;
497 if (_argo0) {
498 if (_argo0 == Py_None) { _arg0 = NULL; }
499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
501 return NULL;
502 }
503 }
504 if (_argo1) {
505 if (_argo1 == Py_None) { _arg1 = NULL; }
506 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
508 return NULL;
509 }
510 }
511 {
512 PyThreadState* __tstate = wxPyBeginAllowThreads();
513 wxTopLevelWindow_SetIcon(_arg0,*_arg1);
514
515 wxPyEndAllowThreads(__tstate);
516 if (PyErr_Occurred()) return NULL;
517 } Py_INCREF(Py_None);
518 _resultobj = Py_None;
519 return _resultobj;
520 }
521
522 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
523 static PyObject *_wrap_wxTopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
524 PyObject * _resultobj;
525 bool _result;
526 wxTopLevelWindow * _arg0;
527 bool _arg1;
528 long _arg2 = (long ) (wxFULLSCREEN_ALL);
529 PyObject * _argo0 = 0;
530 int tempbool1;
531 char *_kwnames[] = { "self","show","style", NULL };
532
533 self = self;
534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2))
535 return NULL;
536 if (_argo0) {
537 if (_argo0 == Py_None) { _arg0 = NULL; }
538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
540 return NULL;
541 }
542 }
543 _arg1 = (bool ) tempbool1;
544 {
545 PyThreadState* __tstate = wxPyBeginAllowThreads();
546 _result = (bool )wxTopLevelWindow_ShowFullScreen(_arg0,_arg1,_arg2);
547
548 wxPyEndAllowThreads(__tstate);
549 if (PyErr_Occurred()) return NULL;
550 } _resultobj = Py_BuildValue("i",_result);
551 return _resultobj;
552 }
553
554 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
555 static PyObject *_wrap_wxTopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 bool _result;
558 wxTopLevelWindow * _arg0;
559 PyObject * _argo0 = 0;
560 char *_kwnames[] = { "self", NULL };
561
562 self = self;
563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsFullScreen",_kwnames,&_argo0))
564 return NULL;
565 if (_argo0) {
566 if (_argo0 == Py_None) { _arg0 = NULL; }
567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
569 return NULL;
570 }
571 }
572 {
573 PyThreadState* __tstate = wxPyBeginAllowThreads();
574 _result = (bool )wxTopLevelWindow_IsFullScreen(_arg0);
575
576 wxPyEndAllowThreads(__tstate);
577 if (PyErr_Occurred()) return NULL;
578 } _resultobj = Py_BuildValue("i",_result);
579 return _resultobj;
580 }
581
582 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
583 static PyObject *_wrap_wxTopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
584 PyObject * _resultobj;
585 wxTopLevelWindow * _arg0;
586 wxString * _arg1;
587 PyObject * _argo0 = 0;
588 PyObject * _obj1 = 0;
589 char *_kwnames[] = { "self","title", NULL };
590
591 self = self;
592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetTitle",_kwnames,&_argo0,&_obj1))
593 return NULL;
594 if (_argo0) {
595 if (_argo0 == Py_None) { _arg0 = NULL; }
596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
598 return NULL;
599 }
600 }
601 {
602 #if PYTHON_API_VERSION >= 1009
603 char* tmpPtr; int tmpSize;
604 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
605 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
606 return NULL;
607 }
608 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
609 return NULL;
610 _arg1 = new wxString(tmpPtr, tmpSize);
611 #else
612 if (!PyString_Check(_obj1)) {
613 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
614 return NULL;
615 }
616 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
617 #endif
618 }
619 {
620 PyThreadState* __tstate = wxPyBeginAllowThreads();
621 wxTopLevelWindow_SetTitle(_arg0,*_arg1);
622
623 wxPyEndAllowThreads(__tstate);
624 if (PyErr_Occurred()) return NULL;
625 } Py_INCREF(Py_None);
626 _resultobj = Py_None;
627 {
628 if (_obj1)
629 delete _arg1;
630 }
631 return _resultobj;
632 }
633
634 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
635 static PyObject *_wrap_wxTopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 wxString * _result;
638 wxTopLevelWindow * _arg0;
639 PyObject * _argo0 = 0;
640 char *_kwnames[] = { "self", NULL };
641
642 self = self;
643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_GetTitle",_kwnames,&_argo0))
644 return NULL;
645 if (_argo0) {
646 if (_argo0 == Py_None) { _arg0 = NULL; }
647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
649 return NULL;
650 }
651 }
652 {
653 PyThreadState* __tstate = wxPyBeginAllowThreads();
654 _result = new wxString (wxTopLevelWindow_GetTitle(_arg0));
655
656 wxPyEndAllowThreads(__tstate);
657 if (PyErr_Occurred()) return NULL;
658 }{
659 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
660 }
661 {
662 delete _result;
663 }
664 return _resultobj;
665 }
666
667 static void *SwigwxFrameTowxTopLevelWindow(void *ptr) {
668 wxFrame *src;
669 wxTopLevelWindow *dest;
670 src = (wxFrame *) ptr;
671 dest = (wxTopLevelWindow *) src;
672 return (void *) dest;
673 }
674
675 static void *SwigwxFrameTowxWindow(void *ptr) {
676 wxFrame *src;
677 wxWindow *dest;
678 src = (wxFrame *) ptr;
679 dest = (wxWindow *) src;
680 return (void *) dest;
681 }
682
683 static void *SwigwxFrameTowxEvtHandler(void *ptr) {
684 wxFrame *src;
685 wxEvtHandler *dest;
686 src = (wxFrame *) ptr;
687 dest = (wxEvtHandler *) src;
688 return (void *) dest;
689 }
690
691 static void *SwigwxFrameTowxObject(void *ptr) {
692 wxFrame *src;
693 wxObject *dest;
694 src = (wxFrame *) ptr;
695 dest = (wxObject *) src;
696 return (void *) dest;
697 }
698
699 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
700 static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
701 PyObject * _resultobj;
702 wxFrame * _result;
703 wxWindow * _arg0;
704 wxWindowID _arg1;
705 wxString * _arg2;
706 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
707 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
708 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
709 char * _arg6 = (char *) "frame";
710 PyObject * _argo0 = 0;
711 PyObject * _obj2 = 0;
712 wxPoint temp;
713 PyObject * _obj3 = 0;
714 wxSize temp0;
715 PyObject * _obj4 = 0;
716 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
717 char _ptemp[128];
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
726 return NULL;
727 }
728 }
729 {
730 #if PYTHON_API_VERSION >= 1009
731 char* tmpPtr; int tmpSize;
732 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
733 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
734 return NULL;
735 }
736 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
737 return NULL;
738 _arg2 = new wxString(tmpPtr, tmpSize);
739 #else
740 if (!PyString_Check(_obj2)) {
741 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
742 return NULL;
743 }
744 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
745 #endif
746 }
747 if (_obj3)
748 {
749 _arg3 = &temp;
750 if (! wxPoint_helper(_obj3, &_arg3))
751 return NULL;
752 }
753 if (_obj4)
754 {
755 _arg4 = &temp0;
756 if (! wxSize_helper(_obj4, &_arg4))
757 return NULL;
758 }
759 {
760 PyThreadState* __tstate = wxPyBeginAllowThreads();
761 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
762
763 wxPyEndAllowThreads(__tstate);
764 if (PyErr_Occurred()) return NULL;
765 } if (_result) {
766 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
767 _resultobj = Py_BuildValue("s",_ptemp);
768 } else {
769 Py_INCREF(Py_None);
770 _resultobj = Py_None;
771 }
772 {
773 if (_obj2)
774 delete _arg2;
775 }
776 return _resultobj;
777 }
778
779 #define new_wxPreFrame() (new wxFrame())
780 static PyObject *_wrap_new_wxPreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
781 PyObject * _resultobj;
782 wxFrame * _result;
783 char *_kwnames[] = { NULL };
784 char _ptemp[128];
785
786 self = self;
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFrame",_kwnames))
788 return NULL;
789 {
790 PyThreadState* __tstate = wxPyBeginAllowThreads();
791 _result = (wxFrame *)new_wxPreFrame();
792
793 wxPyEndAllowThreads(__tstate);
794 if (PyErr_Occurred()) return NULL;
795 } if (_result) {
796 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
797 _resultobj = Py_BuildValue("s",_ptemp);
798 } else {
799 Py_INCREF(Py_None);
800 _resultobj = Py_None;
801 }
802 return _resultobj;
803 }
804
805 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
806 static PyObject *_wrap_wxFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 bool _result;
809 wxFrame * _arg0;
810 wxWindow * _arg1;
811 wxWindowID _arg2;
812 wxString * _arg3;
813 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
814 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
815 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
816 char * _arg7 = (char *) "frame";
817 PyObject * _argo0 = 0;
818 PyObject * _argo1 = 0;
819 PyObject * _obj3 = 0;
820 wxPoint temp;
821 PyObject * _obj4 = 0;
822 wxSize temp0;
823 PyObject * _obj5 = 0;
824 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
825
826 self = self;
827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
828 return NULL;
829 if (_argo0) {
830 if (_argo0 == Py_None) { _arg0 = NULL; }
831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
833 return NULL;
834 }
835 }
836 if (_argo1) {
837 if (_argo1 == Py_None) { _arg1 = NULL; }
838 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
840 return NULL;
841 }
842 }
843 {
844 #if PYTHON_API_VERSION >= 1009
845 char* tmpPtr; int tmpSize;
846 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
847 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
848 return NULL;
849 }
850 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
851 return NULL;
852 _arg3 = new wxString(tmpPtr, tmpSize);
853 #else
854 if (!PyString_Check(_obj3)) {
855 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
856 return NULL;
857 }
858 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
859 #endif
860 }
861 if (_obj4)
862 {
863 _arg4 = &temp;
864 if (! wxPoint_helper(_obj4, &_arg4))
865 return NULL;
866 }
867 if (_obj5)
868 {
869 _arg5 = &temp0;
870 if (! wxSize_helper(_obj5, &_arg5))
871 return NULL;
872 }
873 {
874 PyThreadState* __tstate = wxPyBeginAllowThreads();
875 _result = (bool )wxFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
876
877 wxPyEndAllowThreads(__tstate);
878 if (PyErr_Occurred()) return NULL;
879 } _resultobj = Py_BuildValue("i",_result);
880 {
881 if (_obj3)
882 delete _arg3;
883 }
884 return _resultobj;
885 }
886
887 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
888 static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
889 PyObject * _resultobj;
890 wxPoint * _result;
891 wxFrame * _arg0;
892 PyObject * _argo0 = 0;
893 char *_kwnames[] = { "self", NULL };
894 char _ptemp[128];
895
896 self = self;
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
898 return NULL;
899 if (_argo0) {
900 if (_argo0 == Py_None) { _arg0 = NULL; }
901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
903 return NULL;
904 }
905 }
906 {
907 PyThreadState* __tstate = wxPyBeginAllowThreads();
908 _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
909
910 wxPyEndAllowThreads(__tstate);
911 if (PyErr_Occurred()) return NULL;
912 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
913 _resultobj = Py_BuildValue("s",_ptemp);
914 return _resultobj;
915 }
916
917 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
918 static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
919 PyObject * _resultobj;
920 wxFrame * _arg0;
921 wxMenuBar * _arg1;
922 PyObject * _argo0 = 0;
923 PyObject * _argo1 = 0;
924 char *_kwnames[] = { "self","menubar", NULL };
925
926 self = self;
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
928 return NULL;
929 if (_argo0) {
930 if (_argo0 == Py_None) { _arg0 = NULL; }
931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
933 return NULL;
934 }
935 }
936 if (_argo1) {
937 if (_argo1 == Py_None) { _arg1 = NULL; }
938 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
939 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
940 return NULL;
941 }
942 }
943 {
944 PyThreadState* __tstate = wxPyBeginAllowThreads();
945 wxFrame_SetMenuBar(_arg0,_arg1);
946
947 wxPyEndAllowThreads(__tstate);
948 if (PyErr_Occurred()) return NULL;
949 } Py_INCREF(Py_None);
950 _resultobj = Py_None;
951 return _resultobj;
952 }
953
954 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
955 static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
956 PyObject * _resultobj;
957 wxMenuBar * _result;
958 wxFrame * _arg0;
959 PyObject * _argo0 = 0;
960 char *_kwnames[] = { "self", NULL };
961
962 self = self;
963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
964 return NULL;
965 if (_argo0) {
966 if (_argo0 == Py_None) { _arg0 = NULL; }
967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
969 return NULL;
970 }
971 }
972 {
973 PyThreadState* __tstate = wxPyBeginAllowThreads();
974 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
975
976 wxPyEndAllowThreads(__tstate);
977 if (PyErr_Occurred()) return NULL;
978 }{ _resultobj = wxPyMake_wxObject(_result); }
979 return _resultobj;
980 }
981
982 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
983 static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject * _resultobj;
985 bool _result;
986 wxFrame * _arg0;
987 int _arg1;
988 PyObject * _argo0 = 0;
989 char *_kwnames[] = { "self","id", NULL };
990
991 self = self;
992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
993 return NULL;
994 if (_argo0) {
995 if (_argo0 == Py_None) { _arg0 = NULL; }
996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
998 return NULL;
999 }
1000 }
1001 {
1002 PyThreadState* __tstate = wxPyBeginAllowThreads();
1003 _result = (bool )wxFrame_Command(_arg0,_arg1);
1004
1005 wxPyEndAllowThreads(__tstate);
1006 if (PyErr_Occurred()) return NULL;
1007 } _resultobj = Py_BuildValue("i",_result);
1008 return _resultobj;
1009 }
1010
1011 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1012 static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject * _resultobj;
1014 bool _result;
1015 wxFrame * _arg0;
1016 int _arg1;
1017 PyObject * _argo0 = 0;
1018 char *_kwnames[] = { "self","id", NULL };
1019
1020 self = self;
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1))
1022 return NULL;
1023 if (_argo0) {
1024 if (_argo0 == Py_None) { _arg0 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1027 return NULL;
1028 }
1029 }
1030 {
1031 PyThreadState* __tstate = wxPyBeginAllowThreads();
1032 _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
1033
1034 wxPyEndAllowThreads(__tstate);
1035 if (PyErr_Occurred()) return NULL;
1036 } _resultobj = Py_BuildValue("i",_result);
1037 return _resultobj;
1038 }
1039
1040 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1041 static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject * _resultobj;
1043 wxStatusBar * _result;
1044 wxFrame * _arg0;
1045 int _arg1 = (int ) 1;
1046 long _arg2 = (long ) wxST_SIZEGRIP;
1047 wxWindowID _arg3 = (wxWindowID ) -1;
1048 char * _arg4 = (char *) "statusBar";
1049 PyObject * _argo0 = 0;
1050 char *_kwnames[] = { "self","number","style","id","name", NULL };
1051
1052 self = self;
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1054 return NULL;
1055 if (_argo0) {
1056 if (_argo0 == Py_None) { _arg0 = NULL; }
1057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1059 return NULL;
1060 }
1061 }
1062 {
1063 PyThreadState* __tstate = wxPyBeginAllowThreads();
1064 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
1065
1066 wxPyEndAllowThreads(__tstate);
1067 if (PyErr_Occurred()) return NULL;
1068 }{ _resultobj = wxPyMake_wxObject(_result); }
1069 return _resultobj;
1070 }
1071
1072 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1073 static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject * _resultobj;
1075 wxStatusBar * _result;
1076 wxFrame * _arg0;
1077 PyObject * _argo0 = 0;
1078 char *_kwnames[] = { "self", NULL };
1079
1080 self = self;
1081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
1082 return NULL;
1083 if (_argo0) {
1084 if (_argo0 == Py_None) { _arg0 = NULL; }
1085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1087 return NULL;
1088 }
1089 }
1090 {
1091 PyThreadState* __tstate = wxPyBeginAllowThreads();
1092 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
1093
1094 wxPyEndAllowThreads(__tstate);
1095 if (PyErr_Occurred()) return NULL;
1096 }{ _resultobj = wxPyMake_wxObject(_result); }
1097 return _resultobj;
1098 }
1099
1100 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1101 static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1102 PyObject * _resultobj;
1103 wxFrame * _arg0;
1104 wxStatusBar * _arg1;
1105 PyObject * _argo0 = 0;
1106 PyObject * _argo1 = 0;
1107 char *_kwnames[] = { "self","statBar", NULL };
1108
1109 self = self;
1110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
1111 return NULL;
1112 if (_argo0) {
1113 if (_argo0 == Py_None) { _arg0 = NULL; }
1114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1116 return NULL;
1117 }
1118 }
1119 if (_argo1) {
1120 if (_argo1 == Py_None) { _arg1 = NULL; }
1121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1123 return NULL;
1124 }
1125 }
1126 {
1127 PyThreadState* __tstate = wxPyBeginAllowThreads();
1128 wxFrame_SetStatusBar(_arg0,_arg1);
1129
1130 wxPyEndAllowThreads(__tstate);
1131 if (PyErr_Occurred()) return NULL;
1132 } Py_INCREF(Py_None);
1133 _resultobj = Py_None;
1134 return _resultobj;
1135 }
1136
1137 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1138 static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
1139 PyObject * _resultobj;
1140 wxFrame * _arg0;
1141 wxString * _arg1;
1142 int _arg2 = (int ) 0;
1143 PyObject * _argo0 = 0;
1144 PyObject * _obj1 = 0;
1145 char *_kwnames[] = { "self","text","number", NULL };
1146
1147 self = self;
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
1149 return NULL;
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1154 return NULL;
1155 }
1156 }
1157 {
1158 #if PYTHON_API_VERSION >= 1009
1159 char* tmpPtr; int tmpSize;
1160 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1161 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1162 return NULL;
1163 }
1164 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1165 return NULL;
1166 _arg1 = new wxString(tmpPtr, tmpSize);
1167 #else
1168 if (!PyString_Check(_obj1)) {
1169 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1170 return NULL;
1171 }
1172 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1173 #endif
1174 }
1175 {
1176 PyThreadState* __tstate = wxPyBeginAllowThreads();
1177 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
1178
1179 wxPyEndAllowThreads(__tstate);
1180 if (PyErr_Occurred()) return NULL;
1181 } Py_INCREF(Py_None);
1182 _resultobj = Py_None;
1183 {
1184 if (_obj1)
1185 delete _arg1;
1186 }
1187 return _resultobj;
1188 }
1189
1190 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1191 static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject * _resultobj;
1193 wxFrame * _arg0;
1194 int _arg1;
1195 int * _arg2;
1196 PyObject * _argo0 = 0;
1197 PyObject * _obj2 = 0;
1198 char *_kwnames[] = { "self","choices", NULL };
1199
1200 self = self;
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
1202 return NULL;
1203 if (_argo0) {
1204 if (_argo0 == Py_None) { _arg0 = NULL; }
1205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1207 return NULL;
1208 }
1209 }
1210 if (_obj2)
1211 {
1212 _arg2 = int_LIST_helper(_obj2);
1213 if (_arg2 == NULL) {
1214 return NULL;
1215 }
1216 }
1217 {
1218 if (_obj2) {
1219 _arg1 = PyList_Size(_obj2);
1220 }
1221 else {
1222 _arg1 = 0;
1223 }
1224 }
1225 {
1226 PyThreadState* __tstate = wxPyBeginAllowThreads();
1227 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
1228
1229 wxPyEndAllowThreads(__tstate);
1230 if (PyErr_Occurred()) return NULL;
1231 } Py_INCREF(Py_None);
1232 _resultobj = Py_None;
1233 {
1234 delete [] _arg2;
1235 }
1236 return _resultobj;
1237 }
1238
1239 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1240 static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 wxToolBar * _result;
1243 wxFrame * _arg0;
1244 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
1245 wxWindowID _arg2 = (wxWindowID ) -1;
1246 char * _arg3 = (char *) "toolBar";
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self","style","id","name", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1257 return NULL;
1258 }
1259 }
1260 {
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) return NULL;
1266 }{ _resultobj = wxPyMake_wxObject(_result); }
1267 return _resultobj;
1268 }
1269
1270 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1271 static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxToolBar * _result;
1274 wxFrame * _arg0;
1275 PyObject * _argo0 = 0;
1276 char *_kwnames[] = { "self", NULL };
1277
1278 self = self;
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
1280 return NULL;
1281 if (_argo0) {
1282 if (_argo0 == Py_None) { _arg0 = NULL; }
1283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1285 return NULL;
1286 }
1287 }
1288 {
1289 PyThreadState* __tstate = wxPyBeginAllowThreads();
1290 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
1291
1292 wxPyEndAllowThreads(__tstate);
1293 if (PyErr_Occurred()) return NULL;
1294 }{ _resultobj = wxPyMake_wxObject(_result); }
1295 return _resultobj;
1296 }
1297
1298 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1299 static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxFrame * _arg0;
1302 wxToolBar * _arg1;
1303 PyObject * _argo0 = 0;
1304 PyObject * _argo1 = 0;
1305 char *_kwnames[] = { "self","toolbar", NULL };
1306
1307 self = self;
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
1309 return NULL;
1310 if (_argo0) {
1311 if (_argo0 == Py_None) { _arg0 = NULL; }
1312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1314 return NULL;
1315 }
1316 }
1317 if (_argo1) {
1318 if (_argo1 == Py_None) { _arg1 = NULL; }
1319 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
1320 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1321 return NULL;
1322 }
1323 }
1324 {
1325 PyThreadState* __tstate = wxPyBeginAllowThreads();
1326 wxFrame_SetToolBar(_arg0,_arg1);
1327
1328 wxPyEndAllowThreads(__tstate);
1329 if (PyErr_Occurred()) return NULL;
1330 } Py_INCREF(Py_None);
1331 _resultobj = Py_None;
1332 return _resultobj;
1333 }
1334
1335 static void *SwigwxDialogTowxTopLevelWindow(void *ptr) {
1336 wxDialog *src;
1337 wxTopLevelWindow *dest;
1338 src = (wxDialog *) ptr;
1339 dest = (wxTopLevelWindow *) src;
1340 return (void *) dest;
1341 }
1342
1343 static void *SwigwxDialogTowxWindow(void *ptr) {
1344 wxDialog *src;
1345 wxWindow *dest;
1346 src = (wxDialog *) ptr;
1347 dest = (wxWindow *) src;
1348 return (void *) dest;
1349 }
1350
1351 static void *SwigwxDialogTowxEvtHandler(void *ptr) {
1352 wxDialog *src;
1353 wxEvtHandler *dest;
1354 src = (wxDialog *) ptr;
1355 dest = (wxEvtHandler *) src;
1356 return (void *) dest;
1357 }
1358
1359 static void *SwigwxDialogTowxObject(void *ptr) {
1360 wxDialog *src;
1361 wxObject *dest;
1362 src = (wxDialog *) ptr;
1363 dest = (wxObject *) src;
1364 return (void *) dest;
1365 }
1366
1367 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1368 static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject * _resultobj;
1370 wxDialog * _result;
1371 wxWindow * _arg0;
1372 wxWindowID _arg1;
1373 wxString * _arg2;
1374 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1375 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1376 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
1377 char * _arg6 = (char *) "dialogBox";
1378 PyObject * _argo0 = 0;
1379 PyObject * _obj2 = 0;
1380 wxPoint temp;
1381 PyObject * _obj3 = 0;
1382 wxSize temp0;
1383 PyObject * _obj4 = 0;
1384 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
1385 char _ptemp[128];
1386
1387 self = self;
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
1389 return NULL;
1390 if (_argo0) {
1391 if (_argo0 == Py_None) { _arg0 = NULL; }
1392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1394 return NULL;
1395 }
1396 }
1397 {
1398 #if PYTHON_API_VERSION >= 1009
1399 char* tmpPtr; int tmpSize;
1400 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1402 return NULL;
1403 }
1404 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1405 return NULL;
1406 _arg2 = new wxString(tmpPtr, tmpSize);
1407 #else
1408 if (!PyString_Check(_obj2)) {
1409 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1410 return NULL;
1411 }
1412 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1413 #endif
1414 }
1415 if (_obj3)
1416 {
1417 _arg3 = &temp;
1418 if (! wxPoint_helper(_obj3, &_arg3))
1419 return NULL;
1420 }
1421 if (_obj4)
1422 {
1423 _arg4 = &temp0;
1424 if (! wxSize_helper(_obj4, &_arg4))
1425 return NULL;
1426 }
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) return NULL;
1433 } if (_result) {
1434 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
1435 _resultobj = Py_BuildValue("s",_ptemp);
1436 } else {
1437 Py_INCREF(Py_None);
1438 _resultobj = Py_None;
1439 }
1440 {
1441 if (_obj2)
1442 delete _arg2;
1443 }
1444 return _resultobj;
1445 }
1446
1447 #define new_wxPreDialog() (new wxDialog())
1448 static PyObject *_wrap_new_wxPreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 wxDialog * _result;
1451 char *_kwnames[] = { NULL };
1452 char _ptemp[128];
1453
1454 self = self;
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDialog",_kwnames))
1456 return NULL;
1457 {
1458 PyThreadState* __tstate = wxPyBeginAllowThreads();
1459 _result = (wxDialog *)new_wxPreDialog();
1460
1461 wxPyEndAllowThreads(__tstate);
1462 if (PyErr_Occurred()) return NULL;
1463 } if (_result) {
1464 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
1465 _resultobj = Py_BuildValue("s",_ptemp);
1466 } else {
1467 Py_INCREF(Py_None);
1468 _resultobj = Py_None;
1469 }
1470 return _resultobj;
1471 }
1472
1473 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1474 static PyObject *_wrap_wxDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject * _resultobj;
1476 bool _result;
1477 wxDialog * _arg0;
1478 wxWindow * _arg1;
1479 wxWindowID _arg2;
1480 wxString * _arg3;
1481 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1482 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1483 long _arg6 = (long ) wxDEFAULT_DIALOG_STYLE;
1484 char * _arg7 = (char *) "dialogBox";
1485 PyObject * _argo0 = 0;
1486 PyObject * _argo1 = 0;
1487 PyObject * _obj3 = 0;
1488 wxPoint temp;
1489 PyObject * _obj4 = 0;
1490 wxSize temp0;
1491 PyObject * _obj5 = 0;
1492 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
1493
1494 self = self;
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxDialog_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
1496 return NULL;
1497 if (_argo0) {
1498 if (_argo0 == Py_None) { _arg0 = NULL; }
1499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1501 return NULL;
1502 }
1503 }
1504 if (_argo1) {
1505 if (_argo1 == Py_None) { _arg1 = NULL; }
1506 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1508 return NULL;
1509 }
1510 }
1511 {
1512 #if PYTHON_API_VERSION >= 1009
1513 char* tmpPtr; int tmpSize;
1514 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1515 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1516 return NULL;
1517 }
1518 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1519 return NULL;
1520 _arg3 = new wxString(tmpPtr, tmpSize);
1521 #else
1522 if (!PyString_Check(_obj3)) {
1523 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1524 return NULL;
1525 }
1526 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1527 #endif
1528 }
1529 if (_obj4)
1530 {
1531 _arg4 = &temp;
1532 if (! wxPoint_helper(_obj4, &_arg4))
1533 return NULL;
1534 }
1535 if (_obj5)
1536 {
1537 _arg5 = &temp0;
1538 if (! wxSize_helper(_obj5, &_arg5))
1539 return NULL;
1540 }
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 _result = (bool )wxDialog_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) return NULL;
1547 } _resultobj = Py_BuildValue("i",_result);
1548 {
1549 if (_obj3)
1550 delete _arg3;
1551 }
1552 return _resultobj;
1553 }
1554
1555 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1556 static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject * _resultobj;
1558 wxDialog * _arg0;
1559 int _arg1 = (int ) wxBOTH;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self","direction", NULL };
1562
1563 self = self;
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
1565 return NULL;
1566 if (_argo0) {
1567 if (_argo0 == Py_None) { _arg0 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1570 return NULL;
1571 }
1572 }
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
1575 wxDialog_Centre(_arg0,_arg1);
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) return NULL;
1579 } Py_INCREF(Py_None);
1580 _resultobj = Py_None;
1581 return _resultobj;
1582 }
1583
1584 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1585 static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 wxDialog * _arg0;
1588 int _arg1;
1589 PyObject * _argo0 = 0;
1590 char *_kwnames[] = { "self","retCode", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1599 return NULL;
1600 }
1601 }
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 wxDialog_EndModal(_arg0,_arg1);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) return NULL;
1608 } Py_INCREF(Py_None);
1609 _resultobj = Py_None;
1610 return _resultobj;
1611 }
1612
1613 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1614 static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject * _resultobj;
1616 wxDialog * _arg0;
1617 bool _arg1;
1618 PyObject * _argo0 = 0;
1619 int tempbool1;
1620 char *_kwnames[] = { "self","flag", NULL };
1621
1622 self = self;
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
1624 return NULL;
1625 if (_argo0) {
1626 if (_argo0 == Py_None) { _arg0 = NULL; }
1627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1629 return NULL;
1630 }
1631 }
1632 _arg1 = (bool ) tempbool1;
1633 {
1634 PyThreadState* __tstate = wxPyBeginAllowThreads();
1635 wxDialog_SetModal(_arg0,_arg1);
1636
1637 wxPyEndAllowThreads(__tstate);
1638 if (PyErr_Occurred()) return NULL;
1639 } Py_INCREF(Py_None);
1640 _resultobj = Py_None;
1641 return _resultobj;
1642 }
1643
1644 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1645 static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1646 PyObject * _resultobj;
1647 bool _result;
1648 wxDialog * _arg0;
1649 PyObject * _argo0 = 0;
1650 char *_kwnames[] = { "self", NULL };
1651
1652 self = self;
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
1654 return NULL;
1655 if (_argo0) {
1656 if (_argo0 == Py_None) { _arg0 = NULL; }
1657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1659 return NULL;
1660 }
1661 }
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 _result = (bool )wxDialog_IsModal(_arg0);
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) return NULL;
1668 } _resultobj = Py_BuildValue("i",_result);
1669 return _resultobj;
1670 }
1671
1672 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1673 static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1674 PyObject * _resultobj;
1675 int _result;
1676 wxDialog * _arg0;
1677 PyObject * _argo0 = 0;
1678 char *_kwnames[] = { "self", NULL };
1679
1680 self = self;
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
1682 return NULL;
1683 if (_argo0) {
1684 if (_argo0 == Py_None) { _arg0 = NULL; }
1685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1687 return NULL;
1688 }
1689 }
1690 {
1691 PyThreadState* __tstate = wxPyBeginAllowThreads();
1692 _result = (int )wxDialog_ShowModal(_arg0);
1693
1694 wxPyEndAllowThreads(__tstate);
1695 if (PyErr_Occurred()) return NULL;
1696 } _resultobj = Py_BuildValue("i",_result);
1697 return _resultobj;
1698 }
1699
1700 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1701 static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
1702 PyObject * _resultobj;
1703 int _result;
1704 wxDialog * _arg0;
1705 PyObject * _argo0 = 0;
1706 char *_kwnames[] = { "self", NULL };
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
1710 return NULL;
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1715 return NULL;
1716 }
1717 }
1718 {
1719 PyThreadState* __tstate = wxPyBeginAllowThreads();
1720 _result = (int )wxDialog_GetReturnCode(_arg0);
1721
1722 wxPyEndAllowThreads(__tstate);
1723 if (PyErr_Occurred()) return NULL;
1724 } _resultobj = Py_BuildValue("i",_result);
1725 return _resultobj;
1726 }
1727
1728 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1729 static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 wxDialog * _arg0;
1732 int _arg1;
1733 PyObject * _argo0 = 0;
1734 char *_kwnames[] = { "self","retCode", NULL };
1735
1736 self = self;
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
1738 return NULL;
1739 if (_argo0) {
1740 if (_argo0 == Py_None) { _arg0 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1743 return NULL;
1744 }
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 wxDialog_SetReturnCode(_arg0,_arg1);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) return NULL;
1752 } Py_INCREF(Py_None);
1753 _resultobj = Py_None;
1754 return _resultobj;
1755 }
1756
1757 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1758 static PyObject *_wrap_wxDialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject * _resultobj;
1760 wxSizer * _result;
1761 wxDialog * _arg0;
1762 wxString * _arg1;
1763 PyObject * _argo0 = 0;
1764 PyObject * _obj1 = 0;
1765 char *_kwnames[] = { "self","message", NULL };
1766
1767 self = self;
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_CreateTextSizer",_kwnames,&_argo0,&_obj1))
1769 return NULL;
1770 if (_argo0) {
1771 if (_argo0 == Py_None) { _arg0 = NULL; }
1772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1774 return NULL;
1775 }
1776 }
1777 {
1778 #if PYTHON_API_VERSION >= 1009
1779 char* tmpPtr; int tmpSize;
1780 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1781 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1782 return NULL;
1783 }
1784 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1785 return NULL;
1786 _arg1 = new wxString(tmpPtr, tmpSize);
1787 #else
1788 if (!PyString_Check(_obj1)) {
1789 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1790 return NULL;
1791 }
1792 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1793 #endif
1794 }
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 _result = (wxSizer *)wxDialog_CreateTextSizer(_arg0,*_arg1);
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) return NULL;
1801 }{ _resultobj = wxPyMake_wxSizer(_result); }
1802 {
1803 if (_obj1)
1804 delete _arg1;
1805 }
1806 return _resultobj;
1807 }
1808
1809 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1810 static PyObject *_wrap_wxDialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1811 PyObject * _resultobj;
1812 wxSizer * _result;
1813 wxDialog * _arg0;
1814 long _arg1;
1815 PyObject * _argo0 = 0;
1816 char *_kwnames[] = { "self","flags", NULL };
1817
1818 self = self;
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDialog_CreateButtonSizer",_kwnames,&_argo0,&_arg1))
1820 return NULL;
1821 if (_argo0) {
1822 if (_argo0 == Py_None) { _arg0 = NULL; }
1823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1825 return NULL;
1826 }
1827 }
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 _result = (wxSizer *)wxDialog_CreateButtonSizer(_arg0,_arg1);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) return NULL;
1834 }{ _resultobj = wxPyMake_wxSizer(_result); }
1835 return _resultobj;
1836 }
1837
1838 static void *SwigwxMiniFrameTowxFrame(void *ptr) {
1839 wxMiniFrame *src;
1840 wxFrame *dest;
1841 src = (wxMiniFrame *) ptr;
1842 dest = (wxFrame *) src;
1843 return (void *) dest;
1844 }
1845
1846 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr) {
1847 wxMiniFrame *src;
1848 wxTopLevelWindow *dest;
1849 src = (wxMiniFrame *) ptr;
1850 dest = (wxTopLevelWindow *) src;
1851 return (void *) dest;
1852 }
1853
1854 static void *SwigwxMiniFrameTowxWindow(void *ptr) {
1855 wxMiniFrame *src;
1856 wxWindow *dest;
1857 src = (wxMiniFrame *) ptr;
1858 dest = (wxWindow *) src;
1859 return (void *) dest;
1860 }
1861
1862 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
1863 wxMiniFrame *src;
1864 wxEvtHandler *dest;
1865 src = (wxMiniFrame *) ptr;
1866 dest = (wxEvtHandler *) src;
1867 return (void *) dest;
1868 }
1869
1870 static void *SwigwxMiniFrameTowxObject(void *ptr) {
1871 wxMiniFrame *src;
1872 wxObject *dest;
1873 src = (wxMiniFrame *) ptr;
1874 dest = (wxObject *) src;
1875 return (void *) dest;
1876 }
1877
1878 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1879 static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject * _resultobj;
1881 wxMiniFrame * _result;
1882 wxWindow * _arg0;
1883 wxWindowID _arg1;
1884 wxString * _arg2;
1885 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1886 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1887 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
1888 char * _arg6 = (char *) "frame";
1889 PyObject * _argo0 = 0;
1890 PyObject * _obj2 = 0;
1891 wxPoint temp;
1892 PyObject * _obj3 = 0;
1893 wxSize temp0;
1894 PyObject * _obj4 = 0;
1895 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
1896 char _ptemp[128];
1897
1898 self = self;
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
1900 return NULL;
1901 if (_argo0) {
1902 if (_argo0 == Py_None) { _arg0 = NULL; }
1903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1905 return NULL;
1906 }
1907 }
1908 {
1909 #if PYTHON_API_VERSION >= 1009
1910 char* tmpPtr; int tmpSize;
1911 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1912 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1913 return NULL;
1914 }
1915 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1916 return NULL;
1917 _arg2 = new wxString(tmpPtr, tmpSize);
1918 #else
1919 if (!PyString_Check(_obj2)) {
1920 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1921 return NULL;
1922 }
1923 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1924 #endif
1925 }
1926 if (_obj3)
1927 {
1928 _arg3 = &temp;
1929 if (! wxPoint_helper(_obj3, &_arg3))
1930 return NULL;
1931 }
1932 if (_obj4)
1933 {
1934 _arg4 = &temp0;
1935 if (! wxSize_helper(_obj4, &_arg4))
1936 return NULL;
1937 }
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) return NULL;
1944 } if (_result) {
1945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1946 _resultobj = Py_BuildValue("s",_ptemp);
1947 } else {
1948 Py_INCREF(Py_None);
1949 _resultobj = Py_None;
1950 }
1951 {
1952 if (_obj2)
1953 delete _arg2;
1954 }
1955 return _resultobj;
1956 }
1957
1958 #define new_wxPreMiniFrame() (new wxMiniFrame())
1959 static PyObject *_wrap_new_wxPreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject * _resultobj;
1961 wxMiniFrame * _result;
1962 char *_kwnames[] = { NULL };
1963 char _ptemp[128];
1964
1965 self = self;
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMiniFrame",_kwnames))
1967 return NULL;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 _result = (wxMiniFrame *)new_wxPreMiniFrame();
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) return NULL;
1974 } if (_result) {
1975 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1976 _resultobj = Py_BuildValue("s",_ptemp);
1977 } else {
1978 Py_INCREF(Py_None);
1979 _resultobj = Py_None;
1980 }
1981 return _resultobj;
1982 }
1983
1984 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1985 static PyObject *_wrap_wxMiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject * _resultobj;
1987 bool _result;
1988 wxMiniFrame * _arg0;
1989 wxWindow * _arg1;
1990 wxWindowID _arg2;
1991 wxString * _arg3;
1992 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1993 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1994 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
1995 char * _arg7 = (char *) "frame";
1996 PyObject * _argo0 = 0;
1997 PyObject * _argo1 = 0;
1998 PyObject * _obj3 = 0;
1999 wxPoint temp;
2000 PyObject * _obj4 = 0;
2001 wxSize temp0;
2002 PyObject * _obj5 = 0;
2003 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
2004
2005 self = self;
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxMiniFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
2007 return NULL;
2008 if (_argo0) {
2009 if (_argo0 == Py_None) { _arg0 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMiniFrame_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2012 return NULL;
2013 }
2014 }
2015 if (_argo1) {
2016 if (_argo1 == Py_None) { _arg1 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2019 return NULL;
2020 }
2021 }
2022 {
2023 #if PYTHON_API_VERSION >= 1009
2024 char* tmpPtr; int tmpSize;
2025 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
2026 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2027 return NULL;
2028 }
2029 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2030 return NULL;
2031 _arg3 = new wxString(tmpPtr, tmpSize);
2032 #else
2033 if (!PyString_Check(_obj3)) {
2034 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2035 return NULL;
2036 }
2037 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2038 #endif
2039 }
2040 if (_obj4)
2041 {
2042 _arg4 = &temp;
2043 if (! wxPoint_helper(_obj4, &_arg4))
2044 return NULL;
2045 }
2046 if (_obj5)
2047 {
2048 _arg5 = &temp0;
2049 if (! wxSize_helper(_obj5, &_arg5))
2050 return NULL;
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 _result = (bool )wxMiniFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) return NULL;
2058 } _resultobj = Py_BuildValue("i",_result);
2059 {
2060 if (_obj3)
2061 delete _arg3;
2062 }
2063 return _resultobj;
2064 }
2065
2066 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr) {
2067 wxSplashScreenWindow *src;
2068 wxWindow *dest;
2069 src = (wxSplashScreenWindow *) ptr;
2070 dest = (wxWindow *) src;
2071 return (void *) dest;
2072 }
2073
2074 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr) {
2075 wxSplashScreenWindow *src;
2076 wxEvtHandler *dest;
2077 src = (wxSplashScreenWindow *) ptr;
2078 dest = (wxEvtHandler *) src;
2079 return (void *) dest;
2080 }
2081
2082 static void *SwigwxSplashScreenWindowTowxObject(void *ptr) {
2083 wxSplashScreenWindow *src;
2084 wxObject *dest;
2085 src = (wxSplashScreenWindow *) ptr;
2086 dest = (wxObject *) src;
2087 return (void *) dest;
2088 }
2089
2090 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2091 static PyObject *_wrap_new_wxSplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject * _resultobj;
2093 wxSplashScreenWindow * _result;
2094 wxBitmap * _arg0;
2095 wxWindow * _arg1;
2096 wxWindowID _arg2;
2097 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2098 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2099 long _arg5 = (long ) wxNO_BORDER;
2100 PyObject * _argo0 = 0;
2101 PyObject * _argo1 = 0;
2102 wxPoint temp;
2103 PyObject * _obj3 = 0;
2104 wxSize temp0;
2105 PyObject * _obj4 = 0;
2106 char *_kwnames[] = { "bitmap","parent","id","pos","size","style", NULL };
2107 char _ptemp[128];
2108
2109 self = self;
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOl:new_wxSplashScreenWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
2111 return NULL;
2112 if (_argo0) {
2113 if (_argo0 == Py_None) { _arg0 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2116 return NULL;
2117 }
2118 }
2119 if (_argo1) {
2120 if (_argo1 == Py_None) { _arg1 = NULL; }
2121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2123 return NULL;
2124 }
2125 }
2126 if (_obj3)
2127 {
2128 _arg3 = &temp;
2129 if (! wxPoint_helper(_obj3, &_arg3))
2130 return NULL;
2131 }
2132 if (_obj4)
2133 {
2134 _arg4 = &temp0;
2135 if (! wxSize_helper(_obj4, &_arg4))
2136 return NULL;
2137 }
2138 {
2139 PyThreadState* __tstate = wxPyBeginAllowThreads();
2140 _result = (wxSplashScreenWindow *)new_wxSplashScreenWindow(*_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
2141
2142 wxPyEndAllowThreads(__tstate);
2143 if (PyErr_Occurred()) return NULL;
2144 } if (_result) {
2145 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p");
2146 _resultobj = Py_BuildValue("s",_ptemp);
2147 } else {
2148 Py_INCREF(Py_None);
2149 _resultobj = Py_None;
2150 }
2151 return _resultobj;
2152 }
2153
2154 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2155 static PyObject *_wrap_wxSplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject * _resultobj;
2157 wxSplashScreenWindow * _arg0;
2158 wxBitmap * _arg1;
2159 PyObject * _argo0 = 0;
2160 PyObject * _argo1 = 0;
2161 char *_kwnames[] = { "self","bitmap", NULL };
2162
2163 self = self;
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplashScreenWindow_SetBitmap",_kwnames,&_argo0,&_argo1))
2165 return NULL;
2166 if (_argo0) {
2167 if (_argo0 == Py_None) { _arg0 = NULL; }
2168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreenWindow_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2170 return NULL;
2171 }
2172 }
2173 if (_argo1) {
2174 if (_argo1 == Py_None) { _arg1 = NULL; }
2175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2177 return NULL;
2178 }
2179 }
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
2182 wxSplashScreenWindow_SetBitmap(_arg0,*_arg1);
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) return NULL;
2186 } Py_INCREF(Py_None);
2187 _resultobj = Py_None;
2188 return _resultobj;
2189 }
2190
2191 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2192 static PyObject *_wrap_wxSplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 wxBitmap * _result;
2195 wxSplashScreenWindow * _arg0;
2196 PyObject * _argo0 = 0;
2197 char *_kwnames[] = { "self", NULL };
2198 char _ptemp[128];
2199
2200 self = self;
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreenWindow_GetBitmap",_kwnames,&_argo0))
2202 return NULL;
2203 if (_argo0) {
2204 if (_argo0 == Py_None) { _arg0 = NULL; }
2205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreenWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2207 return NULL;
2208 }
2209 }
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 wxBitmap & _result_ref = wxSplashScreenWindow_GetBitmap(_arg0);
2213 _result = (wxBitmap *) &_result_ref;
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) return NULL;
2217 } if (_result) {
2218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
2219 _resultobj = Py_BuildValue("s",_ptemp);
2220 } else {
2221 Py_INCREF(Py_None);
2222 _resultobj = Py_None;
2223 }
2224 return _resultobj;
2225 }
2226
2227 static void *SwigwxSplashScreenTowxFrame(void *ptr) {
2228 wxSplashScreen *src;
2229 wxFrame *dest;
2230 src = (wxSplashScreen *) ptr;
2231 dest = (wxFrame *) src;
2232 return (void *) dest;
2233 }
2234
2235 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr) {
2236 wxSplashScreen *src;
2237 wxTopLevelWindow *dest;
2238 src = (wxSplashScreen *) ptr;
2239 dest = (wxTopLevelWindow *) src;
2240 return (void *) dest;
2241 }
2242
2243 static void *SwigwxSplashScreenTowxWindow(void *ptr) {
2244 wxSplashScreen *src;
2245 wxWindow *dest;
2246 src = (wxSplashScreen *) ptr;
2247 dest = (wxWindow *) src;
2248 return (void *) dest;
2249 }
2250
2251 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr) {
2252 wxSplashScreen *src;
2253 wxEvtHandler *dest;
2254 src = (wxSplashScreen *) ptr;
2255 dest = (wxEvtHandler *) src;
2256 return (void *) dest;
2257 }
2258
2259 static void *SwigwxSplashScreenTowxObject(void *ptr) {
2260 wxSplashScreen *src;
2261 wxObject *dest;
2262 src = (wxSplashScreen *) ptr;
2263 dest = (wxObject *) src;
2264 return (void *) dest;
2265 }
2266
2267 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2268 static PyObject *_wrap_new_wxSplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject * _resultobj;
2270 wxSplashScreen * _result;
2271 wxBitmap * _arg0;
2272 long _arg1;
2273 int _arg2;
2274 wxWindow * _arg3;
2275 wxWindowID _arg4;
2276 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
2277 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2278 long _arg7 = (long ) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT;
2279 PyObject * _argo0 = 0;
2280 PyObject * _argo3 = 0;
2281 wxPoint temp;
2282 PyObject * _obj5 = 0;
2283 wxSize temp0;
2284 PyObject * _obj6 = 0;
2285 char *_kwnames[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL };
2286 char _ptemp[128];
2287
2288 self = self;
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliOi|OOl:new_wxSplashScreen",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_arg4,&_obj5,&_obj6,&_arg7))
2290 return NULL;
2291 if (_argo0) {
2292 if (_argo0 == Py_None) { _arg0 = NULL; }
2293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2295 return NULL;
2296 }
2297 }
2298 if (_argo3) {
2299 if (_argo3 == Py_None) { _arg3 = NULL; }
2300 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2302 return NULL;
2303 }
2304 }
2305 if (_obj5)
2306 {
2307 _arg5 = &temp;
2308 if (! wxPoint_helper(_obj5, &_arg5))
2309 return NULL;
2310 }
2311 if (_obj6)
2312 {
2313 _arg6 = &temp0;
2314 if (! wxSize_helper(_obj6, &_arg6))
2315 return NULL;
2316 }
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 _result = (wxSplashScreen *)new_wxSplashScreen(*_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) return NULL;
2323 } if (_result) {
2324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreen_p");
2325 _resultobj = Py_BuildValue("s",_ptemp);
2326 } else {
2327 Py_INCREF(Py_None);
2328 _resultobj = Py_None;
2329 }
2330 return _resultobj;
2331 }
2332
2333 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2334 static PyObject *_wrap_wxSplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject * _resultobj;
2336 long _result;
2337 wxSplashScreen * _arg0;
2338 PyObject * _argo0 = 0;
2339 char *_kwnames[] = { "self", NULL };
2340
2341 self = self;
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashStyle",_kwnames,&_argo0))
2343 return NULL;
2344 if (_argo0) {
2345 if (_argo0 == Py_None) { _arg0 = NULL; }
2346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2348 return NULL;
2349 }
2350 }
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 _result = (long )wxSplashScreen_GetSplashStyle(_arg0);
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) return NULL;
2357 } _resultobj = Py_BuildValue("l",_result);
2358 return _resultobj;
2359 }
2360
2361 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2362 static PyObject *_wrap_wxSplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject * _resultobj;
2364 wxSplashScreenWindow * _result;
2365 wxSplashScreen * _arg0;
2366 PyObject * _argo0 = 0;
2367 char *_kwnames[] = { "self", NULL };
2368 char _ptemp[128];
2369
2370 self = self;
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashWindow",_kwnames,&_argo0))
2372 return NULL;
2373 if (_argo0) {
2374 if (_argo0 == Py_None) { _arg0 = NULL; }
2375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2377 return NULL;
2378 }
2379 }
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 _result = (wxSplashScreenWindow *)wxSplashScreen_GetSplashWindow(_arg0);
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) return NULL;
2386 } if (_result) {
2387 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p");
2388 _resultobj = Py_BuildValue("s",_ptemp);
2389 } else {
2390 Py_INCREF(Py_None);
2391 _resultobj = Py_None;
2392 }
2393 return _resultobj;
2394 }
2395
2396 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2397 static PyObject *_wrap_wxSplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 int _result;
2400 wxSplashScreen * _arg0;
2401 PyObject * _argo0 = 0;
2402 char *_kwnames[] = { "self", NULL };
2403
2404 self = self;
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetTimeout",_kwnames,&_argo0))
2406 return NULL;
2407 if (_argo0) {
2408 if (_argo0 == Py_None) { _arg0 = NULL; }
2409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2411 return NULL;
2412 }
2413 }
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 _result = (int )wxSplashScreen_GetTimeout(_arg0);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) return NULL;
2420 } _resultobj = Py_BuildValue("i",_result);
2421 return _resultobj;
2422 }
2423
2424 static PyMethodDef framescMethods[] = {
2425 { "wxSplashScreen_GetTimeout", (PyCFunction) _wrap_wxSplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
2426 { "wxSplashScreen_GetSplashWindow", (PyCFunction) _wrap_wxSplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
2427 { "wxSplashScreen_GetSplashStyle", (PyCFunction) _wrap_wxSplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
2428 { "new_wxSplashScreen", (PyCFunction) _wrap_new_wxSplashScreen, METH_VARARGS | METH_KEYWORDS },
2429 { "wxSplashScreenWindow_GetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
2430 { "wxSplashScreenWindow_SetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
2431 { "new_wxSplashScreenWindow", (PyCFunction) _wrap_new_wxSplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
2432 { "wxMiniFrame_Create", (PyCFunction) _wrap_wxMiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
2433 { "new_wxPreMiniFrame", (PyCFunction) _wrap_new_wxPreMiniFrame, METH_VARARGS | METH_KEYWORDS },
2434 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
2435 { "wxDialog_CreateButtonSizer", (PyCFunction) _wrap_wxDialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
2436 { "wxDialog_CreateTextSizer", (PyCFunction) _wrap_wxDialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
2437 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
2438 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
2439 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2440 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
2441 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
2442 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
2443 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
2444 { "wxDialog_Create", (PyCFunction) _wrap_wxDialog_Create, METH_VARARGS | METH_KEYWORDS },
2445 { "new_wxPreDialog", (PyCFunction) _wrap_new_wxPreDialog, METH_VARARGS | METH_KEYWORDS },
2446 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
2447 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
2448 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
2449 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
2450 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
2451 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
2452 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
2453 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
2454 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
2455 { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
2456 { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
2457 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
2458 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
2459 { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
2460 { "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS },
2461 { "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS },
2462 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
2463 { "wxTopLevelWindow_GetTitle", (PyCFunction) _wrap_wxTopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
2464 { "wxTopLevelWindow_SetTitle", (PyCFunction) _wrap_wxTopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
2465 { "wxTopLevelWindow_IsFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
2466 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
2467 { "wxTopLevelWindow_SetIcon", (PyCFunction) _wrap_wxTopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
2468 { "wxTopLevelWindow_GetIcon", (PyCFunction) _wrap_wxTopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
2469 { "wxTopLevelWindow_IsIconized", (PyCFunction) _wrap_wxTopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
2470 { "wxTopLevelWindow_IsMaximized", (PyCFunction) _wrap_wxTopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
2471 { "wxTopLevelWindow_Iconize", (PyCFunction) _wrap_wxTopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
2472 { "wxTopLevelWindow_Restore", (PyCFunction) _wrap_wxTopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
2473 { "wxTopLevelWindow_Maximize", (PyCFunction) _wrap_wxTopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
2474 { "wxTopLevelWindow_Create", (PyCFunction) _wrap_wxTopLevelWindow_Create, METH_VARARGS | METH_KEYWORDS },
2475 { "new_wxPreTopLevelWindow", (PyCFunction) _wrap_new_wxPreTopLevelWindow, METH_VARARGS | METH_KEYWORDS },
2476 { "new_wxTopLevelWindow", (PyCFunction) _wrap_new_wxTopLevelWindow, METH_VARARGS | METH_KEYWORDS },
2477 { NULL, NULL }
2478 };
2479 #ifdef __cplusplus
2480 }
2481 #endif
2482 /*
2483 * This table is used by the pointer type-checker
2484 */
2485 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2486 { "_signed_long","_long",0},
2487 { "_wxPrintQuality","_wxCoord",0},
2488 { "_wxPrintQuality","_int",0},
2489 { "_wxPrintQuality","_signed_int",0},
2490 { "_wxPrintQuality","_unsigned_int",0},
2491 { "_wxPrintQuality","_wxWindowID",0},
2492 { "_wxPrintQuality","_uint",0},
2493 { "_wxPrintQuality","_EBool",0},
2494 { "_wxPrintQuality","_size_t",0},
2495 { "_wxPrintQuality","_time_t",0},
2496 { "_byte","_unsigned_char",0},
2497 { "_long","_unsigned_long",0},
2498 { "_long","_signed_long",0},
2499 { "_size_t","_wxCoord",0},
2500 { "_size_t","_wxPrintQuality",0},
2501 { "_size_t","_time_t",0},
2502 { "_size_t","_unsigned_int",0},
2503 { "_size_t","_int",0},
2504 { "_size_t","_wxWindowID",0},
2505 { "_size_t","_uint",0},
2506 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow},
2507 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow},
2508 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow},
2509 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow},
2510 { "_uint","_wxCoord",0},
2511 { "_uint","_wxPrintQuality",0},
2512 { "_uint","_time_t",0},
2513 { "_uint","_size_t",0},
2514 { "_uint","_unsigned_int",0},
2515 { "_uint","_int",0},
2516 { "_uint","_wxWindowID",0},
2517 { "_wxChar","_char",0},
2518 { "_char","_wxChar",0},
2519 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2520 { "_EBool","_wxCoord",0},
2521 { "_EBool","_wxPrintQuality",0},
2522 { "_EBool","_signed_int",0},
2523 { "_EBool","_int",0},
2524 { "_EBool","_wxWindowID",0},
2525 { "_unsigned_long","_long",0},
2526 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2527 { "_signed_int","_wxCoord",0},
2528 { "_signed_int","_wxPrintQuality",0},
2529 { "_signed_int","_EBool",0},
2530 { "_signed_int","_wxWindowID",0},
2531 { "_signed_int","_int",0},
2532 { "_WXTYPE","_short",0},
2533 { "_WXTYPE","_signed_short",0},
2534 { "_WXTYPE","_unsigned_short",0},
2535 { "_unsigned_short","_WXTYPE",0},
2536 { "_unsigned_short","_short",0},
2537 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject},
2538 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject},
2539 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject},
2540 { "_wxObject","_wxDialog",SwigwxDialogTowxObject},
2541 { "_wxObject","_wxFrame",SwigwxFrameTowxObject},
2542 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject},
2543 { "_signed_short","_WXTYPE",0},
2544 { "_signed_short","_short",0},
2545 { "_unsigned_char","_byte",0},
2546 { "_unsigned_int","_wxCoord",0},
2547 { "_unsigned_int","_wxPrintQuality",0},
2548 { "_unsigned_int","_time_t",0},
2549 { "_unsigned_int","_size_t",0},
2550 { "_unsigned_int","_uint",0},
2551 { "_unsigned_int","_wxWindowID",0},
2552 { "_unsigned_int","_int",0},
2553 { "_short","_WXTYPE",0},
2554 { "_short","_unsigned_short",0},
2555 { "_short","_signed_short",0},
2556 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame},
2557 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
2558 { "_wxWindowID","_wxCoord",0},
2559 { "_wxWindowID","_wxPrintQuality",0},
2560 { "_wxWindowID","_time_t",0},
2561 { "_wxWindowID","_size_t",0},
2562 { "_wxWindowID","_EBool",0},
2563 { "_wxWindowID","_uint",0},
2564 { "_wxWindowID","_int",0},
2565 { "_wxWindowID","_signed_int",0},
2566 { "_wxWindowID","_unsigned_int",0},
2567 { "_int","_wxCoord",0},
2568 { "_int","_wxPrintQuality",0},
2569 { "_int","_time_t",0},
2570 { "_int","_size_t",0},
2571 { "_int","_EBool",0},
2572 { "_int","_uint",0},
2573 { "_int","_wxWindowID",0},
2574 { "_int","_unsigned_int",0},
2575 { "_int","_signed_int",0},
2576 { "_time_t","_wxCoord",0},
2577 { "_time_t","_wxPrintQuality",0},
2578 { "_time_t","_unsigned_int",0},
2579 { "_time_t","_int",0},
2580 { "_time_t","_wxWindowID",0},
2581 { "_time_t","_uint",0},
2582 { "_time_t","_size_t",0},
2583 { "_wxCoord","_int",0},
2584 { "_wxCoord","_signed_int",0},
2585 { "_wxCoord","_unsigned_int",0},
2586 { "_wxCoord","_wxWindowID",0},
2587 { "_wxCoord","_uint",0},
2588 { "_wxCoord","_EBool",0},
2589 { "_wxCoord","_size_t",0},
2590 { "_wxCoord","_time_t",0},
2591 { "_wxCoord","_wxPrintQuality",0},
2592 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler},
2593 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler},
2594 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
2595 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
2596 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
2597 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler},
2598 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow},
2599 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow},
2600 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
2601 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
2602 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
2603 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow},
2604 {0,0,0}};
2605
2606 static PyObject *SWIG_globals;
2607 #ifdef __cplusplus
2608 extern "C"
2609 #endif
2610 SWIGEXPORT(void) initframesc() {
2611 PyObject *m, *d;
2612 SWIG_globals = SWIG_newvarlink();
2613 m = Py_InitModule("framesc", framescMethods);
2614 d = PyModule_GetDict(m);
2615 PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR));
2616 PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR));
2617 PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR));
2618 PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER));
2619 PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION));
2620 PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL));
2621 PyDict_SetItemString(d,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG));
2622 PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT));
2623 PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN));
2624 PyDict_SetItemString(d,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE));
2625 PyDict_SetItemString(d,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT));
2626 PyDict_SetItemString(d,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT));
2627 {
2628 int i;
2629 for (i = 0; _swig_mapping[i].n1; i++)
2630 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2631 }
2632 }