]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/frames.cpp
correction for Mac OS compilation
[wxWidgets.git] / wxPython / src / msw / frames.cpp
CommitLineData
9c039d08 1/*
c368d904 2 * FILE : src/msw/frames.cpp
9c039d08
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 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__)
c368d904 30# define SWIGEXPORT(a) a _export
9c039d08 31# else
c368d904 32# define SWIGEXPORT(a) a
9c039d08
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
9c039d08
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
9c039d08
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
9c039d08
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
9c039d08
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
9c039d08
RD
54#define SWIG_init initframesc
55
56#define SWIG_name "framesc"
57
58#include "helpers.h"
9c039d08 59#include <wx/minifram.h>
9c039d08 60
9c039d08
RD
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
e0672e2f 66 if (!target) {
9c039d08 67 target = o;
e0672e2f 68 } else if (target == Py_None) {
9c039d08
RD
69 Py_DECREF(Py_None);
70 target = o;
e0672e2f 71 } else {
9c039d08
RD
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
e0672e2f
RD
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
9c039d08
RD
79
80 o2 = target;
e0672e2f
RD
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
9c039d08
RD
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
794c5cb1
RD
88#if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90#else
91 static char* wxStringErrorMsg = "string type is required for parameter";
92#endif
1d99702e
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
9c039d08
RD
96static void *SwigwxFrameTowxWindow(void *ptr) {
97 wxFrame *src;
98 wxWindow *dest;
99 src = (wxFrame *) ptr;
100 dest = (wxWindow *) src;
101 return (void *) dest;
102}
103
104static void *SwigwxFrameTowxEvtHandler(void *ptr) {
105 wxFrame *src;
106 wxEvtHandler *dest;
107 src = (wxFrame *) ptr;
108 dest = (wxEvtHandler *) src;
109 return (void *) dest;
110}
111
9416aa89
RD
112static void *SwigwxFrameTowxObject(void *ptr) {
113 wxFrame *src;
114 wxObject *dest;
115 src = (wxFrame *) ptr;
116 dest = (wxObject *) src;
117 return (void *) dest;
118}
119
9c039d08 120#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 121static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
122 PyObject * _resultobj;
123 wxFrame * _result;
124 wxWindow * _arg0;
125 wxWindowID _arg1;
126 wxString * _arg2;
e508a2b6
RD
127 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
128 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
129 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
130 char * _arg6 = (char *) "frame";
131 PyObject * _argo0 = 0;
9c039d08 132 PyObject * _obj2 = 0;
2f90df85
RD
133 wxPoint temp;
134 PyObject * _obj3 = 0;
135 wxSize temp0;
136 PyObject * _obj4 = 0;
efc5f224 137 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
138 char _ptemp[128];
139
140 self = self;
2f90df85 141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
9c039d08 142 return NULL;
1d99702e
RD
143 if (_argo0) {
144 if (_argo0 == Py_None) { _arg0 = NULL; }
145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
147 return NULL;
148 }
149 }
150{
185d7c3e
RD
151#if PYTHON_API_VERSION >= 1009
152 char* tmpPtr; int tmpSize;
153 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 154 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
155 return NULL;
156 }
157 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
158 return NULL;
159 _arg2 = new wxString(tmpPtr, tmpSize);
160#else
9c039d08
RD
161 if (!PyString_Check(_obj2)) {
162 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
163 return NULL;
164 }
185d7c3e
RD
165 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
166#endif
9c039d08 167}
2f90df85
RD
168 if (_obj3)
169{
170 _arg3 = &temp;
171 if (! wxPoint_helper(_obj3, &_arg3))
9c039d08 172 return NULL;
2f90df85
RD
173}
174 if (_obj4)
175{
176 _arg4 = &temp0;
177 if (! wxSize_helper(_obj4, &_arg4))
9c039d08 178 return NULL;
2f90df85 179}
cf694132
RD
180{
181 wxPy_BEGIN_ALLOW_THREADS;
182 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
183
184 wxPy_END_ALLOW_THREADS;
493f1553 185 if (PyErr_Occurred()) return NULL;
1d99702e
RD
186} if (_result) {
187 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
188 _resultobj = Py_BuildValue("s",_ptemp);
189 } else {
190 Py_INCREF(Py_None);
191 _resultobj = Py_None;
192 }
9c039d08
RD
193{
194 if (_obj2)
195 delete _arg2;
196}
197 return _resultobj;
198}
199
200#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 201static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
202 PyObject * _resultobj;
203 wxFrame * _arg0;
1d99702e
RD
204 int _arg1 = (int ) wxBOTH;
205 PyObject * _argo0 = 0;
efc5f224 206 char *_kwnames[] = { "self","direction", NULL };
9c039d08
RD
207
208 self = self;
efc5f224 209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
9c039d08 210 return NULL;
1d99702e
RD
211 if (_argo0) {
212 if (_argo0 == Py_None) { _arg0 = NULL; }
213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
215 return NULL;
216 }
217 }
cf694132
RD
218{
219 wxPy_BEGIN_ALLOW_THREADS;
220 wxFrame_Centre(_arg0,_arg1);
221
222 wxPy_END_ALLOW_THREADS;
493f1553 223 if (PyErr_Occurred()) return NULL;
cf694132 224} Py_INCREF(Py_None);
9c039d08
RD
225 _resultobj = Py_None;
226 return _resultobj;
227}
228
9c039d08 229#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 230static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
231 PyObject * _resultobj;
232 wxStatusBar * _result;
233 wxFrame * _arg0;
1d99702e
RD
234 int _arg1 = (int ) 1;
235 long _arg2 = (long ) wxST_SIZEGRIP;
236 wxWindowID _arg3 = (wxWindowID ) -1;
237 char * _arg4 = (char *) "statusBar";
238 PyObject * _argo0 = 0;
efc5f224 239 char *_kwnames[] = { "self","number","style","id","name", NULL };
9c039d08
RD
240
241 self = self;
efc5f224 242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9c039d08 243 return NULL;
1d99702e
RD
244 if (_argo0) {
245 if (_argo0 == Py_None) { _arg0 = NULL; }
246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
248 return NULL;
249 }
250 }
cf694132
RD
251{
252 wxPy_BEGIN_ALLOW_THREADS;
253 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
254
255 wxPy_END_ALLOW_THREADS;
493f1553 256 if (PyErr_Occurred()) return NULL;
9416aa89 257}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
258 return _resultobj;
259}
260
261#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
efc5f224 262static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
263 PyObject * _resultobj;
264 wxToolBar * _result;
265 wxFrame * _arg0;
1d99702e
RD
266 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT;
267 wxWindowID _arg2 = (wxWindowID ) -1;
268 char * _arg3 = (char *) "toolBar";
269 PyObject * _argo0 = 0;
efc5f224 270 char *_kwnames[] = { "self","style","id","name", NULL };
9c039d08
RD
271
272 self = self;
efc5f224 273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9c039d08 274 return NULL;
1d99702e
RD
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
279 return NULL;
280 }
281 }
cf694132
RD
282{
283 wxPy_BEGIN_ALLOW_THREADS;
284 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
285
286 wxPy_END_ALLOW_THREADS;
493f1553 287 if (PyErr_Occurred()) return NULL;
9416aa89 288}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
289 return _resultobj;
290}
291
f6bcfd97
BP
292#define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
293static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
294 PyObject * _resultobj;
295 wxIcon * _result;
296 wxFrame * _arg0;
297 PyObject * _argo0 = 0;
298 char *_kwnames[] = { "self", NULL };
299 char _ptemp[128];
300
301 self = self;
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0))
303 return NULL;
304 if (_argo0) {
305 if (_argo0 == Py_None) { _arg0 = NULL; }
306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
308 return NULL;
309 }
310 }
311{
312 wxPy_BEGIN_ALLOW_THREADS;
313 const wxIcon & _result_ref = wxFrame_GetIcon(_arg0);
314 _result = (wxIcon *) &_result_ref;
315
316 wxPy_END_ALLOW_THREADS;
493f1553 317 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
318} if (_result) {
319 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
320 _resultobj = Py_BuildValue("s",_ptemp);
321 } else {
322 Py_INCREF(Py_None);
323 _resultobj = Py_None;
324 }
325 return _resultobj;
326}
327
9c039d08 328#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
efc5f224 329static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
330 PyObject * _resultobj;
331 wxMenuBar * _result;
332 wxFrame * _arg0;
1d99702e 333 PyObject * _argo0 = 0;
efc5f224 334 char *_kwnames[] = { "self", NULL };
9c039d08
RD
335
336 self = self;
efc5f224 337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
9c039d08 338 return NULL;
1d99702e
RD
339 if (_argo0) {
340 if (_argo0 == Py_None) { _arg0 = NULL; }
341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
343 return NULL;
344 }
345 }
cf694132
RD
346{
347 wxPy_BEGIN_ALLOW_THREADS;
348 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
349
350 wxPy_END_ALLOW_THREADS;
493f1553 351 if (PyErr_Occurred()) return NULL;
9416aa89 352}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
353 return _resultobj;
354}
355
356#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
efc5f224 357static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
358 PyObject * _resultobj;
359 wxStatusBar * _result;
360 wxFrame * _arg0;
1d99702e 361 PyObject * _argo0 = 0;
efc5f224 362 char *_kwnames[] = { "self", NULL };
9c039d08
RD
363
364 self = self;
efc5f224 365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
9c039d08 366 return NULL;
1d99702e
RD
367 if (_argo0) {
368 if (_argo0 == Py_None) { _arg0 = NULL; }
369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
371 return NULL;
372 }
373 }
cf694132
RD
374{
375 wxPy_BEGIN_ALLOW_THREADS;
376 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
377
378 wxPy_END_ALLOW_THREADS;
493f1553 379 if (PyErr_Occurred()) return NULL;
9416aa89 380}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
381 return _resultobj;
382}
383
384#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 385static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
386 PyObject * _resultobj;
387 wxString * _result;
388 wxFrame * _arg0;
1d99702e 389 PyObject * _argo0 = 0;
efc5f224 390 char *_kwnames[] = { "self", NULL };
9c039d08
RD
391
392 self = self;
efc5f224 393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
9c039d08 394 return NULL;
1d99702e
RD
395 if (_argo0) {
396 if (_argo0 == Py_None) { _arg0 = NULL; }
397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
399 return NULL;
400 }
401 }
9c039d08 402{
cf694132
RD
403 wxPy_BEGIN_ALLOW_THREADS;
404 _result = new wxString (wxFrame_GetTitle(_arg0));
405
406 wxPy_END_ALLOW_THREADS;
493f1553 407 if (PyErr_Occurred()) return NULL;
cf694132 408}{
eec92d76 409 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9c039d08
RD
410}
411{
412 delete _result;
413}
414 return _resultobj;
415}
416
417#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
efc5f224 418static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
419 PyObject * _resultobj;
420 wxToolBar * _result;
421 wxFrame * _arg0;
1d99702e 422 PyObject * _argo0 = 0;
efc5f224 423 char *_kwnames[] = { "self", NULL };
9c039d08
RD
424
425 self = self;
efc5f224 426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
9c039d08 427 return NULL;
1d99702e
RD
428 if (_argo0) {
429 if (_argo0 == Py_None) { _arg0 = NULL; }
430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
432 return NULL;
433 }
434 }
cf694132
RD
435{
436 wxPy_BEGIN_ALLOW_THREADS;
437 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
438
439 wxPy_END_ALLOW_THREADS;
493f1553 440 if (PyErr_Occurred()) return NULL;
9416aa89 441}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
442 return _resultobj;
443}
444
445#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
efc5f224 446static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
447 PyObject * _resultobj;
448 wxFrame * _arg0;
449 bool _arg1;
1d99702e 450 PyObject * _argo0 = 0;
9c039d08 451 int tempbool1;
efc5f224 452 char *_kwnames[] = { "self","iconize", NULL };
9c039d08
RD
453
454 self = self;
efc5f224 455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
9c039d08 456 return NULL;
1d99702e
RD
457 if (_argo0) {
458 if (_argo0 == Py_None) { _arg0 = NULL; }
459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
461 return NULL;
462 }
463 }
464 _arg1 = (bool ) tempbool1;
cf694132
RD
465{
466 wxPy_BEGIN_ALLOW_THREADS;
467 wxFrame_Iconize(_arg0,_arg1);
468
469 wxPy_END_ALLOW_THREADS;
493f1553 470 if (PyErr_Occurred()) return NULL;
cf694132 471} Py_INCREF(Py_None);
9c039d08
RD
472 _resultobj = Py_None;
473 return _resultobj;
474}
475
476#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
efc5f224 477static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
478 PyObject * _resultobj;
479 bool _result;
480 wxFrame * _arg0;
1d99702e 481 PyObject * _argo0 = 0;
efc5f224 482 char *_kwnames[] = { "self", NULL };
9c039d08
RD
483
484 self = self;
efc5f224 485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
9c039d08 486 return NULL;
1d99702e
RD
487 if (_argo0) {
488 if (_argo0 == Py_None) { _arg0 = NULL; }
489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
491 return NULL;
492 }
493 }
cf694132
RD
494{
495 wxPy_BEGIN_ALLOW_THREADS;
496 _result = (bool )wxFrame_IsIconized(_arg0);
497
498 wxPy_END_ALLOW_THREADS;
493f1553 499 if (PyErr_Occurred()) return NULL;
cf694132 500} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
501 return _resultobj;
502}
503
504#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
efc5f224 505static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
506 PyObject * _resultobj;
507 wxFrame * _arg0;
508 bool _arg1;
1d99702e 509 PyObject * _argo0 = 0;
9c039d08 510 int tempbool1;
efc5f224 511 char *_kwnames[] = { "self","maximize", NULL };
9c039d08
RD
512
513 self = self;
efc5f224 514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
9c039d08 515 return NULL;
1d99702e
RD
516 if (_argo0) {
517 if (_argo0 == Py_None) { _arg0 = NULL; }
518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
520 return NULL;
521 }
522 }
523 _arg1 = (bool ) tempbool1;
cf694132
RD
524{
525 wxPy_BEGIN_ALLOW_THREADS;
526 wxFrame_Maximize(_arg0,_arg1);
527
528 wxPy_END_ALLOW_THREADS;
493f1553 529 if (PyErr_Occurred()) return NULL;
cf694132 530} Py_INCREF(Py_None);
9c039d08
RD
531 _resultobj = Py_None;
532 return _resultobj;
533}
534
f6bcfd97
BP
535#define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
536static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
537 PyObject * _resultobj;
538 bool _result;
539 wxFrame * _arg0;
540 PyObject * _argo0 = 0;
541 char *_kwnames[] = { "self", NULL };
542
543 self = self;
544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0))
545 return NULL;
546 if (_argo0) {
547 if (_argo0 == Py_None) { _arg0 = NULL; }
548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
550 return NULL;
551 }
552 }
553{
554 wxPy_BEGIN_ALLOW_THREADS;
555 _result = (bool )wxFrame_IsMaximized(_arg0);
556
557 wxPy_END_ALLOW_THREADS;
493f1553 558 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
559} _resultobj = Py_BuildValue("i",_result);
560 return _resultobj;
561}
562
563#define wxFrame_Restore(_swigobj) (_swigobj->Restore())
564static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
565 PyObject * _resultobj;
566 wxFrame * _arg0;
567 PyObject * _argo0 = 0;
568 char *_kwnames[] = { "self", NULL };
569
570 self = self;
571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0))
572 return NULL;
573 if (_argo0) {
574 if (_argo0 == Py_None) { _arg0 = NULL; }
575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
577 return NULL;
578 }
579 }
580{
581 wxPy_BEGIN_ALLOW_THREADS;
582 wxFrame_Restore(_arg0);
583
584 wxPy_END_ALLOW_THREADS;
493f1553 585 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
586} Py_INCREF(Py_None);
587 _resultobj = Py_None;
588 return _resultobj;
589}
590
9c039d08 591#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
efc5f224 592static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
593 PyObject * _resultobj;
594 wxFrame * _arg0;
595 wxAcceleratorTable * _arg1;
1d99702e
RD
596 PyObject * _argo0 = 0;
597 PyObject * _argo1 = 0;
efc5f224 598 char *_kwnames[] = { "self","accel", NULL };
9c039d08
RD
599
600 self = self;
efc5f224 601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
9c039d08 602 return NULL;
1d99702e
RD
603 if (_argo0) {
604 if (_argo0 == Py_None) { _arg0 = NULL; }
605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
607 return NULL;
608 }
609 }
1d99702e
RD
610 if (_argo1) {
611 if (_argo1 == Py_None) { _arg1 = NULL; }
612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
9c039d08
RD
613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
614 return NULL;
615 }
616 }
cf694132
RD
617{
618 wxPy_BEGIN_ALLOW_THREADS;
619 wxFrame_SetAcceleratorTable(_arg0,*_arg1);
620
621 wxPy_END_ALLOW_THREADS;
493f1553 622 if (PyErr_Occurred()) return NULL;
cf694132 623} Py_INCREF(Py_None);
9c039d08
RD
624 _resultobj = Py_None;
625 return _resultobj;
626}
627
628#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
efc5f224 629static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
630 PyObject * _resultobj;
631 wxFrame * _arg0;
632 wxIcon * _arg1;
1d99702e
RD
633 PyObject * _argo0 = 0;
634 PyObject * _argo1 = 0;
efc5f224 635 char *_kwnames[] = { "self","icon", NULL };
9c039d08
RD
636
637 self = self;
efc5f224 638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
9c039d08 639 return NULL;
1d99702e
RD
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
644 return NULL;
645 }
646 }
1d99702e
RD
647 if (_argo1) {
648 if (_argo1 == Py_None) { _arg1 = NULL; }
649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
9c039d08
RD
650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
651 return NULL;
652 }
653 }
cf694132
RD
654{
655 wxPy_BEGIN_ALLOW_THREADS;
656 wxFrame_SetIcon(_arg0,*_arg1);
657
658 wxPy_END_ALLOW_THREADS;
493f1553 659 if (PyErr_Occurred()) return NULL;
cf694132 660} Py_INCREF(Py_None);
9c039d08
RD
661 _resultobj = Py_None;
662 return _resultobj;
663}
664
665#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
efc5f224 666static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
667 PyObject * _resultobj;
668 wxFrame * _arg0;
669 wxMenuBar * _arg1;
1d99702e
RD
670 PyObject * _argo0 = 0;
671 PyObject * _argo1 = 0;
efc5f224 672 char *_kwnames[] = { "self","menuBar", NULL };
9c039d08
RD
673
674 self = self;
efc5f224 675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
9c039d08 676 return NULL;
1d99702e
RD
677 if (_argo0) {
678 if (_argo0 == Py_None) { _arg0 = NULL; }
679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
681 return NULL;
682 }
683 }
1d99702e
RD
684 if (_argo1) {
685 if (_argo1 == Py_None) { _arg1 = NULL; }
686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
9c039d08
RD
687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
688 return NULL;
689 }
690 }
cf694132
RD
691{
692 wxPy_BEGIN_ALLOW_THREADS;
693 wxFrame_SetMenuBar(_arg0,_arg1);
694
695 wxPy_END_ALLOW_THREADS;
493f1553 696 if (PyErr_Occurred()) return NULL;
cf694132 697} Py_INCREF(Py_None);
9c039d08
RD
698 _resultobj = Py_None;
699 return _resultobj;
700}
701
702#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
efc5f224 703static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
704 PyObject * _resultobj;
705 wxFrame * _arg0;
706 wxStatusBar * _arg1;
1d99702e
RD
707 PyObject * _argo0 = 0;
708 PyObject * _argo1 = 0;
efc5f224 709 char *_kwnames[] = { "self","statusBar", NULL };
9c039d08
RD
710
711 self = self;
efc5f224 712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
9c039d08 713 return NULL;
1d99702e
RD
714 if (_argo0) {
715 if (_argo0 == Py_None) { _arg0 = NULL; }
716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
718 return NULL;
719 }
720 }
1d99702e
RD
721 if (_argo1) {
722 if (_argo1 == Py_None) { _arg1 = NULL; }
723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
9c039d08
RD
724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
725 return NULL;
726 }
727 }
cf694132
RD
728{
729 wxPy_BEGIN_ALLOW_THREADS;
730 wxFrame_SetStatusBar(_arg0,_arg1);
731
732 wxPy_END_ALLOW_THREADS;
493f1553 733 if (PyErr_Occurred()) return NULL;
cf694132 734} Py_INCREF(Py_None);
9c039d08
RD
735 _resultobj = Py_None;
736 return _resultobj;
737}
738
739#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
efc5f224 740static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
741 PyObject * _resultobj;
742 wxFrame * _arg0;
743 wxString * _arg1;
1d99702e
RD
744 int _arg2 = (int ) 0;
745 PyObject * _argo0 = 0;
9c039d08 746 PyObject * _obj1 = 0;
efc5f224 747 char *_kwnames[] = { "self","text","number", NULL };
9c039d08
RD
748
749 self = self;
efc5f224 750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
9c039d08 751 return NULL;
1d99702e
RD
752 if (_argo0) {
753 if (_argo0 == Py_None) { _arg0 = NULL; }
754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
756 return NULL;
757 }
758 }
759{
185d7c3e
RD
760#if PYTHON_API_VERSION >= 1009
761 char* tmpPtr; int tmpSize;
762 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 763 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
764 return NULL;
765 }
766 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
767 return NULL;
768 _arg1 = new wxString(tmpPtr, tmpSize);
769#else
9c039d08
RD
770 if (!PyString_Check(_obj1)) {
771 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
772 return NULL;
773 }
185d7c3e
RD
774 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
775#endif
9c039d08 776}
cf694132
RD
777{
778 wxPy_BEGIN_ALLOW_THREADS;
779 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
780
781 wxPy_END_ALLOW_THREADS;
493f1553 782 if (PyErr_Occurred()) return NULL;
cf694132 783} Py_INCREF(Py_None);
9c039d08
RD
784 _resultobj = Py_None;
785{
786 if (_obj1)
787 delete _arg1;
788}
789 return _resultobj;
790}
791
792#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
efc5f224 793static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
794 PyObject * _resultobj;
795 wxFrame * _arg0;
796 int _arg1;
797 int * _arg2;
1d99702e 798 PyObject * _argo0 = 0;
9c039d08 799 PyObject * _obj2 = 0;
eec92d76 800 char *_kwnames[] = { "self","choices", NULL };
9c039d08
RD
801
802 self = self;
efc5f224 803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
9c039d08 804 return NULL;
1d99702e
RD
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
809 return NULL;
810 }
811 }
812 if (_obj2)
813{
814 _arg2 = int_LIST_helper(_obj2);
815 if (_arg2 == NULL) {
816 return NULL;
817 }
818}
819{
cf694132
RD
820 if (_obj2) {
821 _arg1 = PyList_Size(_obj2);
822 }
823 else {
824 _arg1 = 0;
825 }
9c039d08 826}
cf694132
RD
827{
828 wxPy_BEGIN_ALLOW_THREADS;
829 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
830
831 wxPy_END_ALLOW_THREADS;
493f1553 832 if (PyErr_Occurred()) return NULL;
cf694132 833} Py_INCREF(Py_None);
9c039d08
RD
834 _resultobj = Py_None;
835{
836 delete [] _arg2;
837}
838 return _resultobj;
839}
840
841#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 842static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
843 PyObject * _resultobj;
844 wxFrame * _arg0;
845 wxString * _arg1;
1d99702e 846 PyObject * _argo0 = 0;
9c039d08 847 PyObject * _obj1 = 0;
efc5f224 848 char *_kwnames[] = { "self","title", NULL };
9c039d08
RD
849
850 self = self;
efc5f224 851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
9c039d08 852 return NULL;
1d99702e
RD
853 if (_argo0) {
854 if (_argo0 == Py_None) { _arg0 = NULL; }
855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
857 return NULL;
858 }
859 }
860{
185d7c3e
RD
861#if PYTHON_API_VERSION >= 1009
862 char* tmpPtr; int tmpSize;
863 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 864 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
865 return NULL;
866 }
867 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
868 return NULL;
869 _arg1 = new wxString(tmpPtr, tmpSize);
870#else
9c039d08
RD
871 if (!PyString_Check(_obj1)) {
872 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
873 return NULL;
874 }
185d7c3e
RD
875 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
876#endif
9c039d08 877}
cf694132
RD
878{
879 wxPy_BEGIN_ALLOW_THREADS;
880 wxFrame_SetTitle(_arg0,*_arg1);
881
882 wxPy_END_ALLOW_THREADS;
493f1553 883 if (PyErr_Occurred()) return NULL;
cf694132 884} Py_INCREF(Py_None);
9c039d08
RD
885 _resultobj = Py_None;
886{
887 if (_obj1)
888 delete _arg1;
889}
890 return _resultobj;
891}
892
893#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
efc5f224 894static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
895 PyObject * _resultobj;
896 wxFrame * _arg0;
897 wxToolBar * _arg1;
1d99702e
RD
898 PyObject * _argo0 = 0;
899 PyObject * _argo1 = 0;
efc5f224 900 char *_kwnames[] = { "self","toolbar", NULL };
9c039d08
RD
901
902 self = self;
efc5f224 903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
9c039d08 904 return NULL;
1d99702e
RD
905 if (_argo0) {
906 if (_argo0 == Py_None) { _arg0 = NULL; }
907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
909 return NULL;
910 }
911 }
1d99702e
RD
912 if (_argo1) {
913 if (_argo1 == Py_None) { _arg1 = NULL; }
914 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
9c039d08
RD
915 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
916 return NULL;
917 }
918 }
cf694132
RD
919{
920 wxPy_BEGIN_ALLOW_THREADS;
921 wxFrame_SetToolBar(_arg0,_arg1);
922
923 wxPy_END_ALLOW_THREADS;
493f1553 924 if (PyErr_Occurred()) return NULL;
cf694132 925} Py_INCREF(Py_None);
9c039d08
RD
926 _resultobj = Py_None;
927 return _resultobj;
928}
929
f6bcfd97
BP
930#define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
931static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxFrame * _arg0;
934 bool _arg1 = (bool ) TRUE;
935 PyObject * _argo0 = 0;
936 int tempbool1 = (int) TRUE;
937 char *_kwnames[] = { "self","modal", NULL };
938
939 self = self;
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1))
941 return NULL;
942 if (_argo0) {
943 if (_argo0 == Py_None) { _arg0 = NULL; }
944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
946 return NULL;
947 }
948 }
949 _arg1 = (bool ) tempbool1;
950{
951 wxPy_BEGIN_ALLOW_THREADS;
952 wxFrame_MakeModal(_arg0,_arg1);
953
954 wxPy_END_ALLOW_THREADS;
493f1553 955 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
956} Py_INCREF(Py_None);
957 _resultobj = Py_None;
958 return _resultobj;
959}
960
961#define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
962static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 wxPoint * _result;
965 wxFrame * _arg0;
966 PyObject * _argo0 = 0;
967 char *_kwnames[] = { "self", NULL };
968 char _ptemp[128];
969
970 self = self;
971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
972 return NULL;
973 if (_argo0) {
974 if (_argo0 == Py_None) { _arg0 = NULL; }
975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
977 return NULL;
978 }
979 }
980{
981 wxPy_BEGIN_ALLOW_THREADS;
982 _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
983
984 wxPy_END_ALLOW_THREADS;
493f1553 985 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
986} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
987 _resultobj = Py_BuildValue("s",_ptemp);
988 return _resultobj;
989}
990
991#define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
992static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
993 PyObject * _resultobj;
994 bool _result;
995 wxFrame * _arg0;
996 int _arg1;
997 PyObject * _argo0 = 0;
998 char *_kwnames[] = { "self","id", NULL };
999
1000 self = self;
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
1002 return NULL;
1003 if (_argo0) {
1004 if (_argo0 == Py_None) { _arg0 = NULL; }
1005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1007 return NULL;
1008 }
1009 }
1010{
1011 wxPy_BEGIN_ALLOW_THREADS;
1012 _result = (bool )wxFrame_Command(_arg0,_arg1);
1013
1014 wxPy_END_ALLOW_THREADS;
493f1553 1015 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1016} _resultobj = Py_BuildValue("i",_result);
1017 return _resultobj;
1018}
1019
1020#define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1021static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1022 PyObject * _resultobj;
1023 bool _result;
1024 wxFrame * _arg0;
1025 int _arg1;
1026 PyObject * _argo0 = 0;
1027 char *_kwnames[] = { "self","id", NULL };
1028
1029 self = self;
1030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1))
1031 return NULL;
1032 if (_argo0) {
1033 if (_argo0 == Py_None) { _arg0 = NULL; }
1034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1036 return NULL;
1037 }
1038 }
1039{
1040 wxPy_BEGIN_ALLOW_THREADS;
1041 _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
1042
1043 wxPy_END_ALLOW_THREADS;
493f1553 1044 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1045} _resultobj = Py_BuildValue("i",_result);
1046 return _resultobj;
1047}
1048
1049#define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
1050static PyObject *_wrap_wxFrame_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 bool _result;
1053 wxFrame * _arg0;
1054 bool _arg1;
1055 long _arg2 = (long ) (wxFULLSCREEN_ALL);
1056 PyObject * _argo0 = 0;
1057 int tempbool1;
1058 char *_kwnames[] = { "self","show","style", NULL };
1059
1060 self = self;
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxFrame_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2))
1062 return NULL;
1063 if (_argo0) {
1064 if (_argo0 == Py_None) { _arg0 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p.");
1067 return NULL;
1068 }
1069 }
1070 _arg1 = (bool ) tempbool1;
1071{
1072 wxPy_BEGIN_ALLOW_THREADS;
1073 _result = (bool )wxFrame_ShowFullScreen(_arg0,_arg1,_arg2);
1074
1075 wxPy_END_ALLOW_THREADS;
493f1553 1076 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1077} _resultobj = Py_BuildValue("i",_result);
1078 return _resultobj;
1079}
1080
edf2f43e
RD
1081#define wxFrame_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
1082static PyObject *_wrap_wxFrame_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject * _resultobj;
1084 bool _result;
1085 wxFrame * _arg0;
1086 PyObject * _argo0 = 0;
1087 char *_kwnames[] = { "self", NULL };
1088
1089 self = self;
1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsFullScreen",_kwnames,&_argo0))
1091 return NULL;
1092 if (_argo0) {
1093 if (_argo0 == Py_None) { _arg0 = NULL; }
1094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsFullScreen. Expected _wxFrame_p.");
1096 return NULL;
1097 }
1098 }
1099{
1100 wxPy_BEGIN_ALLOW_THREADS;
1101 _result = (bool )wxFrame_IsFullScreen(_arg0);
1102
1103 wxPy_END_ALLOW_THREADS;
1104 if (PyErr_Occurred()) return NULL;
1105} _resultobj = Py_BuildValue("i",_result);
1106 return _resultobj;
1107}
1108
9c039d08
RD
1109static void *SwigwxMiniFrameTowxFrame(void *ptr) {
1110 wxMiniFrame *src;
1111 wxFrame *dest;
1112 src = (wxMiniFrame *) ptr;
1113 dest = (wxFrame *) src;
1114 return (void *) dest;
1115}
1116
1117static void *SwigwxMiniFrameTowxWindow(void *ptr) {
1118 wxMiniFrame *src;
1119 wxWindow *dest;
1120 src = (wxMiniFrame *) ptr;
1121 dest = (wxWindow *) src;
1122 return (void *) dest;
1123}
1124
1125static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
1126 wxMiniFrame *src;
1127 wxEvtHandler *dest;
1128 src = (wxMiniFrame *) ptr;
1129 dest = (wxEvtHandler *) src;
1130 return (void *) dest;
1131}
1132
9416aa89
RD
1133static void *SwigwxMiniFrameTowxObject(void *ptr) {
1134 wxMiniFrame *src;
1135 wxObject *dest;
1136 src = (wxMiniFrame *) ptr;
1137 dest = (wxObject *) src;
1138 return (void *) dest;
1139}
1140
9c039d08 1141#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 1142static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1143 PyObject * _resultobj;
1144 wxMiniFrame * _result;
1145 wxWindow * _arg0;
1146 wxWindowID _arg1;
1147 wxString * _arg2;
e508a2b6
RD
1148 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1149 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
1150 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
1151 char * _arg6 = (char *) "frame";
1152 PyObject * _argo0 = 0;
9c039d08 1153 PyObject * _obj2 = 0;
2f90df85
RD
1154 wxPoint temp;
1155 PyObject * _obj3 = 0;
1156 wxSize temp0;
1157 PyObject * _obj4 = 0;
efc5f224 1158 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
1159 char _ptemp[128];
1160
1161 self = self;
2f90df85 1162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
9c039d08 1163 return NULL;
1d99702e
RD
1164 if (_argo0) {
1165 if (_argo0 == Py_None) { _arg0 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1168 return NULL;
1169 }
1170 }
1171{
185d7c3e
RD
1172#if PYTHON_API_VERSION >= 1009
1173 char* tmpPtr; int tmpSize;
1174 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 1175 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1176 return NULL;
1177 }
1178 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1179 return NULL;
1180 _arg2 = new wxString(tmpPtr, tmpSize);
1181#else
9c039d08
RD
1182 if (!PyString_Check(_obj2)) {
1183 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1184 return NULL;
1185 }
185d7c3e
RD
1186 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1187#endif
9c039d08 1188}
2f90df85
RD
1189 if (_obj3)
1190{
1191 _arg3 = &temp;
1192 if (! wxPoint_helper(_obj3, &_arg3))
9c039d08 1193 return NULL;
2f90df85
RD
1194}
1195 if (_obj4)
1196{
1197 _arg4 = &temp0;
1198 if (! wxSize_helper(_obj4, &_arg4))
9c039d08 1199 return NULL;
2f90df85 1200}
cf694132
RD
1201{
1202 wxPy_BEGIN_ALLOW_THREADS;
1203 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1204
1205 wxPy_END_ALLOW_THREADS;
493f1553 1206 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1207} if (_result) {
1208 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1209 _resultobj = Py_BuildValue("s",_ptemp);
1210 } else {
1211 Py_INCREF(Py_None);
1212 _resultobj = Py_None;
1213 }
9c039d08
RD
1214{
1215 if (_obj2)
1216 delete _arg2;
1217}
1218 return _resultobj;
1219}
1220
1221static PyMethodDef framescMethods[] = {
efc5f224 1222 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
edf2f43e 1223 { "wxFrame_IsFullScreen", (PyCFunction) _wrap_wxFrame_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
1224 { "wxFrame_ShowFullScreen", (PyCFunction) _wrap_wxFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
1225 { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
1226 { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
1227 { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
1228 { "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1229 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
1230 { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
1231 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
1232 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
1233 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
1234 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
1235 { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
1236 { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
1237 { "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS },
1238 { "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1239 { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
1240 { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
1241 { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
1242 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
1243 { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
1244 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
1245 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 1246 { "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1247 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
1248 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1249 { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
1250 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
9c039d08
RD
1251 { NULL, NULL }
1252};
1d99702e
RD
1253#ifdef __cplusplus
1254}
1255#endif
1256/*
1257 * This table is used by the pointer type-checker
1258 */
1259static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 1260 { "_signed_long","_long",0},
b1462dfa 1261 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
1262 { "_wxPrintQuality","_int",0},
1263 { "_wxPrintQuality","_signed_int",0},
1264 { "_wxPrintQuality","_unsigned_int",0},
1265 { "_wxPrintQuality","_wxWindowID",0},
1266 { "_wxPrintQuality","_uint",0},
1267 { "_wxPrintQuality","_EBool",0},
1268 { "_wxPrintQuality","_size_t",0},
c368d904 1269 { "_wxPrintQuality","_time_t",0},
1d99702e 1270 { "_byte","_unsigned_char",0},
1d99702e
RD
1271 { "_long","_unsigned_long",0},
1272 { "_long","_signed_long",0},
b1462dfa 1273 { "_size_t","_wxCoord",0},
1d99702e 1274 { "_size_t","_wxPrintQuality",0},
c368d904 1275 { "_size_t","_time_t",0},
1d99702e
RD
1276 { "_size_t","_unsigned_int",0},
1277 { "_size_t","_int",0},
1278 { "_size_t","_wxWindowID",0},
1279 { "_size_t","_uint",0},
b1462dfa 1280 { "_uint","_wxCoord",0},
1d99702e 1281 { "_uint","_wxPrintQuality",0},
c368d904 1282 { "_uint","_time_t",0},
1d99702e
RD
1283 { "_uint","_size_t",0},
1284 { "_uint","_unsigned_int",0},
1285 { "_uint","_int",0},
1286 { "_uint","_wxWindowID",0},
f6bcfd97 1287 { "_wxChar","_char",0},
f6bcfd97 1288 { "_char","_wxChar",0},
b1462dfa 1289 { "_EBool","_wxCoord",0},
1d99702e
RD
1290 { "_EBool","_wxPrintQuality",0},
1291 { "_EBool","_signed_int",0},
1292 { "_EBool","_int",0},
1293 { "_EBool","_wxWindowID",0},
1d99702e 1294 { "_unsigned_long","_long",0},
b1462dfa 1295 { "_signed_int","_wxCoord",0},
1d99702e
RD
1296 { "_signed_int","_wxPrintQuality",0},
1297 { "_signed_int","_EBool",0},
1298 { "_signed_int","_wxWindowID",0},
1299 { "_signed_int","_int",0},
1d99702e
RD
1300 { "_WXTYPE","_short",0},
1301 { "_WXTYPE","_signed_short",0},
1302 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
1303 { "_unsigned_short","_WXTYPE",0},
1304 { "_unsigned_short","_short",0},
9416aa89 1305 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject},
9416aa89 1306 { "_wxObject","_wxFrame",SwigwxFrameTowxObject},
1d99702e
RD
1307 { "_signed_short","_WXTYPE",0},
1308 { "_signed_short","_short",0},
1d99702e 1309 { "_unsigned_char","_byte",0},
b1462dfa 1310 { "_unsigned_int","_wxCoord",0},
1d99702e 1311 { "_unsigned_int","_wxPrintQuality",0},
c368d904 1312 { "_unsigned_int","_time_t",0},
1d99702e
RD
1313 { "_unsigned_int","_size_t",0},
1314 { "_unsigned_int","_uint",0},
1315 { "_unsigned_int","_wxWindowID",0},
1316 { "_unsigned_int","_int",0},
1d99702e
RD
1317 { "_short","_WXTYPE",0},
1318 { "_short","_unsigned_short",0},
1319 { "_short","_signed_short",0},
1d99702e 1320 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
b1462dfa 1321 { "_wxWindowID","_wxCoord",0},
1d99702e 1322 { "_wxWindowID","_wxPrintQuality",0},
c368d904 1323 { "_wxWindowID","_time_t",0},
1d99702e
RD
1324 { "_wxWindowID","_size_t",0},
1325 { "_wxWindowID","_EBool",0},
1326 { "_wxWindowID","_uint",0},
1327 { "_wxWindowID","_int",0},
1328 { "_wxWindowID","_signed_int",0},
1329 { "_wxWindowID","_unsigned_int",0},
b1462dfa 1330 { "_int","_wxCoord",0},
1d99702e 1331 { "_int","_wxPrintQuality",0},
c368d904 1332 { "_int","_time_t",0},
1d99702e
RD
1333 { "_int","_size_t",0},
1334 { "_int","_EBool",0},
1335 { "_int","_uint",0},
1336 { "_int","_wxWindowID",0},
1337 { "_int","_unsigned_int",0},
1338 { "_int","_signed_int",0},
c368d904
RD
1339 { "_time_t","_wxCoord",0},
1340 { "_time_t","_wxPrintQuality",0},
1341 { "_time_t","_unsigned_int",0},
1342 { "_time_t","_int",0},
1343 { "_time_t","_wxWindowID",0},
1344 { "_time_t","_uint",0},
1345 { "_time_t","_size_t",0},
b1462dfa
RD
1346 { "_wxCoord","_int",0},
1347 { "_wxCoord","_signed_int",0},
1348 { "_wxCoord","_unsigned_int",0},
1349 { "_wxCoord","_wxWindowID",0},
1350 { "_wxCoord","_uint",0},
1351 { "_wxCoord","_EBool",0},
1352 { "_wxCoord","_size_t",0},
c368d904 1353 { "_wxCoord","_time_t",0},
b1462dfa 1354 { "_wxCoord","_wxPrintQuality",0},
1d99702e 1355 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1d99702e 1356 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1d99702e 1357 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1d99702e 1358 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1d99702e
RD
1359{0,0,0}};
1360
9c039d08
RD
1361static PyObject *SWIG_globals;
1362#ifdef __cplusplus
1363extern "C"
1364#endif
1d99702e 1365SWIGEXPORT(void) initframesc() {
9c039d08
RD
1366 PyObject *m, *d;
1367 SWIG_globals = SWIG_newvarlink();
1368 m = Py_InitModule("framesc", framescMethods);
1369 d = PyModule_GetDict(m);
f6bcfd97
BP
1370 PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR));
1371 PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR));
1372 PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR));
1373 PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER));
1374 PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION));
1375 PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL));
1d99702e
RD
1376{
1377 int i;
1378 for (i = 0; _swig_mapping[i].n1; i++)
1379 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1380}
9c039d08 1381}