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