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