2 * FILE : msw/frames.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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);
52 #define SWIG_init initframesc
54 #define SWIG_name "framesc"
57 #include <wx/minifram.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
110 static void *SwigwxFrameTowxWindow(void *ptr
) {
113 src
= (wxFrame
*) ptr
;
114 dest
= (wxWindow
*) src
;
115 return (void *) dest
;
118 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
121 src
= (wxFrame
*) ptr
;
122 dest
= (wxEvtHandler
*) src
;
123 return (void *) dest
;
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
;
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;
140 PyObject
* _obj3
= 0;
142 PyObject
* _obj4
= 0;
143 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
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.");
157 if (!PyString_Check(_obj2
)) {
158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
161 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
166 if (! wxPoint_helper(_obj3
, &_arg3
))
172 if (! wxSize_helper(_obj4
, &_arg4
))
176 wxPy_BEGIN_ALLOW_THREADS
;
177 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
179 wxPy_END_ALLOW_THREADS
;
181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
182 _resultobj
= Py_BuildValue("s",_ptemp
);
185 _resultobj
= Py_None
;
194 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
195 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
198 int _arg1
= (int ) wxBOTH
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self","direction", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_Centre",_kwnames
,&_argo0
,&_arg1
))
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.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 wxFrame_Centre(_arg0
,_arg1
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
223 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "self","id", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
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.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 wxFrame_Command(_arg0
,_arg1
);
244 wxPy_END_ALLOW_THREADS
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
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
;
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
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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.");
274 wxPy_BEGIN_ALLOW_THREADS
;
275 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
277 wxPy_END_ALLOW_THREADS
;
279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
280 _resultobj
= Py_BuildValue("s",_ptemp
);
283 _resultobj
= Py_None
;
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
;
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
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
314 wxPy_END_ALLOW_THREADS
;
316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
317 _resultobj
= Py_BuildValue("s",_ptemp
);
320 _resultobj
= Py_None
;
325 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
326 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_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.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
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
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_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.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
382 wxPy_END_ALLOW_THREADS
;
384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
385 _resultobj
= Py_BuildValue("s",_ptemp
);
388 _resultobj
= Py_None
;
393 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
394 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetTitle",_kwnames
,&_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.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 _result
= new wxString (wxFrame_GetTitle(_arg0
));
415 wxPy_END_ALLOW_THREADS
;
417 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
425 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
426 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
430 PyObject
* _argo0
= 0;
431 char *_kwnames
[] = { "self", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_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.");
445 wxPy_BEGIN_ALLOW_THREADS
;
446 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
448 wxPy_END_ALLOW_THREADS
;
450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
451 _resultobj
= Py_BuildValue("s",_ptemp
);
454 _resultobj
= Py_None
;
459 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
460 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self","iconize", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Iconize",_kwnames
,&_argo0
,&tempbool1
))
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.");
478 _arg1
= (bool ) tempbool1
;
480 wxPy_BEGIN_ALLOW_THREADS
;
481 wxFrame_Iconize(_arg0
,_arg1
);
483 wxPy_END_ALLOW_THREADS
;
484 } Py_INCREF(Py_None
);
485 _resultobj
= Py_None
;
489 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
490 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
494 PyObject
* _argo0
= 0;
495 char *_kwnames
[] = { "self", NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsIconized",_kwnames
,&_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.");
508 wxPy_BEGIN_ALLOW_THREADS
;
509 _result
= (bool )wxFrame_IsIconized(_arg0
);
511 wxPy_END_ALLOW_THREADS
;
512 } _resultobj
= Py_BuildValue("i",_result
);
516 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
517 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self","maximize", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
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.");
535 _arg1
= (bool ) tempbool1
;
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxFrame_Maximize(_arg0
,_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 } Py_INCREF(Py_None
);
542 _resultobj
= Py_None
;
546 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
547 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
550 wxAcceleratorTable
* _arg1
;
551 PyObject
* _argo0
= 0;
552 PyObject
* _argo1
= 0;
553 char *_kwnames
[] = { "self","accel", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
573 wxPy_BEGIN_ALLOW_THREADS
;
574 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
576 wxPy_END_ALLOW_THREADS
;
577 } Py_INCREF(Py_None
);
578 _resultobj
= Py_None
;
582 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
583 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
587 PyObject
* _argo0
= 0;
588 PyObject
* _argo1
= 0;
589 char *_kwnames
[] = { "self","icon", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetIcon",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 wxFrame_SetIcon(_arg0
,*_arg1
);
612 wxPy_END_ALLOW_THREADS
;
613 } Py_INCREF(Py_None
);
614 _resultobj
= Py_None
;
618 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
619 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
623 PyObject
* _argo0
= 0;
624 PyObject
* _argo1
= 0;
625 char *_kwnames
[] = { "self","menuBar", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
645 wxPy_BEGIN_ALLOW_THREADS
;
646 wxFrame_SetMenuBar(_arg0
,_arg1
);
648 wxPy_END_ALLOW_THREADS
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
655 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _argo0
= 0;
660 PyObject
* _argo1
= 0;
661 char *_kwnames
[] = { "self","statusBar", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 wxFrame_SetStatusBar(_arg0
,_arg1
);
684 wxPy_END_ALLOW_THREADS
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
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
;
695 int _arg2
= (int ) 0;
696 PyObject
* _argo0
= 0;
697 PyObject
* _obj1
= 0;
698 char *_kwnames
[] = { "self","text","number", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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.");
711 if (!PyString_Check(_obj1
)) {
712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
715 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
721 wxPy_END_ALLOW_THREADS
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
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
;
737 PyObject
* _argo0
= 0;
738 PyObject
* _obj2
= 0;
739 char *_kwnames
[] = { "self","LIST", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
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.");
753 _arg2
= int_LIST_helper(_obj2
);
760 _arg1
= PyList_Size(_obj2
);
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
770 wxPy_END_ALLOW_THREADS
;
771 } Py_INCREF(Py_None
);
772 _resultobj
= Py_None
;
779 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
780 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
784 PyObject
* _argo0
= 0;
785 PyObject
* _obj1
= 0;
786 char *_kwnames
[] = { "self","title", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetTitle",_kwnames
,&_argo0
,&_obj1
))
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.");
799 if (!PyString_Check(_obj1
)) {
800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
803 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
806 wxPy_BEGIN_ALLOW_THREADS
;
807 wxFrame_SetTitle(_arg0
,*_arg1
);
809 wxPy_END_ALLOW_THREADS
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
819 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
820 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
824 PyObject
* _argo0
= 0;
825 PyObject
* _argo1
= 0;
826 char *_kwnames
[] = { "self","toolbar", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
846 wxPy_BEGIN_ALLOW_THREADS
;
847 wxFrame_SetToolBar(_arg0
,_arg1
);
849 wxPy_END_ALLOW_THREADS
;
850 } Py_INCREF(Py_None
);
851 _resultobj
= Py_None
;
855 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
858 src
= (wxMiniFrame
*) ptr
;
859 dest
= (wxFrame
*) src
;
860 return (void *) dest
;
863 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
866 src
= (wxMiniFrame
*) ptr
;
867 dest
= (wxWindow
*) src
;
868 return (void *) dest
;
871 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
874 src
= (wxMiniFrame
*) ptr
;
875 dest
= (wxEvtHandler
*) src
;
876 return (void *) dest
;
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
;
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;
893 PyObject
* _obj3
= 0;
895 PyObject
* _obj4
= 0;
896 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
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.");
910 if (!PyString_Check(_obj2
)) {
911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
914 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
919 if (! wxPoint_helper(_obj3
, &_arg3
))
925 if (! wxSize_helper(_obj4
, &_arg4
))
929 wxPy_BEGIN_ALLOW_THREADS
;
930 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
932 wxPy_END_ALLOW_THREADS
;
934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
935 _resultobj
= Py_BuildValue("s",_ptemp
);
938 _resultobj
= Py_None
;
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
},
975 * This table is used by the pointer type-checker
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 { "_wxPrinterDC","_class_wxPrinterDC",0},
1026 { "_class_wxMenuItem","_wxMenuItem",0},
1027 { "_class_wxPaintEvent","_wxPaintEvent",0},
1028 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1029 { "_class_wxStatusBar","_wxStatusBar",0},
1030 { "_wxPanel","_class_wxPanel",0},
1031 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1032 { "_wxCheckBox","_class_wxCheckBox",0},
1033 { "_wxPyEvent","_class_wxPyEvent",0},
1034 { "_wxTextCtrl","_class_wxTextCtrl",0},
1035 { "_class_wxMask","_wxMask",0},
1036 { "_class_wxKeyEvent","_wxKeyEvent",0},
1037 { "_wxColour","_class_wxColour",0},
1038 { "_class_wxDialog","_wxDialog",0},
1039 { "_wxIdleEvent","_class_wxIdleEvent",0},
1040 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1041 { "_wxToolBar","_class_wxToolBar",0},
1042 { "_wxStaticLine","_class_wxStaticLine",0},
1043 { "_wxBrush","_class_wxBrush",0},
1044 { "_wxMiniFrame","_class_wxMiniFrame",0},
1045 { "_wxShowEvent","_class_wxShowEvent",0},
1046 { "_uint","_wxPrintQuality",0},
1047 { "_uint","_size_t",0},
1048 { "_uint","_unsigned_int",0},
1049 { "_uint","_int",0},
1050 { "_uint","_wxWindowID",0},
1051 { "_wxPyValidator","_class_wxPyValidator",0},
1052 { "_class_wxEvent","_wxEvent",0},
1053 { "_wxCheckListBox","_class_wxCheckListBox",0},
1054 { "_wxRect","_class_wxRect",0},
1055 { "_wxCommandEvent","_class_wxCommandEvent",0},
1056 { "_wxSizeEvent","_class_wxSizeEvent",0},
1057 { "_wxPoint","_class_wxPoint",0},
1058 { "_class_wxButton","_wxButton",0},
1059 { "_wxRadioBox","_class_wxRadioBox",0},
1060 { "_wxBitmap","_class_wxBitmap",0},
1061 { "_wxPyTimer","_class_wxPyTimer",0},
1062 { "_wxWindowDC","_class_wxWindowDC",0},
1063 { "_wxScrollBar","_class_wxScrollBar",0},
1064 { "_wxSpinButton","_class_wxSpinButton",0},
1065 { "_wxToolBarTool","_class_wxToolBarTool",0},
1066 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1067 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1068 { "_class_wxValidator","_wxValidator",0},
1069 { "_class_wxPyEvent","_wxPyEvent",0},
1070 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1071 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1072 { "_class_wxToolBar","_wxToolBar",0},
1073 { "_class_wxStaticLine","_wxStaticLine",0},
1074 { "_wxScrollEvent","_class_wxScrollEvent",0},
1075 { "_EBool","_wxPrintQuality",0},
1076 { "_EBool","_signed_int",0},
1077 { "_EBool","_int",0},
1078 { "_EBool","_wxWindowID",0},
1079 { "_class_wxRegion","_wxRegion",0},
1080 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1081 { "_wxStaticText","_class_wxStaticText",0},
1082 { "_wxFont","_class_wxFont",0},
1083 { "_wxCloseEvent","_class_wxCloseEvent",0},
1084 { "_unsigned_long","_wxDash",0},
1085 { "_unsigned_long","_long",0},
1086 { "_class_wxRect","_wxRect",0},
1087 { "_class_wxDC","_wxDC",0},
1088 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1089 { "_class_wxPyTimer","_wxPyTimer",0},
1090 { "_wxFocusEvent","_class_wxFocusEvent",0},
1091 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1092 { "_class_wxSpinButton","_wxSpinButton",0},
1093 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1094 { "_class_wxPanel","_wxPanel",0},
1095 { "_class_wxCheckBox","_wxCheckBox",0},
1096 { "_wxComboBox","_class_wxComboBox",0},
1097 { "_wxRadioButton","_class_wxRadioButton",0},
1098 { "_signed_int","_wxPrintQuality",0},
1099 { "_signed_int","_EBool",0},
1100 { "_signed_int","_wxWindowID",0},
1101 { "_signed_int","_int",0},
1102 { "_class_wxTextCtrl","_wxTextCtrl",0},
1103 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1104 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1105 { "_wxMenu","_class_wxMenu",0},
1106 { "_class_wxMoveEvent","_wxMoveEvent",0},
1107 { "_wxListBox","_class_wxListBox",0},
1108 { "_wxScreenDC","_class_wxScreenDC",0},
1109 { "_WXTYPE","_short",0},
1110 { "_WXTYPE","_signed_short",0},
1111 { "_WXTYPE","_unsigned_short",0},
1112 { "_class_wxBrush","_wxBrush",0},
1113 { "_unsigned_short","_WXTYPE",0},
1114 { "_unsigned_short","_short",0},
1115 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1116 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1117 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1118 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1119 { "_class_wxWindow","_wxWindow",0},
1120 { "_class_wxStaticText","_wxStaticText",0},
1121 { "_class_wxFont","_wxFont",0},
1122 { "_class_wxPyValidator","_wxPyValidator",0},
1123 { "_class_wxCloseEvent","_wxCloseEvent",0},
1124 { "_class_wxMenuEvent","_wxMenuEvent",0},
1125 { "_wxClientDC","_class_wxClientDC",0},
1126 { "_wxMouseEvent","_class_wxMouseEvent",0},
1127 { "_class_wxPoint","_wxPoint",0},
1128 { "_wxRealPoint","_class_wxRealPoint",0},
1129 { "_class_wxRadioBox","_wxRadioBox",0},
1130 { "_signed_short","_WXTYPE",0},
1131 { "_signed_short","_short",0},
1132 { "_wxMemoryDC","_class_wxMemoryDC",0},
1133 { "_wxPaintDC","_class_wxPaintDC",0},
1134 { "_class_wxWindowDC","_wxWindowDC",0},
1135 { "_class_wxFocusEvent","_wxFocusEvent",0},
1136 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1137 { "_wxStatusBar","_class_wxStatusBar",0},
1138 { "_class_wxToolBarTool","_wxToolBarTool",0},
1139 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1140 { "_class_wxCursor","_wxCursor",0},
1141 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1142 { "_unsigned_char","_byte",0},
1143 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1144 { "_class_wxMenu","_wxMenu",0},
1145 { "_wxControl","_class_wxControl",0},
1146 { "_class_wxListBox","_wxListBox",0},
1147 { "_unsigned_int","_wxPrintQuality",0},
1148 { "_unsigned_int","_size_t",0},
1149 { "_unsigned_int","_uint",0},
1150 { "_unsigned_int","_wxWindowID",0},
1151 { "_unsigned_int","_int",0},
1152 { "_wxIcon","_class_wxIcon",0},
1153 { "_wxDialog","_class_wxDialog",0},
1154 { "_class_wxPen","_wxPen",0},
1155 { "_short","_WXTYPE",0},
1156 { "_short","_unsigned_short",0},
1157 { "_short","_signed_short",0},
1158 { "_class_wxStaticBox","_wxStaticBox",0},
1159 { "_class_wxScrollEvent","_wxScrollEvent",0},
1160 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1161 { "_class_wxChoice","_wxChoice",0},
1162 { "_class_wxSlider","_wxSlider",0},
1163 { "_class_wxImageList","_wxImageList",0},
1164 { "_class_wxBitmapButton","_wxBitmapButton",0},
1165 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1166 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1167 { "_wxFrame","_class_wxFrame",0},
1168 { "_wxWindowID","_wxPrintQuality",0},
1169 { "_wxWindowID","_size_t",0},
1170 { "_wxWindowID","_EBool",0},
1171 { "_wxWindowID","_uint",0},
1172 { "_wxWindowID","_int",0},
1173 { "_wxWindowID","_signed_int",0},
1174 { "_wxWindowID","_unsigned_int",0},
1175 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1176 { "_int","_wxPrintQuality",0},
1177 { "_int","_size_t",0},
1178 { "_int","_EBool",0},
1179 { "_int","_uint",0},
1180 { "_int","_wxWindowID",0},
1181 { "_int","_unsigned_int",0},
1182 { "_int","_signed_int",0},
1183 { "_class_wxMouseEvent","_wxMouseEvent",0},
1184 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1185 { "_class_wxSpinEvent","_wxSpinEvent",0},
1186 { "_wxButton","_class_wxButton",0},
1187 { "_wxSize","_class_wxSize",0},
1188 { "_wxRegionIterator","_class_wxRegionIterator",0},
1189 { "_class_wxPrinterDC","_wxPrinterDC",0},
1190 { "_class_wxPaintDC","_wxPaintDC",0},
1191 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1192 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1193 { "_class_wxComboBox","_wxComboBox",0},
1194 { "_class_wxRadioButton","_wxRadioButton",0},
1195 { "_wxValidator","_class_wxValidator",0},
1196 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1197 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1198 { "_class_wxControl","_wxControl",0},
1199 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1200 { "_class_wxIcon","_wxIcon",0},
1201 { "_class_wxColour","_wxColour",0},
1202 { "_class_wxScreenDC","_wxScreenDC",0},
1203 { "_wxPalette","_class_wxPalette",0},
1204 { "_class_wxIdleEvent","_wxIdleEvent",0},
1205 { "_wxEraseEvent","_class_wxEraseEvent",0},
1206 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1207 { "_class_wxMiniFrame","_wxMiniFrame",0},
1208 { "_wxRegion","_class_wxRegion",0},
1209 { "_class_wxShowEvent","_wxShowEvent",0},
1210 { "_wxActivateEvent","_class_wxActivateEvent",0},
1211 { "_wxGauge","_class_wxGauge",0},
1212 { "_class_wxCheckListBox","_wxCheckListBox",0},
1213 { "_class_wxCommandEvent","_wxCommandEvent",0},
1214 { "_class_wxClientDC","_wxClientDC",0},
1215 { "_class_wxSizeEvent","_wxSizeEvent",0},
1216 { "_class_wxSize","_wxSize",0},
1217 { "_class_wxBitmap","_wxBitmap",0},
1218 { "_class_wxMemoryDC","_wxMemoryDC",0},
1219 { "_wxMenuBar","_class_wxMenuBar",0},
1220 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1221 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1222 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1223 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1224 { "_wxEvtHandler","_class_wxEvtHandler",0},
1225 { "_wxMenuItem","_class_wxMenuItem",0},
1226 { "_class_wxScrollBar","_wxScrollBar",0},
1227 { "_wxDash","_unsigned_long",0},
1228 { "_wxDash","_long",0},
1229 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1230 { "_wxKeyEvent","_class_wxKeyEvent",0},
1231 { "_wxMoveEvent","_class_wxMoveEvent",0},
1232 { "_class_wxPalette","_wxPalette",0},
1233 { "_class_wxEraseEvent","_wxEraseEvent",0},
1234 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1235 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1236 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1237 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1238 { "_wxWindow","_class_wxWindow",0},
1239 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1240 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1241 { "_class_wxFrame","_wxFrame",0},
1244 static PyObject
*SWIG_globals
;
1248 SWIGEXPORT(void) initframesc() {
1250 SWIG_globals
= SWIG_newvarlink();
1251 m
= Py_InitModule("framesc", framescMethods
);
1252 d
= PyModule_GetDict(m
);
1255 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1256 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);