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