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