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>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "string type is required for parameter";
96 static void *SwigwxFrameTowxWindow(void *ptr
) {
99 src
= (wxFrame
*) ptr
;
100 dest
= (wxWindow
*) src
;
101 return (void *) dest
;
104 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
107 src
= (wxFrame
*) ptr
;
108 dest
= (wxEvtHandler
*) src
;
109 return (void *) dest
;
112 static void *SwigwxFrameTowxObject(void *ptr
) {
115 src
= (wxFrame
*) ptr
;
116 dest
= (wxObject
*) src
;
117 return (void *) dest
;
120 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
121 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
122 PyObject
* _resultobj
;
127 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
128 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
129 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
130 char * _arg6
= (char *) "frame";
131 PyObject
* _argo0
= 0;
132 PyObject
* _obj2
= 0;
134 PyObject
* _obj3
= 0;
136 PyObject
* _obj4
= 0;
137 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
151 #if PYTHON_API_VERSION >= 1009
152 char* tmpPtr
; int tmpSize
;
153 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
157 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
159 _arg2
= new wxString(tmpPtr
, tmpSize
);
161 if (!PyString_Check(_obj2
)) {
162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
165 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
171 if (! wxPoint_helper(_obj3
, &_arg3
))
177 if (! wxSize_helper(_obj4
, &_arg4
))
181 wxPy_BEGIN_ALLOW_THREADS
;
182 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
184 wxPy_END_ALLOW_THREADS
;
185 if (PyErr_Occurred()) return NULL
;
187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
188 _resultobj
= Py_BuildValue("s",_ptemp
);
191 _resultobj
= Py_None
;
200 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
201 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
204 int _arg1
= (int ) wxBOTH
;
205 PyObject
* _argo0
= 0;
206 char *_kwnames
[] = { "self","direction", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_Centre",_kwnames
,&_argo0
,&_arg1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
219 wxPy_BEGIN_ALLOW_THREADS
;
220 wxFrame_Centre(_arg0
,_arg1
);
222 wxPy_END_ALLOW_THREADS
;
223 if (PyErr_Occurred()) return NULL
;
224 } Py_INCREF(Py_None
);
225 _resultobj
= Py_None
;
229 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
230 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
232 wxStatusBar
* _result
;
234 int _arg1
= (int ) 1;
235 long _arg2
= (long ) wxST_SIZEGRIP
;
236 wxWindowID _arg3
= (wxWindowID
) -1;
237 char * _arg4
= (char *) "statusBar";
238 PyObject
* _argo0
= 0;
239 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_CreateStatusBar. Expected _wxFrame_p.");
252 wxPy_BEGIN_ALLOW_THREADS
;
253 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
255 wxPy_END_ALLOW_THREADS
;
256 if (PyErr_Occurred()) return NULL
;
257 }{ _resultobj
= wxPyMake_wxObject(_result
); }
261 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
262 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
266 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
|wxTB_FLAT
;
267 wxWindowID _arg2
= (wxWindowID
) -1;
268 char * _arg3
= (char *) "toolBar";
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self","style","id","name", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
286 wxPy_END_ALLOW_THREADS
;
287 if (PyErr_Occurred()) return NULL
;
288 }{ _resultobj
= wxPyMake_wxObject(_result
); }
292 #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
293 static PyObject
*_wrap_wxFrame_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetIcon",_kwnames
,&_argo0
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 const wxIcon
& _result_ref
= wxFrame_GetIcon(_arg0
);
314 _result
= (wxIcon
*) &_result_ref
;
316 wxPy_END_ALLOW_THREADS
;
317 if (PyErr_Occurred()) return NULL
;
319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
320 _resultobj
= Py_BuildValue("s",_ptemp
);
323 _resultobj
= Py_None
;
328 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
329 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
350 wxPy_END_ALLOW_THREADS
;
351 if (PyErr_Occurred()) return NULL
;
352 }{ _resultobj
= wxPyMake_wxObject(_result
); }
356 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
357 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
359 wxStatusBar
* _result
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
379 if (PyErr_Occurred()) return NULL
;
380 }{ _resultobj
= wxPyMake_wxObject(_result
); }
384 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
385 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
389 PyObject
* _argo0
= 0;
390 char *_kwnames
[] = { "self", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetTitle",_kwnames
,&_argo0
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= new wxString (wxFrame_GetTitle(_arg0
));
406 wxPy_END_ALLOW_THREADS
;
407 if (PyErr_Occurred()) return NULL
;
409 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
417 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
418 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 if (PyErr_Occurred()) return NULL
;
441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
445 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
446 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
450 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self","iconize", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Iconize",_kwnames
,&_argo0
,&tempbool1
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
464 _arg1
= (bool ) tempbool1
;
466 wxPy_BEGIN_ALLOW_THREADS
;
467 wxFrame_Iconize(_arg0
,_arg1
);
469 wxPy_END_ALLOW_THREADS
;
470 if (PyErr_Occurred()) return NULL
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
476 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
477 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsIconized",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 _result
= (bool )wxFrame_IsIconized(_arg0
);
498 wxPy_END_ALLOW_THREADS
;
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
505 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self","maximize", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
523 _arg1
= (bool ) tempbool1
;
525 wxPy_BEGIN_ALLOW_THREADS
;
526 wxFrame_Maximize(_arg0
,_arg1
);
528 wxPy_END_ALLOW_THREADS
;
529 if (PyErr_Occurred()) return NULL
;
530 } Py_INCREF(Py_None
);
531 _resultobj
= Py_None
;
535 #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
536 static PyObject
*_wrap_wxFrame_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
540 PyObject
* _argo0
= 0;
541 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsMaximized",_kwnames
,&_argo0
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
554 wxPy_BEGIN_ALLOW_THREADS
;
555 _result
= (bool )wxFrame_IsMaximized(_arg0
);
557 wxPy_END_ALLOW_THREADS
;
558 if (PyErr_Occurred()) return NULL
;
559 } _resultobj
= Py_BuildValue("i",_result
);
563 #define wxFrame_Restore(_swigobj) (_swigobj->Restore())
564 static PyObject
*_wrap_wxFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_Restore",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 wxFrame_Restore(_arg0
);
584 wxPy_END_ALLOW_THREADS
;
585 if (PyErr_Occurred()) return NULL
;
586 } Py_INCREF(Py_None
);
587 _resultobj
= Py_None
;
591 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
592 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 wxAcceleratorTable
* _arg1
;
596 PyObject
* _argo0
= 0;
597 PyObject
* _argo1
= 0;
598 char *_kwnames
[] = { "self","accel", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
618 wxPy_BEGIN_ALLOW_THREADS
;
619 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
621 wxPy_END_ALLOW_THREADS
;
622 if (PyErr_Occurred()) return NULL
;
623 } Py_INCREF(Py_None
);
624 _resultobj
= Py_None
;
628 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
629 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
633 PyObject
* _argo0
= 0;
634 PyObject
* _argo1
= 0;
635 char *_kwnames
[] = { "self","icon", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetIcon",_kwnames
,&_argo0
,&_argo1
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
655 wxPy_BEGIN_ALLOW_THREADS
;
656 wxFrame_SetIcon(_arg0
,*_arg1
);
658 wxPy_END_ALLOW_THREADS
;
659 if (PyErr_Occurred()) return NULL
;
660 } Py_INCREF(Py_None
);
661 _resultobj
= Py_None
;
665 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
666 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
670 PyObject
* _argo0
= 0;
671 PyObject
* _argo1
= 0;
672 char *_kwnames
[] = { "self","menuBar", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
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_SetMenuBar. Expected _wxFrame_p.");
685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxFrame_SetMenuBar(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 if (PyErr_Occurred()) return NULL
;
697 } Py_INCREF(Py_None
);
698 _resultobj
= Py_None
;
702 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
703 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 PyObject
* _argo1
= 0;
709 char *_kwnames
[] = { "self","statusBar", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
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_SetStatusBar. Expected _wxFrame_p.");
722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
729 wxPy_BEGIN_ALLOW_THREADS
;
730 wxFrame_SetStatusBar(_arg0
,_arg1
);
732 wxPy_END_ALLOW_THREADS
;
733 if (PyErr_Occurred()) return NULL
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
739 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
740 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
744 int _arg2
= (int ) 0;
745 PyObject
* _argo0
= 0;
746 PyObject
* _obj1
= 0;
747 char *_kwnames
[] = { "self","text","number", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
760 #if PYTHON_API_VERSION >= 1009
761 char* tmpPtr
; int tmpSize
;
762 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
766 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
768 _arg1
= new wxString(tmpPtr
, tmpSize
);
770 if (!PyString_Check(_obj1
)) {
771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
774 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
778 wxPy_BEGIN_ALLOW_THREADS
;
779 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
781 wxPy_END_ALLOW_THREADS
;
782 if (PyErr_Occurred()) return NULL
;
783 } Py_INCREF(Py_None
);
784 _resultobj
= Py_None
;
792 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
793 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
798 PyObject
* _argo0
= 0;
799 PyObject
* _obj2
= 0;
800 char *_kwnames
[] = { "self","choices", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
814 _arg2
= int_LIST_helper(_obj2
);
821 _arg1
= PyList_Size(_obj2
);
828 wxPy_BEGIN_ALLOW_THREADS
;
829 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
831 wxPy_END_ALLOW_THREADS
;
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
841 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
842 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
846 PyObject
* _argo0
= 0;
847 PyObject
* _obj1
= 0;
848 char *_kwnames
[] = { "self","title", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetTitle",_kwnames
,&_argo0
,&_obj1
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
861 #if PYTHON_API_VERSION >= 1009
862 char* tmpPtr
; int tmpSize
;
863 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
867 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
869 _arg1
= new wxString(tmpPtr
, tmpSize
);
871 if (!PyString_Check(_obj1
)) {
872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
875 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
879 wxPy_BEGIN_ALLOW_THREADS
;
880 wxFrame_SetTitle(_arg0
,*_arg1
);
882 wxPy_END_ALLOW_THREADS
;
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
893 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
894 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
898 PyObject
* _argo0
= 0;
899 PyObject
* _argo1
= 0;
900 char *_kwnames
[] = { "self","toolbar", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
913 if (_argo1
== Py_None
) { _arg1
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 wxFrame_SetToolBar(_arg0
,_arg1
);
923 wxPy_END_ALLOW_THREADS
;
924 if (PyErr_Occurred()) return NULL
;
925 } Py_INCREF(Py_None
);
926 _resultobj
= Py_None
;
930 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
931 static PyObject
*_wrap_wxFrame_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 bool _arg1
= (bool ) TRUE
;
935 PyObject
* _argo0
= 0;
936 int tempbool1
= (int) TRUE
;
937 char *_kwnames
[] = { "self","modal", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
949 _arg1
= (bool ) tempbool1
;
951 wxPy_BEGIN_ALLOW_THREADS
;
952 wxFrame_MakeModal(_arg0
,_arg1
);
954 wxPy_END_ALLOW_THREADS
;
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
962 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
984 wxPy_END_ALLOW_THREADS
;
985 if (PyErr_Occurred()) return NULL
;
986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
987 _resultobj
= Py_BuildValue("s",_ptemp
);
991 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
992 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
997 PyObject
* _argo0
= 0;
998 char *_kwnames
[] = { "self","id", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1014 wxPy_END_ALLOW_THREADS
;
1015 if (PyErr_Occurred()) return NULL
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1021 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1026 PyObject
* _argo0
= 0;
1027 char *_kwnames
[] = { "self","id", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1043 wxPy_END_ALLOW_THREADS
;
1044 if (PyErr_Occurred()) return NULL
;
1045 } _resultobj
= Py_BuildValue("i",_result
);
1049 #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
1050 static PyObject
*_wrap_wxFrame_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1055 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
1056 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self","show","style", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxFrame_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p.");
1070 _arg1
= (bool ) tempbool1
;
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (bool )wxFrame_ShowFullScreen(_arg0
,_arg1
,_arg2
);
1075 wxPy_END_ALLOW_THREADS
;
1076 if (PyErr_Occurred()) return NULL
;
1077 } _resultobj
= Py_BuildValue("i",_result
);
1081 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1084 src
= (wxMiniFrame
*) ptr
;
1085 dest
= (wxFrame
*) src
;
1086 return (void *) dest
;
1089 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1092 src
= (wxMiniFrame
*) ptr
;
1093 dest
= (wxWindow
*) src
;
1094 return (void *) dest
;
1097 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1100 src
= (wxMiniFrame
*) ptr
;
1101 dest
= (wxEvtHandler
*) src
;
1102 return (void *) dest
;
1105 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1108 src
= (wxMiniFrame
*) ptr
;
1109 dest
= (wxObject
*) src
;
1110 return (void *) dest
;
1113 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1114 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxMiniFrame
* _result
;
1120 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1121 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1122 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1123 char * _arg6
= (char *) "frame";
1124 PyObject
* _argo0
= 0;
1125 PyObject
* _obj2
= 0;
1127 PyObject
* _obj3
= 0;
1129 PyObject
* _obj4
= 0;
1130 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1144 #if PYTHON_API_VERSION >= 1009
1145 char* tmpPtr
; int tmpSize
;
1146 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1152 _arg2
= new wxString(tmpPtr
, tmpSize
);
1154 if (!PyString_Check(_obj2
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1164 if (! wxPoint_helper(_obj3
, &_arg3
))
1170 if (! wxSize_helper(_obj4
, &_arg4
))
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1177 wxPy_END_ALLOW_THREADS
;
1178 if (PyErr_Occurred()) return NULL
;
1180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1181 _resultobj
= Py_BuildValue("s",_ptemp
);
1184 _resultobj
= Py_None
;
1193 static PyMethodDef framescMethods
[] = {
1194 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
1195 { "wxFrame_ShowFullScreen", (PyCFunction
) _wrap_wxFrame_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
1196 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
1197 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
1198 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
1199 { "wxFrame_MakeModal", (PyCFunction
) _wrap_wxFrame_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
1200 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1201 { "wxFrame_SetTitle", (PyCFunction
) _wrap_wxFrame_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1202 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
1203 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
1204 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1205 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1206 { "wxFrame_SetIcon", (PyCFunction
) _wrap_wxFrame_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1207 { "wxFrame_SetAcceleratorTable", (PyCFunction
) _wrap_wxFrame_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
1208 { "wxFrame_Restore", (PyCFunction
) _wrap_wxFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1209 { "wxFrame_IsMaximized", (PyCFunction
) _wrap_wxFrame_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
1210 { "wxFrame_Maximize", (PyCFunction
) _wrap_wxFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1211 { "wxFrame_IsIconized", (PyCFunction
) _wrap_wxFrame_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
1212 { "wxFrame_Iconize", (PyCFunction
) _wrap_wxFrame_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
1213 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1214 { "wxFrame_GetTitle", (PyCFunction
) _wrap_wxFrame_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1215 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1216 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1217 { "wxFrame_GetIcon", (PyCFunction
) _wrap_wxFrame_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1218 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1219 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1220 { "wxFrame_Centre", (PyCFunction
) _wrap_wxFrame_Centre
, METH_VARARGS
| METH_KEYWORDS
},
1221 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
1228 * This table is used by the pointer type-checker
1230 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1231 { "_signed_long","_long",0},
1232 { "_wxPrintQuality","_wxCoord",0},
1233 { "_wxPrintQuality","_int",0},
1234 { "_wxPrintQuality","_signed_int",0},
1235 { "_wxPrintQuality","_unsigned_int",0},
1236 { "_wxPrintQuality","_wxWindowID",0},
1237 { "_wxPrintQuality","_uint",0},
1238 { "_wxPrintQuality","_EBool",0},
1239 { "_wxPrintQuality","_size_t",0},
1240 { "_wxPrintQuality","_time_t",0},
1241 { "_byte","_unsigned_char",0},
1242 { "_long","_unsigned_long",0},
1243 { "_long","_signed_long",0},
1244 { "_size_t","_wxCoord",0},
1245 { "_size_t","_wxPrintQuality",0},
1246 { "_size_t","_time_t",0},
1247 { "_size_t","_unsigned_int",0},
1248 { "_size_t","_int",0},
1249 { "_size_t","_wxWindowID",0},
1250 { "_size_t","_uint",0},
1251 { "_uint","_wxCoord",0},
1252 { "_uint","_wxPrintQuality",0},
1253 { "_uint","_time_t",0},
1254 { "_uint","_size_t",0},
1255 { "_uint","_unsigned_int",0},
1256 { "_uint","_int",0},
1257 { "_uint","_wxWindowID",0},
1258 { "_wxChar","_char",0},
1259 { "_char","_wxChar",0},
1260 { "_EBool","_wxCoord",0},
1261 { "_EBool","_wxPrintQuality",0},
1262 { "_EBool","_signed_int",0},
1263 { "_EBool","_int",0},
1264 { "_EBool","_wxWindowID",0},
1265 { "_unsigned_long","_long",0},
1266 { "_signed_int","_wxCoord",0},
1267 { "_signed_int","_wxPrintQuality",0},
1268 { "_signed_int","_EBool",0},
1269 { "_signed_int","_wxWindowID",0},
1270 { "_signed_int","_int",0},
1271 { "_WXTYPE","_short",0},
1272 { "_WXTYPE","_signed_short",0},
1273 { "_WXTYPE","_unsigned_short",0},
1274 { "_unsigned_short","_WXTYPE",0},
1275 { "_unsigned_short","_short",0},
1276 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
1277 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
1278 { "_signed_short","_WXTYPE",0},
1279 { "_signed_short","_short",0},
1280 { "_unsigned_char","_byte",0},
1281 { "_unsigned_int","_wxCoord",0},
1282 { "_unsigned_int","_wxPrintQuality",0},
1283 { "_unsigned_int","_time_t",0},
1284 { "_unsigned_int","_size_t",0},
1285 { "_unsigned_int","_uint",0},
1286 { "_unsigned_int","_wxWindowID",0},
1287 { "_unsigned_int","_int",0},
1288 { "_short","_WXTYPE",0},
1289 { "_short","_unsigned_short",0},
1290 { "_short","_signed_short",0},
1291 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1292 { "_wxWindowID","_wxCoord",0},
1293 { "_wxWindowID","_wxPrintQuality",0},
1294 { "_wxWindowID","_time_t",0},
1295 { "_wxWindowID","_size_t",0},
1296 { "_wxWindowID","_EBool",0},
1297 { "_wxWindowID","_uint",0},
1298 { "_wxWindowID","_int",0},
1299 { "_wxWindowID","_signed_int",0},
1300 { "_wxWindowID","_unsigned_int",0},
1301 { "_int","_wxCoord",0},
1302 { "_int","_wxPrintQuality",0},
1303 { "_int","_time_t",0},
1304 { "_int","_size_t",0},
1305 { "_int","_EBool",0},
1306 { "_int","_uint",0},
1307 { "_int","_wxWindowID",0},
1308 { "_int","_unsigned_int",0},
1309 { "_int","_signed_int",0},
1310 { "_time_t","_wxCoord",0},
1311 { "_time_t","_wxPrintQuality",0},
1312 { "_time_t","_unsigned_int",0},
1313 { "_time_t","_int",0},
1314 { "_time_t","_wxWindowID",0},
1315 { "_time_t","_uint",0},
1316 { "_time_t","_size_t",0},
1317 { "_wxCoord","_int",0},
1318 { "_wxCoord","_signed_int",0},
1319 { "_wxCoord","_unsigned_int",0},
1320 { "_wxCoord","_wxWindowID",0},
1321 { "_wxCoord","_uint",0},
1322 { "_wxCoord","_EBool",0},
1323 { "_wxCoord","_size_t",0},
1324 { "_wxCoord","_time_t",0},
1325 { "_wxCoord","_wxPrintQuality",0},
1326 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1327 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1328 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1329 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1332 static PyObject
*SWIG_globals
;
1336 SWIGEXPORT(void) initframesc() {
1338 SWIG_globals
= SWIG_newvarlink();
1339 m
= Py_InitModule("framesc", framescMethods
);
1340 d
= PyModule_GetDict(m
);
1341 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
1342 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
1343 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
1344 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
1345 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
1346 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
1349 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1350 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);