2 * FILE : src/gtk/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
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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
109 static void *SwigwxFrameTowxWindow(void *ptr
) {
112 src
= (wxFrame
*) ptr
;
113 dest
= (wxWindow
*) src
;
114 return (void *) dest
;
117 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
120 src
= (wxFrame
*) ptr
;
121 dest
= (wxEvtHandler
*) src
;
122 return (void *) dest
;
125 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
126 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
132 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
133 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
134 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
135 char * _arg6
= (char *) "frame";
136 PyObject
* _argo0
= 0;
137 PyObject
* _obj2
= 0;
139 PyObject
* _obj3
= 0;
141 PyObject
* _obj4
= 0;
142 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
156 #if PYTHON_API_VERSION >= 1009
157 char* tmpPtr
; int tmpSize
;
158 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
159 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
162 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
164 _arg2
= new wxString(tmpPtr
, tmpSize
);
166 if (!PyString_Check(_obj2
)) {
167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
170 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
176 if (! wxPoint_helper(_obj3
, &_arg3
))
182 if (! wxSize_helper(_obj4
, &_arg4
))
186 wxPy_BEGIN_ALLOW_THREADS
;
187 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
189 wxPy_END_ALLOW_THREADS
;
191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
192 _resultobj
= Py_BuildValue("s",_ptemp
);
195 _resultobj
= Py_None
;
204 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
205 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
206 PyObject
* _resultobj
;
208 int _arg1
= (int ) wxBOTH
;
209 PyObject
* _argo0
= 0;
210 char *_kwnames
[] = { "self","direction", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_Centre",_kwnames
,&_argo0
,&_arg1
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
223 wxPy_BEGIN_ALLOW_THREADS
;
224 wxFrame_Centre(_arg0
,_arg1
);
226 wxPy_END_ALLOW_THREADS
;
227 } Py_INCREF(Py_None
);
228 _resultobj
= Py_None
;
232 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
233 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
235 wxStatusBar
* _result
;
237 int _arg1
= (int ) 1;
238 long _arg2
= (long ) wxST_SIZEGRIP
;
239 wxWindowID _arg3
= (wxWindowID
) -1;
240 char * _arg4
= (char *) "statusBar";
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
259 wxPy_END_ALLOW_THREADS
;
261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
262 _resultobj
= Py_BuildValue("s",_ptemp
);
265 _resultobj
= Py_None
;
270 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
271 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
275 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
|wxTB_FLAT
;
276 wxWindowID _arg2
= (wxWindowID
) -1;
277 char * _arg3
= (char *) "toolBar";
278 PyObject
* _argo0
= 0;
279 char *_kwnames
[] = { "self","style","id","name", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
296 wxPy_END_ALLOW_THREADS
;
298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
299 _resultobj
= Py_BuildValue("s",_ptemp
);
302 _resultobj
= Py_None
;
307 #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
308 static PyObject
*_wrap_wxFrame_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
312 PyObject
* _argo0
= 0;
313 char *_kwnames
[] = { "self", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetIcon",_kwnames
,&_argo0
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 const wxIcon
& _result_ref
= wxFrame_GetIcon(_arg0
);
329 _result
= (wxIcon
*) &_result_ref
;
331 wxPy_END_ALLOW_THREADS
;
333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
334 _resultobj
= Py_BuildValue("s",_ptemp
);
337 _resultobj
= Py_None
;
342 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
343 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
362 wxPy_BEGIN_ALLOW_THREADS
;
363 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
365 wxPy_END_ALLOW_THREADS
;
367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
368 _resultobj
= Py_BuildValue("s",_ptemp
);
371 _resultobj
= Py_None
;
376 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
377 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
379 wxStatusBar
* _result
;
381 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
396 wxPy_BEGIN_ALLOW_THREADS
;
397 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
399 wxPy_END_ALLOW_THREADS
;
401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
402 _resultobj
= Py_BuildValue("s",_ptemp
);
405 _resultobj
= Py_None
;
410 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
411 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 PyObject
* _argo0
= 0;
416 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetTitle",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= new wxString (wxFrame_GetTitle(_arg0
));
432 wxPy_END_ALLOW_THREADS
;
434 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
442 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
443 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
447 PyObject
* _argo0
= 0;
448 char *_kwnames
[] = { "self", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
465 wxPy_END_ALLOW_THREADS
;
467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
468 _resultobj
= Py_BuildValue("s",_ptemp
);
471 _resultobj
= Py_None
;
476 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
477 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self","iconize", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Iconize",_kwnames
,&_argo0
,&tempbool1
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
495 _arg1
= (bool ) tempbool1
;
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxFrame_Iconize(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
507 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
511 PyObject
* _argo0
= 0;
512 char *_kwnames
[] = { "self", NULL
};
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsIconized",_kwnames
,&_argo0
))
518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (bool )wxFrame_IsIconized(_arg0
);
528 wxPy_END_ALLOW_THREADS
;
529 } _resultobj
= Py_BuildValue("i",_result
);
533 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
534 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
538 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self","maximize", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
552 _arg1
= (bool ) tempbool1
;
554 wxPy_BEGIN_ALLOW_THREADS
;
555 wxFrame_Maximize(_arg0
,_arg1
);
557 wxPy_END_ALLOW_THREADS
;
558 } Py_INCREF(Py_None
);
559 _resultobj
= Py_None
;
563 #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
564 static PyObject
*_wrap_wxFrame_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsMaximized",_kwnames
,&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (bool )wxFrame_IsMaximized(_arg0
);
585 wxPy_END_ALLOW_THREADS
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 #define wxFrame_Restore(_swigobj) (_swigobj->Restore())
591 static PyObject
*_wrap_wxFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "self", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_Restore",_kwnames
,&_argo0
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
608 wxPy_BEGIN_ALLOW_THREADS
;
609 wxFrame_Restore(_arg0
);
611 wxPy_END_ALLOW_THREADS
;
612 } Py_INCREF(Py_None
);
613 _resultobj
= Py_None
;
617 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
618 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
621 wxAcceleratorTable
* _arg1
;
622 PyObject
* _argo0
= 0;
623 PyObject
* _argo1
= 0;
624 char *_kwnames
[] = { "self","accel", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
644 wxPy_BEGIN_ALLOW_THREADS
;
645 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
647 wxPy_END_ALLOW_THREADS
;
648 } Py_INCREF(Py_None
);
649 _resultobj
= Py_None
;
653 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
654 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 PyObject
* _argo1
= 0;
660 char *_kwnames
[] = { "self","icon", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetIcon",_kwnames
,&_argo0
,&_argo1
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
680 wxPy_BEGIN_ALLOW_THREADS
;
681 wxFrame_SetIcon(_arg0
,*_arg1
);
683 wxPy_END_ALLOW_THREADS
;
684 } Py_INCREF(Py_None
);
685 _resultobj
= Py_None
;
689 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
690 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
694 PyObject
* _argo0
= 0;
695 PyObject
* _argo1
= 0;
696 char *_kwnames
[] = { "self","menuBar", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 wxFrame_SetMenuBar(_arg0
,_arg1
);
719 wxPy_END_ALLOW_THREADS
;
720 } Py_INCREF(Py_None
);
721 _resultobj
= Py_None
;
725 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
726 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
730 PyObject
* _argo0
= 0;
731 PyObject
* _argo1
= 0;
732 char *_kwnames
[] = { "self","statusBar", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 wxFrame_SetStatusBar(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
756 } Py_INCREF(Py_None
);
757 _resultobj
= Py_None
;
761 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
762 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
766 int _arg2
= (int ) 0;
767 PyObject
* _argo0
= 0;
768 PyObject
* _obj1
= 0;
769 char *_kwnames
[] = { "self","text","number", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
782 #if PYTHON_API_VERSION >= 1009
783 char* tmpPtr
; int tmpSize
;
784 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
785 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
788 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
790 _arg1
= new wxString(tmpPtr
, tmpSize
);
792 if (!PyString_Check(_obj1
)) {
793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
796 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
800 wxPy_BEGIN_ALLOW_THREADS
;
801 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
803 wxPy_END_ALLOW_THREADS
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
814 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
819 PyObject
* _argo0
= 0;
820 PyObject
* _obj2
= 0;
821 char *_kwnames
[] = { "self","choices", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
835 _arg2
= int_LIST_helper(_obj2
);
842 _arg1
= PyList_Size(_obj2
);
849 wxPy_BEGIN_ALLOW_THREADS
;
850 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
852 wxPy_END_ALLOW_THREADS
;
853 } Py_INCREF(Py_None
);
854 _resultobj
= Py_None
;
861 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
862 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
866 PyObject
* _argo0
= 0;
867 PyObject
* _obj1
= 0;
868 char *_kwnames
[] = { "self","title", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetTitle",_kwnames
,&_argo0
,&_obj1
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
881 #if PYTHON_API_VERSION >= 1009
882 char* tmpPtr
; int tmpSize
;
883 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
884 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
887 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
889 _arg1
= new wxString(tmpPtr
, tmpSize
);
891 if (!PyString_Check(_obj1
)) {
892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
895 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
899 wxPy_BEGIN_ALLOW_THREADS
;
900 wxFrame_SetTitle(_arg0
,*_arg1
);
902 wxPy_END_ALLOW_THREADS
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
912 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
913 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
917 PyObject
* _argo0
= 0;
918 PyObject
* _argo1
= 0;
919 char *_kwnames
[] = { "self","toolbar", NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
939 wxPy_BEGIN_ALLOW_THREADS
;
940 wxFrame_SetToolBar(_arg0
,_arg1
);
942 wxPy_END_ALLOW_THREADS
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
949 static PyObject
*_wrap_wxFrame_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 bool _arg1
= (bool ) TRUE
;
953 PyObject
* _argo0
= 0;
954 int tempbool1
= (int) TRUE
;
955 char *_kwnames
[] = { "self","modal", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
967 _arg1
= (bool ) tempbool1
;
969 wxPy_BEGIN_ALLOW_THREADS
;
970 wxFrame_MakeModal(_arg0
,_arg1
);
972 wxPy_END_ALLOW_THREADS
;
973 } Py_INCREF(Py_None
);
974 _resultobj
= Py_None
;
978 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
979 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
998 wxPy_BEGIN_ALLOW_THREADS
;
999 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
1001 wxPy_END_ALLOW_THREADS
;
1002 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1003 _resultobj
= Py_BuildValue("s",_ptemp
);
1007 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1008 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1013 PyObject
* _argo0
= 0;
1014 char *_kwnames
[] = { "self","id", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1030 wxPy_END_ALLOW_THREADS
;
1031 } _resultobj
= Py_BuildValue("i",_result
);
1035 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1036 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1041 PyObject
* _argo0
= 0;
1042 char *_kwnames
[] = { "self","id", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1055 wxPy_BEGIN_ALLOW_THREADS
;
1056 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1058 wxPy_END_ALLOW_THREADS
;
1059 } _resultobj
= Py_BuildValue("i",_result
);
1063 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1066 src
= (wxMiniFrame
*) ptr
;
1067 dest
= (wxFrame
*) src
;
1068 return (void *) dest
;
1071 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1074 src
= (wxMiniFrame
*) ptr
;
1075 dest
= (wxWindow
*) src
;
1076 return (void *) dest
;
1079 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1082 src
= (wxMiniFrame
*) ptr
;
1083 dest
= (wxEvtHandler
*) src
;
1084 return (void *) dest
;
1087 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1088 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1090 wxMiniFrame
* _result
;
1094 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1095 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1096 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1097 char * _arg6
= (char *) "frame";
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _obj2
= 0;
1101 PyObject
* _obj3
= 0;
1103 PyObject
* _obj4
= 0;
1104 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1118 #if PYTHON_API_VERSION >= 1009
1119 char* tmpPtr
; int tmpSize
;
1120 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1121 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1124 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1126 _arg2
= new wxString(tmpPtr
, tmpSize
);
1128 if (!PyString_Check(_obj2
)) {
1129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1132 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1138 if (! wxPoint_helper(_obj3
, &_arg3
))
1144 if (! wxSize_helper(_obj4
, &_arg4
))
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1151 wxPy_END_ALLOW_THREADS
;
1153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1154 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 _resultobj
= Py_None
;
1166 static PyMethodDef framescMethods
[] = {
1167 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
1168 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
1169 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
1170 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
1171 { "wxFrame_MakeModal", (PyCFunction
) _wrap_wxFrame_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
1172 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1173 { "wxFrame_SetTitle", (PyCFunction
) _wrap_wxFrame_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1174 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
1175 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
1176 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1177 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1178 { "wxFrame_SetIcon", (PyCFunction
) _wrap_wxFrame_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1179 { "wxFrame_SetAcceleratorTable", (PyCFunction
) _wrap_wxFrame_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
1180 { "wxFrame_Restore", (PyCFunction
) _wrap_wxFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1181 { "wxFrame_IsMaximized", (PyCFunction
) _wrap_wxFrame_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
1182 { "wxFrame_Maximize", (PyCFunction
) _wrap_wxFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1183 { "wxFrame_IsIconized", (PyCFunction
) _wrap_wxFrame_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
1184 { "wxFrame_Iconize", (PyCFunction
) _wrap_wxFrame_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
1185 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1186 { "wxFrame_GetTitle", (PyCFunction
) _wrap_wxFrame_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1187 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1188 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1189 { "wxFrame_GetIcon", (PyCFunction
) _wrap_wxFrame_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1190 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1191 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1192 { "wxFrame_Centre", (PyCFunction
) _wrap_wxFrame_Centre
, METH_VARARGS
| METH_KEYWORDS
},
1193 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
1200 * This table is used by the pointer type-checker
1202 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1203 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1204 { "_wxEvent","_class_wxEvent",0},
1205 { "_class_wxActivateEvent","_wxActivateEvent",0},
1206 { "_signed_long","_long",0},
1207 { "_wxMenuEvent","_class_wxMenuEvent",0},
1208 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1209 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1210 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1211 { "_wxPrintQuality","_wxCoord",0},
1212 { "_wxPrintQuality","_int",0},
1213 { "_wxPrintQuality","_signed_int",0},
1214 { "_wxPrintQuality","_unsigned_int",0},
1215 { "_wxPrintQuality","_wxWindowID",0},
1216 { "_wxPrintQuality","_uint",0},
1217 { "_wxPrintQuality","_EBool",0},
1218 { "_wxPrintQuality","_size_t",0},
1219 { "_wxPrintQuality","_time_t",0},
1220 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1221 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1222 { "_class_wxRegionIterator","_wxRegionIterator",0},
1223 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1224 { "_class_wxMenuBar","_wxMenuBar",0},
1225 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1226 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1227 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1228 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1229 { "_class_wxEvtHandler","_wxEvtHandler",0},
1230 { "_wxPaintEvent","_class_wxPaintEvent",0},
1231 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1232 { "_wxCursor","_class_wxCursor",0},
1233 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1234 { "_class_wxToolBarBase","_wxToolBarBase",0},
1235 { "_wxMask","_class_wxMask",0},
1236 { "_wxPen","_class_wxPen",0},
1237 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1238 { "_byte","_unsigned_char",0},
1239 { "_wxDataObject","_class_wxDataObject",0},
1240 { "_wxStaticBox","_class_wxStaticBox",0},
1241 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1242 { "_wxPyDropSource","_class_wxPyDropSource",0},
1243 { "_wxChoice","_class_wxChoice",0},
1244 { "_wxSlider","_class_wxSlider",0},
1245 { "_long","_unsigned_long",0},
1246 { "_long","_signed_long",0},
1247 { "_wxImageList","_class_wxImageList",0},
1248 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1249 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1250 { "_wxBitmapButton","_class_wxBitmapButton",0},
1251 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1252 { "_class_wxClipboard","_wxClipboard",0},
1253 { "_class_wxGauge","_wxGauge",0},
1254 { "_wxDC","_class_wxDC",0},
1255 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1256 { "_wxSpinEvent","_class_wxSpinEvent",0},
1257 { "_size_t","_wxCoord",0},
1258 { "_size_t","_wxPrintQuality",0},
1259 { "_size_t","_time_t",0},
1260 { "_size_t","_unsigned_int",0},
1261 { "_size_t","_int",0},
1262 { "_size_t","_wxWindowID",0},
1263 { "_size_t","_uint",0},
1264 { "_class_wxRealPoint","_wxRealPoint",0},
1265 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1266 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1267 { "_class_wxMenuItem","_wxMenuItem",0},
1268 { "_class_wxPaintEvent","_wxPaintEvent",0},
1269 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1270 { "_class_wxStatusBar","_wxStatusBar",0},
1271 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1272 { "_wxPanel","_class_wxPanel",0},
1273 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1274 { "_wxCheckBox","_class_wxCheckBox",0},
1275 { "_wxPyEvent","_class_wxPyEvent",0},
1276 { "_wxTextCtrl","_class_wxTextCtrl",0},
1277 { "_class_wxMask","_wxMask",0},
1278 { "_wxTextDataObject","_class_wxTextDataObject",0},
1279 { "_class_wxKeyEvent","_wxKeyEvent",0},
1280 { "_wxColour","_class_wxColour",0},
1281 { "_class_wxDialog","_wxDialog",0},
1282 { "_class_wxFileDataObject","_wxFileDataObject",0},
1283 { "_wxIdleEvent","_class_wxIdleEvent",0},
1284 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1285 { "_wxToolBar","_class_wxToolBar",0},
1286 { "_class_wxDataObject","_wxDataObject",0},
1287 { "_wxStaticLine","_class_wxStaticLine",0},
1288 { "_wxBrush","_class_wxBrush",0},
1289 { "_wxMiniFrame","_class_wxMiniFrame",0},
1290 { "_wxDataFormat","_class_wxDataFormat",0},
1291 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1292 { "_wxShowEvent","_class_wxShowEvent",0},
1293 { "_uint","_wxCoord",0},
1294 { "_uint","_wxPrintQuality",0},
1295 { "_uint","_time_t",0},
1296 { "_uint","_size_t",0},
1297 { "_uint","_unsigned_int",0},
1298 { "_uint","_int",0},
1299 { "_uint","_wxWindowID",0},
1300 { "_wxChar","_char",0},
1301 { "_wxPyValidator","_class_wxPyValidator",0},
1302 { "_class_wxEvent","_wxEvent",0},
1303 { "_wxCheckListBox","_class_wxCheckListBox",0},
1304 { "_wxRect","_class_wxRect",0},
1305 { "_wxCommandEvent","_class_wxCommandEvent",0},
1306 { "_wxSizeEvent","_class_wxSizeEvent",0},
1307 { "_wxPoint","_class_wxPoint",0},
1308 { "_class_wxButton","_wxButton",0},
1309 { "_wxRadioBox","_class_wxRadioBox",0},
1310 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1311 { "_char","_wxChar",0},
1312 { "_wxBitmap","_class_wxBitmap",0},
1313 { "_wxWindowDC","_class_wxWindowDC",0},
1314 { "_wxTimerEvent","_class_wxTimerEvent",0},
1315 { "_wxScrollBar","_class_wxScrollBar",0},
1316 { "_wxSpinButton","_class_wxSpinButton",0},
1317 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1318 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1319 { "_class_wxValidator","_wxValidator",0},
1320 { "_class_wxPyEvent","_wxPyEvent",0},
1321 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1322 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1323 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1324 { "_class_wxToolBar","_wxToolBar",0},
1325 { "_wxDropTarget","_class_wxDropTarget",0},
1326 { "_class_wxStaticLine","_wxStaticLine",0},
1327 { "_wxScrollEvent","_class_wxScrollEvent",0},
1328 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
1329 { "_EBool","_wxCoord",0},
1330 { "_EBool","_wxPrintQuality",0},
1331 { "_EBool","_signed_int",0},
1332 { "_EBool","_int",0},
1333 { "_EBool","_wxWindowID",0},
1334 { "_class_wxRegion","_wxRegion",0},
1335 { "_class_wxDataFormat","_wxDataFormat",0},
1336 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1337 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1338 { "_wxStaticText","_class_wxStaticText",0},
1339 { "_wxFont","_class_wxFont",0},
1340 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1341 { "_wxCloseEvent","_class_wxCloseEvent",0},
1342 { "_unsigned_long","_long",0},
1343 { "_class_wxRect","_wxRect",0},
1344 { "_class_wxDC","_wxDC",0},
1345 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1346 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1347 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1348 { "_wxFocusEvent","_class_wxFocusEvent",0},
1349 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1350 { "_class_wxTimerEvent","_wxTimerEvent",0},
1351 { "_class_wxSpinButton","_wxSpinButton",0},
1352 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1353 { "_class_wxPanel","_wxPanel",0},
1354 { "_class_wxCheckBox","_wxCheckBox",0},
1355 { "_wxComboBox","_class_wxComboBox",0},
1356 { "_wxRadioButton","_class_wxRadioButton",0},
1357 { "_signed_int","_wxCoord",0},
1358 { "_signed_int","_wxPrintQuality",0},
1359 { "_signed_int","_EBool",0},
1360 { "_signed_int","_wxWindowID",0},
1361 { "_signed_int","_int",0},
1362 { "_class_wxTextCtrl","_wxTextCtrl",0},
1363 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1364 { "_class_wxTextDataObject","_wxTextDataObject",0},
1365 { "_wxMenu","_class_wxMenu",0},
1366 { "_class_wxMoveEvent","_wxMoveEvent",0},
1367 { "_wxListBox","_class_wxListBox",0},
1368 { "_wxScreenDC","_class_wxScreenDC",0},
1369 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1370 { "_WXTYPE","_short",0},
1371 { "_WXTYPE","_signed_short",0},
1372 { "_WXTYPE","_unsigned_short",0},
1373 { "_class_wxDropTarget","_wxDropTarget",0},
1374 { "_class_wxBrush","_wxBrush",0},
1375 { "_unsigned_short","_WXTYPE",0},
1376 { "_unsigned_short","_short",0},
1377 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1378 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1379 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1380 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1381 { "_class_wxWindow","_wxWindow",0},
1382 { "_class_wxStaticText","_wxStaticText",0},
1383 { "_class_wxFont","_wxFont",0},
1384 { "_wxClipboard","_class_wxClipboard",0},
1385 { "_class_wxPyValidator","_wxPyValidator",0},
1386 { "_class_wxCloseEvent","_wxCloseEvent",0},
1387 { "_wxBusyInfo","_class_wxBusyInfo",0},
1388 { "_class_wxMenuEvent","_wxMenuEvent",0},
1389 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1390 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1391 { "_wxClientDC","_class_wxClientDC",0},
1392 { "_wxMouseEvent","_class_wxMouseEvent",0},
1393 { "_class_wxPoint","_wxPoint",0},
1394 { "_wxRealPoint","_class_wxRealPoint",0},
1395 { "_class_wxRadioBox","_wxRadioBox",0},
1396 { "_signed_short","_WXTYPE",0},
1397 { "_signed_short","_short",0},
1398 { "_wxMemoryDC","_class_wxMemoryDC",0},
1399 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1400 { "_wxPaintDC","_class_wxPaintDC",0},
1401 { "_class_wxWindowDC","_wxWindowDC",0},
1402 { "_class_wxFocusEvent","_wxFocusEvent",0},
1403 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1404 { "_wxStatusBar","_class_wxStatusBar",0},
1405 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1406 { "_class_wxCursor","_wxCursor",0},
1407 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1408 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1409 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1410 { "_unsigned_char","_byte",0},
1411 { "_class_wxMenu","_wxMenu",0},
1412 { "_wxControl","_class_wxControl",0},
1413 { "_class_wxListBox","_wxListBox",0},
1414 { "_unsigned_int","_wxCoord",0},
1415 { "_unsigned_int","_wxPrintQuality",0},
1416 { "_unsigned_int","_time_t",0},
1417 { "_unsigned_int","_size_t",0},
1418 { "_unsigned_int","_uint",0},
1419 { "_unsigned_int","_wxWindowID",0},
1420 { "_unsigned_int","_int",0},
1421 { "_wxIcon","_class_wxIcon",0},
1422 { "_wxDialog","_class_wxDialog",0},
1423 { "_class_wxPen","_wxPen",0},
1424 { "_short","_WXTYPE",0},
1425 { "_short","_unsigned_short",0},
1426 { "_short","_signed_short",0},
1427 { "_class_wxStaticBox","_wxStaticBox",0},
1428 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1429 { "_class_wxPyDropSource","_wxPyDropSource",0},
1430 { "_class_wxScrollEvent","_wxScrollEvent",0},
1431 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1432 { "_class_wxChoice","_wxChoice",0},
1433 { "_class_wxSlider","_wxSlider",0},
1434 { "_class_wxImageList","_wxImageList",0},
1435 { "_class_wxBitmapButton","_wxBitmapButton",0},
1436 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1437 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1438 { "_wxFrame","_class_wxFrame",0},
1439 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1440 { "_wxWindowID","_wxCoord",0},
1441 { "_wxWindowID","_wxPrintQuality",0},
1442 { "_wxWindowID","_time_t",0},
1443 { "_wxWindowID","_size_t",0},
1444 { "_wxWindowID","_EBool",0},
1445 { "_wxWindowID","_uint",0},
1446 { "_wxWindowID","_int",0},
1447 { "_wxWindowID","_signed_int",0},
1448 { "_wxWindowID","_unsigned_int",0},
1449 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1450 { "_int","_wxCoord",0},
1451 { "_int","_wxPrintQuality",0},
1452 { "_int","_time_t",0},
1453 { "_int","_size_t",0},
1454 { "_int","_EBool",0},
1455 { "_int","_uint",0},
1456 { "_int","_wxWindowID",0},
1457 { "_int","_unsigned_int",0},
1458 { "_int","_signed_int",0},
1459 { "_class_wxMouseEvent","_wxMouseEvent",0},
1460 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1461 { "_class_wxSpinEvent","_wxSpinEvent",0},
1462 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1463 { "_time_t","_wxCoord",0},
1464 { "_time_t","_wxPrintQuality",0},
1465 { "_time_t","_unsigned_int",0},
1466 { "_time_t","_int",0},
1467 { "_time_t","_wxWindowID",0},
1468 { "_time_t","_uint",0},
1469 { "_time_t","_size_t",0},
1470 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1471 { "_wxButton","_class_wxButton",0},
1472 { "_wxSize","_class_wxSize",0},
1473 { "_wxRegionIterator","_class_wxRegionIterator",0},
1474 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1475 { "_class_wxPaintDC","_wxPaintDC",0},
1476 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1477 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1478 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1479 { "_class_wxComboBox","_wxComboBox",0},
1480 { "_class_wxRadioButton","_wxRadioButton",0},
1481 { "_wxValidator","_class_wxValidator",0},
1482 { "_wxToolBarBase","_class_wxToolBarBase",0},
1483 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1484 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1485 { "_class_wxControl","_wxControl",0},
1486 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1487 { "_class_wxIcon","_wxIcon",0},
1488 { "_class_wxColour","_wxColour",0},
1489 { "_class_wxScreenDC","_wxScreenDC",0},
1490 { "_wxPalette","_class_wxPalette",0},
1491 { "_class_wxIdleEvent","_wxIdleEvent",0},
1492 { "_wxCoord","_int",0},
1493 { "_wxCoord","_signed_int",0},
1494 { "_wxCoord","_unsigned_int",0},
1495 { "_wxCoord","_wxWindowID",0},
1496 { "_wxCoord","_uint",0},
1497 { "_wxCoord","_EBool",0},
1498 { "_wxCoord","_size_t",0},
1499 { "_wxCoord","_time_t",0},
1500 { "_wxCoord","_wxPrintQuality",0},
1501 { "_wxEraseEvent","_class_wxEraseEvent",0},
1502 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1503 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1504 { "_class_wxMiniFrame","_wxMiniFrame",0},
1505 { "_wxRegion","_class_wxRegion",0},
1506 { "_class_wxShowEvent","_wxShowEvent",0},
1507 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1508 { "_wxActivateEvent","_class_wxActivateEvent",0},
1509 { "_wxGauge","_class_wxGauge",0},
1510 { "_class_wxCheckListBox","_wxCheckListBox",0},
1511 { "_class_wxBusyInfo","_wxBusyInfo",0},
1512 { "_class_wxCommandEvent","_wxCommandEvent",0},
1513 { "_class_wxClientDC","_wxClientDC",0},
1514 { "_class_wxSizeEvent","_wxSizeEvent",0},
1515 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1516 { "_class_wxSize","_wxSize",0},
1517 { "_class_wxBitmap","_wxBitmap",0},
1518 { "_class_wxMemoryDC","_wxMemoryDC",0},
1519 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1520 { "_wxMenuBar","_class_wxMenuBar",0},
1521 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1522 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1523 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1524 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1525 { "_wxEvtHandler","_class_wxEvtHandler",0},
1526 { "_wxMenuItem","_class_wxMenuItem",0},
1527 { "_class_wxScrollBar","_wxScrollBar",0},
1528 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1529 { "_wxKeyEvent","_class_wxKeyEvent",0},
1530 { "_wxMoveEvent","_class_wxMoveEvent",0},
1531 { "_class_wxPalette","_wxPalette",0},
1532 { "_wxFileDataObject","_class_wxFileDataObject",0},
1533 { "_class_wxEraseEvent","_wxEraseEvent",0},
1534 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1535 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
1536 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1537 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1538 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1539 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1540 { "_wxWindow","_class_wxWindow",0},
1541 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1542 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1543 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1544 { "_class_wxFrame","_wxFrame",0},
1547 static PyObject
*SWIG_globals
;
1551 SWIGEXPORT(void) initframesc() {
1553 SWIG_globals
= SWIG_newvarlink();
1554 m
= Py_InitModule("framesc", framescMethods
);
1555 d
= PyModule_GetDict(m
);
1556 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
1557 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
1558 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
1559 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
1560 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
1561 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
1564 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1565 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);