]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/frames.cpp
*** empty log message ***
[wxWidgets.git] / utils / wxPython / src / gtk / frames.cpp
CommitLineData
b26e2dc4
RD
1/*
2 * FILE : gtk/frames.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2d091820 6 * Version 1.1 (Patch 6)
b26e2dc4
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
b26e2dc4
RD
28# else
29# if defined(__BORLANDC__)
2d091820 30# define SWIGEXPORT(a) a _export
b26e2dc4 31# else
2d091820 32# define SWIGEXPORT(a) a
b26e2dc4
RD
33# endif
34# endif
35#else
2d091820 36# define SWIGEXPORT(a) a
b26e2dc4
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 *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
b26e2dc4
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
b26e2dc4
RD
52#define SWIG_init initframesc
53
54#define SWIG_name "framesc"
55
56#include "helpers.h"
b26e2dc4 57#include <wx/minifram.h>
b26e2dc4
RD
58
59static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78}
79
80static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104}
105
106
105e45b9 107extern byte* byte_LIST_helper(PyObject* source);
b26e2dc4
RD
108extern int* int_LIST_helper(PyObject* source);
109extern long* long_LIST_helper(PyObject* source);
110extern char** string_LIST_helper(PyObject* source);
111extern wxPoint* wxPoint_LIST_helper(PyObject* source);
112extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113extern wxString* wxString_LIST_helper(PyObject* source);
b26e2dc4 114extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
b26e2dc4
RD
115
116
117static char* wxStringErrorMsg = "string type is required for parameter";
2d091820
RD
118#ifdef __cplusplus
119extern "C" {
120#endif
b26e2dc4
RD
121static void *SwigwxFrameTowxWindow(void *ptr) {
122 wxFrame *src;
123 wxWindow *dest;
124 src = (wxFrame *) ptr;
125 dest = (wxWindow *) src;
126 return (void *) dest;
127}
128
129static void *SwigwxFrameTowxEvtHandler(void *ptr) {
130 wxFrame *src;
131 wxEvtHandler *dest;
132 src = (wxFrame *) ptr;
133 dest = (wxEvtHandler *) src;
134 return (void *) dest;
135}
136
137#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 138static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
139 PyObject * _resultobj;
140 wxFrame * _result;
141 wxWindow * _arg0;
142 wxWindowID _arg1;
143 wxString * _arg2;
2d091820
RD
144 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
145 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
146 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
147 char * _arg6 = (char *) "frame";
148 PyObject * _argo0 = 0;
b26e2dc4 149 PyObject * _obj2 = 0;
2d091820
RD
150 PyObject * _argo3 = 0;
151 PyObject * _argo4 = 0;
107e4716 152 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
b26e2dc4
RD
153 char _ptemp[128];
154
155 self = self;
107e4716 156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
b26e2dc4 157 return NULL;
2d091820
RD
158 if (_argo0) {
159 if (_argo0 == Py_None) { _arg0 = NULL; }
160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b26e2dc4
RD
161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
162 return NULL;
163 }
164 }
165{
166 if (!PyString_Check(_obj2)) {
167 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
168 return NULL;
169 }
ab9bc19b 170 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
b26e2dc4 171}
2d091820
RD
172 if (_argo3) {
173 if (_argo3 == Py_None) { _arg3 = NULL; }
174 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
b26e2dc4
RD
175 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxFrame. Expected _wxPoint_p.");
176 return NULL;
177 }
178 }
2d091820
RD
179 if (_argo4) {
180 if (_argo4 == Py_None) { _arg4 = NULL; }
181 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
b26e2dc4
RD
182 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxFrame. Expected _wxSize_p.");
183 return NULL;
184 }
185 }
ab9bc19b
RD
186{
187 wxPy_BEGIN_ALLOW_THREADS;
188 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
189
190 wxPy_END_ALLOW_THREADS;
2d091820
RD
191} if (_result) {
192 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
193 _resultobj = Py_BuildValue("s",_ptemp);
194 } else {
195 Py_INCREF(Py_None);
196 _resultobj = Py_None;
197 }
b26e2dc4
RD
198{
199 if (_obj2)
200 delete _arg2;
201}
202 return _resultobj;
203}
204
205#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
107e4716 206static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
207 PyObject * _resultobj;
208 wxFrame * _arg0;
2d091820
RD
209 int _arg1 = (int ) wxBOTH;
210 PyObject * _argo0 = 0;
107e4716 211 char *_kwnames[] = { "self","direction", NULL };
b26e2dc4
RD
212
213 self = self;
107e4716 214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
b26e2dc4 215 return NULL;
2d091820
RD
216 if (_argo0) {
217 if (_argo0 == Py_None) { _arg0 = NULL; }
218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
220 return NULL;
221 }
222 }
ab9bc19b
RD
223{
224 wxPy_BEGIN_ALLOW_THREADS;
225 wxFrame_Centre(_arg0,_arg1);
226
227 wxPy_END_ALLOW_THREADS;
228} Py_INCREF(Py_None);
b26e2dc4
RD
229 _resultobj = Py_None;
230 return _resultobj;
231}
232
233#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 234static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
235 PyObject * _resultobj;
236 wxStatusBar * _result;
237 wxFrame * _arg0;
2d091820
RD
238 int _arg1 = (int ) 1;
239 long _arg2 = (long ) wxST_SIZEGRIP;
240 wxWindowID _arg3 = (wxWindowID ) -1;
241 char * _arg4 = (char *) "statusBar";
242 PyObject * _argo0 = 0;
107e4716 243 char *_kwnames[] = { "self","number","style","id","name", NULL };
b26e2dc4
RD
244 char _ptemp[128];
245
246 self = self;
107e4716 247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
b26e2dc4 248 return NULL;
2d091820
RD
249 if (_argo0) {
250 if (_argo0 == Py_None) { _arg0 = NULL; }
251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
253 return NULL;
254 }
255 }
ab9bc19b
RD
256{
257 wxPy_BEGIN_ALLOW_THREADS;
258 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
259
260 wxPy_END_ALLOW_THREADS;
2d091820
RD
261} if (_result) {
262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
263 _resultobj = Py_BuildValue("s",_ptemp);
264 } else {
265 Py_INCREF(Py_None);
266 _resultobj = Py_None;
267 }
b26e2dc4
RD
268 return _resultobj;
269}
270
271#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
107e4716 272static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
273 PyObject * _resultobj;
274 wxToolBar * _result;
275 wxFrame * _arg0;
2d091820
RD
276 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT;
277 wxWindowID _arg2 = (wxWindowID ) -1;
278 char * _arg3 = (char *) "toolBar";
279 PyObject * _argo0 = 0;
107e4716 280 char *_kwnames[] = { "self","style","id","name", NULL };
b26e2dc4
RD
281 char _ptemp[128];
282
283 self = self;
107e4716 284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b26e2dc4 285 return NULL;
2d091820
RD
286 if (_argo0) {
287 if (_argo0 == Py_None) { _arg0 = NULL; }
288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
290 return NULL;
291 }
292 }
ab9bc19b
RD
293{
294 wxPy_BEGIN_ALLOW_THREADS;
295 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
296
297 wxPy_END_ALLOW_THREADS;
2d091820
RD
298} if (_result) {
299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
300 _resultobj = Py_BuildValue("s",_ptemp);
301 } else {
302 Py_INCREF(Py_None);
303 _resultobj = Py_None;
304 }
b26e2dc4
RD
305 return _resultobj;
306}
307
308#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
107e4716 309static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
310 PyObject * _resultobj;
311 wxMenuBar * _result;
312 wxFrame * _arg0;
2d091820 313 PyObject * _argo0 = 0;
107e4716 314 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
315 char _ptemp[128];
316
317 self = self;
107e4716 318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
b26e2dc4 319 return NULL;
2d091820
RD
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
324 return NULL;
325 }
326 }
ab9bc19b
RD
327{
328 wxPy_BEGIN_ALLOW_THREADS;
329 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
330
331 wxPy_END_ALLOW_THREADS;
2d091820
RD
332} if (_result) {
333 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
334 _resultobj = Py_BuildValue("s",_ptemp);
335 } else {
336 Py_INCREF(Py_None);
337 _resultobj = Py_None;
338 }
b26e2dc4
RD
339 return _resultobj;
340}
341
342#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
107e4716 343static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
344 PyObject * _resultobj;
345 wxStatusBar * _result;
346 wxFrame * _arg0;
2d091820 347 PyObject * _argo0 = 0;
107e4716 348 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
349 char _ptemp[128];
350
351 self = self;
107e4716 352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
b26e2dc4 353 return NULL;
2d091820
RD
354 if (_argo0) {
355 if (_argo0 == Py_None) { _arg0 = NULL; }
356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
358 return NULL;
359 }
360 }
ab9bc19b
RD
361{
362 wxPy_BEGIN_ALLOW_THREADS;
363 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
364
365 wxPy_END_ALLOW_THREADS;
2d091820
RD
366} if (_result) {
367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
368 _resultobj = Py_BuildValue("s",_ptemp);
369 } else {
370 Py_INCREF(Py_None);
371 _resultobj = Py_None;
372 }
b26e2dc4
RD
373 return _resultobj;
374}
375
376#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
107e4716 377static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
378 PyObject * _resultobj;
379 wxString * _result;
380 wxFrame * _arg0;
2d091820 381 PyObject * _argo0 = 0;
107e4716 382 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
383
384 self = self;
107e4716 385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
b26e2dc4 386 return NULL;
2d091820
RD
387 if (_argo0) {
388 if (_argo0 == Py_None) { _arg0 = NULL; }
389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
391 return NULL;
392 }
393 }
b26e2dc4 394{
ab9bc19b
RD
395 wxPy_BEGIN_ALLOW_THREADS;
396 _result = new wxString (wxFrame_GetTitle(_arg0));
397
398 wxPy_END_ALLOW_THREADS;
399}{
b26e2dc4
RD
400 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
401}
402{
403 delete _result;
404}
405 return _resultobj;
406}
407
408#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
107e4716 409static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
410 PyObject * _resultobj;
411 wxToolBar * _result;
412 wxFrame * _arg0;
2d091820 413 PyObject * _argo0 = 0;
107e4716 414 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
415 char _ptemp[128];
416
417 self = self;
107e4716 418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
b26e2dc4 419 return NULL;
2d091820
RD
420 if (_argo0) {
421 if (_argo0 == Py_None) { _arg0 = NULL; }
422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
424 return NULL;
425 }
426 }
ab9bc19b
RD
427{
428 wxPy_BEGIN_ALLOW_THREADS;
429 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
430
431 wxPy_END_ALLOW_THREADS;
2d091820
RD
432} if (_result) {
433 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
434 _resultobj = Py_BuildValue("s",_ptemp);
435 } else {
436 Py_INCREF(Py_None);
437 _resultobj = Py_None;
438 }
b26e2dc4
RD
439 return _resultobj;
440}
441
442#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
107e4716 443static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
444 PyObject * _resultobj;
445 wxFrame * _arg0;
446 bool _arg1;
2d091820 447 PyObject * _argo0 = 0;
b26e2dc4 448 int tempbool1;
107e4716 449 char *_kwnames[] = { "self","iconize", NULL };
b26e2dc4
RD
450
451 self = self;
107e4716 452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
b26e2dc4 453 return NULL;
2d091820
RD
454 if (_argo0) {
455 if (_argo0 == Py_None) { _arg0 = NULL; }
456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
458 return NULL;
459 }
460 }
461 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
462{
463 wxPy_BEGIN_ALLOW_THREADS;
464 wxFrame_Iconize(_arg0,_arg1);
465
466 wxPy_END_ALLOW_THREADS;
467} Py_INCREF(Py_None);
b26e2dc4
RD
468 _resultobj = Py_None;
469 return _resultobj;
470}
471
472#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
107e4716 473static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
474 PyObject * _resultobj;
475 bool _result;
476 wxFrame * _arg0;
2d091820 477 PyObject * _argo0 = 0;
107e4716 478 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
479
480 self = self;
107e4716 481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
b26e2dc4 482 return NULL;
2d091820
RD
483 if (_argo0) {
484 if (_argo0 == Py_None) { _arg0 = NULL; }
485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
487 return NULL;
488 }
489 }
ab9bc19b
RD
490{
491 wxPy_BEGIN_ALLOW_THREADS;
492 _result = (bool )wxFrame_IsIconized(_arg0);
493
494 wxPy_END_ALLOW_THREADS;
495} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
496 return _resultobj;
497}
498
499#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
107e4716 500static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
501 PyObject * _resultobj;
502 wxFrame * _arg0;
503 bool _arg1;
2d091820 504 PyObject * _argo0 = 0;
b26e2dc4 505 int tempbool1;
107e4716 506 char *_kwnames[] = { "self","maximize", NULL };
b26e2dc4
RD
507
508 self = self;
107e4716 509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
b26e2dc4 510 return NULL;
2d091820
RD
511 if (_argo0) {
512 if (_argo0 == Py_None) { _arg0 = NULL; }
513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
515 return NULL;
516 }
517 }
518 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
519{
520 wxPy_BEGIN_ALLOW_THREADS;
521 wxFrame_Maximize(_arg0,_arg1);
522
523 wxPy_END_ALLOW_THREADS;
524} Py_INCREF(Py_None);
b26e2dc4
RD
525 _resultobj = Py_None;
526 return _resultobj;
527}
528
faf3cb35 529#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
107e4716 530static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
531 PyObject * _resultobj;
532 wxFrame * _arg0;
533 wxAcceleratorTable * _arg1;
2d091820
RD
534 PyObject * _argo0 = 0;
535 PyObject * _argo1 = 0;
107e4716 536 char *_kwnames[] = { "self","accel", NULL };
faf3cb35
RD
537
538 self = self;
107e4716 539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
faf3cb35 540 return NULL;
2d091820
RD
541 if (_argo0) {
542 if (_argo0 == Py_None) { _arg0 = NULL; }
543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
faf3cb35
RD
544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
545 return NULL;
546 }
547 }
2d091820
RD
548 if (_argo1) {
549 if (_argo1 == Py_None) { _arg1 = NULL; }
550 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
faf3cb35
RD
551 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
552 return NULL;
553 }
554 }
ab9bc19b
RD
555{
556 wxPy_BEGIN_ALLOW_THREADS;
557 wxFrame_SetAcceleratorTable(_arg0,*_arg1);
558
559 wxPy_END_ALLOW_THREADS;
560} Py_INCREF(Py_None);
faf3cb35
RD
561 _resultobj = Py_None;
562 return _resultobj;
563}
564
b26e2dc4 565#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
107e4716 566static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
567 PyObject * _resultobj;
568 wxFrame * _arg0;
569 wxIcon * _arg1;
2d091820
RD
570 PyObject * _argo0 = 0;
571 PyObject * _argo1 = 0;
107e4716 572 char *_kwnames[] = { "self","icon", NULL };
b26e2dc4
RD
573
574 self = self;
107e4716 575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
b26e2dc4 576 return NULL;
2d091820
RD
577 if (_argo0) {
578 if (_argo0 == Py_None) { _arg0 = NULL; }
579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
581 return NULL;
582 }
583 }
2d091820
RD
584 if (_argo1) {
585 if (_argo1 == Py_None) { _arg1 = NULL; }
586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
b26e2dc4
RD
587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
588 return NULL;
589 }
590 }
ab9bc19b
RD
591{
592 wxPy_BEGIN_ALLOW_THREADS;
593 wxFrame_SetIcon(_arg0,*_arg1);
594
595 wxPy_END_ALLOW_THREADS;
596} Py_INCREF(Py_None);
b26e2dc4
RD
597 _resultobj = Py_None;
598 return _resultobj;
599}
600
601#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
107e4716 602static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
603 PyObject * _resultobj;
604 wxFrame * _arg0;
605 wxMenuBar * _arg1;
2d091820
RD
606 PyObject * _argo0 = 0;
607 PyObject * _argo1 = 0;
107e4716 608 char *_kwnames[] = { "self","menuBar", NULL };
b26e2dc4
RD
609
610 self = self;
107e4716 611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
b26e2dc4 612 return NULL;
2d091820
RD
613 if (_argo0) {
614 if (_argo0 == Py_None) { _arg0 = NULL; }
615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
617 return NULL;
618 }
619 }
2d091820
RD
620 if (_argo1) {
621 if (_argo1 == Py_None) { _arg1 = NULL; }
622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
b26e2dc4
RD
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
624 return NULL;
625 }
626 }
ab9bc19b
RD
627{
628 wxPy_BEGIN_ALLOW_THREADS;
629 wxFrame_SetMenuBar(_arg0,_arg1);
630
631 wxPy_END_ALLOW_THREADS;
632} Py_INCREF(Py_None);
b26e2dc4
RD
633 _resultobj = Py_None;
634 return _resultobj;
635}
636
637#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
107e4716 638static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
639 PyObject * _resultobj;
640 wxFrame * _arg0;
641 wxStatusBar * _arg1;
2d091820
RD
642 PyObject * _argo0 = 0;
643 PyObject * _argo1 = 0;
107e4716 644 char *_kwnames[] = { "self","statusBar", NULL };
b26e2dc4
RD
645
646 self = self;
107e4716 647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
b26e2dc4 648 return NULL;
2d091820
RD
649 if (_argo0) {
650 if (_argo0 == Py_None) { _arg0 = NULL; }
651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
653 return NULL;
654 }
655 }
2d091820
RD
656 if (_argo1) {
657 if (_argo1 == Py_None) { _arg1 = NULL; }
658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
b26e2dc4
RD
659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
660 return NULL;
661 }
662 }
ab9bc19b
RD
663{
664 wxPy_BEGIN_ALLOW_THREADS;
665 wxFrame_SetStatusBar(_arg0,_arg1);
666
667 wxPy_END_ALLOW_THREADS;
668} Py_INCREF(Py_None);
b26e2dc4
RD
669 _resultobj = Py_None;
670 return _resultobj;
671}
672
673#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
107e4716 674static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
675 PyObject * _resultobj;
676 wxFrame * _arg0;
677 wxString * _arg1;
2d091820
RD
678 int _arg2 = (int ) 0;
679 PyObject * _argo0 = 0;
b26e2dc4 680 PyObject * _obj1 = 0;
107e4716 681 char *_kwnames[] = { "self","text","number", NULL };
b26e2dc4
RD
682
683 self = self;
107e4716 684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
b26e2dc4 685 return NULL;
2d091820
RD
686 if (_argo0) {
687 if (_argo0 == Py_None) { _arg0 = NULL; }
688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
690 return NULL;
691 }
692 }
693{
694 if (!PyString_Check(_obj1)) {
695 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
696 return NULL;
697 }
ab9bc19b 698 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
b26e2dc4 699}
ab9bc19b
RD
700{
701 wxPy_BEGIN_ALLOW_THREADS;
702 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
703
704 wxPy_END_ALLOW_THREADS;
705} Py_INCREF(Py_None);
b26e2dc4
RD
706 _resultobj = Py_None;
707{
708 if (_obj1)
709 delete _arg1;
710}
711 return _resultobj;
712}
713
714#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
107e4716 715static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
716 PyObject * _resultobj;
717 wxFrame * _arg0;
718 int _arg1;
719 int * _arg2;
2d091820 720 PyObject * _argo0 = 0;
b26e2dc4 721 PyObject * _obj2 = 0;
107e4716 722 char *_kwnames[] = { "self","LIST", NULL };
b26e2dc4
RD
723
724 self = self;
107e4716 725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
b26e2dc4 726 return NULL;
2d091820
RD
727 if (_argo0) {
728 if (_argo0 == Py_None) { _arg0 = NULL; }
729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
731 return NULL;
732 }
733 }
734 if (_obj2)
735{
736 _arg2 = int_LIST_helper(_obj2);
737 if (_arg2 == NULL) {
738 return NULL;
739 }
740}
741{
ab9bc19b
RD
742 if (_obj2) {
743 _arg1 = PyList_Size(_obj2);
744 }
745 else {
746 _arg1 = 0;
747 }
b26e2dc4 748}
ab9bc19b
RD
749{
750 wxPy_BEGIN_ALLOW_THREADS;
751 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
752
753 wxPy_END_ALLOW_THREADS;
754} Py_INCREF(Py_None);
b26e2dc4
RD
755 _resultobj = Py_None;
756{
757 delete [] _arg2;
758}
759 return _resultobj;
760}
761
762#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
107e4716 763static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
764 PyObject * _resultobj;
765 wxFrame * _arg0;
766 wxString * _arg1;
2d091820 767 PyObject * _argo0 = 0;
b26e2dc4 768 PyObject * _obj1 = 0;
107e4716 769 char *_kwnames[] = { "self","title", NULL };
b26e2dc4
RD
770
771 self = self;
107e4716 772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
b26e2dc4 773 return NULL;
2d091820
RD
774 if (_argo0) {
775 if (_argo0 == Py_None) { _arg0 = NULL; }
776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
778 return NULL;
779 }
780 }
781{
782 if (!PyString_Check(_obj1)) {
783 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
784 return NULL;
785 }
ab9bc19b 786 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
b26e2dc4 787}
ab9bc19b
RD
788{
789 wxPy_BEGIN_ALLOW_THREADS;
790 wxFrame_SetTitle(_arg0,*_arg1);
791
792 wxPy_END_ALLOW_THREADS;
793} Py_INCREF(Py_None);
b26e2dc4
RD
794 _resultobj = Py_None;
795{
796 if (_obj1)
797 delete _arg1;
798}
799 return _resultobj;
800}
801
802#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
107e4716 803static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
804 PyObject * _resultobj;
805 wxFrame * _arg0;
806 wxToolBar * _arg1;
2d091820
RD
807 PyObject * _argo0 = 0;
808 PyObject * _argo1 = 0;
107e4716 809 char *_kwnames[] = { "self","toolbar", NULL };
b26e2dc4
RD
810
811 self = self;
107e4716 812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
b26e2dc4 813 return NULL;
2d091820
RD
814 if (_argo0) {
815 if (_argo0 == Py_None) { _arg0 = NULL; }
816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
b26e2dc4
RD
817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
818 return NULL;
819 }
820 }
2d091820
RD
821 if (_argo1) {
822 if (_argo1 == Py_None) { _arg1 = NULL; }
823 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
b26e2dc4
RD
824 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
825 return NULL;
826 }
827 }
ab9bc19b
RD
828{
829 wxPy_BEGIN_ALLOW_THREADS;
830 wxFrame_SetToolBar(_arg0,_arg1);
831
832 wxPy_END_ALLOW_THREADS;
833} Py_INCREF(Py_None);
b26e2dc4
RD
834 _resultobj = Py_None;
835 return _resultobj;
836}
837
105e45b9
RD
838static void *SwigwxMiniFrameTowxFrame(void *ptr) {
839 wxMiniFrame *src;
840 wxFrame *dest;
841 src = (wxMiniFrame *) ptr;
842 dest = (wxFrame *) src;
843 return (void *) dest;
844}
845
846static void *SwigwxMiniFrameTowxWindow(void *ptr) {
847 wxMiniFrame *src;
848 wxWindow *dest;
849 src = (wxMiniFrame *) ptr;
850 dest = (wxWindow *) src;
851 return (void *) dest;
852}
853
854static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
855 wxMiniFrame *src;
856 wxEvtHandler *dest;
857 src = (wxMiniFrame *) ptr;
858 dest = (wxEvtHandler *) src;
859 return (void *) dest;
860}
861
862#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 863static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
864 PyObject * _resultobj;
865 wxMiniFrame * _result;
866 wxWindow * _arg0;
867 wxWindowID _arg1;
868 wxString * _arg2;
2d091820
RD
869 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
870 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
871 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
872 char * _arg6 = (char *) "frame";
873 PyObject * _argo0 = 0;
105e45b9 874 PyObject * _obj2 = 0;
2d091820
RD
875 PyObject * _argo3 = 0;
876 PyObject * _argo4 = 0;
107e4716 877 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
105e45b9
RD
878 char _ptemp[128];
879
880 self = self;
107e4716 881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
105e45b9 882 return NULL;
2d091820
RD
883 if (_argo0) {
884 if (_argo0 == Py_None) { _arg0 = NULL; }
885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
105e45b9
RD
886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
887 return NULL;
888 }
889 }
890{
891 if (!PyString_Check(_obj2)) {
892 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
893 return NULL;
894 }
ab9bc19b 895 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
105e45b9 896}
2d091820
RD
897 if (_argo3) {
898 if (_argo3 == Py_None) { _arg3 = NULL; }
899 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
105e45b9
RD
900 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMiniFrame. Expected _wxPoint_p.");
901 return NULL;
902 }
903 }
2d091820
RD
904 if (_argo4) {
905 if (_argo4 == Py_None) { _arg4 = NULL; }
906 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
105e45b9
RD
907 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMiniFrame. Expected _wxSize_p.");
908 return NULL;
909 }
910 }
ab9bc19b
RD
911{
912 wxPy_BEGIN_ALLOW_THREADS;
913 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
914
915 wxPy_END_ALLOW_THREADS;
2d091820
RD
916} if (_result) {
917 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
918 _resultobj = Py_BuildValue("s",_ptemp);
919 } else {
920 Py_INCREF(Py_None);
921 _resultobj = Py_None;
922 }
105e45b9
RD
923{
924 if (_obj2)
925 delete _arg2;
926}
927 return _resultobj;
928}
929
b26e2dc4 930static PyMethodDef framescMethods[] = {
107e4716
RD
931 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
932 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
933 { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
934 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
935 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
936 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
937 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
938 { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
939 { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
940 { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
941 { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
942 { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
943 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
944 { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
945 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
946 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
947 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
948 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
949 { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
950 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
b26e2dc4
RD
951 { NULL, NULL }
952};
2d091820
RD
953#ifdef __cplusplus
954}
955#endif
956/*
957 * This table is used by the pointer type-checker
958 */
959static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
960 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
961 { "_wxEvent","_class_wxEvent",0},
962 { "_class_wxActivateEvent","_wxActivateEvent",0},
963 { "_signed_long","_long",0},
964 { "_wxMenuEvent","_class_wxMenuEvent",0},
965 { "_wxPrintQuality","_int",0},
966 { "_wxPrintQuality","_signed_int",0},
967 { "_wxPrintQuality","_unsigned_int",0},
968 { "_wxPrintQuality","_wxWindowID",0},
969 { "_wxPrintQuality","_uint",0},
970 { "_wxPrintQuality","_EBool",0},
971 { "_wxPrintQuality","_size_t",0},
972 { "_class_wxRegionIterator","_wxRegionIterator",0},
973 { "_class_wxMenuBar","_wxMenuBar",0},
974 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
975 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
976 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
977 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
978 { "_class_wxEvtHandler","_wxEvtHandler",0},
979 { "_wxPaintEvent","_class_wxPaintEvent",0},
980 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
981 { "_wxCursor","_class_wxCursor",0},
982 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
983 { "_wxMask","_class_wxMask",0},
984 { "_wxPen","_class_wxPen",0},
985 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
986 { "_byte","_unsigned_char",0},
987 { "_wxStaticBox","_class_wxStaticBox",0},
988 { "_wxChoice","_class_wxChoice",0},
989 { "_wxSlider","_class_wxSlider",0},
990 { "_long","_wxDash",0},
991 { "_long","_unsigned_long",0},
992 { "_long","_signed_long",0},
993 { "_wxImageList","_class_wxImageList",0},
994 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
995 { "_wxBitmapButton","_class_wxBitmapButton",0},
996 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
997 { "_class_wxGauge","_wxGauge",0},
998 { "_wxDC","_class_wxDC",0},
999 { "_wxSpinEvent","_class_wxSpinEvent",0},
1000 { "_size_t","_wxPrintQuality",0},
1001 { "_size_t","_unsigned_int",0},
1002 { "_size_t","_int",0},
1003 { "_size_t","_wxWindowID",0},
1004 { "_size_t","_uint",0},
1005 { "_class_wxRealPoint","_wxRealPoint",0},
1006 { "_class_wxMenuItem","_wxMenuItem",0},
1007 { "_class_wxPaintEvent","_wxPaintEvent",0},
1008 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1009 { "_class_wxStatusBar","_wxStatusBar",0},
1010 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1011 { "_wxPanel","_class_wxPanel",0},
1012 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1013 { "_wxCheckBox","_class_wxCheckBox",0},
1014 { "_wxPyEvent","_class_wxPyEvent",0},
1015 { "_wxTextCtrl","_class_wxTextCtrl",0},
1016 { "_class_wxMask","_wxMask",0},
1017 { "_class_wxKeyEvent","_wxKeyEvent",0},
1018 { "_wxColour","_class_wxColour",0},
1019 { "_class_wxDialog","_wxDialog",0},
1020 { "_wxIdleEvent","_class_wxIdleEvent",0},
1021 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1022 { "_wxToolBar","_class_wxToolBar",0},
1023 { "_wxStaticLine","_class_wxStaticLine",0},
1024 { "_wxBrush","_class_wxBrush",0},
1025 { "_wxMiniFrame","_class_wxMiniFrame",0},
1026 { "_wxShowEvent","_class_wxShowEvent",0},
1027 { "_uint","_wxPrintQuality",0},
1028 { "_uint","_size_t",0},
1029 { "_uint","_unsigned_int",0},
1030 { "_uint","_int",0},
1031 { "_uint","_wxWindowID",0},
1032 { "_class_wxEvent","_wxEvent",0},
1033 { "_wxCheckListBox","_class_wxCheckListBox",0},
1034 { "_wxRect","_class_wxRect",0},
1035 { "_wxCommandEvent","_class_wxCommandEvent",0},
1036 { "_wxSizeEvent","_class_wxSizeEvent",0},
1037 { "_wxPoint","_class_wxPoint",0},
1038 { "_class_wxButton","_wxButton",0},
1039 { "_wxRadioBox","_class_wxRadioBox",0},
1040 { "_wxBitmap","_class_wxBitmap",0},
1041 { "_wxPyTimer","_class_wxPyTimer",0},
1042 { "_wxWindowDC","_class_wxWindowDC",0},
1043 { "_wxScrollBar","_class_wxScrollBar",0},
1044 { "_wxSpinButton","_class_wxSpinButton",0},
1045 { "_wxToolBarTool","_class_wxToolBarTool",0},
1046 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1047 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1048 { "_class_wxPyEvent","_wxPyEvent",0},
1049 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1050 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1051 { "_class_wxToolBar","_wxToolBar",0},
1052 { "_class_wxStaticLine","_wxStaticLine",0},
1053 { "_wxScrollEvent","_class_wxScrollEvent",0},
1054 { "_EBool","_wxPrintQuality",0},
1055 { "_EBool","_signed_int",0},
1056 { "_EBool","_int",0},
1057 { "_EBool","_wxWindowID",0},
1058 { "_class_wxRegion","_wxRegion",0},
1059 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1060 { "_wxStaticText","_class_wxStaticText",0},
1061 { "_wxFont","_class_wxFont",0},
1062 { "_wxCloseEvent","_class_wxCloseEvent",0},
1063 { "_unsigned_long","_wxDash",0},
1064 { "_unsigned_long","_long",0},
1065 { "_class_wxRect","_wxRect",0},
1066 { "_class_wxDC","_wxDC",0},
1067 { "_class_wxPyTimer","_wxPyTimer",0},
1068 { "_wxFocusEvent","_class_wxFocusEvent",0},
1069 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1070 { "_class_wxSpinButton","_wxSpinButton",0},
1071 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1072 { "_class_wxPanel","_wxPanel",0},
1073 { "_class_wxCheckBox","_wxCheckBox",0},
1074 { "_wxComboBox","_class_wxComboBox",0},
1075 { "_wxRadioButton","_class_wxRadioButton",0},
1076 { "_signed_int","_wxPrintQuality",0},
1077 { "_signed_int","_EBool",0},
1078 { "_signed_int","_wxWindowID",0},
1079 { "_signed_int","_int",0},
1080 { "_class_wxTextCtrl","_wxTextCtrl",0},
1081 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1082 { "_wxMenu","_class_wxMenu",0},
1083 { "_class_wxMoveEvent","_wxMoveEvent",0},
1084 { "_wxListBox","_class_wxListBox",0},
1085 { "_wxScreenDC","_class_wxScreenDC",0},
1086 { "_WXTYPE","_short",0},
1087 { "_WXTYPE","_signed_short",0},
1088 { "_WXTYPE","_unsigned_short",0},
1089 { "_class_wxBrush","_wxBrush",0},
1090 { "_unsigned_short","_WXTYPE",0},
1091 { "_unsigned_short","_short",0},
1092 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1093 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1094 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1095 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1096 { "_class_wxWindow","_wxWindow",0},
1097 { "_class_wxStaticText","_wxStaticText",0},
1098 { "_class_wxFont","_wxFont",0},
1099 { "_class_wxCloseEvent","_wxCloseEvent",0},
1100 { "_class_wxMenuEvent","_wxMenuEvent",0},
1101 { "_wxClientDC","_class_wxClientDC",0},
1102 { "_wxMouseEvent","_class_wxMouseEvent",0},
1103 { "_class_wxPoint","_wxPoint",0},
1104 { "_wxRealPoint","_class_wxRealPoint",0},
1105 { "_class_wxRadioBox","_wxRadioBox",0},
1106 { "_signed_short","_WXTYPE",0},
1107 { "_signed_short","_short",0},
1108 { "_wxMemoryDC","_class_wxMemoryDC",0},
1109 { "_wxPaintDC","_class_wxPaintDC",0},
1110 { "_class_wxWindowDC","_wxWindowDC",0},
1111 { "_class_wxFocusEvent","_wxFocusEvent",0},
1112 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1113 { "_wxStatusBar","_class_wxStatusBar",0},
1114 { "_class_wxToolBarTool","_wxToolBarTool",0},
1115 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1116 { "_class_wxCursor","_wxCursor",0},
1117 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1118 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1119 { "_unsigned_char","_byte",0},
1120 { "_class_wxMenu","_wxMenu",0},
1121 { "_wxControl","_class_wxControl",0},
1122 { "_class_wxListBox","_wxListBox",0},
1123 { "_unsigned_int","_wxPrintQuality",0},
1124 { "_unsigned_int","_size_t",0},
1125 { "_unsigned_int","_uint",0},
1126 { "_unsigned_int","_wxWindowID",0},
1127 { "_unsigned_int","_int",0},
1128 { "_wxIcon","_class_wxIcon",0},
1129 { "_wxDialog","_class_wxDialog",0},
1130 { "_class_wxPen","_wxPen",0},
1131 { "_short","_WXTYPE",0},
1132 { "_short","_unsigned_short",0},
1133 { "_short","_signed_short",0},
1134 { "_class_wxStaticBox","_wxStaticBox",0},
1135 { "_class_wxScrollEvent","_wxScrollEvent",0},
1136 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1137 { "_class_wxChoice","_wxChoice",0},
1138 { "_class_wxSlider","_wxSlider",0},
1139 { "_class_wxImageList","_wxImageList",0},
1140 { "_class_wxBitmapButton","_wxBitmapButton",0},
1141 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1142 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1143 { "_wxFrame","_class_wxFrame",0},
1144 { "_wxWindowID","_wxPrintQuality",0},
1145 { "_wxWindowID","_size_t",0},
1146 { "_wxWindowID","_EBool",0},
1147 { "_wxWindowID","_uint",0},
1148 { "_wxWindowID","_int",0},
1149 { "_wxWindowID","_signed_int",0},
1150 { "_wxWindowID","_unsigned_int",0},
1151 { "_int","_wxPrintQuality",0},
1152 { "_int","_size_t",0},
1153 { "_int","_EBool",0},
1154 { "_int","_uint",0},
1155 { "_int","_wxWindowID",0},
1156 { "_int","_unsigned_int",0},
1157 { "_int","_signed_int",0},
1158 { "_class_wxMouseEvent","_wxMouseEvent",0},
1159 { "_class_wxSpinEvent","_wxSpinEvent",0},
1160 { "_wxButton","_class_wxButton",0},
1161 { "_wxSize","_class_wxSize",0},
1162 { "_wxRegionIterator","_class_wxRegionIterator",0},
1163 { "_class_wxPaintDC","_wxPaintDC",0},
1164 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1165 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1166 { "_class_wxComboBox","_wxComboBox",0},
1167 { "_class_wxRadioButton","_wxRadioButton",0},
1168 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1169 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1170 { "_class_wxControl","_wxControl",0},
1171 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1172 { "_class_wxIcon","_wxIcon",0},
1173 { "_class_wxColour","_wxColour",0},
1174 { "_class_wxScreenDC","_wxScreenDC",0},
1175 { "_wxPalette","_class_wxPalette",0},
1176 { "_class_wxIdleEvent","_wxIdleEvent",0},
1177 { "_wxEraseEvent","_class_wxEraseEvent",0},
1178 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1179 { "_class_wxMiniFrame","_wxMiniFrame",0},
1180 { "_wxRegion","_class_wxRegion",0},
1181 { "_class_wxShowEvent","_wxShowEvent",0},
1182 { "_wxActivateEvent","_class_wxActivateEvent",0},
1183 { "_wxGauge","_class_wxGauge",0},
1184 { "_class_wxCheckListBox","_wxCheckListBox",0},
1185 { "_class_wxCommandEvent","_wxCommandEvent",0},
1186 { "_class_wxClientDC","_wxClientDC",0},
1187 { "_class_wxSizeEvent","_wxSizeEvent",0},
1188 { "_class_wxSize","_wxSize",0},
1189 { "_class_wxBitmap","_wxBitmap",0},
1190 { "_class_wxMemoryDC","_wxMemoryDC",0},
1191 { "_wxMenuBar","_class_wxMenuBar",0},
1192 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1193 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1194 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
1195 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1196 { "_wxEvtHandler","_class_wxEvtHandler",0},
1197 { "_wxMenuItem","_class_wxMenuItem",0},
1198 { "_class_wxScrollBar","_wxScrollBar",0},
1199 { "_wxDash","_unsigned_long",0},
1200 { "_wxDash","_long",0},
1201 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1202 { "_wxKeyEvent","_class_wxKeyEvent",0},
1203 { "_wxMoveEvent","_class_wxMoveEvent",0},
1204 { "_class_wxPalette","_wxPalette",0},
1205 { "_class_wxEraseEvent","_wxEraseEvent",0},
1206 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1207 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1208 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1209 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1210 { "_wxWindow","_class_wxWindow",0},
1211 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1212 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1213 { "_class_wxFrame","_wxFrame",0},
1214{0,0,0}};
1215
b26e2dc4
RD
1216static PyObject *SWIG_globals;
1217#ifdef __cplusplus
1218extern "C"
1219#endif
2d091820 1220SWIGEXPORT(void) initframesc() {
b26e2dc4
RD
1221 PyObject *m, *d;
1222 SWIG_globals = SWIG_newvarlink();
1223 m = Py_InitModule("framesc", framescMethods);
1224 d = PyModule_GetDict(m);
2d091820
RD
1225{
1226 int i;
1227 for (i = 0; _swig_mapping[i].n1; i++)
1228 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1229}
b26e2dc4 1230}