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