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