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