]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/frames.cpp
fixed outdated filenames
[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
a323d3bd
RD
518#define wxTopLevelWindow_SetIcons(_swigobj,_swigarg0) (_swigobj->SetIcons(_swigarg0))
519static PyObject *_wrap_wxTopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
520 PyObject * _resultobj;
521 wxTopLevelWindow * _arg0;
522 wxIconBundle * _arg1;
523 PyObject * _argo0 = 0;
524 PyObject * _argo1 = 0;
525 char *_kwnames[] = { "self","icons", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetIcons",_kwnames,&_argo0,&_argo1))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetIcons. Expected _wxTopLevelWindow_p.");
534 return NULL;
535 }
536 }
537 if (_argo1) {
538 if (_argo1 == Py_None) { _arg1 = NULL; }
539 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIconBundle_p")) {
540 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_SetIcons. Expected _wxIconBundle_p.");
541 return NULL;
542 }
543 }
544{
545 PyThreadState* __tstate = wxPyBeginAllowThreads();
546 wxTopLevelWindow_SetIcons(_arg0,*_arg1);
547
548 wxPyEndAllowThreads(__tstate);
549 if (PyErr_Occurred()) return NULL;
550} Py_INCREF(Py_None);
551 _resultobj = Py_None;
552 return _resultobj;
553}
554
65191ae8
RD
555#define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
556static PyObject *_wrap_wxTopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 557 PyObject * _resultobj;
65191ae8
RD
558 bool _result;
559 wxTopLevelWindow * _arg0;
9c039d08 560 bool _arg1;
65191ae8 561 long _arg2 = (long ) (wxFULLSCREEN_ALL);
1d99702e 562 PyObject * _argo0 = 0;
9c039d08 563 int tempbool1;
65191ae8 564 char *_kwnames[] = { "self","show","style", NULL };
9c039d08
RD
565
566 self = self;
65191ae8 567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2))
9c039d08 568 return NULL;
1d99702e
RD
569 if (_argo0) {
570 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
9c039d08
RD
573 return NULL;
574 }
575 }
576 _arg1 = (bool ) tempbool1;
cf694132 577{
474c48f9 578 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 579 _result = (bool )wxTopLevelWindow_ShowFullScreen(_arg0,_arg1,_arg2);
cf694132 580
474c48f9 581 wxPyEndAllowThreads(__tstate);
4dfaa61e 582 if (PyErr_Occurred()) return NULL;
65191ae8 583} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
584 return _resultobj;
585}
586
65191ae8
RD
587#define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
588static PyObject *_wrap_wxTopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
589 PyObject * _resultobj;
590 bool _result;
65191ae8 591 wxTopLevelWindow * _arg0;
1d99702e 592 PyObject * _argo0 = 0;
efc5f224 593 char *_kwnames[] = { "self", NULL };
9c039d08
RD
594
595 self = self;
65191ae8 596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsFullScreen",_kwnames,&_argo0))
9c039d08 597 return NULL;
1d99702e
RD
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
9c039d08
RD
602 return NULL;
603 }
604 }
cf694132 605{
474c48f9 606 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 607 _result = (bool )wxTopLevelWindow_IsFullScreen(_arg0);
cf694132 608
474c48f9 609 wxPyEndAllowThreads(__tstate);
4dfaa61e 610 if (PyErr_Occurred()) return NULL;
cf694132 611} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
612 return _resultobj;
613}
614
65191ae8
RD
615#define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
616static PyObject *_wrap_wxTopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 617 PyObject * _resultobj;
65191ae8
RD
618 wxTopLevelWindow * _arg0;
619 wxString * _arg1;
1d99702e 620 PyObject * _argo0 = 0;
65191ae8
RD
621 PyObject * _obj1 = 0;
622 char *_kwnames[] = { "self","title", NULL };
9c039d08
RD
623
624 self = self;
65191ae8 625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetTitle",_kwnames,&_argo0,&_obj1))
9c039d08 626 return NULL;
1d99702e
RD
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
9c039d08
RD
631 return NULL;
632 }
633 }
cf694132 634{
c8bc7bb8
RD
635 _arg1 = wxString_in_helper(_obj1);
636 if (_arg1 == NULL)
f6bcfd97 637 return NULL;
65191ae8 638}
f6bcfd97 639{
474c48f9 640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 641 wxTopLevelWindow_SetTitle(_arg0,*_arg1);
f6bcfd97 642
474c48f9 643 wxPyEndAllowThreads(__tstate);
4dfaa61e 644 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
645} Py_INCREF(Py_None);
646 _resultobj = Py_None;
65191ae8
RD
647{
648 if (_obj1)
649 delete _arg1;
650}
f6bcfd97
BP
651 return _resultobj;
652}
653
65191ae8
RD
654#define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
655static PyObject *_wrap_wxTopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 656 PyObject * _resultobj;
65191ae8
RD
657 wxString * _result;
658 wxTopLevelWindow * _arg0;
1d99702e 659 PyObject * _argo0 = 0;
65191ae8 660 char *_kwnames[] = { "self", NULL };
9c039d08
RD
661
662 self = self;
65191ae8 663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_GetTitle",_kwnames,&_argo0))
9c039d08 664 return NULL;
1d99702e
RD
665 if (_argo0) {
666 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) {
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
9c039d08
RD
669 return NULL;
670 }
671 }
cf694132 672{
474c48f9 673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 674 _result = new wxString (wxTopLevelWindow_GetTitle(_arg0));
cf694132 675
474c48f9 676 wxPyEndAllowThreads(__tstate);
4dfaa61e 677 if (PyErr_Occurred()) return NULL;
65191ae8 678}{
c8bc7bb8
RD
679#if wxUSE_UNICODE
680 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
681#else
65191ae8 682 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 683#endif
65191ae8
RD
684}
685{
686 delete _result;
687}
9c039d08
RD
688 return _resultobj;
689}
690
65191ae8
RD
691static void *SwigwxFrameTowxTopLevelWindow(void *ptr) {
692 wxFrame *src;
693 wxTopLevelWindow *dest;
694 src = (wxFrame *) ptr;
695 dest = (wxTopLevelWindow *) src;
696 return (void *) dest;
697}
698
699static void *SwigwxFrameTowxWindow(void *ptr) {
700 wxFrame *src;
701 wxWindow *dest;
702 src = (wxFrame *) ptr;
703 dest = (wxWindow *) src;
704 return (void *) dest;
705}
706
707static void *SwigwxFrameTowxEvtHandler(void *ptr) {
708 wxFrame *src;
709 wxEvtHandler *dest;
710 src = (wxFrame *) ptr;
711 dest = (wxEvtHandler *) src;
712 return (void *) dest;
713}
714
715static void *SwigwxFrameTowxObject(void *ptr) {
716 wxFrame *src;
717 wxObject *dest;
718 src = (wxFrame *) ptr;
719 dest = (wxObject *) src;
720 return (void *) dest;
721}
722
723#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
724static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
725 PyObject * _resultobj;
726 wxFrame * _result;
727 wxWindow * _arg0;
728 wxWindowID _arg1;
729 wxString * _arg2;
730 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
731 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
732 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
9a74fcaf 733 wxString * _arg6 = (wxString *) &wxPyFrameNameStr;
65191ae8
RD
734 PyObject * _argo0 = 0;
735 PyObject * _obj2 = 0;
736 wxPoint temp;
737 PyObject * _obj3 = 0;
738 wxSize temp0;
739 PyObject * _obj4 = 0;
9a74fcaf 740 PyObject * _obj6 = 0;
65191ae8
RD
741 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
742 char _ptemp[128];
743
744 self = self;
9a74fcaf 745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
65191ae8
RD
746 return NULL;
747 if (_argo0) {
748 if (_argo0 == Py_None) { _arg0 = NULL; }
749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
751 return NULL;
752 }
753 }
754{
c8bc7bb8
RD
755 _arg2 = wxString_in_helper(_obj2);
756 if (_arg2 == NULL)
65191ae8 757 return NULL;
65191ae8
RD
758}
759 if (_obj3)
760{
761 _arg3 = &temp;
762 if (! wxPoint_helper(_obj3, &_arg3))
763 return NULL;
764}
765 if (_obj4)
766{
767 _arg4 = &temp0;
768 if (! wxSize_helper(_obj4, &_arg4))
769 return NULL;
9a74fcaf
RD
770}
771 if (_obj6)
772{
773 _arg6 = wxString_in_helper(_obj6);
774 if (_arg6 == NULL)
775 return NULL;
65191ae8
RD
776}
777{
474c48f9 778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 779 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
65191ae8 780
474c48f9 781 wxPyEndAllowThreads(__tstate);
65191ae8
RD
782 if (PyErr_Occurred()) return NULL;
783} if (_result) {
784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
785 _resultobj = Py_BuildValue("s",_ptemp);
786 } else {
787 Py_INCREF(Py_None);
788 _resultobj = Py_None;
789 }
790{
791 if (_obj2)
792 delete _arg2;
9a74fcaf
RD
793}
794{
795 if (_obj6)
796 delete _arg6;
65191ae8
RD
797}
798 return _resultobj;
799}
800
801#define new_wxPreFrame() (new wxFrame())
802static PyObject *_wrap_new_wxPreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
803 PyObject * _resultobj;
804 wxFrame * _result;
805 char *_kwnames[] = { NULL };
806 char _ptemp[128];
807
808 self = self;
809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFrame",_kwnames))
810 return NULL;
811{
474c48f9 812 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 813 _result = (wxFrame *)new_wxPreFrame();
65191ae8 814
474c48f9 815 wxPyEndAllowThreads(__tstate);
65191ae8
RD
816 if (PyErr_Occurred()) return NULL;
817} if (_result) {
818 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
819 _resultobj = Py_BuildValue("s",_ptemp);
820 } else {
821 Py_INCREF(Py_None);
822 _resultobj = Py_None;
823 }
824 return _resultobj;
825}
826
827#define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
828static PyObject *_wrap_wxFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
829 PyObject * _resultobj;
830 bool _result;
831 wxFrame * _arg0;
832 wxWindow * _arg1;
833 wxWindowID _arg2;
834 wxString * _arg3;
835 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
836 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
837 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
9a74fcaf 838 wxString * _arg7 = (wxString *) &wxPyFrameNameStr;
1d99702e
RD
839 PyObject * _argo0 = 0;
840 PyObject * _argo1 = 0;
65191ae8
RD
841 PyObject * _obj3 = 0;
842 wxPoint temp;
843 PyObject * _obj4 = 0;
844 wxSize temp0;
845 PyObject * _obj5 = 0;
9a74fcaf 846 PyObject * _obj7 = 0;
65191ae8 847 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
848
849 self = self;
9a74fcaf 850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
9c039d08 851 return NULL;
1d99702e
RD
852 if (_argo0) {
853 if (_argo0 == Py_None) { _arg0 = NULL; }
854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
65191ae8 855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
9c039d08
RD
856 return NULL;
857 }
858 }
1d99702e
RD
859 if (_argo1) {
860 if (_argo1 == Py_None) { _arg1 = NULL; }
65191ae8
RD
861 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
862 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
9c039d08
RD
863 return NULL;
864 }
865 }
65191ae8 866{
c8bc7bb8
RD
867 _arg3 = wxString_in_helper(_obj3);
868 if (_arg3 == NULL)
65191ae8 869 return NULL;
65191ae8
RD
870}
871 if (_obj4)
872{
873 _arg4 = &temp;
874 if (! wxPoint_helper(_obj4, &_arg4))
875 return NULL;
876}
877 if (_obj5)
878{
879 _arg5 = &temp0;
880 if (! wxSize_helper(_obj5, &_arg5))
881 return NULL;
9a74fcaf
RD
882}
883 if (_obj7)
884{
885 _arg7 = wxString_in_helper(_obj7);
886 if (_arg7 == NULL)
887 return NULL;
65191ae8 888}
cf694132 889{
474c48f9 890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 891 _result = (bool )wxFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
cf694132 892
474c48f9 893 wxPyEndAllowThreads(__tstate);
4dfaa61e 894 if (PyErr_Occurred()) return NULL;
65191ae8
RD
895} _resultobj = Py_BuildValue("i",_result);
896{
897 if (_obj3)
898 delete _arg3;
9a74fcaf
RD
899}
900{
901 if (_obj7)
902 delete _arg7;
65191ae8
RD
903}
904 return _resultobj;
905}
906
907#define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
908static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
909 PyObject * _resultobj;
910 wxPoint * _result;
911 wxFrame * _arg0;
912 PyObject * _argo0 = 0;
913 char *_kwnames[] = { "self", NULL };
914 char _ptemp[128];
915
916 self = self;
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
918 return NULL;
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
923 return NULL;
924 }
925 }
926{
474c48f9 927 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 928 _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
65191ae8 929
474c48f9 930 wxPyEndAllowThreads(__tstate);
65191ae8
RD
931 if (PyErr_Occurred()) return NULL;
932} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
933 _resultobj = Py_BuildValue("s",_ptemp);
9c039d08
RD
934 return _resultobj;
935}
936
937#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
efc5f224 938static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
939 PyObject * _resultobj;
940 wxFrame * _arg0;
941 wxMenuBar * _arg1;
1d99702e
RD
942 PyObject * _argo0 = 0;
943 PyObject * _argo1 = 0;
65191ae8 944 char *_kwnames[] = { "self","menubar", NULL };
9c039d08
RD
945
946 self = self;
efc5f224 947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
9c039d08 948 return NULL;
1d99702e
RD
949 if (_argo0) {
950 if (_argo0 == Py_None) { _arg0 = NULL; }
951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
953 return NULL;
954 }
955 }
1d99702e
RD
956 if (_argo1) {
957 if (_argo1 == Py_None) { _arg1 = NULL; }
958 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
9c039d08
RD
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
960 return NULL;
961 }
962 }
cf694132 963{
474c48f9 964 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 965 wxFrame_SetMenuBar(_arg0,_arg1);
cf694132 966
474c48f9 967 wxPyEndAllowThreads(__tstate);
4dfaa61e 968 if (PyErr_Occurred()) return NULL;
cf694132 969} Py_INCREF(Py_None);
9c039d08
RD
970 _resultobj = Py_None;
971 return _resultobj;
972}
973
65191ae8
RD
974#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
975static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 976 PyObject * _resultobj;
65191ae8 977 wxMenuBar * _result;
9c039d08 978 wxFrame * _arg0;
1d99702e 979 PyObject * _argo0 = 0;
65191ae8 980 char *_kwnames[] = { "self", NULL };
9c039d08
RD
981
982 self = self;
65191ae8 983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
9c039d08 984 return NULL;
1d99702e
RD
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
65191ae8 988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
9c039d08
RD
989 return NULL;
990 }
991 }
cf694132 992{
474c48f9 993 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 994 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
65191ae8 995
474c48f9 996 wxPyEndAllowThreads(__tstate);
65191ae8
RD
997 if (PyErr_Occurred()) return NULL;
998}{ _resultobj = wxPyMake_wxObject(_result); }
999 return _resultobj;
1000}
1001
1002#define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1003static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject * _resultobj;
1005 bool _result;
1006 wxFrame * _arg0;
1007 int _arg1;
1008 PyObject * _argo0 = 0;
1009 char *_kwnames[] = { "self","id", NULL };
1010
1011 self = self;
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
1013 return NULL;
1014 if (_argo0) {
1015 if (_argo0 == Py_None) { _arg0 = NULL; }
1016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1018 return NULL;
1019 }
1020 }
1021{
474c48f9 1022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1023 _result = (bool )wxFrame_Command(_arg0,_arg1);
65191ae8 1024
474c48f9 1025 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1026 if (PyErr_Occurred()) return NULL;
1027} _resultobj = Py_BuildValue("i",_result);
1028 return _resultobj;
1029}
1030
1031#define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1032static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 bool _result;
1035 wxFrame * _arg0;
1036 int _arg1;
1037 PyObject * _argo0 = 0;
1038 char *_kwnames[] = { "self","id", NULL };
1039
1040 self = self;
1041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1))
1042 return NULL;
1043 if (_argo0) {
1044 if (_argo0 == Py_None) { _arg0 = NULL; }
1045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1047 return NULL;
1048 }
1049 }
1050{
474c48f9 1051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1052 _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
65191ae8 1053
474c48f9 1054 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1055 if (PyErr_Occurred()) return NULL;
1056} _resultobj = Py_BuildValue("i",_result);
1057 return _resultobj;
1058}
1059
1060#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1061static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxStatusBar * _result;
1064 wxFrame * _arg0;
1065 int _arg1 = (int ) 1;
1066 long _arg2 = (long ) wxST_SIZEGRIP;
1067 wxWindowID _arg3 = (wxWindowID ) -1;
9a74fcaf 1068 wxString * _arg4 = (wxString *) &wxPyStatusLineNameStr;
65191ae8 1069 PyObject * _argo0 = 0;
9a74fcaf 1070 PyObject * _obj4 = 0;
65191ae8
RD
1071 char *_kwnames[] = { "self","number","style","id","name", NULL };
1072
1073 self = self;
9a74fcaf 1074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iliO:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4))
65191ae8
RD
1075 return NULL;
1076 if (_argo0) {
1077 if (_argo0 == Py_None) { _arg0 = NULL; }
1078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1080 return NULL;
1081 }
1082 }
9a74fcaf
RD
1083 if (_obj4)
1084{
1085 _arg4 = wxString_in_helper(_obj4);
1086 if (_arg4 == NULL)
1087 return NULL;
1088}
65191ae8 1089{
474c48f9 1090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1091 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,*_arg4);
65191ae8 1092
474c48f9 1093 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1094 if (PyErr_Occurred()) return NULL;
1095}{ _resultobj = wxPyMake_wxObject(_result); }
9a74fcaf
RD
1096{
1097 if (_obj4)
1098 delete _arg4;
1099}
65191ae8
RD
1100 return _resultobj;
1101}
1102
1103#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1104static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxStatusBar * _result;
1107 wxFrame * _arg0;
1108 PyObject * _argo0 = 0;
1109 char *_kwnames[] = { "self", NULL };
1110
1111 self = self;
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
1113 return NULL;
1114 if (_argo0) {
1115 if (_argo0 == Py_None) { _arg0 = NULL; }
1116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1118 return NULL;
1119 }
1120 }
1121{
474c48f9 1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1123 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
65191ae8 1124
474c48f9 1125 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1126 if (PyErr_Occurred()) return NULL;
1127}{ _resultobj = wxPyMake_wxObject(_result); }
1128 return _resultobj;
1129}
1130
1131#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1132static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject * _resultobj;
1134 wxFrame * _arg0;
1135 wxStatusBar * _arg1;
1136 PyObject * _argo0 = 0;
1137 PyObject * _argo1 = 0;
1138 char *_kwnames[] = { "self","statBar", NULL };
1139
1140 self = self;
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
1142 return NULL;
1143 if (_argo0) {
1144 if (_argo0 == Py_None) { _arg0 = NULL; }
1145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1147 return NULL;
1148 }
1149 }
1150 if (_argo1) {
1151 if (_argo1 == Py_None) { _arg1 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1154 return NULL;
1155 }
1156 }
1157{
474c48f9 1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1159 wxFrame_SetStatusBar(_arg0,_arg1);
65191ae8 1160
474c48f9 1161 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1162 if (PyErr_Occurred()) return NULL;
1163} Py_INCREF(Py_None);
1164 _resultobj = Py_None;
1165 return _resultobj;
1166}
1167
1168#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1169static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 wxFrame * _arg0;
1172 wxString * _arg1;
1173 int _arg2 = (int ) 0;
1174 PyObject * _argo0 = 0;
1175 PyObject * _obj1 = 0;
1176 char *_kwnames[] = { "self","text","number", NULL };
1177
1178 self = self;
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1185 return NULL;
1186 }
1187 }
1188{
c8bc7bb8
RD
1189 _arg1 = wxString_in_helper(_obj1);
1190 if (_arg1 == NULL)
65191ae8 1191 return NULL;
65191ae8
RD
1192}
1193{
474c48f9 1194 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1195 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
65191ae8 1196
474c48f9 1197 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1198 if (PyErr_Occurred()) return NULL;
1199} Py_INCREF(Py_None);
1200 _resultobj = Py_None;
1201{
1202 if (_obj1)
1203 delete _arg1;
1204}
1205 return _resultobj;
1206}
1207
1208#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1209static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
1210 PyObject * _resultobj;
1211 wxFrame * _arg0;
1212 int _arg1;
1213 int * _arg2;
1214 PyObject * _argo0 = 0;
1215 PyObject * _obj2 = 0;
1216 char *_kwnames[] = { "self","choices", NULL };
1217
1218 self = self;
1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
1220 return NULL;
1221 if (_argo0) {
1222 if (_argo0 == Py_None) { _arg0 = NULL; }
1223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1225 return NULL;
1226 }
1227 }
1228 if (_obj2)
1229{
1230 _arg2 = int_LIST_helper(_obj2);
1231 if (_arg2 == NULL) {
1232 return NULL;
1233 }
1234}
1235{
1236 if (_obj2) {
1237 _arg1 = PyList_Size(_obj2);
1238 }
1239 else {
1240 _arg1 = 0;
1241 }
1242}
1243{
474c48f9 1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1245 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
65191ae8 1246
474c48f9 1247 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1248 if (PyErr_Occurred()) return NULL;
1249} Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251{
1252 delete [] _arg2;
1253}
1254 return _resultobj;
1255}
1256
1257#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1258static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject * _resultobj;
1260 wxToolBar * _result;
1261 wxFrame * _arg0;
1262 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
1263 wxWindowID _arg2 = (wxWindowID ) -1;
9a74fcaf 1264 wxString * _arg3 = (wxString *) &wxPyToolBarNameStr;
65191ae8 1265 PyObject * _argo0 = 0;
9a74fcaf 1266 PyObject * _obj3 = 0;
65191ae8
RD
1267 char *_kwnames[] = { "self","style","id","name", NULL };
1268
1269 self = self;
9a74fcaf 1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|liO:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
65191ae8
RD
1271 return NULL;
1272 if (_argo0) {
1273 if (_argo0 == Py_None) { _arg0 = NULL; }
1274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1276 return NULL;
1277 }
1278 }
9a74fcaf
RD
1279 if (_obj3)
1280{
1281 _arg3 = wxString_in_helper(_obj3);
1282 if (_arg3 == NULL)
1283 return NULL;
1284}
65191ae8 1285{
474c48f9 1286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1287 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,*_arg3);
65191ae8 1288
474c48f9 1289 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1290 if (PyErr_Occurred()) return NULL;
1291}{ _resultobj = wxPyMake_wxObject(_result); }
9a74fcaf
RD
1292{
1293 if (_obj3)
1294 delete _arg3;
1295}
65191ae8
RD
1296 return _resultobj;
1297}
1298
1299#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1300static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject * _resultobj;
1302 wxToolBar * _result;
1303 wxFrame * _arg0;
1304 PyObject * _argo0 = 0;
1305 char *_kwnames[] = { "self", NULL };
1306
1307 self = self;
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
1309 return NULL;
1310 if (_argo0) {
1311 if (_argo0 == Py_None) { _arg0 = NULL; }
1312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1314 return NULL;
1315 }
1316 }
1317{
474c48f9 1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1319 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
65191ae8 1320
474c48f9 1321 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1322 if (PyErr_Occurred()) return NULL;
1323}{ _resultobj = wxPyMake_wxObject(_result); }
1324 return _resultobj;
1325}
1326
1327#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1328static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 wxFrame * _arg0;
1331 wxToolBar * _arg1;
1332 PyObject * _argo0 = 0;
1333 PyObject * _argo1 = 0;
1334 char *_kwnames[] = { "self","toolbar", NULL };
1335
1336 self = self;
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
1338 return NULL;
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1343 return NULL;
1344 }
1345 }
1346 if (_argo1) {
1347 if (_argo1 == Py_None) { _arg1 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1350 return NULL;
1351 }
1352 }
1353{
474c48f9 1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1355 wxFrame_SetToolBar(_arg0,_arg1);
65191ae8 1356
474c48f9 1357 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1358 if (PyErr_Occurred()) return NULL;
1359} Py_INCREF(Py_None);
1360 _resultobj = Py_None;
1361 return _resultobj;
1362}
1363
1364static void *SwigwxDialogTowxTopLevelWindow(void *ptr) {
1365 wxDialog *src;
1366 wxTopLevelWindow *dest;
1367 src = (wxDialog *) ptr;
1368 dest = (wxTopLevelWindow *) src;
1369 return (void *) dest;
1370}
1371
1372static void *SwigwxDialogTowxWindow(void *ptr) {
1373 wxDialog *src;
1374 wxWindow *dest;
1375 src = (wxDialog *) ptr;
1376 dest = (wxWindow *) src;
1377 return (void *) dest;
1378}
1379
1380static void *SwigwxDialogTowxEvtHandler(void *ptr) {
1381 wxDialog *src;
1382 wxEvtHandler *dest;
1383 src = (wxDialog *) ptr;
1384 dest = (wxEvtHandler *) src;
1385 return (void *) dest;
1386}
1387
1388static void *SwigwxDialogTowxObject(void *ptr) {
1389 wxDialog *src;
1390 wxObject *dest;
1391 src = (wxDialog *) ptr;
1392 dest = (wxObject *) src;
1393 return (void *) dest;
1394}
1395
1396#define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1397static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 wxDialog * _result;
1400 wxWindow * _arg0;
1401 wxWindowID _arg1;
1402 wxString * _arg2;
1403 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1404 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1405 long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE;
9a74fcaf 1406 wxString * _arg6 = (wxString *) &wxPyDialogNameStr;
65191ae8
RD
1407 PyObject * _argo0 = 0;
1408 PyObject * _obj2 = 0;
1409 wxPoint temp;
1410 PyObject * _obj3 = 0;
1411 wxSize temp0;
1412 PyObject * _obj4 = 0;
9a74fcaf 1413 PyObject * _obj6 = 0;
65191ae8
RD
1414 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
1415 char _ptemp[128];
1416
1417 self = self;
9a74fcaf 1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
65191ae8
RD
1419 return NULL;
1420 if (_argo0) {
1421 if (_argo0 == Py_None) { _arg0 = NULL; }
1422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1424 return NULL;
1425 }
1426 }
1427{
c8bc7bb8
RD
1428 _arg2 = wxString_in_helper(_obj2);
1429 if (_arg2 == NULL)
65191ae8 1430 return NULL;
65191ae8
RD
1431}
1432 if (_obj3)
1433{
1434 _arg3 = &temp;
1435 if (! wxPoint_helper(_obj3, &_arg3))
1436 return NULL;
1437}
1438 if (_obj4)
1439{
1440 _arg4 = &temp0;
1441 if (! wxSize_helper(_obj4, &_arg4))
1442 return NULL;
9a74fcaf
RD
1443}
1444 if (_obj6)
1445{
1446 _arg6 = wxString_in_helper(_obj6);
1447 if (_arg6 == NULL)
1448 return NULL;
65191ae8
RD
1449}
1450{
474c48f9 1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1452 _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
65191ae8 1453
474c48f9 1454 wxPyEndAllowThreads(__tstate);
65191ae8
RD
1455 if (PyErr_Occurred()) return NULL;
1456} if (_result) {
1457 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
1458 _resultobj = Py_BuildValue("s",_ptemp);
1459 } else {
1460 Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 }
1463{
1464 if (_obj2)
1465 delete _arg2;
9a74fcaf
RD
1466}
1467{
1468 if (_obj6)
1469 delete _arg6;
65191ae8
RD
1470}
1471 return _resultobj;
1472}
1473
1474#define new_wxPreDialog() (new wxDialog())
1475static PyObject *_wrap_new_wxPreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject * _resultobj;
1477 wxDialog * _result;
1478 char *_kwnames[] = { NULL };
1479 char _ptemp[128];
1480
1481 self = self;
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDialog",_kwnames))
1483 return NULL;
1484{
474c48f9 1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1486 _result = (wxDialog *)new_wxPreDialog();
cf694132 1487
474c48f9 1488 wxPyEndAllowThreads(__tstate);
4dfaa61e 1489 if (PyErr_Occurred()) return NULL;
65191ae8
RD
1490} if (_result) {
1491 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
1492 _resultobj = Py_BuildValue("s",_ptemp);
1493 } else {
1494 Py_INCREF(Py_None);
1495 _resultobj = Py_None;
1496 }
9c039d08
RD
1497 return _resultobj;
1498}
1499
65191ae8
RD
1500#define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1501static PyObject *_wrap_wxDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 1502 PyObject * _resultobj;
65191ae8
RD
1503 bool _result;
1504 wxDialog * _arg0;
1505 wxWindow * _arg1;
1506 wxWindowID _arg2;
1507 wxString * _arg3;
1508 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1509 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1510 long _arg6 = (long ) wxDEFAULT_DIALOG_STYLE;
9a74fcaf 1511 wxString * _arg7 = (wxString *) &wxPyDialogNameStr;
1d99702e 1512 PyObject * _argo0 = 0;
65191ae8
RD
1513 PyObject * _argo1 = 0;
1514 PyObject * _obj3 = 0;
1515 wxPoint temp;
1516 PyObject * _obj4 = 0;
1517 wxSize temp0;
1518 PyObject * _obj5 = 0;
9a74fcaf 1519 PyObject * _obj7 = 0;
65191ae8 1520 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
1521
1522 self = self;
9a74fcaf 1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxDialog_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
9c039d08 1524 return NULL;
1d99702e
RD
1525 if (_argo0) {
1526 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1529 return NULL;
1530 }
1531 }
1532 if (_argo1) {
1533 if (_argo1 == Py_None) { _arg1 = NULL; }
1534 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1535 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
9c039d08
RD
1536 return NULL;
1537 }
1538 }
1539{
c8bc7bb8
RD
1540 _arg3 = wxString_in_helper(_obj3);
1541 if (_arg3 == NULL)
2cd2fac8 1542 return NULL;
65191ae8
RD
1543}
1544 if (_obj4)
1545{
1546 _arg4 = &temp;
1547 if (! wxPoint_helper(_obj4, &_arg4))
1548 return NULL;
1549}
1550 if (_obj5)
1551{
1552 _arg5 = &temp0;
1553 if (! wxSize_helper(_obj5, &_arg5))
1554 return NULL;
9a74fcaf
RD
1555}
1556 if (_obj7)
1557{
1558 _arg7 = wxString_in_helper(_obj7);
1559 if (_arg7 == NULL)
1560 return NULL;
9c039d08 1561}
cf694132 1562{
474c48f9 1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1564 _result = (bool )wxDialog_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
cf694132 1565
474c48f9 1566 wxPyEndAllowThreads(__tstate);
4dfaa61e 1567 if (PyErr_Occurred()) return NULL;
65191ae8 1568} _resultobj = Py_BuildValue("i",_result);
9c039d08 1569{
65191ae8
RD
1570 if (_obj3)
1571 delete _arg3;
9a74fcaf
RD
1572}
1573{
1574 if (_obj7)
1575 delete _arg7;
9c039d08
RD
1576}
1577 return _resultobj;
1578}
1579
65191ae8
RD
1580#define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1581static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 1582 PyObject * _resultobj;
65191ae8
RD
1583 wxDialog * _arg0;
1584 int _arg1 = (int ) wxBOTH;
1d99702e 1585 PyObject * _argo0 = 0;
65191ae8 1586 char *_kwnames[] = { "self","direction", NULL };
9c039d08
RD
1587
1588 self = self;
65191ae8 1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1))
9c039d08 1590 return NULL;
1d99702e
RD
1591 if (_argo0) {
1592 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
9c039d08
RD
1595 return NULL;
1596 }
1597 }
cf694132 1598{
474c48f9 1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1600 wxDialog_Centre(_arg0,_arg1);
cf694132 1601
474c48f9 1602 wxPyEndAllowThreads(__tstate);
4dfaa61e 1603 if (PyErr_Occurred()) return NULL;
cf694132 1604} Py_INCREF(Py_None);
9c039d08 1605 _resultobj = Py_None;
9c039d08
RD
1606 return _resultobj;
1607}
1608
65191ae8
RD
1609#define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1610static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 1611 PyObject * _resultobj;
65191ae8
RD
1612 wxDialog * _arg0;
1613 int _arg1;
1d99702e 1614 PyObject * _argo0 = 0;
65191ae8 1615 char *_kwnames[] = { "self","retCode", NULL };
9c039d08
RD
1616
1617 self = self;
65191ae8 1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1))
9c039d08 1619 return NULL;
1d99702e
RD
1620 if (_argo0) {
1621 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
9c039d08
RD
1624 return NULL;
1625 }
1626 }
cf694132 1627{
474c48f9 1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1629 wxDialog_EndModal(_arg0,_arg1);
cf694132 1630
474c48f9 1631 wxPyEndAllowThreads(__tstate);
4dfaa61e 1632 if (PyErr_Occurred()) return NULL;
cf694132 1633} Py_INCREF(Py_None);
9c039d08 1634 _resultobj = Py_None;
9c039d08
RD
1635 return _resultobj;
1636}
1637
65191ae8
RD
1638#define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1639static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 1640 PyObject * _resultobj;
65191ae8
RD
1641 wxDialog * _arg0;
1642 bool _arg1;
1d99702e 1643 PyObject * _argo0 = 0;
65191ae8
RD
1644 int tempbool1;
1645 char *_kwnames[] = { "self","flag", NULL };
9c039d08
RD
1646
1647 self = self;
65191ae8 1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1))
9c039d08 1649 return NULL;
1d99702e
RD
1650 if (_argo0) {
1651 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
9c039d08
RD
1654 return NULL;
1655 }
1656 }
65191ae8 1657 _arg1 = (bool ) tempbool1;
cf694132 1658{
474c48f9 1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1660 wxDialog_SetModal(_arg0,_arg1);
cf694132 1661
474c48f9 1662 wxPyEndAllowThreads(__tstate);
4dfaa61e 1663 if (PyErr_Occurred()) return NULL;
cf694132 1664} Py_INCREF(Py_None);
9c039d08
RD
1665 _resultobj = Py_None;
1666 return _resultobj;
1667}
1668
65191ae8
RD
1669#define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1670static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1671 PyObject * _resultobj;
65191ae8
RD
1672 bool _result;
1673 wxDialog * _arg0;
f6bcfd97 1674 PyObject * _argo0 = 0;
65191ae8 1675 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1676
1677 self = self;
65191ae8 1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0))
f6bcfd97
BP
1679 return NULL;
1680 if (_argo0) {
1681 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
f6bcfd97
BP
1684 return NULL;
1685 }
1686 }
f6bcfd97 1687{
474c48f9 1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1689 _result = (bool )wxDialog_IsModal(_arg0);
f6bcfd97 1690
474c48f9 1691 wxPyEndAllowThreads(__tstate);
4dfaa61e 1692 if (PyErr_Occurred()) return NULL;
65191ae8 1693} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1694 return _resultobj;
1695}
1696
65191ae8
RD
1697#define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1698static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1699 PyObject * _resultobj;
65191ae8
RD
1700 int _result;
1701 wxDialog * _arg0;
f6bcfd97
BP
1702 PyObject * _argo0 = 0;
1703 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1704
1705 self = self;
65191ae8 1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0))
f6bcfd97
BP
1707 return NULL;
1708 if (_argo0) {
1709 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
f6bcfd97
BP
1712 return NULL;
1713 }
1714 }
1715{
474c48f9 1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1717 _result = (int )wxDialog_ShowModal(_arg0);
f6bcfd97 1718
474c48f9 1719 wxPyEndAllowThreads(__tstate);
4dfaa61e 1720 if (PyErr_Occurred()) return NULL;
65191ae8 1721} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1722 return _resultobj;
1723}
1724
65191ae8
RD
1725#define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1726static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1727 PyObject * _resultobj;
65191ae8
RD
1728 int _result;
1729 wxDialog * _arg0;
f6bcfd97 1730 PyObject * _argo0 = 0;
65191ae8 1731 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1732
1733 self = self;
65191ae8 1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0))
f6bcfd97
BP
1735 return NULL;
1736 if (_argo0) {
1737 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
f6bcfd97
BP
1740 return NULL;
1741 }
1742 }
1743{
474c48f9 1744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1745 _result = (int )wxDialog_GetReturnCode(_arg0);
f6bcfd97 1746
474c48f9 1747 wxPyEndAllowThreads(__tstate);
4dfaa61e 1748 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1749} _resultobj = Py_BuildValue("i",_result);
1750 return _resultobj;
1751}
1752
65191ae8
RD
1753#define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1754static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1755 PyObject * _resultobj;
65191ae8 1756 wxDialog * _arg0;
f6bcfd97
BP
1757 int _arg1;
1758 PyObject * _argo0 = 0;
65191ae8 1759 char *_kwnames[] = { "self","retCode", NULL };
f6bcfd97
BP
1760
1761 self = self;
65191ae8 1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1763 return NULL;
1764 if (_argo0) {
1765 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
f6bcfd97
BP
1768 return NULL;
1769 }
1770 }
1771{
474c48f9 1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1773 wxDialog_SetReturnCode(_arg0,_arg1);
f6bcfd97 1774
474c48f9 1775 wxPyEndAllowThreads(__tstate);
4dfaa61e 1776 if (PyErr_Occurred()) return NULL;
65191ae8
RD
1777} Py_INCREF(Py_None);
1778 _resultobj = Py_None;
f6bcfd97
BP
1779 return _resultobj;
1780}
1781
65191ae8
RD
1782#define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1783static PyObject *_wrap_wxDialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
9df61a29 1784 PyObject * _resultobj;
65191ae8
RD
1785 wxSizer * _result;
1786 wxDialog * _arg0;
1787 wxString * _arg1;
9df61a29 1788 PyObject * _argo0 = 0;
65191ae8
RD
1789 PyObject * _obj1 = 0;
1790 char *_kwnames[] = { "self","message", NULL };
9df61a29
RD
1791
1792 self = self;
65191ae8 1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_CreateTextSizer",_kwnames,&_argo0,&_obj1))
9df61a29
RD
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
9df61a29
RD
1799 return NULL;
1800 }
1801 }
65191ae8 1802{
c8bc7bb8
RD
1803 _arg1 = wxString_in_helper(_obj1);
1804 if (_arg1 == NULL)
65191ae8 1805 return NULL;
65191ae8 1806}
9df61a29 1807{
474c48f9 1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1809 _result = (wxSizer *)wxDialog_CreateTextSizer(_arg0,*_arg1);
9df61a29 1810
474c48f9 1811 wxPyEndAllowThreads(__tstate);
4dfaa61e 1812 if (PyErr_Occurred()) return NULL;
7a9b33db 1813}{ _resultobj = wxPyMake_wxSizer(_result); }
65191ae8
RD
1814{
1815 if (_obj1)
1816 delete _arg1;
1817}
9df61a29
RD
1818 return _resultobj;
1819}
1820
65191ae8
RD
1821#define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1822static PyObject *_wrap_wxDialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
9a08cd12 1823 PyObject * _resultobj;
65191ae8
RD
1824 wxSizer * _result;
1825 wxDialog * _arg0;
1826 long _arg1;
9a08cd12 1827 PyObject * _argo0 = 0;
65191ae8 1828 char *_kwnames[] = { "self","flags", NULL };
9a08cd12
RD
1829
1830 self = self;
65191ae8 1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDialog_CreateButtonSizer",_kwnames,&_argo0,&_arg1))
9a08cd12
RD
1832 return NULL;
1833 if (_argo0) {
1834 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
1835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
1836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
9a08cd12
RD
1837 return NULL;
1838 }
1839 }
1840{
474c48f9 1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1842 _result = (wxSizer *)wxDialog_CreateButtonSizer(_arg0,_arg1);
9a08cd12 1843
474c48f9 1844 wxPyEndAllowThreads(__tstate);
9a08cd12 1845 if (PyErr_Occurred()) return NULL;
7a9b33db 1846}{ _resultobj = wxPyMake_wxSizer(_result); }
9a08cd12
RD
1847 return _resultobj;
1848}
1849
9c039d08
RD
1850static void *SwigwxMiniFrameTowxFrame(void *ptr) {
1851 wxMiniFrame *src;
1852 wxFrame *dest;
1853 src = (wxMiniFrame *) ptr;
1854 dest = (wxFrame *) src;
1855 return (void *) dest;
1856}
1857
65191ae8
RD
1858static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr) {
1859 wxMiniFrame *src;
1860 wxTopLevelWindow *dest;
1861 src = (wxMiniFrame *) ptr;
1862 dest = (wxTopLevelWindow *) src;
1863 return (void *) dest;
1864}
1865
9c039d08
RD
1866static void *SwigwxMiniFrameTowxWindow(void *ptr) {
1867 wxMiniFrame *src;
1868 wxWindow *dest;
1869 src = (wxMiniFrame *) ptr;
1870 dest = (wxWindow *) src;
1871 return (void *) dest;
1872}
1873
1874static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
1875 wxMiniFrame *src;
1876 wxEvtHandler *dest;
1877 src = (wxMiniFrame *) ptr;
1878 dest = (wxEvtHandler *) src;
1879 return (void *) dest;
1880}
1881
9df61a29
RD
1882static void *SwigwxMiniFrameTowxObject(void *ptr) {
1883 wxMiniFrame *src;
1884 wxObject *dest;
1885 src = (wxMiniFrame *) ptr;
1886 dest = (wxObject *) src;
1887 return (void *) dest;
1888}
1889
9c039d08 1890#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 1891static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1892 PyObject * _resultobj;
1893 wxMiniFrame * _result;
1894 wxWindow * _arg0;
1895 wxWindowID _arg1;
1896 wxString * _arg2;
b68dc582
RD
1897 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1898 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1899 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
9a74fcaf 1900 wxString * _arg6 = (wxString *) &wxPyFrameNameStr;
1d99702e 1901 PyObject * _argo0 = 0;
9c039d08 1902 PyObject * _obj2 = 0;
2f90df85
RD
1903 wxPoint temp;
1904 PyObject * _obj3 = 0;
1905 wxSize temp0;
1906 PyObject * _obj4 = 0;
9a74fcaf 1907 PyObject * _obj6 = 0;
efc5f224 1908 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
1909 char _ptemp[128];
1910
1911 self = self;
9a74fcaf 1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
9c039d08 1913 return NULL;
1d99702e
RD
1914 if (_argo0) {
1915 if (_argo0 == Py_None) { _arg0 = NULL; }
1916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
1917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1918 return NULL;
1919 }
1920 }
1921{
c8bc7bb8
RD
1922 _arg2 = wxString_in_helper(_obj2);
1923 if (_arg2 == NULL)
9c039d08 1924 return NULL;
9c039d08 1925}
2f90df85
RD
1926 if (_obj3)
1927{
1928 _arg3 = &temp;
1929 if (! wxPoint_helper(_obj3, &_arg3))
9c039d08 1930 return NULL;
2f90df85
RD
1931}
1932 if (_obj4)
1933{
1934 _arg4 = &temp0;
1935 if (! wxSize_helper(_obj4, &_arg4))
9c039d08 1936 return NULL;
9a74fcaf
RD
1937}
1938 if (_obj6)
1939{
1940 _arg6 = wxString_in_helper(_obj6);
1941 if (_arg6 == NULL)
1942 return NULL;
2f90df85 1943}
cf694132 1944{
474c48f9 1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1946 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 1947
474c48f9 1948 wxPyEndAllowThreads(__tstate);
4dfaa61e 1949 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1950} if (_result) {
1951 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1952 _resultobj = Py_BuildValue("s",_ptemp);
1953 } else {
1954 Py_INCREF(Py_None);
1955 _resultobj = Py_None;
1956 }
9c039d08
RD
1957{
1958 if (_obj2)
1959 delete _arg2;
9a74fcaf
RD
1960}
1961{
1962 if (_obj6)
1963 delete _arg6;
9c039d08
RD
1964}
1965 return _resultobj;
1966}
1967
aa2a5b86
RD
1968#define new_wxPreMiniFrame() (new wxMiniFrame())
1969static PyObject *_wrap_new_wxPreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject * _resultobj;
1971 wxMiniFrame * _result;
1972 char *_kwnames[] = { NULL };
1973 char _ptemp[128];
1974
1975 self = self;
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMiniFrame",_kwnames))
1977 return NULL;
1978{
474c48f9 1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1980 _result = (wxMiniFrame *)new_wxPreMiniFrame();
aa2a5b86 1981
474c48f9 1982 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
1983 if (PyErr_Occurred()) return NULL;
1984} if (_result) {
1985 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1986 _resultobj = Py_BuildValue("s",_ptemp);
1987 } else {
1988 Py_INCREF(Py_None);
1989 _resultobj = Py_None;
1990 }
1991 return _resultobj;
1992}
1993
1994#define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1995static PyObject *_wrap_wxMiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject * _resultobj;
1997 bool _result;
1998 wxMiniFrame * _arg0;
1999 wxWindow * _arg1;
2000 wxWindowID _arg2;
2001 wxString * _arg3;
2002 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2003 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2004 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
9a74fcaf 2005 wxString * _arg7 = (wxString *) &wxPyFrameNameStr;
aa2a5b86
RD
2006 PyObject * _argo0 = 0;
2007 PyObject * _argo1 = 0;
2008 PyObject * _obj3 = 0;
2009 wxPoint temp;
2010 PyObject * _obj4 = 0;
2011 wxSize temp0;
2012 PyObject * _obj5 = 0;
9a74fcaf 2013 PyObject * _obj7 = 0;
aa2a5b86
RD
2014 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
2015
2016 self = self;
9a74fcaf 2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxMiniFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
aa2a5b86
RD
2018 return NULL;
2019 if (_argo0) {
2020 if (_argo0 == Py_None) { _arg0 = NULL; }
2021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMiniFrame_p")) {
2022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2023 return NULL;
2024 }
2025 }
2026 if (_argo1) {
2027 if (_argo1 == Py_None) { _arg1 = NULL; }
2028 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2029 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2030 return NULL;
2031 }
2032 }
2033{
c8bc7bb8
RD
2034 _arg3 = wxString_in_helper(_obj3);
2035 if (_arg3 == NULL)
aa2a5b86 2036 return NULL;
aa2a5b86
RD
2037}
2038 if (_obj4)
2039{
2040 _arg4 = &temp;
2041 if (! wxPoint_helper(_obj4, &_arg4))
2042 return NULL;
2043}
2044 if (_obj5)
2045{
2046 _arg5 = &temp0;
2047 if (! wxSize_helper(_obj5, &_arg5))
2048 return NULL;
9a74fcaf
RD
2049}
2050 if (_obj7)
2051{
2052 _arg7 = wxString_in_helper(_obj7);
2053 if (_arg7 == NULL)
2054 return NULL;
aa2a5b86
RD
2055}
2056{
474c48f9 2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2058 _result = (bool )wxMiniFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
aa2a5b86 2059
474c48f9 2060 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2061 if (PyErr_Occurred()) return NULL;
2062} _resultobj = Py_BuildValue("i",_result);
2063{
2064 if (_obj3)
2065 delete _arg3;
9a74fcaf
RD
2066}
2067{
2068 if (_obj7)
2069 delete _arg7;
aa2a5b86
RD
2070}
2071 return _resultobj;
2072}
2073
1893b029
RD
2074static void *SwigwxSplashScreenWindowTowxWindow(void *ptr) {
2075 wxSplashScreenWindow *src;
2076 wxWindow *dest;
2077 src = (wxSplashScreenWindow *) ptr;
2078 dest = (wxWindow *) src;
2079 return (void *) dest;
2080}
2081
2082static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr) {
2083 wxSplashScreenWindow *src;
2084 wxEvtHandler *dest;
2085 src = (wxSplashScreenWindow *) ptr;
2086 dest = (wxEvtHandler *) src;
2087 return (void *) dest;
2088}
2089
2090static void *SwigwxSplashScreenWindowTowxObject(void *ptr) {
2091 wxSplashScreenWindow *src;
2092 wxObject *dest;
2093 src = (wxSplashScreenWindow *) ptr;
2094 dest = (wxObject *) src;
2095 return (void *) dest;
2096}
2097
2098#define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2099static PyObject *_wrap_new_wxSplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2100 PyObject * _resultobj;
2101 wxSplashScreenWindow * _result;
2102 wxBitmap * _arg0;
2103 wxWindow * _arg1;
2104 wxWindowID _arg2;
2105 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2106 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2107 long _arg5 = (long ) wxNO_BORDER;
2108 PyObject * _argo0 = 0;
2109 PyObject * _argo1 = 0;
2110 wxPoint temp;
2111 PyObject * _obj3 = 0;
2112 wxSize temp0;
2113 PyObject * _obj4 = 0;
2114 char *_kwnames[] = { "bitmap","parent","id","pos","size","style", NULL };
2115 char _ptemp[128];
2116
2117 self = self;
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOl:new_wxSplashScreenWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
2119 return NULL;
2120 if (_argo0) {
2121 if (_argo0 == Py_None) { _arg0 = NULL; }
2122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2124 return NULL;
2125 }
2126 }
2127 if (_argo1) {
2128 if (_argo1 == Py_None) { _arg1 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2131 return NULL;
2132 }
2133 }
2134 if (_obj3)
2135{
2136 _arg3 = &temp;
2137 if (! wxPoint_helper(_obj3, &_arg3))
2138 return NULL;
2139}
2140 if (_obj4)
2141{
2142 _arg4 = &temp0;
2143 if (! wxSize_helper(_obj4, &_arg4))
2144 return NULL;
2145}
2146{
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2148 _result = (wxSplashScreenWindow *)new_wxSplashScreenWindow(*_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
1893b029
RD
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) return NULL;
2152} if (_result) {
2153 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p");
2154 _resultobj = Py_BuildValue("s",_ptemp);
2155 } else {
2156 Py_INCREF(Py_None);
2157 _resultobj = Py_None;
2158 }
2159 return _resultobj;
2160}
2161
2162#define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2163static PyObject *_wrap_wxSplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2164 PyObject * _resultobj;
2165 wxSplashScreenWindow * _arg0;
2166 wxBitmap * _arg1;
2167 PyObject * _argo0 = 0;
2168 PyObject * _argo1 = 0;
2169 char *_kwnames[] = { "self","bitmap", NULL };
2170
2171 self = self;
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplashScreenWindow_SetBitmap",_kwnames,&_argo0,&_argo1))
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_SetBitmap. Expected _wxSplashScreenWindow_p.");
2178 return NULL;
2179 }
2180 }
2181 if (_argo1) {
2182 if (_argo1 == Py_None) { _arg1 = NULL; }
2183 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2185 return NULL;
2186 }
2187 }
2188{
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2190 wxSplashScreenWindow_SetBitmap(_arg0,*_arg1);
1893b029
RD
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) return NULL;
2194} Py_INCREF(Py_None);
2195 _resultobj = Py_None;
2196 return _resultobj;
2197}
2198
2199#define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2200static PyObject *_wrap_wxSplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2201 PyObject * _resultobj;
2202 wxBitmap * _result;
2203 wxSplashScreenWindow * _arg0;
2204 PyObject * _argo0 = 0;
2205 char *_kwnames[] = { "self", NULL };
2206 char _ptemp[128];
2207
2208 self = self;
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreenWindow_GetBitmap",_kwnames,&_argo0))
2210 return NULL;
2211 if (_argo0) {
2212 if (_argo0 == Py_None) { _arg0 = NULL; }
2213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreenWindow_p")) {
2214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2215 return NULL;
2216 }
2217 }
2218{
2219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2220 wxBitmap & _result_ref = wxSplashScreenWindow_GetBitmap(_arg0);
1893b029
RD
2221 _result = (wxBitmap *) &_result_ref;
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) return NULL;
2225} if (_result) {
2226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
2227 _resultobj = Py_BuildValue("s",_ptemp);
2228 } else {
2229 Py_INCREF(Py_None);
2230 _resultobj = Py_None;
2231 }
2232 return _resultobj;
2233}
2234
2235static void *SwigwxSplashScreenTowxFrame(void *ptr) {
2236 wxSplashScreen *src;
2237 wxFrame *dest;
2238 src = (wxSplashScreen *) ptr;
2239 dest = (wxFrame *) src;
2240 return (void *) dest;
2241}
2242
2243static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr) {
2244 wxSplashScreen *src;
2245 wxTopLevelWindow *dest;
2246 src = (wxSplashScreen *) ptr;
2247 dest = (wxTopLevelWindow *) src;
2248 return (void *) dest;
2249}
2250
2251static void *SwigwxSplashScreenTowxWindow(void *ptr) {
2252 wxSplashScreen *src;
2253 wxWindow *dest;
2254 src = (wxSplashScreen *) ptr;
2255 dest = (wxWindow *) src;
2256 return (void *) dest;
2257}
2258
2259static void *SwigwxSplashScreenTowxEvtHandler(void *ptr) {
2260 wxSplashScreen *src;
2261 wxEvtHandler *dest;
2262 src = (wxSplashScreen *) ptr;
2263 dest = (wxEvtHandler *) src;
2264 return (void *) dest;
2265}
2266
2267static void *SwigwxSplashScreenTowxObject(void *ptr) {
2268 wxSplashScreen *src;
2269 wxObject *dest;
2270 src = (wxSplashScreen *) ptr;
2271 dest = (wxObject *) src;
2272 return (void *) dest;
2273}
2274
2275#define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2276static PyObject *_wrap_new_wxSplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxSplashScreen * _result;
2279 wxBitmap * _arg0;
2280 long _arg1;
2281 int _arg2;
2282 wxWindow * _arg3;
2283 wxWindowID _arg4;
2284 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
2285 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2286 long _arg7 = (long ) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT;
2287 PyObject * _argo0 = 0;
2288 PyObject * _argo3 = 0;
2289 wxPoint temp;
2290 PyObject * _obj5 = 0;
2291 wxSize temp0;
2292 PyObject * _obj6 = 0;
2293 char *_kwnames[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL };
2294 char _ptemp[128];
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliOi|OOl:new_wxSplashScreen",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_arg4,&_obj5,&_obj6,&_arg7))
2298 return NULL;
2299 if (_argo0) {
2300 if (_argo0 == Py_None) { _arg0 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2303 return NULL;
2304 }
2305 }
2306 if (_argo3) {
2307 if (_argo3 == Py_None) { _arg3 = NULL; }
2308 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
2309 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2310 return NULL;
2311 }
2312 }
2313 if (_obj5)
2314{
2315 _arg5 = &temp;
2316 if (! wxPoint_helper(_obj5, &_arg5))
2317 return NULL;
2318}
2319 if (_obj6)
2320{
2321 _arg6 = &temp0;
2322 if (! wxSize_helper(_obj6, &_arg6))
2323 return NULL;
2324}
2325{
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2327 _result = (wxSplashScreen *)new_wxSplashScreen(*_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7);
1893b029
RD
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) return NULL;
2331} if (_result) {
2332 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreen_p");
2333 _resultobj = Py_BuildValue("s",_ptemp);
2334 } else {
2335 Py_INCREF(Py_None);
2336 _resultobj = Py_None;
2337 }
2338 return _resultobj;
2339}
2340
2341#define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2342static PyObject *_wrap_wxSplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 long _result;
2345 wxSplashScreen * _arg0;
2346 PyObject * _argo0 = 0;
2347 char *_kwnames[] = { "self", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashStyle",_kwnames,&_argo0))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2356 return NULL;
2357 }
2358 }
2359{
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2361 _result = (long )wxSplashScreen_GetSplashStyle(_arg0);
1893b029
RD
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) return NULL;
2365} _resultobj = Py_BuildValue("l",_result);
2366 return _resultobj;
2367}
2368
2369#define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2370static PyObject *_wrap_wxSplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject * _resultobj;
2372 wxSplashScreenWindow * _result;
2373 wxSplashScreen * _arg0;
2374 PyObject * _argo0 = 0;
2375 char *_kwnames[] = { "self", NULL };
2376 char _ptemp[128];
2377
2378 self = self;
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashWindow",_kwnames,&_argo0))
2380 return NULL;
2381 if (_argo0) {
2382 if (_argo0 == Py_None) { _arg0 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2385 return NULL;
2386 }
2387 }
2388{
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2390 _result = (wxSplashScreenWindow *)wxSplashScreen_GetSplashWindow(_arg0);
1893b029
RD
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) return NULL;
2394} if (_result) {
2395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p");
2396 _resultobj = Py_BuildValue("s",_ptemp);
2397 } else {
2398 Py_INCREF(Py_None);
2399 _resultobj = Py_None;
2400 }
2401 return _resultobj;
2402}
2403
2404#define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2405static PyObject *_wrap_wxSplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 int _result;
2408 wxSplashScreen * _arg0;
2409 PyObject * _argo0 = 0;
2410 char *_kwnames[] = { "self", NULL };
2411
2412 self = self;
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetTimeout",_kwnames,&_argo0))
2414 return NULL;
2415 if (_argo0) {
2416 if (_argo0 == Py_None) { _arg0 = NULL; }
2417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) {
2418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2419 return NULL;
2420 }
2421 }
2422{
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2424 _result = (int )wxSplashScreen_GetTimeout(_arg0);
1893b029
RD
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) return NULL;
2428} _resultobj = Py_BuildValue("i",_result);
2429 return _resultobj;
2430}
2431
9c039d08 2432static PyMethodDef framescMethods[] = {
1893b029
RD
2433 { "wxSplashScreen_GetTimeout", (PyCFunction) _wrap_wxSplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
2434 { "wxSplashScreen_GetSplashWindow", (PyCFunction) _wrap_wxSplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
2435 { "wxSplashScreen_GetSplashStyle", (PyCFunction) _wrap_wxSplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
2436 { "new_wxSplashScreen", (PyCFunction) _wrap_new_wxSplashScreen, METH_VARARGS | METH_KEYWORDS },
2437 { "wxSplashScreenWindow_GetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
2438 { "wxSplashScreenWindow_SetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
2439 { "new_wxSplashScreenWindow", (PyCFunction) _wrap_new_wxSplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
2440 { "wxMiniFrame_Create", (PyCFunction) _wrap_wxMiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
2441 { "new_wxPreMiniFrame", (PyCFunction) _wrap_new_wxPreMiniFrame, METH_VARARGS | METH_KEYWORDS },
efc5f224 2442 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
2443 { "wxDialog_CreateButtonSizer", (PyCFunction) _wrap_wxDialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
2444 { "wxDialog_CreateTextSizer", (PyCFunction) _wrap_wxDialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
2445 { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
2446 { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
2447 { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
2448 { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS },
2449 { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS },
2450 { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS },
2451 { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS },
2452 { "wxDialog_Create", (PyCFunction) _wrap_wxDialog_Create, METH_VARARGS | METH_KEYWORDS },
2453 { "new_wxPreDialog", (PyCFunction) _wrap_new_wxPreDialog, METH_VARARGS | METH_KEYWORDS },
2454 { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS },
efc5f224 2455 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
2456 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
2457 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
2458 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
2459 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
2460 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
efc5f224 2461 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
efc5f224 2462 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
2463 { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
2464 { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
2465 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
2466 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
2467 { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
2468 { "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS },
2469 { "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS },
efc5f224 2470 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
2471 { "wxTopLevelWindow_GetTitle", (PyCFunction) _wrap_wxTopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
2472 { "wxTopLevelWindow_SetTitle", (PyCFunction) _wrap_wxTopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
2473 { "wxTopLevelWindow_IsFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
2474 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
a323d3bd 2475 { "wxTopLevelWindow_SetIcons", (PyCFunction) _wrap_wxTopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
2476 { "wxTopLevelWindow_SetIcon", (PyCFunction) _wrap_wxTopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
2477 { "wxTopLevelWindow_GetIcon", (PyCFunction) _wrap_wxTopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
2478 { "wxTopLevelWindow_IsIconized", (PyCFunction) _wrap_wxTopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
2479 { "wxTopLevelWindow_IsMaximized", (PyCFunction) _wrap_wxTopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
2480 { "wxTopLevelWindow_Iconize", (PyCFunction) _wrap_wxTopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
2481 { "wxTopLevelWindow_Restore", (PyCFunction) _wrap_wxTopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
2482 { "wxTopLevelWindow_Maximize", (PyCFunction) _wrap_wxTopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
2483 { "wxTopLevelWindow_Create", (PyCFunction) _wrap_wxTopLevelWindow_Create, METH_VARARGS | METH_KEYWORDS },
2484 { "new_wxPreTopLevelWindow", (PyCFunction) _wrap_new_wxPreTopLevelWindow, METH_VARARGS | METH_KEYWORDS },
2485 { "new_wxTopLevelWindow", (PyCFunction) _wrap_new_wxTopLevelWindow, METH_VARARGS | METH_KEYWORDS },
9c039d08
RD
2486 { NULL, NULL }
2487};
1d99702e
RD
2488#ifdef __cplusplus
2489}
2490#endif
2491/*
2492 * This table is used by the pointer type-checker
2493 */
2494static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 2495 { "_signed_long","_long",0},
b1462dfa 2496 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
2497 { "_wxPrintQuality","_int",0},
2498 { "_wxPrintQuality","_signed_int",0},
2499 { "_wxPrintQuality","_unsigned_int",0},
2500 { "_wxPrintQuality","_wxWindowID",0},
2501 { "_wxPrintQuality","_uint",0},
2502 { "_wxPrintQuality","_EBool",0},
2503 { "_wxPrintQuality","_size_t",0},
c368d904 2504 { "_wxPrintQuality","_time_t",0},
1d99702e 2505 { "_byte","_unsigned_char",0},
1d99702e
RD
2506 { "_long","_unsigned_long",0},
2507 { "_long","_signed_long",0},
b1462dfa 2508 { "_size_t","_wxCoord",0},
1d99702e 2509 { "_size_t","_wxPrintQuality",0},
c368d904 2510 { "_size_t","_time_t",0},
1d99702e
RD
2511 { "_size_t","_unsigned_int",0},
2512 { "_size_t","_int",0},
2513 { "_size_t","_wxWindowID",0},
2514 { "_size_t","_uint",0},
1893b029 2515 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow},
65191ae8 2516 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow},
65191ae8 2517 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow},
65191ae8 2518 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow},
b1462dfa 2519 { "_uint","_wxCoord",0},
1d99702e 2520 { "_uint","_wxPrintQuality",0},
c368d904 2521 { "_uint","_time_t",0},
1d99702e
RD
2522 { "_uint","_size_t",0},
2523 { "_uint","_unsigned_int",0},
2524 { "_uint","_int",0},
2525 { "_uint","_wxWindowID",0},
f6bcfd97 2526 { "_wxChar","_char",0},
f6bcfd97 2527 { "_char","_wxChar",0},
65191ae8 2528 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 2529 { "_EBool","_wxCoord",0},
1d99702e
RD
2530 { "_EBool","_wxPrintQuality",0},
2531 { "_EBool","_signed_int",0},
2532 { "_EBool","_int",0},
2533 { "_EBool","_wxWindowID",0},
1d99702e 2534 { "_unsigned_long","_long",0},
65191ae8 2535 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 2536 { "_signed_int","_wxCoord",0},
1d99702e
RD
2537 { "_signed_int","_wxPrintQuality",0},
2538 { "_signed_int","_EBool",0},
2539 { "_signed_int","_wxWindowID",0},
2540 { "_signed_int","_int",0},
1d99702e
RD
2541 { "_WXTYPE","_short",0},
2542 { "_WXTYPE","_signed_short",0},
2543 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
2544 { "_unsigned_short","_WXTYPE",0},
2545 { "_unsigned_short","_short",0},
1893b029
RD
2546 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject},
2547 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject},
9df61a29 2548 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject},
65191ae8 2549 { "_wxObject","_wxDialog",SwigwxDialogTowxObject},
9df61a29 2550 { "_wxObject","_wxFrame",SwigwxFrameTowxObject},
65191ae8 2551 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject},
1d99702e
RD
2552 { "_signed_short","_WXTYPE",0},
2553 { "_signed_short","_short",0},
1d99702e 2554 { "_unsigned_char","_byte",0},
b1462dfa 2555 { "_unsigned_int","_wxCoord",0},
1d99702e 2556 { "_unsigned_int","_wxPrintQuality",0},
c368d904 2557 { "_unsigned_int","_time_t",0},
1d99702e
RD
2558 { "_unsigned_int","_size_t",0},
2559 { "_unsigned_int","_uint",0},
2560 { "_unsigned_int","_wxWindowID",0},
2561 { "_unsigned_int","_int",0},
1d99702e
RD
2562 { "_short","_WXTYPE",0},
2563 { "_short","_unsigned_short",0},
2564 { "_short","_signed_short",0},
1893b029 2565 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame},
1d99702e 2566 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
b1462dfa 2567 { "_wxWindowID","_wxCoord",0},
1d99702e 2568 { "_wxWindowID","_wxPrintQuality",0},
c368d904 2569 { "_wxWindowID","_time_t",0},
1d99702e
RD
2570 { "_wxWindowID","_size_t",0},
2571 { "_wxWindowID","_EBool",0},
2572 { "_wxWindowID","_uint",0},
2573 { "_wxWindowID","_int",0},
2574 { "_wxWindowID","_signed_int",0},
2575 { "_wxWindowID","_unsigned_int",0},
b1462dfa 2576 { "_int","_wxCoord",0},
1d99702e 2577 { "_int","_wxPrintQuality",0},
c368d904 2578 { "_int","_time_t",0},
1d99702e
RD
2579 { "_int","_size_t",0},
2580 { "_int","_EBool",0},
2581 { "_int","_uint",0},
2582 { "_int","_wxWindowID",0},
2583 { "_int","_unsigned_int",0},
2584 { "_int","_signed_int",0},
c368d904
RD
2585 { "_time_t","_wxCoord",0},
2586 { "_time_t","_wxPrintQuality",0},
2587 { "_time_t","_unsigned_int",0},
2588 { "_time_t","_int",0},
2589 { "_time_t","_wxWindowID",0},
2590 { "_time_t","_uint",0},
2591 { "_time_t","_size_t",0},
b1462dfa
RD
2592 { "_wxCoord","_int",0},
2593 { "_wxCoord","_signed_int",0},
2594 { "_wxCoord","_unsigned_int",0},
2595 { "_wxCoord","_wxWindowID",0},
2596 { "_wxCoord","_uint",0},
2597 { "_wxCoord","_EBool",0},
2598 { "_wxCoord","_size_t",0},
c368d904 2599 { "_wxCoord","_time_t",0},
b1462dfa 2600 { "_wxCoord","_wxPrintQuality",0},
1893b029
RD
2601 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler},
2602 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler},
1d99702e 2603 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
65191ae8 2604 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler},
1d99702e 2605 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
65191ae8 2606 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler},
1893b029
RD
2607 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow},
2608 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow},
1d99702e 2609 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
65191ae8 2610 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
1d99702e 2611 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
65191ae8 2612 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow},
1d99702e
RD
2613{0,0,0}};
2614
9c039d08
RD
2615static PyObject *SWIG_globals;
2616#ifdef __cplusplus
2617extern "C"
2618#endif
1d99702e 2619SWIGEXPORT(void) initframesc() {
9c039d08
RD
2620 PyObject *m, *d;
2621 SWIG_globals = SWIG_newvarlink();
2622 m = Py_InitModule("framesc", framescMethods);
2623 d = PyModule_GetDict(m);
f6bcfd97
BP
2624 PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR));
2625 PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR));
2626 PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR));
2627 PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER));
2628 PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION));
2629 PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL));
65191ae8 2630 PyDict_SetItemString(d,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG));
1893b029
RD
2631 PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT));
2632 PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN));
2633 PyDict_SetItemString(d,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE));
2634 PyDict_SetItemString(d,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT));
2635 PyDict_SetItemString(d,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT));
1d99702e
RD
2636{
2637 int i;
2638 for (i = 0; _swig_mapping[i].n1; i++)
2639 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2640}
9c039d08 2641}