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