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