]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/frames.cpp
Added XRCed to the wxPython Tools directory, contributed by Roman
[wxWidgets.git] / wxPython / src / gtk / frames.cpp
1 /*
2 * FILE : src/gtk/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 #include <wx/tipwin.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg = "String or Unicode type required";
91 #else
92 static char* wxStringErrorMsg = "string type is required for parameter";
93 #endif
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97 static void *SwigwxFrameTowxWindow(void *ptr) {
98 wxFrame *src;
99 wxWindow *dest;
100 src = (wxFrame *) ptr;
101 dest = (wxWindow *) src;
102 return (void *) dest;
103 }
104
105 static void *SwigwxFrameTowxEvtHandler(void *ptr) {
106 wxFrame *src;
107 wxEvtHandler *dest;
108 src = (wxFrame *) ptr;
109 dest = (wxEvtHandler *) src;
110 return (void *) dest;
111 }
112
113 static void *SwigwxFrameTowxObject(void *ptr) {
114 wxFrame *src;
115 wxObject *dest;
116 src = (wxFrame *) ptr;
117 dest = (wxObject *) src;
118 return (void *) dest;
119 }
120
121 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
122 static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
123 PyObject * _resultobj;
124 wxFrame * _result;
125 wxWindow * _arg0;
126 wxWindowID _arg1;
127 wxString * _arg2;
128 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
129 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
130 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
131 char * _arg6 = (char *) "frame";
132 PyObject * _argo0 = 0;
133 PyObject * _obj2 = 0;
134 wxPoint temp;
135 PyObject * _obj3 = 0;
136 wxSize temp0;
137 PyObject * _obj4 = 0;
138 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
139 char _ptemp[128];
140
141 self = self;
142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
143 return NULL;
144 if (_argo0) {
145 if (_argo0 == Py_None) { _arg0 = NULL; }
146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
148 return NULL;
149 }
150 }
151 {
152 #if PYTHON_API_VERSION >= 1009
153 char* tmpPtr; int tmpSize;
154 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
156 return NULL;
157 }
158 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
159 return NULL;
160 _arg2 = new wxString(tmpPtr, tmpSize);
161 #else
162 if (!PyString_Check(_obj2)) {
163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
164 return NULL;
165 }
166 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
167 #endif
168 }
169 if (_obj3)
170 {
171 _arg3 = &temp;
172 if (! wxPoint_helper(_obj3, &_arg3))
173 return NULL;
174 }
175 if (_obj4)
176 {
177 _arg4 = &temp0;
178 if (! wxSize_helper(_obj4, &_arg4))
179 return NULL;
180 }
181 {
182 wxPy_BEGIN_ALLOW_THREADS;
183 _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
184
185 wxPy_END_ALLOW_THREADS;
186 if (PyErr_Occurred()) return NULL;
187 } if (_result) {
188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
189 _resultobj = Py_BuildValue("s",_ptemp);
190 } else {
191 Py_INCREF(Py_None);
192 _resultobj = Py_None;
193 }
194 {
195 if (_obj2)
196 delete _arg2;
197 }
198 return _resultobj;
199 }
200
201 #define new_wxPreFrame() (new wxFrame())
202 static PyObject *_wrap_new_wxPreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
203 PyObject * _resultobj;
204 wxFrame * _result;
205 char *_kwnames[] = { NULL };
206 char _ptemp[128];
207
208 self = self;
209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFrame",_kwnames))
210 return NULL;
211 {
212 wxPy_BEGIN_ALLOW_THREADS;
213 _result = (wxFrame *)new_wxPreFrame();
214
215 wxPy_END_ALLOW_THREADS;
216 if (PyErr_Occurred()) return NULL;
217 } if (_result) {
218 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
219 _resultobj = Py_BuildValue("s",_ptemp);
220 } else {
221 Py_INCREF(Py_None);
222 _resultobj = Py_None;
223 }
224 return _resultobj;
225 }
226
227 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
228 static PyObject *_wrap_wxFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
229 PyObject * _resultobj;
230 bool _result;
231 wxFrame * _arg0;
232 wxWindow * _arg1;
233 wxWindowID _arg2;
234 wxString * _arg3;
235 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
236 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
237 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
238 char * _arg7 = (char *) "frame";
239 PyObject * _argo0 = 0;
240 PyObject * _argo1 = 0;
241 PyObject * _obj3 = 0;
242 wxPoint temp;
243 PyObject * _obj4 = 0;
244 wxSize temp0;
245 PyObject * _obj5 = 0;
246 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
247
248 self = self;
249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
250 return NULL;
251 if (_argo0) {
252 if (_argo0 == Py_None) { _arg0 = NULL; }
253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
255 return NULL;
256 }
257 }
258 if (_argo1) {
259 if (_argo1 == Py_None) { _arg1 = NULL; }
260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
262 return NULL;
263 }
264 }
265 {
266 #if PYTHON_API_VERSION >= 1009
267 char* tmpPtr; int tmpSize;
268 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
269 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
270 return NULL;
271 }
272 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
273 return NULL;
274 _arg3 = new wxString(tmpPtr, tmpSize);
275 #else
276 if (!PyString_Check(_obj3)) {
277 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
278 return NULL;
279 }
280 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
281 #endif
282 }
283 if (_obj4)
284 {
285 _arg4 = &temp;
286 if (! wxPoint_helper(_obj4, &_arg4))
287 return NULL;
288 }
289 if (_obj5)
290 {
291 _arg5 = &temp0;
292 if (! wxSize_helper(_obj5, &_arg5))
293 return NULL;
294 }
295 {
296 wxPy_BEGIN_ALLOW_THREADS;
297 _result = (bool )wxFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
298
299 wxPy_END_ALLOW_THREADS;
300 if (PyErr_Occurred()) return NULL;
301 } _resultobj = Py_BuildValue("i",_result);
302 {
303 if (_obj3)
304 delete _arg3;
305 }
306 return _resultobj;
307 }
308
309 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
310 static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxFrame * _arg0;
313 int _arg1 = (int ) wxBOTH;
314 PyObject * _argo0 = 0;
315 char *_kwnames[] = { "self","direction", NULL };
316
317 self = self;
318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
319 return NULL;
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
324 return NULL;
325 }
326 }
327 {
328 wxPy_BEGIN_ALLOW_THREADS;
329 wxFrame_Centre(_arg0,_arg1);
330
331 wxPy_END_ALLOW_THREADS;
332 if (PyErr_Occurred()) return NULL;
333 } Py_INCREF(Py_None);
334 _resultobj = Py_None;
335 return _resultobj;
336 }
337
338 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
339 static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 wxStatusBar * _result;
342 wxFrame * _arg0;
343 int _arg1 = (int ) 1;
344 long _arg2 = (long ) wxST_SIZEGRIP;
345 wxWindowID _arg3 = (wxWindowID ) -1;
346 char * _arg4 = (char *) "statusBar";
347 PyObject * _argo0 = 0;
348 char *_kwnames[] = { "self","number","style","id","name", NULL };
349
350 self = self;
351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
352 return NULL;
353 if (_argo0) {
354 if (_argo0 == Py_None) { _arg0 = NULL; }
355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
357 return NULL;
358 }
359 }
360 {
361 wxPy_BEGIN_ALLOW_THREADS;
362 _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
363
364 wxPy_END_ALLOW_THREADS;
365 if (PyErr_Occurred()) return NULL;
366 }{ _resultobj = wxPyMake_wxObject(_result); }
367 return _resultobj;
368 }
369
370 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
371 static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
372 PyObject * _resultobj;
373 wxToolBar * _result;
374 wxFrame * _arg0;
375 long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT;
376 wxWindowID _arg2 = (wxWindowID ) -1;
377 char * _arg3 = (char *) "toolBar";
378 PyObject * _argo0 = 0;
379 char *_kwnames[] = { "self","style","id","name", NULL };
380
381 self = self;
382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
383 return NULL;
384 if (_argo0) {
385 if (_argo0 == Py_None) { _arg0 = NULL; }
386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
388 return NULL;
389 }
390 }
391 {
392 wxPy_BEGIN_ALLOW_THREADS;
393 _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
394
395 wxPy_END_ALLOW_THREADS;
396 if (PyErr_Occurred()) return NULL;
397 }{ _resultobj = wxPyMake_wxObject(_result); }
398 return _resultobj;
399 }
400
401 #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
402 static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
403 PyObject * _resultobj;
404 wxIcon * _result;
405 wxFrame * _arg0;
406 PyObject * _argo0 = 0;
407 char *_kwnames[] = { "self", NULL };
408 char _ptemp[128];
409
410 self = self;
411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0))
412 return NULL;
413 if (_argo0) {
414 if (_argo0 == Py_None) { _arg0 = NULL; }
415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
417 return NULL;
418 }
419 }
420 {
421 wxPy_BEGIN_ALLOW_THREADS;
422 const wxIcon & _result_ref = wxFrame_GetIcon(_arg0);
423 _result = (wxIcon *) &_result_ref;
424
425 wxPy_END_ALLOW_THREADS;
426 if (PyErr_Occurred()) return NULL;
427 } if (_result) {
428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
429 _resultobj = Py_BuildValue("s",_ptemp);
430 } else {
431 Py_INCREF(Py_None);
432 _resultobj = Py_None;
433 }
434 return _resultobj;
435 }
436
437 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
438 static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
439 PyObject * _resultobj;
440 wxMenuBar * _result;
441 wxFrame * _arg0;
442 PyObject * _argo0 = 0;
443 char *_kwnames[] = { "self", NULL };
444
445 self = self;
446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
447 return NULL;
448 if (_argo0) {
449 if (_argo0 == Py_None) { _arg0 = NULL; }
450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
452 return NULL;
453 }
454 }
455 {
456 wxPy_BEGIN_ALLOW_THREADS;
457 _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
458
459 wxPy_END_ALLOW_THREADS;
460 if (PyErr_Occurred()) return NULL;
461 }{ _resultobj = wxPyMake_wxObject(_result); }
462 return _resultobj;
463 }
464
465 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
466 static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
467 PyObject * _resultobj;
468 wxStatusBar * _result;
469 wxFrame * _arg0;
470 PyObject * _argo0 = 0;
471 char *_kwnames[] = { "self", NULL };
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
475 return NULL;
476 if (_argo0) {
477 if (_argo0 == Py_None) { _arg0 = NULL; }
478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
480 return NULL;
481 }
482 }
483 {
484 wxPy_BEGIN_ALLOW_THREADS;
485 _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
486
487 wxPy_END_ALLOW_THREADS;
488 if (PyErr_Occurred()) return NULL;
489 }{ _resultobj = wxPyMake_wxObject(_result); }
490 return _resultobj;
491 }
492
493 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
494 static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
495 PyObject * _resultobj;
496 wxString * _result;
497 wxFrame * _arg0;
498 PyObject * _argo0 = 0;
499 char *_kwnames[] = { "self", NULL };
500
501 self = self;
502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
503 return NULL;
504 if (_argo0) {
505 if (_argo0 == Py_None) { _arg0 = NULL; }
506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
508 return NULL;
509 }
510 }
511 {
512 wxPy_BEGIN_ALLOW_THREADS;
513 _result = new wxString (wxFrame_GetTitle(_arg0));
514
515 wxPy_END_ALLOW_THREADS;
516 if (PyErr_Occurred()) return NULL;
517 }{
518 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
519 }
520 {
521 delete _result;
522 }
523 return _resultobj;
524 }
525
526 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
527 static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
528 PyObject * _resultobj;
529 wxToolBar * _result;
530 wxFrame * _arg0;
531 PyObject * _argo0 = 0;
532 char *_kwnames[] = { "self", NULL };
533
534 self = self;
535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
536 return NULL;
537 if (_argo0) {
538 if (_argo0 == Py_None) { _arg0 = NULL; }
539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
541 return NULL;
542 }
543 }
544 {
545 wxPy_BEGIN_ALLOW_THREADS;
546 _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
547
548 wxPy_END_ALLOW_THREADS;
549 if (PyErr_Occurred()) return NULL;
550 }{ _resultobj = wxPyMake_wxObject(_result); }
551 return _resultobj;
552 }
553
554 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
555 static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 wxFrame * _arg0;
558 bool _arg1;
559 PyObject * _argo0 = 0;
560 int tempbool1;
561 char *_kwnames[] = { "self","iconize", NULL };
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
565 return NULL;
566 if (_argo0) {
567 if (_argo0 == Py_None) { _arg0 = NULL; }
568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
570 return NULL;
571 }
572 }
573 _arg1 = (bool ) tempbool1;
574 {
575 wxPy_BEGIN_ALLOW_THREADS;
576 wxFrame_Iconize(_arg0,_arg1);
577
578 wxPy_END_ALLOW_THREADS;
579 if (PyErr_Occurred()) return NULL;
580 } Py_INCREF(Py_None);
581 _resultobj = Py_None;
582 return _resultobj;
583 }
584
585 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
586 static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 bool _result;
589 wxFrame * _arg0;
590 PyObject * _argo0 = 0;
591 char *_kwnames[] = { "self", NULL };
592
593 self = self;
594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
595 return NULL;
596 if (_argo0) {
597 if (_argo0 == Py_None) { _arg0 = NULL; }
598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
600 return NULL;
601 }
602 }
603 {
604 wxPy_BEGIN_ALLOW_THREADS;
605 _result = (bool )wxFrame_IsIconized(_arg0);
606
607 wxPy_END_ALLOW_THREADS;
608 if (PyErr_Occurred()) return NULL;
609 } _resultobj = Py_BuildValue("i",_result);
610 return _resultobj;
611 }
612
613 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
614 static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
615 PyObject * _resultobj;
616 wxFrame * _arg0;
617 bool _arg1;
618 PyObject * _argo0 = 0;
619 int tempbool1;
620 char *_kwnames[] = { "self","maximize", NULL };
621
622 self = self;
623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
624 return NULL;
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
629 return NULL;
630 }
631 }
632 _arg1 = (bool ) tempbool1;
633 {
634 wxPy_BEGIN_ALLOW_THREADS;
635 wxFrame_Maximize(_arg0,_arg1);
636
637 wxPy_END_ALLOW_THREADS;
638 if (PyErr_Occurred()) return NULL;
639 } Py_INCREF(Py_None);
640 _resultobj = Py_None;
641 return _resultobj;
642 }
643
644 #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
645 static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
646 PyObject * _resultobj;
647 bool _result;
648 wxFrame * _arg0;
649 PyObject * _argo0 = 0;
650 char *_kwnames[] = { "self", NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0))
654 return NULL;
655 if (_argo0) {
656 if (_argo0 == Py_None) { _arg0 = NULL; }
657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
659 return NULL;
660 }
661 }
662 {
663 wxPy_BEGIN_ALLOW_THREADS;
664 _result = (bool )wxFrame_IsMaximized(_arg0);
665
666 wxPy_END_ALLOW_THREADS;
667 if (PyErr_Occurred()) return NULL;
668 } _resultobj = Py_BuildValue("i",_result);
669 return _resultobj;
670 }
671
672 #define wxFrame_Restore(_swigobj) (_swigobj->Restore())
673 static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
674 PyObject * _resultobj;
675 wxFrame * _arg0;
676 PyObject * _argo0 = 0;
677 char *_kwnames[] = { "self", NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0))
681 return NULL;
682 if (_argo0) {
683 if (_argo0 == Py_None) { _arg0 = NULL; }
684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
686 return NULL;
687 }
688 }
689 {
690 wxPy_BEGIN_ALLOW_THREADS;
691 wxFrame_Restore(_arg0);
692
693 wxPy_END_ALLOW_THREADS;
694 if (PyErr_Occurred()) return NULL;
695 } Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698 }
699
700 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
701 static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
702 PyObject * _resultobj;
703 wxFrame * _arg0;
704 wxAcceleratorTable * _arg1;
705 PyObject * _argo0 = 0;
706 PyObject * _argo1 = 0;
707 char *_kwnames[] = { "self","accel", NULL };
708
709 self = self;
710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
711 return NULL;
712 if (_argo0) {
713 if (_argo0 == Py_None) { _arg0 = NULL; }
714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
716 return NULL;
717 }
718 }
719 if (_argo1) {
720 if (_argo1 == Py_None) { _arg1 = NULL; }
721 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) {
722 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
723 return NULL;
724 }
725 }
726 {
727 wxPy_BEGIN_ALLOW_THREADS;
728 wxFrame_SetAcceleratorTable(_arg0,*_arg1);
729
730 wxPy_END_ALLOW_THREADS;
731 if (PyErr_Occurred()) return NULL;
732 } Py_INCREF(Py_None);
733 _resultobj = Py_None;
734 return _resultobj;
735 }
736
737 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
738 static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
739 PyObject * _resultobj;
740 wxFrame * _arg0;
741 wxIcon * _arg1;
742 PyObject * _argo0 = 0;
743 PyObject * _argo1 = 0;
744 char *_kwnames[] = { "self","icon", NULL };
745
746 self = self;
747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
748 return NULL;
749 if (_argo0) {
750 if (_argo0 == Py_None) { _arg0 = NULL; }
751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
753 return NULL;
754 }
755 }
756 if (_argo1) {
757 if (_argo1 == Py_None) { _arg1 = NULL; }
758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
760 return NULL;
761 }
762 }
763 {
764 wxPy_BEGIN_ALLOW_THREADS;
765 wxFrame_SetIcon(_arg0,*_arg1);
766
767 wxPy_END_ALLOW_THREADS;
768 if (PyErr_Occurred()) return NULL;
769 } Py_INCREF(Py_None);
770 _resultobj = Py_None;
771 return _resultobj;
772 }
773
774 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
775 static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject * _resultobj;
777 wxFrame * _arg0;
778 wxMenuBar * _arg1;
779 PyObject * _argo0 = 0;
780 PyObject * _argo1 = 0;
781 char *_kwnames[] = { "self","menuBar", NULL };
782
783 self = self;
784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
785 return NULL;
786 if (_argo0) {
787 if (_argo0 == Py_None) { _arg0 = NULL; }
788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
790 return NULL;
791 }
792 }
793 if (_argo1) {
794 if (_argo1 == Py_None) { _arg1 = NULL; }
795 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) {
796 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
797 return NULL;
798 }
799 }
800 {
801 wxPy_BEGIN_ALLOW_THREADS;
802 wxFrame_SetMenuBar(_arg0,_arg1);
803
804 wxPy_END_ALLOW_THREADS;
805 if (PyErr_Occurred()) return NULL;
806 } Py_INCREF(Py_None);
807 _resultobj = Py_None;
808 return _resultobj;
809 }
810
811 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
812 static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
813 PyObject * _resultobj;
814 wxFrame * _arg0;
815 wxStatusBar * _arg1;
816 PyObject * _argo0 = 0;
817 PyObject * _argo1 = 0;
818 char *_kwnames[] = { "self","statusBar", NULL };
819
820 self = self;
821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
822 return NULL;
823 if (_argo0) {
824 if (_argo0 == Py_None) { _arg0 = NULL; }
825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
827 return NULL;
828 }
829 }
830 if (_argo1) {
831 if (_argo1 == Py_None) { _arg1 = NULL; }
832 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
834 return NULL;
835 }
836 }
837 {
838 wxPy_BEGIN_ALLOW_THREADS;
839 wxFrame_SetStatusBar(_arg0,_arg1);
840
841 wxPy_END_ALLOW_THREADS;
842 if (PyErr_Occurred()) return NULL;
843 } Py_INCREF(Py_None);
844 _resultobj = Py_None;
845 return _resultobj;
846 }
847
848 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
849 static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 wxFrame * _arg0;
852 wxString * _arg1;
853 int _arg2 = (int ) 0;
854 PyObject * _argo0 = 0;
855 PyObject * _obj1 = 0;
856 char *_kwnames[] = { "self","text","number", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
860 return NULL;
861 if (_argo0) {
862 if (_argo0 == Py_None) { _arg0 = NULL; }
863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
865 return NULL;
866 }
867 }
868 {
869 #if PYTHON_API_VERSION >= 1009
870 char* tmpPtr; int tmpSize;
871 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
872 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
873 return NULL;
874 }
875 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
876 return NULL;
877 _arg1 = new wxString(tmpPtr, tmpSize);
878 #else
879 if (!PyString_Check(_obj1)) {
880 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
881 return NULL;
882 }
883 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
884 #endif
885 }
886 {
887 wxPy_BEGIN_ALLOW_THREADS;
888 wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
889
890 wxPy_END_ALLOW_THREADS;
891 if (PyErr_Occurred()) return NULL;
892 } Py_INCREF(Py_None);
893 _resultobj = Py_None;
894 {
895 if (_obj1)
896 delete _arg1;
897 }
898 return _resultobj;
899 }
900
901 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
902 static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
903 PyObject * _resultobj;
904 wxFrame * _arg0;
905 int _arg1;
906 int * _arg2;
907 PyObject * _argo0 = 0;
908 PyObject * _obj2 = 0;
909 char *_kwnames[] = { "self","choices", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
918 return NULL;
919 }
920 }
921 if (_obj2)
922 {
923 _arg2 = int_LIST_helper(_obj2);
924 if (_arg2 == NULL) {
925 return NULL;
926 }
927 }
928 {
929 if (_obj2) {
930 _arg1 = PyList_Size(_obj2);
931 }
932 else {
933 _arg1 = 0;
934 }
935 }
936 {
937 wxPy_BEGIN_ALLOW_THREADS;
938 wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
939
940 wxPy_END_ALLOW_THREADS;
941 if (PyErr_Occurred()) return NULL;
942 } Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 {
945 delete [] _arg2;
946 }
947 return _resultobj;
948 }
949
950 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
951 static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
952 PyObject * _resultobj;
953 wxFrame * _arg0;
954 wxString * _arg1;
955 PyObject * _argo0 = 0;
956 PyObject * _obj1 = 0;
957 char *_kwnames[] = { "self","title", NULL };
958
959 self = self;
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
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_SetTitle. Expected _wxFrame_p.");
966 return NULL;
967 }
968 }
969 {
970 #if PYTHON_API_VERSION >= 1009
971 char* tmpPtr; int tmpSize;
972 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
973 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
974 return NULL;
975 }
976 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
977 return NULL;
978 _arg1 = new wxString(tmpPtr, tmpSize);
979 #else
980 if (!PyString_Check(_obj1)) {
981 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
982 return NULL;
983 }
984 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
985 #endif
986 }
987 {
988 wxPy_BEGIN_ALLOW_THREADS;
989 wxFrame_SetTitle(_arg0,*_arg1);
990
991 wxPy_END_ALLOW_THREADS;
992 if (PyErr_Occurred()) return NULL;
993 } Py_INCREF(Py_None);
994 _resultobj = Py_None;
995 {
996 if (_obj1)
997 delete _arg1;
998 }
999 return _resultobj;
1000 }
1001
1002 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1003 static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject * _resultobj;
1005 wxFrame * _arg0;
1006 wxToolBar * _arg1;
1007 PyObject * _argo0 = 0;
1008 PyObject * _argo1 = 0;
1009 char *_kwnames[] = { "self","toolbar", NULL };
1010
1011 self = self;
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
1013 return NULL;
1014 if (_argo0) {
1015 if (_argo0 == Py_None) { _arg0 = NULL; }
1016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1018 return NULL;
1019 }
1020 }
1021 if (_argo1) {
1022 if (_argo1 == Py_None) { _arg1 = NULL; }
1023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1025 return NULL;
1026 }
1027 }
1028 {
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 wxFrame_SetToolBar(_arg0,_arg1);
1031
1032 wxPy_END_ALLOW_THREADS;
1033 if (PyErr_Occurred()) return NULL;
1034 } Py_INCREF(Py_None);
1035 _resultobj = Py_None;
1036 return _resultobj;
1037 }
1038
1039 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1040 static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject * _resultobj;
1042 wxFrame * _arg0;
1043 bool _arg1 = (bool ) TRUE;
1044 PyObject * _argo0 = 0;
1045 int tempbool1 = (int) TRUE;
1046 char *_kwnames[] = { "self","modal", NULL };
1047
1048 self = self;
1049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1))
1050 return NULL;
1051 if (_argo0) {
1052 if (_argo0 == Py_None) { _arg0 = NULL; }
1053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
1055 return NULL;
1056 }
1057 }
1058 _arg1 = (bool ) tempbool1;
1059 {
1060 wxPy_BEGIN_ALLOW_THREADS;
1061 wxFrame_MakeModal(_arg0,_arg1);
1062
1063 wxPy_END_ALLOW_THREADS;
1064 if (PyErr_Occurred()) return NULL;
1065 } Py_INCREF(Py_None);
1066 _resultobj = Py_None;
1067 return _resultobj;
1068 }
1069
1070 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1071 static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject * _resultobj;
1073 wxPoint * _result;
1074 wxFrame * _arg0;
1075 PyObject * _argo0 = 0;
1076 char *_kwnames[] = { "self", NULL };
1077 char _ptemp[128];
1078
1079 self = self;
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0))
1081 return NULL;
1082 if (_argo0) {
1083 if (_argo0 == Py_None) { _arg0 = NULL; }
1084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
1086 return NULL;
1087 }
1088 }
1089 {
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0));
1092
1093 wxPy_END_ALLOW_THREADS;
1094 if (PyErr_Occurred()) return NULL;
1095 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1096 _resultobj = Py_BuildValue("s",_ptemp);
1097 return _resultobj;
1098 }
1099
1100 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1101 static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
1102 PyObject * _resultobj;
1103 bool _result;
1104 wxFrame * _arg0;
1105 int _arg1;
1106 PyObject * _argo0 = 0;
1107 char *_kwnames[] = { "self","id", NULL };
1108
1109 self = self;
1110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
1111 return NULL;
1112 if (_argo0) {
1113 if (_argo0 == Py_None) { _arg0 = NULL; }
1114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1116 return NULL;
1117 }
1118 }
1119 {
1120 wxPy_BEGIN_ALLOW_THREADS;
1121 _result = (bool )wxFrame_Command(_arg0,_arg1);
1122
1123 wxPy_END_ALLOW_THREADS;
1124 if (PyErr_Occurred()) return NULL;
1125 } _resultobj = Py_BuildValue("i",_result);
1126 return _resultobj;
1127 }
1128
1129 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1130 static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
1131 PyObject * _resultobj;
1132 bool _result;
1133 wxFrame * _arg0;
1134 int _arg1;
1135 PyObject * _argo0 = 0;
1136 char *_kwnames[] = { "self","id", NULL };
1137
1138 self = self;
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1))
1140 return NULL;
1141 if (_argo0) {
1142 if (_argo0 == Py_None) { _arg0 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1145 return NULL;
1146 }
1147 }
1148 {
1149 wxPy_BEGIN_ALLOW_THREADS;
1150 _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1);
1151
1152 wxPy_END_ALLOW_THREADS;
1153 if (PyErr_Occurred()) return NULL;
1154 } _resultobj = Py_BuildValue("i",_result);
1155 return _resultobj;
1156 }
1157
1158 #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
1159 static PyObject *_wrap_wxFrame_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject * _resultobj;
1161 bool _result;
1162 wxFrame * _arg0;
1163 bool _arg1;
1164 long _arg2 = (long ) (wxFULLSCREEN_ALL);
1165 PyObject * _argo0 = 0;
1166 int tempbool1;
1167 char *_kwnames[] = { "self","show","style", NULL };
1168
1169 self = self;
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxFrame_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2))
1171 return NULL;
1172 if (_argo0) {
1173 if (_argo0 == Py_None) { _arg0 = NULL; }
1174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p.");
1176 return NULL;
1177 }
1178 }
1179 _arg1 = (bool ) tempbool1;
1180 {
1181 wxPy_BEGIN_ALLOW_THREADS;
1182 _result = (bool )wxFrame_ShowFullScreen(_arg0,_arg1,_arg2);
1183
1184 wxPy_END_ALLOW_THREADS;
1185 if (PyErr_Occurred()) return NULL;
1186 } _resultobj = Py_BuildValue("i",_result);
1187 return _resultobj;
1188 }
1189
1190 #define wxFrame_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
1191 static PyObject *_wrap_wxFrame_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject * _resultobj;
1193 bool _result;
1194 wxFrame * _arg0;
1195 PyObject * _argo0 = 0;
1196 char *_kwnames[] = { "self", NULL };
1197
1198 self = self;
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsFullScreen",_kwnames,&_argo0))
1200 return NULL;
1201 if (_argo0) {
1202 if (_argo0 == Py_None) { _arg0 = NULL; }
1203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) {
1204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsFullScreen. Expected _wxFrame_p.");
1205 return NULL;
1206 }
1207 }
1208 {
1209 wxPy_BEGIN_ALLOW_THREADS;
1210 _result = (bool )wxFrame_IsFullScreen(_arg0);
1211
1212 wxPy_END_ALLOW_THREADS;
1213 if (PyErr_Occurred()) return NULL;
1214 } _resultobj = Py_BuildValue("i",_result);
1215 return _resultobj;
1216 }
1217
1218 static void *SwigwxMiniFrameTowxFrame(void *ptr) {
1219 wxMiniFrame *src;
1220 wxFrame *dest;
1221 src = (wxMiniFrame *) ptr;
1222 dest = (wxFrame *) src;
1223 return (void *) dest;
1224 }
1225
1226 static void *SwigwxMiniFrameTowxWindow(void *ptr) {
1227 wxMiniFrame *src;
1228 wxWindow *dest;
1229 src = (wxMiniFrame *) ptr;
1230 dest = (wxWindow *) src;
1231 return (void *) dest;
1232 }
1233
1234 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
1235 wxMiniFrame *src;
1236 wxEvtHandler *dest;
1237 src = (wxMiniFrame *) ptr;
1238 dest = (wxEvtHandler *) src;
1239 return (void *) dest;
1240 }
1241
1242 static void *SwigwxMiniFrameTowxObject(void *ptr) {
1243 wxMiniFrame *src;
1244 wxObject *dest;
1245 src = (wxMiniFrame *) ptr;
1246 dest = (wxObject *) src;
1247 return (void *) dest;
1248 }
1249
1250 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1251 static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject * _resultobj;
1253 wxMiniFrame * _result;
1254 wxWindow * _arg0;
1255 wxWindowID _arg1;
1256 wxString * _arg2;
1257 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1258 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1259 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
1260 char * _arg6 = (char *) "frame";
1261 PyObject * _argo0 = 0;
1262 PyObject * _obj2 = 0;
1263 wxPoint temp;
1264 PyObject * _obj3 = 0;
1265 wxSize temp0;
1266 PyObject * _obj4 = 0;
1267 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
1268 char _ptemp[128];
1269
1270 self = self;
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
1272 return NULL;
1273 if (_argo0) {
1274 if (_argo0 == Py_None) { _arg0 = NULL; }
1275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1277 return NULL;
1278 }
1279 }
1280 {
1281 #if PYTHON_API_VERSION >= 1009
1282 char* tmpPtr; int tmpSize;
1283 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1285 return NULL;
1286 }
1287 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1288 return NULL;
1289 _arg2 = new wxString(tmpPtr, tmpSize);
1290 #else
1291 if (!PyString_Check(_obj2)) {
1292 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1293 return NULL;
1294 }
1295 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1296 #endif
1297 }
1298 if (_obj3)
1299 {
1300 _arg3 = &temp;
1301 if (! wxPoint_helper(_obj3, &_arg3))
1302 return NULL;
1303 }
1304 if (_obj4)
1305 {
1306 _arg4 = &temp0;
1307 if (! wxSize_helper(_obj4, &_arg4))
1308 return NULL;
1309 }
1310 {
1311 wxPy_BEGIN_ALLOW_THREADS;
1312 _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1313
1314 wxPy_END_ALLOW_THREADS;
1315 if (PyErr_Occurred()) return NULL;
1316 } if (_result) {
1317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1318 _resultobj = Py_BuildValue("s",_ptemp);
1319 } else {
1320 Py_INCREF(Py_None);
1321 _resultobj = Py_None;
1322 }
1323 {
1324 if (_obj2)
1325 delete _arg2;
1326 }
1327 return _resultobj;
1328 }
1329
1330 #define new_wxPreMiniFrame() (new wxMiniFrame())
1331 static PyObject *_wrap_new_wxPreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject * _resultobj;
1333 wxMiniFrame * _result;
1334 char *_kwnames[] = { NULL };
1335 char _ptemp[128];
1336
1337 self = self;
1338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMiniFrame",_kwnames))
1339 return NULL;
1340 {
1341 wxPy_BEGIN_ALLOW_THREADS;
1342 _result = (wxMiniFrame *)new_wxPreMiniFrame();
1343
1344 wxPy_END_ALLOW_THREADS;
1345 if (PyErr_Occurred()) return NULL;
1346 } if (_result) {
1347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
1348 _resultobj = Py_BuildValue("s",_ptemp);
1349 } else {
1350 Py_INCREF(Py_None);
1351 _resultobj = Py_None;
1352 }
1353 return _resultobj;
1354 }
1355
1356 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1357 static PyObject *_wrap_wxMiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject * _resultobj;
1359 bool _result;
1360 wxMiniFrame * _arg0;
1361 wxWindow * _arg1;
1362 wxWindowID _arg2;
1363 wxString * _arg3;
1364 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1365 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1366 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
1367 char * _arg7 = (char *) "frame";
1368 PyObject * _argo0 = 0;
1369 PyObject * _argo1 = 0;
1370 PyObject * _obj3 = 0;
1371 wxPoint temp;
1372 PyObject * _obj4 = 0;
1373 wxSize temp0;
1374 PyObject * _obj5 = 0;
1375 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxMiniFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMiniFrame_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
1384 return NULL;
1385 }
1386 }
1387 if (_argo1) {
1388 if (_argo1 == Py_None) { _arg1 = NULL; }
1389 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
1391 return NULL;
1392 }
1393 }
1394 {
1395 #if PYTHON_API_VERSION >= 1009
1396 char* tmpPtr; int tmpSize;
1397 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1398 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1399 return NULL;
1400 }
1401 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1402 return NULL;
1403 _arg3 = new wxString(tmpPtr, tmpSize);
1404 #else
1405 if (!PyString_Check(_obj3)) {
1406 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1407 return NULL;
1408 }
1409 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1410 #endif
1411 }
1412 if (_obj4)
1413 {
1414 _arg4 = &temp;
1415 if (! wxPoint_helper(_obj4, &_arg4))
1416 return NULL;
1417 }
1418 if (_obj5)
1419 {
1420 _arg5 = &temp0;
1421 if (! wxSize_helper(_obj5, &_arg5))
1422 return NULL;
1423 }
1424 {
1425 wxPy_BEGIN_ALLOW_THREADS;
1426 _result = (bool )wxMiniFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
1427
1428 wxPy_END_ALLOW_THREADS;
1429 if (PyErr_Occurred()) return NULL;
1430 } _resultobj = Py_BuildValue("i",_result);
1431 {
1432 if (_obj3)
1433 delete _arg3;
1434 }
1435 return _resultobj;
1436 }
1437
1438 static void *SwigwxTipWindowTowxFrame(void *ptr) {
1439 wxTipWindow *src;
1440 wxFrame *dest;
1441 src = (wxTipWindow *) ptr;
1442 dest = (wxFrame *) src;
1443 return (void *) dest;
1444 }
1445
1446 static void *SwigwxTipWindowTowxWindow(void *ptr) {
1447 wxTipWindow *src;
1448 wxWindow *dest;
1449 src = (wxTipWindow *) ptr;
1450 dest = (wxWindow *) src;
1451 return (void *) dest;
1452 }
1453
1454 static void *SwigwxTipWindowTowxEvtHandler(void *ptr) {
1455 wxTipWindow *src;
1456 wxEvtHandler *dest;
1457 src = (wxTipWindow *) ptr;
1458 dest = (wxEvtHandler *) src;
1459 return (void *) dest;
1460 }
1461
1462 static void *SwigwxTipWindowTowxObject(void *ptr) {
1463 wxTipWindow *src;
1464 wxObject *dest;
1465 src = (wxTipWindow *) ptr;
1466 dest = (wxObject *) src;
1467 return (void *) dest;
1468 }
1469
1470 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
1471 static PyObject *_wrap_new_wxTipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject * _resultobj;
1473 wxTipWindow * _result;
1474 wxWindow * _arg0;
1475 wxString * _arg1;
1476 wxCoord _arg2 = (wxCoord ) 100;
1477 PyObject * _argo0 = 0;
1478 PyObject * _obj1 = 0;
1479 char *_kwnames[] = { "parent","text","maxLength", NULL };
1480 char _ptemp[128];
1481
1482 self = self;
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:new_wxTipWindow",_kwnames,&_argo0,&_obj1,&_arg2))
1484 return NULL;
1485 if (_argo0) {
1486 if (_argo0 == Py_None) { _arg0 = NULL; }
1487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
1489 return NULL;
1490 }
1491 }
1492 {
1493 #if PYTHON_API_VERSION >= 1009
1494 char* tmpPtr; int tmpSize;
1495 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1496 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1497 return NULL;
1498 }
1499 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1500 return NULL;
1501 _arg1 = new wxString(tmpPtr, tmpSize);
1502 #else
1503 if (!PyString_Check(_obj1)) {
1504 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1505 return NULL;
1506 }
1507 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1508 #endif
1509 }
1510 {
1511 wxPy_BEGIN_ALLOW_THREADS;
1512 _result = (wxTipWindow *)new_wxTipWindow(_arg0,*_arg1,_arg2);
1513
1514 wxPy_END_ALLOW_THREADS;
1515 if (PyErr_Occurred()) return NULL;
1516 } if (_result) {
1517 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipWindow_p");
1518 _resultobj = Py_BuildValue("s",_ptemp);
1519 } else {
1520 Py_INCREF(Py_None);
1521 _resultobj = Py_None;
1522 }
1523 {
1524 if (_obj1)
1525 delete _arg1;
1526 }
1527 return _resultobj;
1528 }
1529
1530 static PyMethodDef framescMethods[] = {
1531 { "new_wxTipWindow", (PyCFunction) _wrap_new_wxTipWindow, METH_VARARGS | METH_KEYWORDS },
1532 { "wxMiniFrame_Create", (PyCFunction) _wrap_wxMiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
1533 { "new_wxPreMiniFrame", (PyCFunction) _wrap_new_wxPreMiniFrame, METH_VARARGS | METH_KEYWORDS },
1534 { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
1535 { "wxFrame_IsFullScreen", (PyCFunction) _wrap_wxFrame_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
1536 { "wxFrame_ShowFullScreen", (PyCFunction) _wrap_wxFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
1537 { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
1538 { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
1539 { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
1540 { "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS },
1541 { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
1542 { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
1543 { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
1544 { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
1545 { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
1546 { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
1547 { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
1548 { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
1549 { "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS },
1550 { "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS },
1551 { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
1552 { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
1553 { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
1554 { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
1555 { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
1556 { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
1557 { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
1558 { "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS },
1559 { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
1560 { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
1561 { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
1562 { "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS },
1563 { "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS },
1564 { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
1565 { NULL, NULL }
1566 };
1567 #ifdef __cplusplus
1568 }
1569 #endif
1570 /*
1571 * This table is used by the pointer type-checker
1572 */
1573 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1574 { "_signed_long","_long",0},
1575 { "_wxPrintQuality","_wxCoord",0},
1576 { "_wxPrintQuality","_int",0},
1577 { "_wxPrintQuality","_signed_int",0},
1578 { "_wxPrintQuality","_unsigned_int",0},
1579 { "_wxPrintQuality","_wxWindowID",0},
1580 { "_wxPrintQuality","_uint",0},
1581 { "_wxPrintQuality","_EBool",0},
1582 { "_wxPrintQuality","_size_t",0},
1583 { "_wxPrintQuality","_time_t",0},
1584 { "_class_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
1585 { "_class_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
1586 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1587 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1588 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
1589 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1590 { "_byte","_unsigned_char",0},
1591 { "_long","_unsigned_long",0},
1592 { "_long","_signed_long",0},
1593 { "_class_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject},
1594 { "_class_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject},
1595 { "_class_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject},
1596 { "_class_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject},
1597 { "_class_wxObject","_class_wxFrame",SwigwxFrameTowxObject},
1598 { "_class_wxObject","_wxFrame",SwigwxFrameTowxObject},
1599 { "_size_t","_wxCoord",0},
1600 { "_size_t","_wxPrintQuality",0},
1601 { "_size_t","_time_t",0},
1602 { "_size_t","_unsigned_int",0},
1603 { "_size_t","_int",0},
1604 { "_size_t","_wxWindowID",0},
1605 { "_size_t","_uint",0},
1606 { "_uint","_wxCoord",0},
1607 { "_uint","_wxPrintQuality",0},
1608 { "_uint","_time_t",0},
1609 { "_uint","_size_t",0},
1610 { "_uint","_unsigned_int",0},
1611 { "_uint","_int",0},
1612 { "_uint","_wxWindowID",0},
1613 { "_wxChar","_char",0},
1614 { "_char","_wxChar",0},
1615 { "_EBool","_wxCoord",0},
1616 { "_EBool","_wxPrintQuality",0},
1617 { "_EBool","_signed_int",0},
1618 { "_EBool","_int",0},
1619 { "_EBool","_wxWindowID",0},
1620 { "_unsigned_long","_long",0},
1621 { "_signed_int","_wxCoord",0},
1622 { "_signed_int","_wxPrintQuality",0},
1623 { "_signed_int","_EBool",0},
1624 { "_signed_int","_wxWindowID",0},
1625 { "_signed_int","_int",0},
1626 { "_WXTYPE","_short",0},
1627 { "_WXTYPE","_signed_short",0},
1628 { "_WXTYPE","_unsigned_short",0},
1629 { "_unsigned_short","_WXTYPE",0},
1630 { "_unsigned_short","_short",0},
1631 { "_class_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow},
1632 { "_class_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow},
1633 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1634 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1635 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1636 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1637 { "_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject},
1638 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject},
1639 { "_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject},
1640 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject},
1641 { "_wxObject","_class_wxFrame",SwigwxFrameTowxObject},
1642 { "_wxObject","_wxFrame",SwigwxFrameTowxObject},
1643 { "_signed_short","_WXTYPE",0},
1644 { "_signed_short","_short",0},
1645 { "_unsigned_char","_byte",0},
1646 { "_unsigned_int","_wxCoord",0},
1647 { "_unsigned_int","_wxPrintQuality",0},
1648 { "_unsigned_int","_time_t",0},
1649 { "_unsigned_int","_size_t",0},
1650 { "_unsigned_int","_uint",0},
1651 { "_unsigned_int","_wxWindowID",0},
1652 { "_unsigned_int","_int",0},
1653 { "_short","_WXTYPE",0},
1654 { "_short","_unsigned_short",0},
1655 { "_short","_signed_short",0},
1656 { "_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame},
1657 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame},
1658 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1659 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1660 { "_wxWindowID","_wxCoord",0},
1661 { "_wxWindowID","_wxPrintQuality",0},
1662 { "_wxWindowID","_time_t",0},
1663 { "_wxWindowID","_size_t",0},
1664 { "_wxWindowID","_EBool",0},
1665 { "_wxWindowID","_uint",0},
1666 { "_wxWindowID","_int",0},
1667 { "_wxWindowID","_signed_int",0},
1668 { "_wxWindowID","_unsigned_int",0},
1669 { "_int","_wxCoord",0},
1670 { "_int","_wxPrintQuality",0},
1671 { "_int","_time_t",0},
1672 { "_int","_size_t",0},
1673 { "_int","_EBool",0},
1674 { "_int","_uint",0},
1675 { "_int","_wxWindowID",0},
1676 { "_int","_unsigned_int",0},
1677 { "_int","_signed_int",0},
1678 { "_time_t","_wxCoord",0},
1679 { "_time_t","_wxPrintQuality",0},
1680 { "_time_t","_unsigned_int",0},
1681 { "_time_t","_int",0},
1682 { "_time_t","_wxWindowID",0},
1683 { "_time_t","_uint",0},
1684 { "_time_t","_size_t",0},
1685 { "_wxCoord","_int",0},
1686 { "_wxCoord","_signed_int",0},
1687 { "_wxCoord","_unsigned_int",0},
1688 { "_wxCoord","_wxWindowID",0},
1689 { "_wxCoord","_uint",0},
1690 { "_wxCoord","_EBool",0},
1691 { "_wxCoord","_size_t",0},
1692 { "_wxCoord","_time_t",0},
1693 { "_wxCoord","_wxPrintQuality",0},
1694 { "_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
1695 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler},
1696 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1697 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler},
1698 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler},
1699 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler},
1700 { "_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow},
1701 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow},
1702 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1703 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow},
1704 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow},
1705 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow},
1706 { "_class_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame},
1707 { "_class_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame},
1708 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1709 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame},
1710 {0,0,0}};
1711
1712 static PyObject *SWIG_globals;
1713 #ifdef __cplusplus
1714 extern "C"
1715 #endif
1716 SWIGEXPORT(void) initframesc() {
1717 PyObject *m, *d;
1718 SWIG_globals = SWIG_newvarlink();
1719 m = Py_InitModule("framesc", framescMethods);
1720 d = PyModule_GetDict(m);
1721 PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR));
1722 PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR));
1723 PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR));
1724 PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER));
1725 PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION));
1726 PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL));
1727 {
1728 int i;
1729 for (i = 0; _swig_mapping[i].n1; i++)
1730 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1731 }
1732 }