2 * FILE : src/msw/frames.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initframesc
56 #define SWIG_name "framesc"
59 #include <wx/minifram.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static void *SwigwxFrameTowxWindow(void *ptr
) {
114 src
= (wxFrame
*) ptr
;
115 dest
= (wxWindow
*) src
;
116 return (void *) dest
;
119 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
122 src
= (wxFrame
*) ptr
;
123 dest
= (wxEvtHandler
*) src
;
124 return (void *) dest
;
127 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
128 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
134 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
135 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
136 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
137 char * _arg6
= (char *) "frame";
138 PyObject
* _argo0
= 0;
139 PyObject
* _obj2
= 0;
141 PyObject
* _obj3
= 0;
143 PyObject
* _obj4
= 0;
144 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
158 #if PYTHON_API_VERSION >= 1009
159 char* tmpPtr
; int tmpSize
;
160 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
161 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
164 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
166 _arg2
= new wxString(tmpPtr
, tmpSize
);
168 if (!PyString_Check(_obj2
)) {
169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
172 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
178 if (! wxPoint_helper(_obj3
, &_arg3
))
184 if (! wxSize_helper(_obj4
, &_arg4
))
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
191 wxPy_END_ALLOW_THREADS
;
193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
197 _resultobj
= Py_None
;
206 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
207 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
210 int _arg1
= (int ) wxBOTH
;
211 PyObject
* _argo0
= 0;
212 char *_kwnames
[] = { "self","direction", NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_Centre",_kwnames
,&_argo0
,&_arg1
))
218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 wxFrame_Centre(_arg0
,_arg1
);
228 wxPy_END_ALLOW_THREADS
;
229 } Py_INCREF(Py_None
);
230 _resultobj
= Py_None
;
234 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
235 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
237 wxStatusBar
* _result
;
239 int _arg1
= (int ) 1;
240 long _arg2
= (long ) wxST_SIZEGRIP
;
241 wxWindowID _arg3
= (wxWindowID
) -1;
242 char * _arg4
= (char *) "statusBar";
243 PyObject
* _argo0
= 0;
244 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
258 wxPy_BEGIN_ALLOW_THREADS
;
259 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
261 wxPy_END_ALLOW_THREADS
;
263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
267 _resultobj
= Py_None
;
272 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
273 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
277 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
|wxTB_FLAT
;
278 wxWindowID _arg2
= (wxWindowID
) -1;
279 char * _arg3
= (char *) "toolBar";
280 PyObject
* _argo0
= 0;
281 char *_kwnames
[] = { "self","style","id","name", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
295 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
298 wxPy_END_ALLOW_THREADS
;
300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
301 _resultobj
= Py_BuildValue("s",_ptemp
);
304 _resultobj
= Py_None
;
309 #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
310 static PyObject
*_wrap_wxFrame_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetIcon",_kwnames
,&_argo0
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 const wxIcon
& _result_ref
= wxFrame_GetIcon(_arg0
);
331 _result
= (wxIcon
*) &_result_ref
;
333 wxPy_END_ALLOW_THREADS
;
335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
336 _resultobj
= Py_BuildValue("s",_ptemp
);
339 _resultobj
= Py_None
;
344 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
345 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
349 PyObject
* _argo0
= 0;
350 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
364 wxPy_BEGIN_ALLOW_THREADS
;
365 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
367 wxPy_END_ALLOW_THREADS
;
369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
370 _resultobj
= Py_BuildValue("s",_ptemp
);
373 _resultobj
= Py_None
;
378 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
379 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
381 wxStatusBar
* _result
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
398 wxPy_BEGIN_ALLOW_THREADS
;
399 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
401 wxPy_END_ALLOW_THREADS
;
403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
404 _resultobj
= Py_BuildValue("s",_ptemp
);
407 _resultobj
= Py_None
;
412 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
413 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetTitle",_kwnames
,&_argo0
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 _result
= new wxString (wxFrame_GetTitle(_arg0
));
434 wxPy_END_ALLOW_THREADS
;
436 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
444 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
445 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
467 wxPy_END_ALLOW_THREADS
;
469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
470 _resultobj
= Py_BuildValue("s",_ptemp
);
473 _resultobj
= Py_None
;
478 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
479 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
483 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self","iconize", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Iconize",_kwnames
,&_argo0
,&tempbool1
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
497 _arg1
= (bool ) tempbool1
;
499 wxPy_BEGIN_ALLOW_THREADS
;
500 wxFrame_Iconize(_arg0
,_arg1
);
502 wxPy_END_ALLOW_THREADS
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
509 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsIconized",_kwnames
,&_argo0
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
527 wxPy_BEGIN_ALLOW_THREADS
;
528 _result
= (bool )wxFrame_IsIconized(_arg0
);
530 wxPy_END_ALLOW_THREADS
;
531 } _resultobj
= Py_BuildValue("i",_result
);
535 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
536 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
540 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self","maximize", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
554 _arg1
= (bool ) tempbool1
;
556 wxPy_BEGIN_ALLOW_THREADS
;
557 wxFrame_Maximize(_arg0
,_arg1
);
559 wxPy_END_ALLOW_THREADS
;
560 } Py_INCREF(Py_None
);
561 _resultobj
= Py_None
;
565 #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
566 static PyObject
*_wrap_wxFrame_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsMaximized",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 _result
= (bool )wxFrame_IsMaximized(_arg0
);
587 wxPy_END_ALLOW_THREADS
;
588 } _resultobj
= Py_BuildValue("i",_result
);
592 #define wxFrame_Restore(_swigobj) (_swigobj->Restore())
593 static PyObject
*_wrap_wxFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_Restore",_kwnames
,&_argo0
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 wxFrame_Restore(_arg0
);
613 wxPy_END_ALLOW_THREADS
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
619 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
620 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
623 wxAcceleratorTable
* _arg1
;
624 PyObject
* _argo0
= 0;
625 PyObject
* _argo1
= 0;
626 char *_kwnames
[] = { "self","accel", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 } Py_INCREF(Py_None
);
651 _resultobj
= Py_None
;
655 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
656 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 PyObject
* _argo1
= 0;
662 char *_kwnames
[] = { "self","icon", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetIcon",_kwnames
,&_argo0
,&_argo1
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 wxFrame_SetIcon(_arg0
,*_arg1
);
685 wxPy_END_ALLOW_THREADS
;
686 } Py_INCREF(Py_None
);
687 _resultobj
= Py_None
;
691 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
692 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
696 PyObject
* _argo0
= 0;
697 PyObject
* _argo1
= 0;
698 char *_kwnames
[] = { "self","menuBar", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxFrame_SetMenuBar(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
728 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 PyObject
* _argo0
= 0;
733 PyObject
* _argo1
= 0;
734 char *_kwnames
[] = { "self","statusBar", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 wxFrame_SetStatusBar(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
764 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 int _arg2
= (int ) 0;
769 PyObject
* _argo0
= 0;
770 PyObject
* _obj1
= 0;
771 char *_kwnames
[] = { "self","text","number", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
784 #if PYTHON_API_VERSION >= 1009
785 char* tmpPtr
; int tmpSize
;
786 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
787 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
790 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
792 _arg1
= new wxString(tmpPtr
, tmpSize
);
794 if (!PyString_Check(_obj1
)) {
795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
798 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
802 wxPy_BEGIN_ALLOW_THREADS
;
803 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
805 wxPy_END_ALLOW_THREADS
;
806 } Py_INCREF(Py_None
);
807 _resultobj
= Py_None
;
815 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
816 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
821 PyObject
* _argo0
= 0;
822 PyObject
* _obj2
= 0;
823 char *_kwnames
[] = { "self","choices", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
837 _arg2
= int_LIST_helper(_obj2
);
844 _arg1
= PyList_Size(_obj2
);
851 wxPy_BEGIN_ALLOW_THREADS
;
852 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
854 wxPy_END_ALLOW_THREADS
;
855 } Py_INCREF(Py_None
);
856 _resultobj
= Py_None
;
863 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
864 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
868 PyObject
* _argo0
= 0;
869 PyObject
* _obj1
= 0;
870 char *_kwnames
[] = { "self","title", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetTitle",_kwnames
,&_argo0
,&_obj1
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
883 #if PYTHON_API_VERSION >= 1009
884 char* tmpPtr
; int tmpSize
;
885 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
886 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
889 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
891 _arg1
= new wxString(tmpPtr
, tmpSize
);
893 if (!PyString_Check(_obj1
)) {
894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
897 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
901 wxPy_BEGIN_ALLOW_THREADS
;
902 wxFrame_SetTitle(_arg0
,*_arg1
);
904 wxPy_END_ALLOW_THREADS
;
905 } Py_INCREF(Py_None
);
906 _resultobj
= Py_None
;
914 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
915 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
920 PyObject
* _argo1
= 0;
921 char *_kwnames
[] = { "self","toolbar", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
942 wxFrame_SetToolBar(_arg0
,_arg1
);
944 wxPy_END_ALLOW_THREADS
;
945 } Py_INCREF(Py_None
);
946 _resultobj
= Py_None
;
950 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
951 static PyObject
*_wrap_wxFrame_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 bool _arg1
= (bool ) TRUE
;
955 PyObject
* _argo0
= 0;
956 int tempbool1
= (int) TRUE
;
957 char *_kwnames
[] = { "self","modal", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
969 _arg1
= (bool ) tempbool1
;
971 wxPy_BEGIN_ALLOW_THREADS
;
972 wxFrame_MakeModal(_arg0
,_arg1
);
974 wxPy_END_ALLOW_THREADS
;
975 } Py_INCREF(Py_None
);
976 _resultobj
= Py_None
;
980 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
981 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
1003 wxPy_END_ALLOW_THREADS
;
1004 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1005 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1010 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1015 PyObject
* _argo0
= 0;
1016 char *_kwnames
[] = { "self","id", NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
1022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1032 wxPy_END_ALLOW_THREADS
;
1033 } _resultobj
= Py_BuildValue("i",_result
);
1037 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1038 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1043 PyObject
* _argo0
= 0;
1044 char *_kwnames
[] = { "self","id", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1060 wxPy_END_ALLOW_THREADS
;
1061 } _resultobj
= Py_BuildValue("i",_result
);
1065 #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
1066 static PyObject
*_wrap_wxFrame_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1071 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
1072 PyObject
* _argo0
= 0;
1074 char *_kwnames
[] = { "self","show","style", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxFrame_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p.");
1086 _arg1
= (bool ) tempbool1
;
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= (bool )wxFrame_ShowFullScreen(_arg0
,_arg1
,_arg2
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } _resultobj
= Py_BuildValue("i",_result
);
1096 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1099 src
= (wxMiniFrame
*) ptr
;
1100 dest
= (wxFrame
*) src
;
1101 return (void *) dest
;
1104 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1107 src
= (wxMiniFrame
*) ptr
;
1108 dest
= (wxWindow
*) src
;
1109 return (void *) dest
;
1112 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1115 src
= (wxMiniFrame
*) ptr
;
1116 dest
= (wxEvtHandler
*) src
;
1117 return (void *) dest
;
1120 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1121 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1123 wxMiniFrame
* _result
;
1127 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1128 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1129 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1130 char * _arg6
= (char *) "frame";
1131 PyObject
* _argo0
= 0;
1132 PyObject
* _obj2
= 0;
1134 PyObject
* _obj3
= 0;
1136 PyObject
* _obj4
= 0;
1137 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1151 #if PYTHON_API_VERSION >= 1009
1152 char* tmpPtr
; int tmpSize
;
1153 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1154 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1157 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1159 _arg2
= new wxString(tmpPtr
, tmpSize
);
1161 if (!PyString_Check(_obj2
)) {
1162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1165 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1171 if (! wxPoint_helper(_obj3
, &_arg3
))
1177 if (! wxSize_helper(_obj4
, &_arg4
))
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1184 wxPy_END_ALLOW_THREADS
;
1186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1187 _resultobj
= Py_BuildValue("s",_ptemp
);
1190 _resultobj
= Py_None
;
1199 static PyMethodDef framescMethods
[] = {
1200 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
1201 { "wxFrame_ShowFullScreen", (PyCFunction
) _wrap_wxFrame_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
1202 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
1203 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
1204 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
1205 { "wxFrame_MakeModal", (PyCFunction
) _wrap_wxFrame_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
1206 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1207 { "wxFrame_SetTitle", (PyCFunction
) _wrap_wxFrame_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1208 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
1209 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
1210 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1211 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1212 { "wxFrame_SetIcon", (PyCFunction
) _wrap_wxFrame_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1213 { "wxFrame_SetAcceleratorTable", (PyCFunction
) _wrap_wxFrame_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
1214 { "wxFrame_Restore", (PyCFunction
) _wrap_wxFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1215 { "wxFrame_IsMaximized", (PyCFunction
) _wrap_wxFrame_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
1216 { "wxFrame_Maximize", (PyCFunction
) _wrap_wxFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1217 { "wxFrame_IsIconized", (PyCFunction
) _wrap_wxFrame_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
1218 { "wxFrame_Iconize", (PyCFunction
) _wrap_wxFrame_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
1219 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1220 { "wxFrame_GetTitle", (PyCFunction
) _wrap_wxFrame_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1221 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1222 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1223 { "wxFrame_GetIcon", (PyCFunction
) _wrap_wxFrame_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1224 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1225 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1226 { "wxFrame_Centre", (PyCFunction
) _wrap_wxFrame_Centre
, METH_VARARGS
| METH_KEYWORDS
},
1227 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
1234 * This table is used by the pointer type-checker
1236 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1237 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1238 { "_wxEvent","_class_wxEvent",0},
1239 { "_class_wxActivateEvent","_wxActivateEvent",0},
1240 { "_signed_long","_long",0},
1241 { "_wxMenuEvent","_class_wxMenuEvent",0},
1242 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1243 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1244 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1245 { "_wxPrintQuality","_wxCoord",0},
1246 { "_wxPrintQuality","_int",0},
1247 { "_wxPrintQuality","_signed_int",0},
1248 { "_wxPrintQuality","_unsigned_int",0},
1249 { "_wxPrintQuality","_wxWindowID",0},
1250 { "_wxPrintQuality","_uint",0},
1251 { "_wxPrintQuality","_EBool",0},
1252 { "_wxPrintQuality","_size_t",0},
1253 { "_wxPrintQuality","_time_t",0},
1254 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1255 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1256 { "_class_wxRegionIterator","_wxRegionIterator",0},
1257 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1258 { "_class_wxMenuBar","_wxMenuBar",0},
1259 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1260 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1261 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1262 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1263 { "_class_wxEvtHandler","_wxEvtHandler",0},
1264 { "_wxPaintEvent","_class_wxPaintEvent",0},
1265 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1266 { "_wxCursor","_class_wxCursor",0},
1267 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1268 { "_class_wxToolBarBase","_wxToolBarBase",0},
1269 { "_wxMask","_class_wxMask",0},
1270 { "_wxPen","_class_wxPen",0},
1271 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1272 { "_byte","_unsigned_char",0},
1273 { "_wxDataObject","_class_wxDataObject",0},
1274 { "_wxStaticBox","_class_wxStaticBox",0},
1275 { "_wxColourDatabase","_class_wxColourDatabase",0},
1276 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1277 { "_wxPyDropSource","_class_wxPyDropSource",0},
1278 { "_wxChoice","_class_wxChoice",0},
1279 { "_wxSlider","_class_wxSlider",0},
1280 { "_long","_unsigned_long",0},
1281 { "_long","_signed_long",0},
1282 { "_wxImageList","_class_wxImageList",0},
1283 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1284 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1285 { "_wxBitmapButton","_class_wxBitmapButton",0},
1286 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1287 { "_class_wxClipboard","_wxClipboard",0},
1288 { "_class_wxGauge","_wxGauge",0},
1289 { "_wxDC","_class_wxDC",0},
1290 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1291 { "_wxSpinEvent","_class_wxSpinEvent",0},
1292 { "_size_t","_wxCoord",0},
1293 { "_size_t","_wxPrintQuality",0},
1294 { "_size_t","_time_t",0},
1295 { "_size_t","_unsigned_int",0},
1296 { "_size_t","_int",0},
1297 { "_size_t","_wxWindowID",0},
1298 { "_size_t","_uint",0},
1299 { "_class_wxRealPoint","_wxRealPoint",0},
1300 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1301 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1302 { "_class_wxMenuItem","_wxMenuItem",0},
1303 { "_class_wxPaintEvent","_wxPaintEvent",0},
1304 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1305 { "_class_wxStatusBar","_wxStatusBar",0},
1306 { "_wxPanel","_class_wxPanel",0},
1307 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1308 { "_wxCheckBox","_class_wxCheckBox",0},
1309 { "_wxPyEvent","_class_wxPyEvent",0},
1310 { "_wxTextCtrl","_class_wxTextCtrl",0},
1311 { "_class_wxMask","_wxMask",0},
1312 { "_wxTextDataObject","_class_wxTextDataObject",0},
1313 { "_class_wxKeyEvent","_wxKeyEvent",0},
1314 { "_wxColour","_class_wxColour",0},
1315 { "_class_wxDialog","_wxDialog",0},
1316 { "_class_wxFileDataObject","_wxFileDataObject",0},
1317 { "_wxIdleEvent","_class_wxIdleEvent",0},
1318 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1319 { "_wxToolBar","_class_wxToolBar",0},
1320 { "_class_wxDataObject","_wxDataObject",0},
1321 { "_wxStaticLine","_class_wxStaticLine",0},
1322 { "_wxBrush","_class_wxBrush",0},
1323 { "_wxMiniFrame","_class_wxMiniFrame",0},
1324 { "_wxDataFormat","_class_wxDataFormat",0},
1325 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1326 { "_wxShowEvent","_class_wxShowEvent",0},
1327 { "_uint","_wxCoord",0},
1328 { "_uint","_wxPrintQuality",0},
1329 { "_uint","_time_t",0},
1330 { "_uint","_size_t",0},
1331 { "_uint","_unsigned_int",0},
1332 { "_uint","_int",0},
1333 { "_uint","_wxWindowID",0},
1334 { "_wxChar","_char",0},
1335 { "_wxPyValidator","_class_wxPyValidator",0},
1336 { "_class_wxEvent","_wxEvent",0},
1337 { "_wxCheckListBox","_class_wxCheckListBox",0},
1338 { "_wxRect","_class_wxRect",0},
1339 { "_wxCommandEvent","_class_wxCommandEvent",0},
1340 { "_wxSizeEvent","_class_wxSizeEvent",0},
1341 { "_wxPoint","_class_wxPoint",0},
1342 { "_class_wxButton","_wxButton",0},
1343 { "_wxRadioBox","_class_wxRadioBox",0},
1344 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1345 { "_char","_wxChar",0},
1346 { "_wxBitmap","_class_wxBitmap",0},
1347 { "_wxPenList","_class_wxPenList",0},
1348 { "_wxWindowDC","_class_wxWindowDC",0},
1349 { "_wxTimerEvent","_class_wxTimerEvent",0},
1350 { "_wxScrollBar","_class_wxScrollBar",0},
1351 { "_wxSpinButton","_class_wxSpinButton",0},
1352 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1353 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1354 { "_class_wxValidator","_wxValidator",0},
1355 { "_class_wxPyEvent","_wxPyEvent",0},
1356 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1357 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1358 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1359 { "_class_wxToolBar","_wxToolBar",0},
1360 { "_wxDropTarget","_class_wxDropTarget",0},
1361 { "_class_wxStaticLine","_wxStaticLine",0},
1362 { "_class_wxColourDatabase","_wxColourDatabase",0},
1363 { "_wxScrollEvent","_class_wxScrollEvent",0},
1364 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
1365 { "_EBool","_wxCoord",0},
1366 { "_EBool","_wxPrintQuality",0},
1367 { "_EBool","_signed_int",0},
1368 { "_EBool","_int",0},
1369 { "_EBool","_wxWindowID",0},
1370 { "_class_wxRegion","_wxRegion",0},
1371 { "_class_wxDataFormat","_wxDataFormat",0},
1372 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1373 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1374 { "_wxStaticText","_class_wxStaticText",0},
1375 { "_wxFont","_class_wxFont",0},
1376 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1377 { "_wxCloseEvent","_class_wxCloseEvent",0},
1378 { "_unsigned_long","_long",0},
1379 { "_class_wxRect","_wxRect",0},
1380 { "_class_wxDC","_wxDC",0},
1381 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1382 { "_class_wxBrushList","_wxBrushList",0},
1383 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1384 { "_class_wxPenList","_wxPenList",0},
1385 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1386 { "_wxFocusEvent","_class_wxFocusEvent",0},
1387 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1388 { "_class_wxTimerEvent","_wxTimerEvent",0},
1389 { "_class_wxSpinButton","_wxSpinButton",0},
1390 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1391 { "_class_wxPanel","_wxPanel",0},
1392 { "_class_wxCheckBox","_wxCheckBox",0},
1393 { "_wxComboBox","_class_wxComboBox",0},
1394 { "_wxRadioButton","_class_wxRadioButton",0},
1395 { "_signed_int","_wxCoord",0},
1396 { "_signed_int","_wxPrintQuality",0},
1397 { "_signed_int","_EBool",0},
1398 { "_signed_int","_wxWindowID",0},
1399 { "_signed_int","_int",0},
1400 { "_class_wxTextCtrl","_wxTextCtrl",0},
1401 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1402 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1403 { "_class_wxTextDataObject","_wxTextDataObject",0},
1404 { "_wxMenu","_class_wxMenu",0},
1405 { "_class_wxMoveEvent","_wxMoveEvent",0},
1406 { "_wxListBox","_class_wxListBox",0},
1407 { "_wxScreenDC","_class_wxScreenDC",0},
1408 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1409 { "_WXTYPE","_short",0},
1410 { "_WXTYPE","_signed_short",0},
1411 { "_WXTYPE","_unsigned_short",0},
1412 { "_class_wxDropTarget","_wxDropTarget",0},
1413 { "_class_wxBrush","_wxBrush",0},
1414 { "_unsigned_short","_WXTYPE",0},
1415 { "_unsigned_short","_short",0},
1416 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1417 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1418 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1419 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1420 { "_class_wxWindow","_wxWindow",0},
1421 { "_class_wxStaticText","_wxStaticText",0},
1422 { "_class_wxFont","_wxFont",0},
1423 { "_wxClipboard","_class_wxClipboard",0},
1424 { "_class_wxPyValidator","_wxPyValidator",0},
1425 { "_class_wxCloseEvent","_wxCloseEvent",0},
1426 { "_wxBusyInfo","_class_wxBusyInfo",0},
1427 { "_wxFontList","_class_wxFontList",0},
1428 { "_class_wxMenuEvent","_wxMenuEvent",0},
1429 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1430 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1431 { "_wxClientDC","_class_wxClientDC",0},
1432 { "_wxMouseEvent","_class_wxMouseEvent",0},
1433 { "_class_wxPoint","_wxPoint",0},
1434 { "_wxRealPoint","_class_wxRealPoint",0},
1435 { "_class_wxRadioBox","_wxRadioBox",0},
1436 { "_signed_short","_WXTYPE",0},
1437 { "_signed_short","_short",0},
1438 { "_wxMemoryDC","_class_wxMemoryDC",0},
1439 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1440 { "_wxPaintDC","_class_wxPaintDC",0},
1441 { "_class_wxWindowDC","_wxWindowDC",0},
1442 { "_class_wxFocusEvent","_wxFocusEvent",0},
1443 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1444 { "_wxStatusBar","_class_wxStatusBar",0},
1445 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1446 { "_class_wxCursor","_wxCursor",0},
1447 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1448 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1449 { "_unsigned_char","_byte",0},
1450 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1451 { "_class_wxMenu","_wxMenu",0},
1452 { "_wxControl","_class_wxControl",0},
1453 { "_class_wxListBox","_wxListBox",0},
1454 { "_unsigned_int","_wxCoord",0},
1455 { "_unsigned_int","_wxPrintQuality",0},
1456 { "_unsigned_int","_time_t",0},
1457 { "_unsigned_int","_size_t",0},
1458 { "_unsigned_int","_uint",0},
1459 { "_unsigned_int","_wxWindowID",0},
1460 { "_unsigned_int","_int",0},
1461 { "_wxIcon","_class_wxIcon",0},
1462 { "_wxDialog","_class_wxDialog",0},
1463 { "_class_wxPen","_wxPen",0},
1464 { "_short","_WXTYPE",0},
1465 { "_short","_unsigned_short",0},
1466 { "_short","_signed_short",0},
1467 { "_class_wxStaticBox","_wxStaticBox",0},
1468 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1469 { "_class_wxPyDropSource","_wxPyDropSource",0},
1470 { "_class_wxScrollEvent","_wxScrollEvent",0},
1471 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1472 { "_class_wxChoice","_wxChoice",0},
1473 { "_class_wxSlider","_wxSlider",0},
1474 { "_class_wxImageList","_wxImageList",0},
1475 { "_class_wxBitmapButton","_wxBitmapButton",0},
1476 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1477 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1478 { "_wxFrame","_class_wxFrame",0},
1479 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1480 { "_wxWindowID","_wxCoord",0},
1481 { "_wxWindowID","_wxPrintQuality",0},
1482 { "_wxWindowID","_time_t",0},
1483 { "_wxWindowID","_size_t",0},
1484 { "_wxWindowID","_EBool",0},
1485 { "_wxWindowID","_uint",0},
1486 { "_wxWindowID","_int",0},
1487 { "_wxWindowID","_signed_int",0},
1488 { "_wxWindowID","_unsigned_int",0},
1489 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1490 { "_int","_wxCoord",0},
1491 { "_int","_wxPrintQuality",0},
1492 { "_int","_time_t",0},
1493 { "_int","_size_t",0},
1494 { "_int","_EBool",0},
1495 { "_int","_uint",0},
1496 { "_int","_wxWindowID",0},
1497 { "_int","_unsigned_int",0},
1498 { "_int","_signed_int",0},
1499 { "_class_wxMouseEvent","_wxMouseEvent",0},
1500 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1501 { "_class_wxSpinEvent","_wxSpinEvent",0},
1502 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1503 { "_time_t","_wxCoord",0},
1504 { "_time_t","_wxPrintQuality",0},
1505 { "_time_t","_unsigned_int",0},
1506 { "_time_t","_int",0},
1507 { "_time_t","_wxWindowID",0},
1508 { "_time_t","_uint",0},
1509 { "_time_t","_size_t",0},
1510 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1511 { "_wxButton","_class_wxButton",0},
1512 { "_wxSize","_class_wxSize",0},
1513 { "_wxRegionIterator","_class_wxRegionIterator",0},
1514 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1515 { "_class_wxPaintDC","_wxPaintDC",0},
1516 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1517 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1518 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1519 { "_class_wxComboBox","_wxComboBox",0},
1520 { "_class_wxRadioButton","_wxRadioButton",0},
1521 { "_wxValidator","_class_wxValidator",0},
1522 { "_wxToolBarBase","_class_wxToolBarBase",0},
1523 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1524 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1525 { "_class_wxControl","_wxControl",0},
1526 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1527 { "_class_wxIcon","_wxIcon",0},
1528 { "_class_wxColour","_wxColour",0},
1529 { "_class_wxScreenDC","_wxScreenDC",0},
1530 { "_wxPalette","_class_wxPalette",0},
1531 { "_class_wxIdleEvent","_wxIdleEvent",0},
1532 { "_wxCoord","_int",0},
1533 { "_wxCoord","_signed_int",0},
1534 { "_wxCoord","_unsigned_int",0},
1535 { "_wxCoord","_wxWindowID",0},
1536 { "_wxCoord","_uint",0},
1537 { "_wxCoord","_EBool",0},
1538 { "_wxCoord","_size_t",0},
1539 { "_wxCoord","_time_t",0},
1540 { "_wxCoord","_wxPrintQuality",0},
1541 { "_wxEraseEvent","_class_wxEraseEvent",0},
1542 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1543 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1544 { "_class_wxMiniFrame","_wxMiniFrame",0},
1545 { "_wxRegion","_class_wxRegion",0},
1546 { "_class_wxShowEvent","_wxShowEvent",0},
1547 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1548 { "_wxActivateEvent","_class_wxActivateEvent",0},
1549 { "_wxGauge","_class_wxGauge",0},
1550 { "_class_wxCheckListBox","_wxCheckListBox",0},
1551 { "_class_wxBusyInfo","_wxBusyInfo",0},
1552 { "_class_wxFontList","_wxFontList",0},
1553 { "_class_wxCommandEvent","_wxCommandEvent",0},
1554 { "_class_wxClientDC","_wxClientDC",0},
1555 { "_class_wxSizeEvent","_wxSizeEvent",0},
1556 { "_wxBrushList","_class_wxBrushList",0},
1557 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1558 { "_class_wxSize","_wxSize",0},
1559 { "_class_wxBitmap","_wxBitmap",0},
1560 { "_class_wxMemoryDC","_wxMemoryDC",0},
1561 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1562 { "_wxMenuBar","_class_wxMenuBar",0},
1563 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1564 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1565 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1566 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1567 { "_wxEvtHandler","_class_wxEvtHandler",0},
1568 { "_wxMenuItem","_class_wxMenuItem",0},
1569 { "_class_wxScrollBar","_wxScrollBar",0},
1570 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1571 { "_wxKeyEvent","_class_wxKeyEvent",0},
1572 { "_wxMoveEvent","_class_wxMoveEvent",0},
1573 { "_class_wxPalette","_wxPalette",0},
1574 { "_wxFileDataObject","_class_wxFileDataObject",0},
1575 { "_class_wxEraseEvent","_wxEraseEvent",0},
1576 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1577 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
1578 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1579 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1580 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1581 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1582 { "_wxWindow","_class_wxWindow",0},
1583 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1584 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1585 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1586 { "_class_wxFrame","_wxFrame",0},
1589 static PyObject
*SWIG_globals
;
1593 SWIGEXPORT(void) initframesc() {
1595 SWIG_globals
= SWIG_newvarlink();
1596 m
= Py_InitModule("framesc", framescMethods
);
1597 d
= PyModule_GetDict(m
);
1598 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
1599 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
1600 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
1601 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
1602 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
1603 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
1606 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1607 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);