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