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