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