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