]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/frames.cpp
some little fixes
[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__)
9c4165ad 30# define SWIGEXPORT(a) a _export
9c039d08 31# else
9c4165ad 32# define SWIGEXPORT(a) a
9c039d08
RD
33# endif
34# endif
35#else
9c4165ad 36# define SWIGEXPORT(a) a
9c039d08
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
9c4165ad 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>
9c039d08
RD
58
59static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
2cd2fac8 61 if (!target) {
9c039d08 62 target = o;
2cd2fac8 63 } else if (target == Py_None) {
9c039d08
RD
64 Py_DECREF(Py_None);
65 target = o;
2cd2fac8 66 } else {
9c039d08
RD
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77}
78
79static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
2cd2fac8 83 if (!target) {
9c039d08 84 target = o;
2cd2fac8 85 } else if (target == Py_None) {
9c039d08
RD
86 Py_DECREF(Py_None);
87 target = o;
2cd2fac8 88 } else {
9c039d08
RD
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
2cd2fac8
RD
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
9c039d08
RD
96
97 o2 = target;
2cd2fac8
RD
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
9c039d08
RD
100 Py_DECREF(o3);
101 }
102 return target;
103}
104
9c039d08 105static char* wxStringErrorMsg = "string type is required for parameter";
1d99702e
RD
106#ifdef __cplusplus
107extern "C" {
108#endif
9c039d08
RD
109static void *SwigwxFrameTowxWindow(void *ptr) {
110 wxFrame *src;
111 wxWindow *dest;
112 src = (wxFrame *) ptr;
113 dest = (wxWindow *) src;
114 return (void *) dest;
115}
116
117static void *SwigwxFrameTowxEvtHandler(void *ptr) {
118 wxFrame *src;
119 wxEvtHandler *dest;
120 src = (wxFrame *) ptr;
121 dest = (wxEvtHandler *) src;
122 return (void *) dest;
123}
124
125#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 126static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
127 PyObject * _resultobj;
128 wxFrame * _result;
129 wxWindow * _arg0;
130 wxWindowID _arg1;
131 wxString * _arg2;
b68dc582
RD
132 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
133 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
134 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
135 char * _arg6 = (char *) "frame";
136 PyObject * _argo0 = 0;
9c039d08 137 PyObject * _obj2 = 0;
2f90df85
RD
138 wxPoint temp;
139 PyObject * _obj3 = 0;
140 wxSize temp0;
141 PyObject * _obj4 = 0;
efc5f224 142 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
143 char _ptemp[128];
144
145 self = self;
2f90df85 146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
9c039d08 147 return NULL;
1d99702e
RD
148 if (_argo0) {
149 if (_argo0 == Py_None) { _arg0 = NULL; }
150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
152 return NULL;
153 }
154 }
155{
2cd2fac8
RD
156#if PYTHON_API_VERSION >= 1009
157 char* tmpPtr; int tmpSize;
158 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
159 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
160 return NULL;
161 }
162 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
163 return NULL;
164 _arg2 = new wxString(tmpPtr, tmpSize);
165#else
9c039d08
RD
166 if (!PyString_Check(_obj2)) {
167 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
168 return NULL;
169 }
2cd2fac8
RD
170 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
171#endif
9c039d08 172}
2f90df85
RD
173 if (_obj3)
174{
175 _arg3 = &temp;
176 if (! wxPoint_helper(_obj3, &_arg3))
9c039d08 177 return NULL;
2f90df85
RD
178}
179 if (_obj4)
180{
181 _arg4 = &temp0;
182 if (! wxSize_helper(_obj4, &_arg4))
9c039d08 183 return NULL;
2f90df85 184}
cf694132
RD
185{
186 wxPy_BEGIN_ALLOW_THREADS;
187 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
188
189 wxPy_END_ALLOW_THREADS;
1d99702e
RD
190} if (_result) {
191 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
192 _resultobj = Py_BuildValue("s",_ptemp);
193 } else {
194 Py_INCREF(Py_None);
195 _resultobj = Py_None;
196 }
9c039d08
RD
197{
198 if (_obj2)
199 delete _arg2;
200}
201 return _resultobj;
202}
203
204#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
efc5f224 205static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
206 PyObject * _resultobj;
207 wxFrame * _arg0;
1d99702e
RD
208 int _arg1 = (int ) wxBOTH;
209 PyObject * _argo0 = 0;
efc5f224 210 char *_kwnames[] = { "self","direction", NULL };
9c039d08
RD
211
212 self = self;
efc5f224 213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
9c039d08 214 return NULL;
1d99702e
RD
215 if (_argo0) {
216 if (_argo0 == Py_None) { _arg0 = NULL; }
217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
219 return NULL;
220 }
221 }
cf694132
RD
222{
223 wxPy_BEGIN_ALLOW_THREADS;
224 wxFrame_Centre(_arg0,_arg1);
225
226 wxPy_END_ALLOW_THREADS;
227} Py_INCREF(Py_None);
9c039d08
RD
228 _resultobj = Py_None;
229 return _resultobj;
230}
231
9c039d08 232#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
efc5f224 233static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
234 PyObject * _resultobj;
235 wxStatusBar * _result;
236 wxFrame * _arg0;
1d99702e
RD
237 int _arg1 = (int ) 1;
238 long _arg2 = (long ) wxST_SIZEGRIP;
239 wxWindowID _arg3 = (wxWindowID ) -1;
240 char * _arg4 = (char *) "statusBar";
241 PyObject * _argo0 = 0;
efc5f224 242 char *_kwnames[] = { "self","number","style","id","name", NULL };
9c039d08
RD
243 char _ptemp[128];
244
245 self = self;
efc5f224 246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9c039d08 247 return NULL;
1d99702e
RD
248 if (_argo0) {
249 if (_argo0 == Py_None) { _arg0 = NULL; }
250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
252 return NULL;
253 }
254 }
cf694132
RD
255{
256 wxPy_BEGIN_ALLOW_THREADS;
257 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
258
259 wxPy_END_ALLOW_THREADS;
1d99702e
RD
260} if (_result) {
261 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
262 _resultobj = Py_BuildValue("s",_ptemp);
263 } else {
264 Py_INCREF(Py_None);
265 _resultobj = Py_None;
266 }
9c039d08
RD
267 return _resultobj;
268}
269
270#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
efc5f224 271static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
272 PyObject * _resultobj;
273 wxToolBar * _result;
274 wxFrame * _arg0;
1d99702e
RD
275 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT;
276 wxWindowID _arg2 = (wxWindowID ) -1;
277 char * _arg3 = (char *) "toolBar";
278 PyObject * _argo0 = 0;
efc5f224 279 char *_kwnames[] = { "self","style","id","name", NULL };
9c039d08
RD
280 char _ptemp[128];
281
282 self = self;
efc5f224 283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9c039d08 284 return NULL;
1d99702e
RD
285 if (_argo0) {
286 if (_argo0 == Py_None) { _arg0 = NULL; }
287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
289 return NULL;
290 }
291 }
cf694132
RD
292{
293 wxPy_BEGIN_ALLOW_THREADS;
294 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
295
296 wxPy_END_ALLOW_THREADS;
1d99702e
RD
297} if (_result) {
298 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
299 _resultobj = Py_BuildValue("s",_ptemp);
300 } else {
301 Py_INCREF(Py_None);
302 _resultobj = Py_None;
303 }
9c039d08
RD
304 return _resultobj;
305}
306
f6bcfd97
BP
307#define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
308static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
309 PyObject * _resultobj;
310 wxIcon * _result;
311 wxFrame * _arg0;
312 PyObject * _argo0 = 0;
313 char *_kwnames[] = { "self", NULL };
314 char _ptemp[128];
315
316 self = self;
317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0))
318 return NULL;
319 if (_argo0) {
320 if (_argo0 == Py_None) { _arg0 = NULL; }
321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
323 return NULL;
324 }
325 }
326{
327 wxPy_BEGIN_ALLOW_THREADS;
328 const wxIcon & _result_ref = wxFrame_GetIcon(_arg0);
329 _result = (wxIcon *) &_result_ref;
330
331 wxPy_END_ALLOW_THREADS;
332} if (_result) {
333 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
334 _resultobj = Py_BuildValue("s",_ptemp);
335 } else {
336 Py_INCREF(Py_None);
337 _resultobj = Py_None;
338 }
339 return _resultobj;
340}
341
9c039d08 342#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
efc5f224 343static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
344 PyObject * _resultobj;
345 wxMenuBar * _result;
346 wxFrame * _arg0;
1d99702e 347 PyObject * _argo0 = 0;
efc5f224 348 char *_kwnames[] = { "self", NULL };
9c039d08
RD
349 char _ptemp[128];
350
351 self = self;
efc5f224 352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
9c039d08 353 return NULL;
1d99702e
RD
354 if (_argo0) {
355 if (_argo0 == Py_None) { _arg0 = NULL; }
356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
358 return NULL;
359 }
360 }
cf694132
RD
361{
362 wxPy_BEGIN_ALLOW_THREADS;
363 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
364
365 wxPy_END_ALLOW_THREADS;
1d99702e
RD
366} if (_result) {
367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
368 _resultobj = Py_BuildValue("s",_ptemp);
369 } else {
370 Py_INCREF(Py_None);
371 _resultobj = Py_None;
372 }
9c039d08
RD
373 return _resultobj;
374}
375
376#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
efc5f224 377static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
378 PyObject * _resultobj;
379 wxStatusBar * _result;
380 wxFrame * _arg0;
1d99702e 381 PyObject * _argo0 = 0;
efc5f224 382 char *_kwnames[] = { "self", NULL };
9c039d08
RD
383 char _ptemp[128];
384
385 self = self;
efc5f224 386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
9c039d08 387 return NULL;
1d99702e
RD
388 if (_argo0) {
389 if (_argo0 == Py_None) { _arg0 = NULL; }
390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
392 return NULL;
393 }
394 }
cf694132
RD
395{
396 wxPy_BEGIN_ALLOW_THREADS;
397 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
398
399 wxPy_END_ALLOW_THREADS;
1d99702e
RD
400} if (_result) {
401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
402 _resultobj = Py_BuildValue("s",_ptemp);
403 } else {
404 Py_INCREF(Py_None);
405 _resultobj = Py_None;
406 }
9c039d08
RD
407 return _resultobj;
408}
409
410#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
efc5f224 411static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
412 PyObject * _resultobj;
413 wxString * _result;
414 wxFrame * _arg0;
1d99702e 415 PyObject * _argo0 = 0;
efc5f224 416 char *_kwnames[] = { "self", NULL };
9c039d08
RD
417
418 self = self;
efc5f224 419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
9c039d08 420 return NULL;
1d99702e
RD
421 if (_argo0) {
422 if (_argo0 == Py_None) { _arg0 = NULL; }
423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
425 return NULL;
426 }
427 }
9c039d08 428{
cf694132
RD
429 wxPy_BEGIN_ALLOW_THREADS;
430 _result = new wxString (wxFrame_GetTitle(_arg0));
431
432 wxPy_END_ALLOW_THREADS;
433}{
eec92d76 434 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9c039d08
RD
435}
436{
437 delete _result;
438}
439 return _resultobj;
440}
441
442#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
efc5f224 443static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
444 PyObject * _resultobj;
445 wxToolBar * _result;
446 wxFrame * _arg0;
1d99702e 447 PyObject * _argo0 = 0;
efc5f224 448 char *_kwnames[] = { "self", NULL };
9c039d08
RD
449 char _ptemp[128];
450
451 self = self;
efc5f224 452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
9c039d08 453 return NULL;
1d99702e
RD
454 if (_argo0) {
455 if (_argo0 == Py_None) { _arg0 = NULL; }
456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
458 return NULL;
459 }
460 }
cf694132
RD
461{
462 wxPy_BEGIN_ALLOW_THREADS;
463 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
464
465 wxPy_END_ALLOW_THREADS;
1d99702e
RD
466} if (_result) {
467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
468 _resultobj = Py_BuildValue("s",_ptemp);
469 } else {
470 Py_INCREF(Py_None);
471 _resultobj = Py_None;
472 }
9c039d08
RD
473 return _resultobj;
474}
475
476#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
efc5f224 477static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
478 PyObject * _resultobj;
479 wxFrame * _arg0;
480 bool _arg1;
1d99702e 481 PyObject * _argo0 = 0;
9c039d08 482 int tempbool1;
efc5f224 483 char *_kwnames[] = { "self","iconize", NULL };
9c039d08
RD
484
485 self = self;
efc5f224 486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
9c039d08 487 return NULL;
1d99702e
RD
488 if (_argo0) {
489 if (_argo0 == Py_None) { _arg0 = NULL; }
490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
492 return NULL;
493 }
494 }
495 _arg1 = (bool ) tempbool1;
cf694132
RD
496{
497 wxPy_BEGIN_ALLOW_THREADS;
498 wxFrame_Iconize(_arg0,_arg1);
499
500 wxPy_END_ALLOW_THREADS;
501} Py_INCREF(Py_None);
9c039d08
RD
502 _resultobj = Py_None;
503 return _resultobj;
504}
505
506#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
efc5f224 507static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
508 PyObject * _resultobj;
509 bool _result;
510 wxFrame * _arg0;
1d99702e 511 PyObject * _argo0 = 0;
efc5f224 512 char *_kwnames[] = { "self", NULL };
9c039d08
RD
513
514 self = self;
efc5f224 515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
9c039d08 516 return NULL;
1d99702e
RD
517 if (_argo0) {
518 if (_argo0 == Py_None) { _arg0 = NULL; }
519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
521 return NULL;
522 }
523 }
cf694132
RD
524{
525 wxPy_BEGIN_ALLOW_THREADS;
526 _result = (bool )wxFrame_IsIconized(_arg0);
527
528 wxPy_END_ALLOW_THREADS;
529} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
530 return _resultobj;
531}
532
533#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
efc5f224 534static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
535 PyObject * _resultobj;
536 wxFrame * _arg0;
537 bool _arg1;
1d99702e 538 PyObject * _argo0 = 0;
9c039d08 539 int tempbool1;
efc5f224 540 char *_kwnames[] = { "self","maximize", NULL };
9c039d08
RD
541
542 self = self;
efc5f224 543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
9c039d08 544 return NULL;
1d99702e
RD
545 if (_argo0) {
546 if (_argo0 == Py_None) { _arg0 = NULL; }
547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
549 return NULL;
550 }
551 }
552 _arg1 = (bool ) tempbool1;
cf694132
RD
553{
554 wxPy_BEGIN_ALLOW_THREADS;
555 wxFrame_Maximize(_arg0,_arg1);
556
557 wxPy_END_ALLOW_THREADS;
558} Py_INCREF(Py_None);
9c039d08
RD
559 _resultobj = Py_None;
560 return _resultobj;
561}
562
f6bcfd97
BP
563#define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
564static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
565 PyObject * _resultobj;
566 bool _result;
567 wxFrame * _arg0;
568 PyObject * _argo0 = 0;
569 char *_kwnames[] = { "self", NULL };
570
571 self = self;
572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0))
573 return NULL;
574 if (_argo0) {
575 if (_argo0 == Py_None) { _arg0 = NULL; }
576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
578 return NULL;
579 }
580 }
581{
582 wxPy_BEGIN_ALLOW_THREADS;
583 _result = (bool )wxFrame_IsMaximized(_arg0);
584
585 wxPy_END_ALLOW_THREADS;
586} _resultobj = Py_BuildValue("i",_result);
587 return _resultobj;
588}
589
590#define wxFrame_Restore(_swigobj) (_swigobj->Restore())
591static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
592 PyObject * _resultobj;
593 wxFrame * _arg0;
594 PyObject * _argo0 = 0;
595 char *_kwnames[] = { "self", NULL };
596
597 self = self;
598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0))
599 return NULL;
600 if (_argo0) {
601 if (_argo0 == Py_None) { _arg0 = NULL; }
602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
604 return NULL;
605 }
606 }
607{
608 wxPy_BEGIN_ALLOW_THREADS;
609 wxFrame_Restore(_arg0);
610
611 wxPy_END_ALLOW_THREADS;
612} Py_INCREF(Py_None);
613 _resultobj = Py_None;
614 return _resultobj;
615}
616
9c039d08 617#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
efc5f224 618static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
619 PyObject * _resultobj;
620 wxFrame * _arg0;
621 wxAcceleratorTable * _arg1;
1d99702e
RD
622 PyObject * _argo0 = 0;
623 PyObject * _argo1 = 0;
efc5f224 624 char *_kwnames[] = { "self","accel", NULL };
9c039d08
RD
625
626 self = self;
efc5f224 627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
9c039d08 628 return NULL;
1d99702e
RD
629 if (_argo0) {
630 if (_argo0 == Py_None) { _arg0 = NULL; }
631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
633 return NULL;
634 }
635 }
1d99702e
RD
636 if (_argo1) {
637 if (_argo1 == Py_None) { _arg1 = NULL; }
638 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
9c039d08
RD
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
640 return NULL;
641 }
642 }
cf694132
RD
643{
644 wxPy_BEGIN_ALLOW_THREADS;
645 wxFrame_SetAcceleratorTable(_arg0,*_arg1);
646
647 wxPy_END_ALLOW_THREADS;
648} Py_INCREF(Py_None);
9c039d08
RD
649 _resultobj = Py_None;
650 return _resultobj;
651}
652
653#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
efc5f224 654static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
655 PyObject * _resultobj;
656 wxFrame * _arg0;
657 wxIcon * _arg1;
1d99702e
RD
658 PyObject * _argo0 = 0;
659 PyObject * _argo1 = 0;
efc5f224 660 char *_kwnames[] = { "self","icon", NULL };
9c039d08
RD
661
662 self = self;
efc5f224 663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
9c039d08 664 return NULL;
1d99702e
RD
665 if (_argo0) {
666 if (_argo0 == Py_None) { _arg0 = NULL; }
667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
669 return NULL;
670 }
671 }
1d99702e
RD
672 if (_argo1) {
673 if (_argo1 == Py_None) { _arg1 = NULL; }
674 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
9c039d08
RD
675 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
676 return NULL;
677 }
678 }
cf694132
RD
679{
680 wxPy_BEGIN_ALLOW_THREADS;
681 wxFrame_SetIcon(_arg0,*_arg1);
682
683 wxPy_END_ALLOW_THREADS;
684} Py_INCREF(Py_None);
9c039d08
RD
685 _resultobj = Py_None;
686 return _resultobj;
687}
688
689#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
efc5f224 690static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
691 PyObject * _resultobj;
692 wxFrame * _arg0;
693 wxMenuBar * _arg1;
1d99702e
RD
694 PyObject * _argo0 = 0;
695 PyObject * _argo1 = 0;
efc5f224 696 char *_kwnames[] = { "self","menuBar", NULL };
9c039d08
RD
697
698 self = self;
efc5f224 699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
9c039d08 700 return NULL;
1d99702e
RD
701 if (_argo0) {
702 if (_argo0 == Py_None) { _arg0 = NULL; }
703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
705 return NULL;
706 }
707 }
1d99702e
RD
708 if (_argo1) {
709 if (_argo1 == Py_None) { _arg1 = NULL; }
710 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
9c039d08
RD
711 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
712 return NULL;
713 }
714 }
cf694132
RD
715{
716 wxPy_BEGIN_ALLOW_THREADS;
717 wxFrame_SetMenuBar(_arg0,_arg1);
718
719 wxPy_END_ALLOW_THREADS;
720} Py_INCREF(Py_None);
9c039d08
RD
721 _resultobj = Py_None;
722 return _resultobj;
723}
724
725#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
efc5f224 726static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
727 PyObject * _resultobj;
728 wxFrame * _arg0;
729 wxStatusBar * _arg1;
1d99702e
RD
730 PyObject * _argo0 = 0;
731 PyObject * _argo1 = 0;
efc5f224 732 char *_kwnames[] = { "self","statusBar", NULL };
9c039d08
RD
733
734 self = self;
efc5f224 735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
9c039d08 736 return NULL;
1d99702e
RD
737 if (_argo0) {
738 if (_argo0 == Py_None) { _arg0 = NULL; }
739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
741 return NULL;
742 }
743 }
1d99702e
RD
744 if (_argo1) {
745 if (_argo1 == Py_None) { _arg1 = NULL; }
746 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
9c039d08
RD
747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
748 return NULL;
749 }
750 }
cf694132
RD
751{
752 wxPy_BEGIN_ALLOW_THREADS;
753 wxFrame_SetStatusBar(_arg0,_arg1);
754
755 wxPy_END_ALLOW_THREADS;
756} Py_INCREF(Py_None);
9c039d08
RD
757 _resultobj = Py_None;
758 return _resultobj;
759}
760
761#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
efc5f224 762static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
763 PyObject * _resultobj;
764 wxFrame * _arg0;
765 wxString * _arg1;
1d99702e
RD
766 int _arg2 = (int ) 0;
767 PyObject * _argo0 = 0;
9c039d08 768 PyObject * _obj1 = 0;
efc5f224 769 char *_kwnames[] = { "self","text","number", NULL };
9c039d08
RD
770
771 self = self;
efc5f224 772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
9c039d08 773 return NULL;
1d99702e
RD
774 if (_argo0) {
775 if (_argo0 == Py_None) { _arg0 = NULL; }
776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
778 return NULL;
779 }
780 }
781{
2cd2fac8
RD
782#if PYTHON_API_VERSION >= 1009
783 char* tmpPtr; int tmpSize;
784 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
785 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
786 return NULL;
787 }
788 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
789 return NULL;
790 _arg1 = new wxString(tmpPtr, tmpSize);
791#else
9c039d08
RD
792 if (!PyString_Check(_obj1)) {
793 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
794 return NULL;
795 }
2cd2fac8
RD
796 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
797#endif
9c039d08 798}
cf694132
RD
799{
800 wxPy_BEGIN_ALLOW_THREADS;
801 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
802
803 wxPy_END_ALLOW_THREADS;
804} Py_INCREF(Py_None);
9c039d08
RD
805 _resultobj = Py_None;
806{
807 if (_obj1)
808 delete _arg1;
809}
810 return _resultobj;
811}
812
813#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
efc5f224 814static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
815 PyObject * _resultobj;
816 wxFrame * _arg0;
817 int _arg1;
818 int * _arg2;
1d99702e 819 PyObject * _argo0 = 0;
9c039d08 820 PyObject * _obj2 = 0;
eec92d76 821 char *_kwnames[] = { "self","choices", NULL };
9c039d08
RD
822
823 self = self;
efc5f224 824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
9c039d08 825 return NULL;
1d99702e
RD
826 if (_argo0) {
827 if (_argo0 == Py_None) { _arg0 = NULL; }
828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
830 return NULL;
831 }
832 }
833 if (_obj2)
834{
835 _arg2 = int_LIST_helper(_obj2);
836 if (_arg2 == NULL) {
837 return NULL;
838 }
839}
840{
cf694132
RD
841 if (_obj2) {
842 _arg1 = PyList_Size(_obj2);
843 }
844 else {
845 _arg1 = 0;
846 }
9c039d08 847}
cf694132
RD
848{
849 wxPy_BEGIN_ALLOW_THREADS;
850 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
851
852 wxPy_END_ALLOW_THREADS;
853} Py_INCREF(Py_None);
9c039d08
RD
854 _resultobj = Py_None;
855{
856 delete [] _arg2;
857}
858 return _resultobj;
859}
860
861#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
efc5f224 862static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
863 PyObject * _resultobj;
864 wxFrame * _arg0;
865 wxString * _arg1;
1d99702e 866 PyObject * _argo0 = 0;
9c039d08 867 PyObject * _obj1 = 0;
efc5f224 868 char *_kwnames[] = { "self","title", NULL };
9c039d08
RD
869
870 self = self;
efc5f224 871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
9c039d08 872 return NULL;
1d99702e
RD
873 if (_argo0) {
874 if (_argo0 == Py_None) { _arg0 = NULL; }
875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
877 return NULL;
878 }
879 }
880{
2cd2fac8
RD
881#if PYTHON_API_VERSION >= 1009
882 char* tmpPtr; int tmpSize;
883 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
884 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
885 return NULL;
886 }
887 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
888 return NULL;
889 _arg1 = new wxString(tmpPtr, tmpSize);
890#else
9c039d08
RD
891 if (!PyString_Check(_obj1)) {
892 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
893 return NULL;
894 }
2cd2fac8
RD
895 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
896#endif
9c039d08 897}
cf694132
RD
898{
899 wxPy_BEGIN_ALLOW_THREADS;
900 wxFrame_SetTitle(_arg0,*_arg1);
901
902 wxPy_END_ALLOW_THREADS;
903} Py_INCREF(Py_None);
9c039d08
RD
904 _resultobj = Py_None;
905{
906 if (_obj1)
907 delete _arg1;
908}
909 return _resultobj;
910}
911
912#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
efc5f224 913static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
914 PyObject * _resultobj;
915 wxFrame * _arg0;
916 wxToolBar * _arg1;
1d99702e
RD
917 PyObject * _argo0 = 0;
918 PyObject * _argo1 = 0;
efc5f224 919 char *_kwnames[] = { "self","toolbar", NULL };
9c039d08
RD
920
921 self = self;
efc5f224 922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
9c039d08 923 return NULL;
1d99702e
RD
924 if (_argo0) {
925 if (_argo0 == Py_None) { _arg0 = NULL; }
926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
9c039d08
RD
927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
928 return NULL;
929 }
930 }
1d99702e
RD
931 if (_argo1) {
932 if (_argo1 == Py_None) { _arg1 = NULL; }
933 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
9c039d08
RD
934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
935 return NULL;
936 }
937 }
cf694132
RD
938{
939 wxPy_BEGIN_ALLOW_THREADS;
940 wxFrame_SetToolBar(_arg0,_arg1);
941
942 wxPy_END_ALLOW_THREADS;
943} Py_INCREF(Py_None);
9c039d08
RD
944 _resultobj = Py_None;
945 return _resultobj;
946}
947
f6bcfd97
BP
948#define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
949static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 wxFrame * _arg0;
952 bool _arg1 = (bool ) TRUE;
953 PyObject * _argo0 = 0;
954 int tempbool1 = (int) TRUE;
955 char *_kwnames[] = { "self","modal", NULL };
956
957 self = self;
958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1))
959 return NULL;
960 if (_argo0) {
961 if (_argo0 == Py_None) { _arg0 = NULL; }
962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
964 return NULL;
965 }
966 }
967 _arg1 = (bool ) tempbool1;
968{
969 wxPy_BEGIN_ALLOW_THREADS;
970 wxFrame_MakeModal(_arg0,_arg1);
971
972 wxPy_END_ALLOW_THREADS;
973} Py_INCREF(Py_None);
974 _resultobj = Py_None;
975 return _resultobj;
976}
977
978#define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
979static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject * _resultobj;
981 wxPoint * _result;
982 wxFrame * _arg0;
983 PyObject * _argo0 = 0;
984 char *_kwnames[] = { "self", NULL };
985 char _ptemp[128];
986
987 self = self;
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
989 return NULL;
990 if (_argo0) {
991 if (_argo0 == Py_None) { _arg0 = NULL; }
992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
994 return NULL;
995 }
996 }
997{
998 wxPy_BEGIN_ALLOW_THREADS;
999 _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
1000
1001 wxPy_END_ALLOW_THREADS;
1002} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1003 _resultobj = Py_BuildValue("s",_ptemp);
1004 return _resultobj;
1005}
1006
1007#define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1008static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
1009 PyObject * _resultobj;
1010 bool _result;
1011 wxFrame * _arg0;
1012 int _arg1;
1013 PyObject * _argo0 = 0;
1014 char *_kwnames[] = { "self","id", NULL };
1015
1016 self = self;
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
1018 return NULL;
1019 if (_argo0) {
1020 if (_argo0 == Py_None) { _arg0 = NULL; }
1021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1023 return NULL;
1024 }
1025 }
1026{
1027 wxPy_BEGIN_ALLOW_THREADS;
1028 _result = (bool )wxFrame_Command(_arg0,_arg1);
1029
1030 wxPy_END_ALLOW_THREADS;
1031} _resultobj = Py_BuildValue("i",_result);
1032 return _resultobj;
1033}
1034
1035#define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1036static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject * _resultobj;
1038 bool _result;
1039 wxFrame * _arg0;
1040 int _arg1;
1041 PyObject * _argo0 = 0;
1042 char *_kwnames[] = { "self","id", NULL };
1043
1044 self = self;
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1))
1046 return NULL;
1047 if (_argo0) {
1048 if (_argo0 == Py_None) { _arg0 = NULL; }
1049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1051 return NULL;
1052 }
1053 }
1054{
1055 wxPy_BEGIN_ALLOW_THREADS;
1056 _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
1057
1058 wxPy_END_ALLOW_THREADS;
1059} _resultobj = Py_BuildValue("i",_result);
1060 return _resultobj;
1061}
1062
9c039d08
RD
1063static void *SwigwxMiniFrameTowxFrame(void *ptr) {
1064 wxMiniFrame *src;
1065 wxFrame *dest;
1066 src = (wxMiniFrame *) ptr;
1067 dest = (wxFrame *) src;
1068 return (void *) dest;
1069}
1070
1071static void *SwigwxMiniFrameTowxWindow(void *ptr) {
1072 wxMiniFrame *src;
1073 wxWindow *dest;
1074 src = (wxMiniFrame *) ptr;
1075 dest = (wxWindow *) src;
1076 return (void *) dest;
1077}
1078
1079static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
1080 wxMiniFrame *src;
1081 wxEvtHandler *dest;
1082 src = (wxMiniFrame *) ptr;
1083 dest = (wxEvtHandler *) src;
1084 return (void *) dest;
1085}
1086
1087#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 1088static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
1089 PyObject * _resultobj;
1090 wxMiniFrame * _result;
1091 wxWindow * _arg0;
1092 wxWindowID _arg1;
1093 wxString * _arg2;
b68dc582
RD
1094 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1095 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
1096 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
1097 char * _arg6 = (char *) "frame";
1098 PyObject * _argo0 = 0;
9c039d08 1099 PyObject * _obj2 = 0;
2f90df85
RD
1100 wxPoint temp;
1101 PyObject * _obj3 = 0;
1102 wxSize temp0;
1103 PyObject * _obj4 = 0;
efc5f224 1104 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
9c039d08
RD
1105 char _ptemp[128];
1106
1107 self = self;
2f90df85 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
9c039d08 1109 return NULL;
1d99702e
RD
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1114 return NULL;
1115 }
1116 }
1117{
2cd2fac8
RD
1118#if PYTHON_API_VERSION >= 1009
1119 char* tmpPtr; int tmpSize;
1120 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1121 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1122 return NULL;
1123 }
1124 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1125 return NULL;
1126 _arg2 = new wxString(tmpPtr, tmpSize);
1127#else
9c039d08
RD
1128 if (!PyString_Check(_obj2)) {
1129 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1130 return NULL;
1131 }
2cd2fac8
RD
1132 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1133#endif
9c039d08 1134}
2f90df85
RD
1135 if (_obj3)
1136{
1137 _arg3 = &temp;
1138 if (! wxPoint_helper(_obj3, &_arg3))
9c039d08 1139 return NULL;
2f90df85
RD
1140}
1141 if (_obj4)
1142{
1143 _arg4 = &temp0;
1144 if (! wxSize_helper(_obj4, &_arg4))
9c039d08 1145 return NULL;
2f90df85 1146}
cf694132
RD
1147{
1148 wxPy_BEGIN_ALLOW_THREADS;
1149 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1150
1151 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1152} if (_result) {
1153 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1154 _resultobj = Py_BuildValue("s",_ptemp);
1155 } else {
1156 Py_INCREF(Py_None);
1157 _resultobj = Py_None;
1158 }
9c039d08
RD
1159{
1160 if (_obj2)
1161 delete _arg2;
1162}
1163 return _resultobj;
1164}
1165
1166static PyMethodDef framescMethods[] = {
efc5f224 1167 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
1168 { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
1169 { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
1170 { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
1171 { "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1172 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
1173 { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
1174 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
1175 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
1176 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
1177 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
1178 { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
1179 { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
1180 { "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS },
1181 { "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1182 { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
1183 { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
1184 { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
1185 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
1186 { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
1187 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
1188 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 1189 { "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1190 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
1191 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
1192 { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
1193 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
9c039d08
RD
1194 { NULL, NULL }
1195};
1d99702e
RD
1196#ifdef __cplusplus
1197}
1198#endif
1199/*
1200 * This table is used by the pointer type-checker
1201 */
1202static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1203 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1204 { "_wxEvent","_class_wxEvent",0},
1205 { "_class_wxActivateEvent","_wxActivateEvent",0},
1206 { "_signed_long","_long",0},
1207 { "_wxMenuEvent","_class_wxMenuEvent",0},
65dd82cb 1208 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
b1462dfa 1209 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2f90df85 1210 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
b1462dfa 1211 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
1212 { "_wxPrintQuality","_int",0},
1213 { "_wxPrintQuality","_signed_int",0},
1214 { "_wxPrintQuality","_unsigned_int",0},
1215 { "_wxPrintQuality","_wxWindowID",0},
1216 { "_wxPrintQuality","_uint",0},
1217 { "_wxPrintQuality","_EBool",0},
1218 { "_wxPrintQuality","_size_t",0},
c368d904 1219 { "_wxPrintQuality","_time_t",0},
b1462dfa 1220 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
f6bcfd97 1221 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1d99702e 1222 { "_class_wxRegionIterator","_wxRegionIterator",0},
65dd82cb 1223 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1d99702e
RD
1224 { "_class_wxMenuBar","_wxMenuBar",0},
1225 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1226 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1227 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
1228 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1229 { "_class_wxEvtHandler","_wxEvtHandler",0},
1230 { "_wxPaintEvent","_class_wxPaintEvent",0},
1231 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1232 { "_wxCursor","_class_wxCursor",0},
1233 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
9b3d3bc4 1234 { "_class_wxToolBarBase","_wxToolBarBase",0},
1d99702e
RD
1235 { "_wxMask","_class_wxMask",0},
1236 { "_wxPen","_class_wxPen",0},
1237 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1238 { "_byte","_unsigned_char",0},
b1462dfa 1239 { "_wxDataObject","_class_wxDataObject",0},
1d99702e 1240 { "_wxStaticBox","_class_wxStaticBox",0},
65dd82cb
RD
1241 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1242 { "_wxPyDropSource","_class_wxPyDropSource",0},
1d99702e
RD
1243 { "_wxChoice","_class_wxChoice",0},
1244 { "_wxSlider","_class_wxSlider",0},
1d99702e
RD
1245 { "_long","_unsigned_long",0},
1246 { "_long","_signed_long",0},
1247 { "_wxImageList","_class_wxImageList",0},
b1462dfa 1248 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1d99702e
RD
1249 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1250 { "_wxBitmapButton","_class_wxBitmapButton",0},
1251 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
b1462dfa 1252 { "_class_wxClipboard","_wxClipboard",0},
1d99702e
RD
1253 { "_class_wxGauge","_wxGauge",0},
1254 { "_wxDC","_class_wxDC",0},
b1462dfa 1255 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1d99702e 1256 { "_wxSpinEvent","_class_wxSpinEvent",0},
b1462dfa 1257 { "_size_t","_wxCoord",0},
1d99702e 1258 { "_size_t","_wxPrintQuality",0},
c368d904 1259 { "_size_t","_time_t",0},
1d99702e
RD
1260 { "_size_t","_unsigned_int",0},
1261 { "_size_t","_int",0},
1262 { "_size_t","_wxWindowID",0},
1263 { "_size_t","_uint",0},
1264 { "_class_wxRealPoint","_wxRealPoint",0},
48115f4a 1265 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
48115f4a 1266 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1d99702e
RD
1267 { "_class_wxMenuItem","_wxMenuItem",0},
1268 { "_class_wxPaintEvent","_wxPaintEvent",0},
1269 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1270 { "_class_wxStatusBar","_wxStatusBar",0},
f6bcfd97 1271 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1d99702e
RD
1272 { "_wxPanel","_class_wxPanel",0},
1273 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1274 { "_wxCheckBox","_class_wxCheckBox",0},
1275 { "_wxPyEvent","_class_wxPyEvent",0},
1276 { "_wxTextCtrl","_class_wxTextCtrl",0},
1277 { "_class_wxMask","_wxMask",0},
b1462dfa 1278 { "_wxTextDataObject","_class_wxTextDataObject",0},
1d99702e
RD
1279 { "_class_wxKeyEvent","_wxKeyEvent",0},
1280 { "_wxColour","_class_wxColour",0},
1281 { "_class_wxDialog","_wxDialog",0},
65dd82cb 1282 { "_class_wxFileDataObject","_wxFileDataObject",0},
1d99702e
RD
1283 { "_wxIdleEvent","_class_wxIdleEvent",0},
1284 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1285 { "_wxToolBar","_class_wxToolBar",0},
b1462dfa 1286 { "_class_wxDataObject","_wxDataObject",0},
1d99702e
RD
1287 { "_wxStaticLine","_class_wxStaticLine",0},
1288 { "_wxBrush","_class_wxBrush",0},
1289 { "_wxMiniFrame","_class_wxMiniFrame",0},
b1462dfa
RD
1290 { "_wxDataFormat","_class_wxDataFormat",0},
1291 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1d99702e 1292 { "_wxShowEvent","_class_wxShowEvent",0},
b1462dfa 1293 { "_uint","_wxCoord",0},
1d99702e 1294 { "_uint","_wxPrintQuality",0},
c368d904 1295 { "_uint","_time_t",0},
1d99702e
RD
1296 { "_uint","_size_t",0},
1297 { "_uint","_unsigned_int",0},
1298 { "_uint","_int",0},
1299 { "_uint","_wxWindowID",0},
f6bcfd97 1300 { "_wxChar","_char",0},
2f90df85 1301 { "_wxPyValidator","_class_wxPyValidator",0},
1d99702e
RD
1302 { "_class_wxEvent","_wxEvent",0},
1303 { "_wxCheckListBox","_class_wxCheckListBox",0},
1304 { "_wxRect","_class_wxRect",0},
1305 { "_wxCommandEvent","_class_wxCommandEvent",0},
1306 { "_wxSizeEvent","_class_wxSizeEvent",0},
1307 { "_wxPoint","_class_wxPoint",0},
1308 { "_class_wxButton","_wxButton",0},
1309 { "_wxRadioBox","_class_wxRadioBox",0},
f6bcfd97
BP
1310 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1311 { "_char","_wxChar",0},
1d99702e 1312 { "_wxBitmap","_class_wxBitmap",0},
1d99702e 1313 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97 1314 { "_wxTimerEvent","_class_wxTimerEvent",0},
1d99702e
RD
1315 { "_wxScrollBar","_class_wxScrollBar",0},
1316 { "_wxSpinButton","_class_wxSpinButton",0},
1d99702e
RD
1317 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1318 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2f90df85 1319 { "_class_wxValidator","_wxValidator",0},
1d99702e
RD
1320 { "_class_wxPyEvent","_wxPyEvent",0},
1321 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1322 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
9b3d3bc4 1323 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1d99702e 1324 { "_class_wxToolBar","_wxToolBar",0},
65dd82cb 1325 { "_wxDropTarget","_class_wxDropTarget",0},
1d99702e
RD
1326 { "_class_wxStaticLine","_wxStaticLine",0},
1327 { "_wxScrollEvent","_class_wxScrollEvent",0},
9b3d3bc4 1328 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
b1462dfa 1329 { "_EBool","_wxCoord",0},
1d99702e
RD
1330 { "_EBool","_wxPrintQuality",0},
1331 { "_EBool","_signed_int",0},
1332 { "_EBool","_int",0},
1333 { "_EBool","_wxWindowID",0},
1334 { "_class_wxRegion","_wxRegion",0},
b1462dfa 1335 { "_class_wxDataFormat","_wxDataFormat",0},
1d99702e 1336 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
48115f4a 1337 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1d99702e
RD
1338 { "_wxStaticText","_class_wxStaticText",0},
1339 { "_wxFont","_class_wxFont",0},
65dd82cb 1340 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1d99702e 1341 { "_wxCloseEvent","_class_wxCloseEvent",0},
1d99702e
RD
1342 { "_unsigned_long","_long",0},
1343 { "_class_wxRect","_wxRect",0},
1344 { "_class_wxDC","_wxDC",0},
d426c97e 1345 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
48115f4a
RD
1346 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1347 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1d99702e
RD
1348 { "_wxFocusEvent","_class_wxFocusEvent",0},
1349 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 1350 { "_class_wxTimerEvent","_wxTimerEvent",0},
1d99702e
RD
1351 { "_class_wxSpinButton","_wxSpinButton",0},
1352 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1353 { "_class_wxPanel","_wxPanel",0},
1354 { "_class_wxCheckBox","_wxCheckBox",0},
1355 { "_wxComboBox","_class_wxComboBox",0},
1356 { "_wxRadioButton","_class_wxRadioButton",0},
b1462dfa 1357 { "_signed_int","_wxCoord",0},
1d99702e
RD
1358 { "_signed_int","_wxPrintQuality",0},
1359 { "_signed_int","_EBool",0},
1360 { "_signed_int","_wxWindowID",0},
1361 { "_signed_int","_int",0},
1362 { "_class_wxTextCtrl","_wxTextCtrl",0},
1363 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
b1462dfa 1364 { "_class_wxTextDataObject","_wxTextDataObject",0},
1d99702e
RD
1365 { "_wxMenu","_class_wxMenu",0},
1366 { "_class_wxMoveEvent","_wxMoveEvent",0},
1367 { "_wxListBox","_class_wxListBox",0},
1368 { "_wxScreenDC","_class_wxScreenDC",0},
9b3d3bc4 1369 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1d99702e
RD
1370 { "_WXTYPE","_short",0},
1371 { "_WXTYPE","_signed_short",0},
1372 { "_WXTYPE","_unsigned_short",0},
65dd82cb 1373 { "_class_wxDropTarget","_wxDropTarget",0},
1d99702e
RD
1374 { "_class_wxBrush","_wxBrush",0},
1375 { "_unsigned_short","_WXTYPE",0},
1376 { "_unsigned_short","_short",0},
1377 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1378 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1379 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1380 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1381 { "_class_wxWindow","_wxWindow",0},
1382 { "_class_wxStaticText","_wxStaticText",0},
1383 { "_class_wxFont","_wxFont",0},
b1462dfa 1384 { "_wxClipboard","_class_wxClipboard",0},
2f90df85 1385 { "_class_wxPyValidator","_wxPyValidator",0},
1d99702e 1386 { "_class_wxCloseEvent","_wxCloseEvent",0},
2abc0a0f 1387 { "_wxBusyInfo","_class_wxBusyInfo",0},
1d99702e 1388 { "_class_wxMenuEvent","_wxMenuEvent",0},
48115f4a 1389 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
65dd82cb 1390 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1d99702e
RD
1391 { "_wxClientDC","_class_wxClientDC",0},
1392 { "_wxMouseEvent","_class_wxMouseEvent",0},
1393 { "_class_wxPoint","_wxPoint",0},
1394 { "_wxRealPoint","_class_wxRealPoint",0},
1395 { "_class_wxRadioBox","_wxRadioBox",0},
1396 { "_signed_short","_WXTYPE",0},
1397 { "_signed_short","_short",0},
1398 { "_wxMemoryDC","_class_wxMemoryDC",0},
65dd82cb 1399 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1d99702e
RD
1400 { "_wxPaintDC","_class_wxPaintDC",0},
1401 { "_class_wxWindowDC","_wxWindowDC",0},
1402 { "_class_wxFocusEvent","_wxFocusEvent",0},
1403 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1404 { "_wxStatusBar","_class_wxStatusBar",0},
1d99702e
RD
1405 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1406 { "_class_wxCursor","_wxCursor",0},
f6bcfd97 1407 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
65dd82cb 1408 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1d99702e
RD
1409 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1410 { "_unsigned_char","_byte",0},
1d99702e
RD
1411 { "_class_wxMenu","_wxMenu",0},
1412 { "_wxControl","_class_wxControl",0},
1413 { "_class_wxListBox","_wxListBox",0},
b1462dfa 1414 { "_unsigned_int","_wxCoord",0},
1d99702e 1415 { "_unsigned_int","_wxPrintQuality",0},
c368d904 1416 { "_unsigned_int","_time_t",0},
1d99702e
RD
1417 { "_unsigned_int","_size_t",0},
1418 { "_unsigned_int","_uint",0},
1419 { "_unsigned_int","_wxWindowID",0},
1420 { "_unsigned_int","_int",0},
1421 { "_wxIcon","_class_wxIcon",0},
1422 { "_wxDialog","_class_wxDialog",0},
1423 { "_class_wxPen","_wxPen",0},
1424 { "_short","_WXTYPE",0},
1425 { "_short","_unsigned_short",0},
1426 { "_short","_signed_short",0},
1427 { "_class_wxStaticBox","_wxStaticBox",0},
65dd82cb
RD
1428 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1429 { "_class_wxPyDropSource","_wxPyDropSource",0},
1d99702e
RD
1430 { "_class_wxScrollEvent","_wxScrollEvent",0},
1431 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1432 { "_class_wxChoice","_wxChoice",0},
1433 { "_class_wxSlider","_wxSlider",0},
1434 { "_class_wxImageList","_wxImageList",0},
1435 { "_class_wxBitmapButton","_wxBitmapButton",0},
1436 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1437 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1438 { "_wxFrame","_class_wxFrame",0},
48115f4a 1439 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
b1462dfa 1440 { "_wxWindowID","_wxCoord",0},
1d99702e 1441 { "_wxWindowID","_wxPrintQuality",0},
c368d904 1442 { "_wxWindowID","_time_t",0},
1d99702e
RD
1443 { "_wxWindowID","_size_t",0},
1444 { "_wxWindowID","_EBool",0},
1445 { "_wxWindowID","_uint",0},
1446 { "_wxWindowID","_int",0},
1447 { "_wxWindowID","_signed_int",0},
1448 { "_wxWindowID","_unsigned_int",0},
d426c97e 1449 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
b1462dfa 1450 { "_int","_wxCoord",0},
1d99702e 1451 { "_int","_wxPrintQuality",0},
c368d904 1452 { "_int","_time_t",0},
1d99702e
RD
1453 { "_int","_size_t",0},
1454 { "_int","_EBool",0},
1455 { "_int","_uint",0},
1456 { "_int","_wxWindowID",0},
1457 { "_int","_unsigned_int",0},
1458 { "_int","_signed_int",0},
1459 { "_class_wxMouseEvent","_wxMouseEvent",0},
2f90df85 1460 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1d99702e 1461 { "_class_wxSpinEvent","_wxSpinEvent",0},
48115f4a 1462 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
1463 { "_time_t","_wxCoord",0},
1464 { "_time_t","_wxPrintQuality",0},
1465 { "_time_t","_unsigned_int",0},
1466 { "_time_t","_int",0},
1467 { "_time_t","_wxWindowID",0},
1468 { "_time_t","_uint",0},
1469 { "_time_t","_size_t",0},
48115f4a 1470 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1d99702e
RD
1471 { "_wxButton","_class_wxButton",0},
1472 { "_wxSize","_class_wxSize",0},
1473 { "_wxRegionIterator","_class_wxRegionIterator",0},
65dd82cb 1474 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1d99702e
RD
1475 { "_class_wxPaintDC","_wxPaintDC",0},
1476 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
65dd82cb 1477 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1d99702e
RD
1478 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1479 { "_class_wxComboBox","_wxComboBox",0},
1480 { "_class_wxRadioButton","_wxRadioButton",0},
2f90df85 1481 { "_wxValidator","_class_wxValidator",0},
9b3d3bc4 1482 { "_wxToolBarBase","_class_wxToolBarBase",0},
1d99702e
RD
1483 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1484 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1485 { "_class_wxControl","_wxControl",0},
1486 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1487 { "_class_wxIcon","_wxIcon",0},
1488 { "_class_wxColour","_wxColour",0},
1489 { "_class_wxScreenDC","_wxScreenDC",0},
1490 { "_wxPalette","_class_wxPalette",0},
1491 { "_class_wxIdleEvent","_wxIdleEvent",0},
b1462dfa
RD
1492 { "_wxCoord","_int",0},
1493 { "_wxCoord","_signed_int",0},
1494 { "_wxCoord","_unsigned_int",0},
1495 { "_wxCoord","_wxWindowID",0},
1496 { "_wxCoord","_uint",0},
1497 { "_wxCoord","_EBool",0},
1498 { "_wxCoord","_size_t",0},
c368d904 1499 { "_wxCoord","_time_t",0},
b1462dfa 1500 { "_wxCoord","_wxPrintQuality",0},
1d99702e 1501 { "_wxEraseEvent","_class_wxEraseEvent",0},
b1462dfa 1502 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1d99702e
RD
1503 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1504 { "_class_wxMiniFrame","_wxMiniFrame",0},
1505 { "_wxRegion","_class_wxRegion",0},
1506 { "_class_wxShowEvent","_wxShowEvent",0},
65dd82cb 1507 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1d99702e
RD
1508 { "_wxActivateEvent","_class_wxActivateEvent",0},
1509 { "_wxGauge","_class_wxGauge",0},
1510 { "_class_wxCheckListBox","_wxCheckListBox",0},
2abc0a0f 1511 { "_class_wxBusyInfo","_wxBusyInfo",0},
1d99702e
RD
1512 { "_class_wxCommandEvent","_wxCommandEvent",0},
1513 { "_class_wxClientDC","_wxClientDC",0},
1514 { "_class_wxSizeEvent","_wxSizeEvent",0},
b1462dfa 1515 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1d99702e
RD
1516 { "_class_wxSize","_wxSize",0},
1517 { "_class_wxBitmap","_wxBitmap",0},
1518 { "_class_wxMemoryDC","_wxMemoryDC",0},
65dd82cb 1519 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1d99702e
RD
1520 { "_wxMenuBar","_class_wxMenuBar",0},
1521 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1522 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1523 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
1524 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1525 { "_wxEvtHandler","_class_wxEvtHandler",0},
1526 { "_wxMenuItem","_class_wxMenuItem",0},
1527 { "_class_wxScrollBar","_wxScrollBar",0},
1d99702e
RD
1528 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1529 { "_wxKeyEvent","_class_wxKeyEvent",0},
1530 { "_wxMoveEvent","_class_wxMoveEvent",0},
1531 { "_class_wxPalette","_wxPalette",0},
65dd82cb 1532 { "_wxFileDataObject","_class_wxFileDataObject",0},
1d99702e 1533 { "_class_wxEraseEvent","_wxEraseEvent",0},
b1462dfa 1534 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9b3d3bc4 1535 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
1d99702e
RD
1536 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1537 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1538 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1539 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1540 { "_wxWindow","_class_wxWindow",0},
48115f4a 1541 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1d99702e
RD
1542 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1543 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1544 { "_class_wxFrame","_wxFrame",0},
1545{0,0,0}};
1546
9c039d08
RD
1547static PyObject *SWIG_globals;
1548#ifdef __cplusplus
1549extern "C"
1550#endif
1d99702e 1551SWIGEXPORT(void) initframesc() {
9c039d08
RD
1552 PyObject *m, *d;
1553 SWIG_globals = SWIG_newvarlink();
1554 m = Py_InitModule("framesc", framescMethods);
1555 d = PyModule_GetDict(m);
f6bcfd97
BP
1556 PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR));
1557 PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR));
1558 PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR));
1559 PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER));
1560 PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION));
1561 PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL));
1d99702e
RD
1562{
1563 int i;
1564 for (i = 0; _swig_mapping[i].n1; i++)
1565 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1566}
9c039d08 1567}