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