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