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