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