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