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