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