2 * FILE : gtk/frames.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initframesc
54 #define SWIG_name "framesc"
57 #include <wx/minifram.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
110 static void *SwigwxFrameTowxWindow(void *ptr
) {
113 src
= (wxFrame
*) ptr
;
114 dest
= (wxWindow
*) src
;
115 return (void *) dest
;
118 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
121 src
= (wxFrame
*) ptr
;
122 dest
= (wxEvtHandler
*) src
;
123 return (void *) dest
;
126 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
127 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
133 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
134 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
135 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
136 char * _arg6
= (char *) "frame";
137 PyObject
* _argo0
= 0;
138 PyObject
* _obj2
= 0;
140 PyObject
* _obj3
= 0;
142 PyObject
* _obj4
= 0;
143 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
157 if (!PyString_Check(_obj2
)) {
158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
161 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
166 if (! wxPoint_helper(_obj3
, &_arg3
))
172 if (! wxSize_helper(_obj4
, &_arg4
))
176 wxPy_BEGIN_ALLOW_THREADS
;
177 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
179 wxPy_END_ALLOW_THREADS
;
181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
182 _resultobj
= Py_BuildValue("s",_ptemp
);
185 _resultobj
= Py_None
;
194 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
195 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
198 int _arg1
= (int ) wxBOTH
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self","direction", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_Centre",_kwnames
,&_argo0
,&_arg1
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 wxFrame_Centre(_arg0
,_arg1
);
216 wxPy_END_ALLOW_THREADS
;
217 } Py_INCREF(Py_None
);
218 _resultobj
= Py_None
;
222 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
223 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxStatusBar
* _result
;
227 int _arg1
= (int ) 1;
228 long _arg2
= (long ) wxST_SIZEGRIP
;
229 wxWindowID _arg3
= (wxWindowID
) -1;
230 char * _arg4
= (char *) "statusBar";
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
246 wxPy_BEGIN_ALLOW_THREADS
;
247 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
249 wxPy_END_ALLOW_THREADS
;
251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
252 _resultobj
= Py_BuildValue("s",_ptemp
);
255 _resultobj
= Py_None
;
260 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
261 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
265 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
|wxTB_FLAT
;
266 wxWindowID _arg2
= (wxWindowID
) -1;
267 char * _arg3
= (char *) "toolBar";
268 PyObject
* _argo0
= 0;
269 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
;
288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
289 _resultobj
= Py_BuildValue("s",_ptemp
);
292 _resultobj
= Py_None
;
297 #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon())
298 static PyObject
*_wrap_wxFrame_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetIcon",_kwnames
,&_argo0
))
310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p.");
317 wxPy_BEGIN_ALLOW_THREADS
;
318 const wxIcon
& _result_ref
= wxFrame_GetIcon(_arg0
);
319 _result
= (wxIcon
*) &_result_ref
;
321 wxPy_END_ALLOW_THREADS
;
323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
324 _resultobj
= Py_BuildValue("s",_ptemp
);
327 _resultobj
= Py_None
;
332 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
333 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 PyObject
* _argo0
= 0;
338 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
355 wxPy_END_ALLOW_THREADS
;
357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
358 _resultobj
= Py_BuildValue("s",_ptemp
);
361 _resultobj
= Py_None
;
366 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
367 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
369 wxStatusBar
* _result
;
371 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
389 wxPy_END_ALLOW_THREADS
;
391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
392 _resultobj
= Py_BuildValue("s",_ptemp
);
395 _resultobj
= Py_None
;
400 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
401 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 PyObject
* _argo0
= 0;
406 char *_kwnames
[] = { "self", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetTitle",_kwnames
,&_argo0
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 _result
= new wxString (wxFrame_GetTitle(_arg0
));
422 wxPy_END_ALLOW_THREADS
;
424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
432 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
433 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
455 wxPy_END_ALLOW_THREADS
;
457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
458 _resultobj
= Py_BuildValue("s",_ptemp
);
461 _resultobj
= Py_None
;
466 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
467 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
471 PyObject
* _argo0
= 0;
473 char *_kwnames
[] = { "self","iconize", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Iconize",_kwnames
,&_argo0
,&tempbool1
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
485 _arg1
= (bool ) tempbool1
;
487 wxPy_BEGIN_ALLOW_THREADS
;
488 wxFrame_Iconize(_arg0
,_arg1
);
490 wxPy_END_ALLOW_THREADS
;
491 } Py_INCREF(Py_None
);
492 _resultobj
= Py_None
;
496 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
497 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsIconized",_kwnames
,&_argo0
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= (bool )wxFrame_IsIconized(_arg0
);
518 wxPy_END_ALLOW_THREADS
;
519 } _resultobj
= Py_BuildValue("i",_result
);
523 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
524 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 PyObject
* _argo0
= 0;
530 char *_kwnames
[] = { "self","maximize", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
542 _arg1
= (bool ) tempbool1
;
544 wxPy_BEGIN_ALLOW_THREADS
;
545 wxFrame_Maximize(_arg0
,_arg1
);
547 wxPy_END_ALLOW_THREADS
;
548 } Py_INCREF(Py_None
);
549 _resultobj
= Py_None
;
553 #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized())
554 static PyObject
*_wrap_wxFrame_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsMaximized",_kwnames
,&_argo0
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p.");
572 wxPy_BEGIN_ALLOW_THREADS
;
573 _result
= (bool )wxFrame_IsMaximized(_arg0
);
575 wxPy_END_ALLOW_THREADS
;
576 } _resultobj
= Py_BuildValue("i",_result
);
580 #define wxFrame_Restore(_swigobj) (_swigobj->Restore())
581 static PyObject
*_wrap_wxFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
584 PyObject
* _argo0
= 0;
585 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_Restore",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p.");
598 wxPy_BEGIN_ALLOW_THREADS
;
599 wxFrame_Restore(_arg0
);
601 wxPy_END_ALLOW_THREADS
;
602 } Py_INCREF(Py_None
);
603 _resultobj
= Py_None
;
607 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
608 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxAcceleratorTable
* _arg1
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _argo1
= 0;
614 char *_kwnames
[] = { "self","accel", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
634 wxPy_BEGIN_ALLOW_THREADS
;
635 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
637 wxPy_END_ALLOW_THREADS
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
644 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 PyObject
* _argo0
= 0;
649 PyObject
* _argo1
= 0;
650 char *_kwnames
[] = { "self","icon", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetIcon",_kwnames
,&_argo0
,&_argo1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 wxFrame_SetIcon(_arg0
,*_arg1
);
673 wxPy_END_ALLOW_THREADS
;
674 } Py_INCREF(Py_None
);
675 _resultobj
= Py_None
;
679 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
680 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _argo1
= 0;
686 char *_kwnames
[] = { "self","menuBar", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
706 wxPy_BEGIN_ALLOW_THREADS
;
707 wxFrame_SetMenuBar(_arg0
,_arg1
);
709 wxPy_END_ALLOW_THREADS
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
716 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
721 PyObject
* _argo1
= 0;
722 char *_kwnames
[] = { "self","statusBar", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxFrame_SetStatusBar(_arg0
,_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 } Py_INCREF(Py_None
);
747 _resultobj
= Py_None
;
751 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
752 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
756 int _arg2
= (int ) 0;
757 PyObject
* _argo0
= 0;
758 PyObject
* _obj1
= 0;
759 char *_kwnames
[] = { "self","text","number", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
772 if (!PyString_Check(_obj1
)) {
773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
776 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
779 wxPy_BEGIN_ALLOW_THREADS
;
780 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
782 wxPy_END_ALLOW_THREADS
;
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 } Py_INCREF(Py_None
);
833 _resultobj
= Py_None
;
840 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
841 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
845 PyObject
* _argo0
= 0;
846 PyObject
* _obj1
= 0;
847 char *_kwnames
[] = { "self","title", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetTitle",_kwnames
,&_argo0
,&_obj1
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
860 if (!PyString_Check(_obj1
)) {
861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
864 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
867 wxPy_BEGIN_ALLOW_THREADS
;
868 wxFrame_SetTitle(_arg0
,*_arg1
);
870 wxPy_END_ALLOW_THREADS
;
871 } Py_INCREF(Py_None
);
872 _resultobj
= Py_None
;
880 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
881 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
885 PyObject
* _argo0
= 0;
886 PyObject
* _argo1
= 0;
887 char *_kwnames
[] = { "self","toolbar", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 wxFrame_SetToolBar(_arg0
,_arg1
);
910 wxPy_END_ALLOW_THREADS
;
911 } Py_INCREF(Py_None
);
912 _resultobj
= Py_None
;
916 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
917 static PyObject
*_wrap_wxFrame_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
920 bool _arg1
= (bool ) TRUE
;
921 PyObject
* _argo0
= 0;
922 int tempbool1
= (int) TRUE
;
923 char *_kwnames
[] = { "self","modal", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
935 _arg1
= (bool ) tempbool1
;
937 wxPy_BEGIN_ALLOW_THREADS
;
938 wxFrame_MakeModal(_arg0
,_arg1
);
940 wxPy_END_ALLOW_THREADS
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
947 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
966 wxPy_BEGIN_ALLOW_THREADS
;
967 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
969 wxPy_END_ALLOW_THREADS
;
970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
971 _resultobj
= Py_BuildValue("s",_ptemp
);
975 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
976 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self","id", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
998 wxPy_END_ALLOW_THREADS
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1004 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1009 PyObject
* _argo0
= 0;
1010 char *_kwnames
[] = { "self","id", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } _resultobj
= Py_BuildValue("i",_result
);
1031 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1034 src
= (wxMiniFrame
*) ptr
;
1035 dest
= (wxFrame
*) src
;
1036 return (void *) dest
;
1039 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1042 src
= (wxMiniFrame
*) ptr
;
1043 dest
= (wxWindow
*) src
;
1044 return (void *) dest
;
1047 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1050 src
= (wxMiniFrame
*) ptr
;
1051 dest
= (wxEvtHandler
*) src
;
1052 return (void *) dest
;
1055 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1056 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1058 wxMiniFrame
* _result
;
1062 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
1063 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
1064 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1065 char * _arg6
= (char *) "frame";
1066 PyObject
* _argo0
= 0;
1067 PyObject
* _obj2
= 0;
1069 PyObject
* _obj3
= 0;
1071 PyObject
* _obj4
= 0;
1072 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1086 if (!PyString_Check(_obj2
)) {
1087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1090 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1095 if (! wxPoint_helper(_obj3
, &_arg3
))
1101 if (! wxSize_helper(_obj4
, &_arg4
))
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1108 wxPy_END_ALLOW_THREADS
;
1110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1111 _resultobj
= Py_BuildValue("s",_ptemp
);
1114 _resultobj
= Py_None
;
1123 static PyMethodDef framescMethods
[] = {
1124 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
1125 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
1126 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
1127 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
1128 { "wxFrame_MakeModal", (PyCFunction
) _wrap_wxFrame_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
1129 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1130 { "wxFrame_SetTitle", (PyCFunction
) _wrap_wxFrame_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1131 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
1132 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
1133 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1134 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1135 { "wxFrame_SetIcon", (PyCFunction
) _wrap_wxFrame_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1136 { "wxFrame_SetAcceleratorTable", (PyCFunction
) _wrap_wxFrame_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
1137 { "wxFrame_Restore", (PyCFunction
) _wrap_wxFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1138 { "wxFrame_IsMaximized", (PyCFunction
) _wrap_wxFrame_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
1139 { "wxFrame_Maximize", (PyCFunction
) _wrap_wxFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1140 { "wxFrame_IsIconized", (PyCFunction
) _wrap_wxFrame_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
1141 { "wxFrame_Iconize", (PyCFunction
) _wrap_wxFrame_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
1142 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1143 { "wxFrame_GetTitle", (PyCFunction
) _wrap_wxFrame_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
1144 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1145 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1146 { "wxFrame_GetIcon", (PyCFunction
) _wrap_wxFrame_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
1147 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1148 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
1149 { "wxFrame_Centre", (PyCFunction
) _wrap_wxFrame_Centre
, METH_VARARGS
| METH_KEYWORDS
},
1150 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
1157 * This table is used by the pointer type-checker
1159 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1160 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1161 { "_wxEvent","_class_wxEvent",0},
1162 { "_class_wxActivateEvent","_wxActivateEvent",0},
1163 { "_signed_long","_long",0},
1164 { "_wxMenuEvent","_class_wxMenuEvent",0},
1165 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1166 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1167 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1168 { "_wxPrintQuality","_wxCoord",0},
1169 { "_wxPrintQuality","_int",0},
1170 { "_wxPrintQuality","_signed_int",0},
1171 { "_wxPrintQuality","_unsigned_int",0},
1172 { "_wxPrintQuality","_wxWindowID",0},
1173 { "_wxPrintQuality","_uint",0},
1174 { "_wxPrintQuality","_EBool",0},
1175 { "_wxPrintQuality","_size_t",0},
1176 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1177 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1178 { "_class_wxRegionIterator","_wxRegionIterator",0},
1179 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1180 { "_class_wxMenuBar","_wxMenuBar",0},
1181 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1182 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1183 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1184 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1185 { "_class_wxEvtHandler","_wxEvtHandler",0},
1186 { "_wxPaintEvent","_class_wxPaintEvent",0},
1187 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1188 { "_wxCursor","_class_wxCursor",0},
1189 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1190 { "_class_wxToolBarBase","_wxToolBarBase",0},
1191 { "_wxMask","_class_wxMask",0},
1192 { "_wxPen","_class_wxPen",0},
1193 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1194 { "_byte","_unsigned_char",0},
1195 { "_wxDataObject","_class_wxDataObject",0},
1196 { "_wxStaticBox","_class_wxStaticBox",0},
1197 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1198 { "_wxPyDropSource","_class_wxPyDropSource",0},
1199 { "_wxChoice","_class_wxChoice",0},
1200 { "_wxSlider","_class_wxSlider",0},
1201 { "_long","_unsigned_long",0},
1202 { "_long","_signed_long",0},
1203 { "_wxImageList","_class_wxImageList",0},
1204 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1205 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1206 { "_wxBitmapButton","_class_wxBitmapButton",0},
1207 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1208 { "_class_wxClipboard","_wxClipboard",0},
1209 { "_class_wxGauge","_wxGauge",0},
1210 { "_wxDC","_class_wxDC",0},
1211 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1212 { "_wxSpinEvent","_class_wxSpinEvent",0},
1213 { "_size_t","_wxCoord",0},
1214 { "_size_t","_wxPrintQuality",0},
1215 { "_size_t","_unsigned_int",0},
1216 { "_size_t","_int",0},
1217 { "_size_t","_wxWindowID",0},
1218 { "_size_t","_uint",0},
1219 { "_class_wxRealPoint","_wxRealPoint",0},
1220 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1221 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1222 { "_class_wxMenuItem","_wxMenuItem",0},
1223 { "_class_wxPaintEvent","_wxPaintEvent",0},
1224 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1225 { "_class_wxStatusBar","_wxStatusBar",0},
1226 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1227 { "_wxPanel","_class_wxPanel",0},
1228 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1229 { "_wxCheckBox","_class_wxCheckBox",0},
1230 { "_wxPyEvent","_class_wxPyEvent",0},
1231 { "_wxTextCtrl","_class_wxTextCtrl",0},
1232 { "_class_wxMask","_wxMask",0},
1233 { "_wxTextDataObject","_class_wxTextDataObject",0},
1234 { "_class_wxKeyEvent","_wxKeyEvent",0},
1235 { "_wxColour","_class_wxColour",0},
1236 { "_class_wxDialog","_wxDialog",0},
1237 { "_class_wxFileDataObject","_wxFileDataObject",0},
1238 { "_wxIdleEvent","_class_wxIdleEvent",0},
1239 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1240 { "_wxToolBar","_class_wxToolBar",0},
1241 { "_class_wxDataObject","_wxDataObject",0},
1242 { "_wxStaticLine","_class_wxStaticLine",0},
1243 { "_wxBrush","_class_wxBrush",0},
1244 { "_wxMiniFrame","_class_wxMiniFrame",0},
1245 { "_wxDataFormat","_class_wxDataFormat",0},
1246 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1247 { "_wxShowEvent","_class_wxShowEvent",0},
1248 { "_uint","_wxCoord",0},
1249 { "_uint","_wxPrintQuality",0},
1250 { "_uint","_size_t",0},
1251 { "_uint","_unsigned_int",0},
1252 { "_uint","_int",0},
1253 { "_uint","_wxWindowID",0},
1254 { "_wxChar","_char",0},
1255 { "_wxPyValidator","_class_wxPyValidator",0},
1256 { "_class_wxEvent","_wxEvent",0},
1257 { "_wxCheckListBox","_class_wxCheckListBox",0},
1258 { "_wxRect","_class_wxRect",0},
1259 { "_wxCommandEvent","_class_wxCommandEvent",0},
1260 { "_wxSizeEvent","_class_wxSizeEvent",0},
1261 { "_wxPoint","_class_wxPoint",0},
1262 { "_class_wxButton","_wxButton",0},
1263 { "_wxRadioBox","_class_wxRadioBox",0},
1264 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1265 { "_char","_wxChar",0},
1266 { "_wxBitmap","_class_wxBitmap",0},
1267 { "_wxWindowDC","_class_wxWindowDC",0},
1268 { "_wxTimerEvent","_class_wxTimerEvent",0},
1269 { "_wxScrollBar","_class_wxScrollBar",0},
1270 { "_wxSpinButton","_class_wxSpinButton",0},
1271 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1272 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1273 { "_class_wxValidator","_wxValidator",0},
1274 { "_class_wxPyEvent","_wxPyEvent",0},
1275 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1276 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1277 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
1278 { "_class_wxToolBar","_wxToolBar",0},
1279 { "_wxDropTarget","_class_wxDropTarget",0},
1280 { "_class_wxStaticLine","_wxStaticLine",0},
1281 { "_wxScrollEvent","_class_wxScrollEvent",0},
1282 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
1283 { "_EBool","_wxCoord",0},
1284 { "_EBool","_wxPrintQuality",0},
1285 { "_EBool","_signed_int",0},
1286 { "_EBool","_int",0},
1287 { "_EBool","_wxWindowID",0},
1288 { "_class_wxRegion","_wxRegion",0},
1289 { "_class_wxDataFormat","_wxDataFormat",0},
1290 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1291 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1292 { "_wxStaticText","_class_wxStaticText",0},
1293 { "_wxFont","_class_wxFont",0},
1294 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1295 { "_wxCloseEvent","_class_wxCloseEvent",0},
1296 { "_unsigned_long","_long",0},
1297 { "_class_wxRect","_wxRect",0},
1298 { "_class_wxDC","_wxDC",0},
1299 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1300 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1301 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1302 { "_wxFocusEvent","_class_wxFocusEvent",0},
1303 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1304 { "_class_wxTimerEvent","_wxTimerEvent",0},
1305 { "_class_wxSpinButton","_wxSpinButton",0},
1306 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1307 { "_class_wxPanel","_wxPanel",0},
1308 { "_class_wxCheckBox","_wxCheckBox",0},
1309 { "_wxComboBox","_class_wxComboBox",0},
1310 { "_wxRadioButton","_class_wxRadioButton",0},
1311 { "_signed_int","_wxCoord",0},
1312 { "_signed_int","_wxPrintQuality",0},
1313 { "_signed_int","_EBool",0},
1314 { "_signed_int","_wxWindowID",0},
1315 { "_signed_int","_int",0},
1316 { "_class_wxTextCtrl","_wxTextCtrl",0},
1317 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1318 { "_class_wxTextDataObject","_wxTextDataObject",0},
1319 { "_wxMenu","_class_wxMenu",0},
1320 { "_class_wxMoveEvent","_wxMoveEvent",0},
1321 { "_wxListBox","_class_wxListBox",0},
1322 { "_wxScreenDC","_class_wxScreenDC",0},
1323 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1324 { "_WXTYPE","_short",0},
1325 { "_WXTYPE","_signed_short",0},
1326 { "_WXTYPE","_unsigned_short",0},
1327 { "_class_wxDropTarget","_wxDropTarget",0},
1328 { "_class_wxBrush","_wxBrush",0},
1329 { "_unsigned_short","_WXTYPE",0},
1330 { "_unsigned_short","_short",0},
1331 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1332 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1333 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1334 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1335 { "_class_wxWindow","_wxWindow",0},
1336 { "_class_wxStaticText","_wxStaticText",0},
1337 { "_class_wxFont","_wxFont",0},
1338 { "_wxClipboard","_class_wxClipboard",0},
1339 { "_class_wxPyValidator","_wxPyValidator",0},
1340 { "_class_wxCloseEvent","_wxCloseEvent",0},
1341 { "_wxBusyInfo","_class_wxBusyInfo",0},
1342 { "_class_wxMenuEvent","_wxMenuEvent",0},
1343 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1344 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1345 { "_wxClientDC","_class_wxClientDC",0},
1346 { "_wxMouseEvent","_class_wxMouseEvent",0},
1347 { "_class_wxPoint","_wxPoint",0},
1348 { "_wxRealPoint","_class_wxRealPoint",0},
1349 { "_class_wxRadioBox","_wxRadioBox",0},
1350 { "_signed_short","_WXTYPE",0},
1351 { "_signed_short","_short",0},
1352 { "_wxMemoryDC","_class_wxMemoryDC",0},
1353 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1354 { "_wxPaintDC","_class_wxPaintDC",0},
1355 { "_class_wxWindowDC","_wxWindowDC",0},
1356 { "_class_wxFocusEvent","_wxFocusEvent",0},
1357 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1358 { "_wxStatusBar","_class_wxStatusBar",0},
1359 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1360 { "_class_wxCursor","_wxCursor",0},
1361 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1362 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1363 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1364 { "_unsigned_char","_byte",0},
1365 { "_class_wxMenu","_wxMenu",0},
1366 { "_wxControl","_class_wxControl",0},
1367 { "_class_wxListBox","_wxListBox",0},
1368 { "_unsigned_int","_wxCoord",0},
1369 { "_unsigned_int","_wxPrintQuality",0},
1370 { "_unsigned_int","_size_t",0},
1371 { "_unsigned_int","_uint",0},
1372 { "_unsigned_int","_wxWindowID",0},
1373 { "_unsigned_int","_int",0},
1374 { "_wxIcon","_class_wxIcon",0},
1375 { "_wxDialog","_class_wxDialog",0},
1376 { "_class_wxPen","_wxPen",0},
1377 { "_short","_WXTYPE",0},
1378 { "_short","_unsigned_short",0},
1379 { "_short","_signed_short",0},
1380 { "_class_wxStaticBox","_wxStaticBox",0},
1381 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1382 { "_class_wxPyDropSource","_wxPyDropSource",0},
1383 { "_class_wxScrollEvent","_wxScrollEvent",0},
1384 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1385 { "_class_wxChoice","_wxChoice",0},
1386 { "_class_wxSlider","_wxSlider",0},
1387 { "_class_wxImageList","_wxImageList",0},
1388 { "_class_wxBitmapButton","_wxBitmapButton",0},
1389 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1390 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1391 { "_wxFrame","_class_wxFrame",0},
1392 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1393 { "_wxWindowID","_wxCoord",0},
1394 { "_wxWindowID","_wxPrintQuality",0},
1395 { "_wxWindowID","_size_t",0},
1396 { "_wxWindowID","_EBool",0},
1397 { "_wxWindowID","_uint",0},
1398 { "_wxWindowID","_int",0},
1399 { "_wxWindowID","_signed_int",0},
1400 { "_wxWindowID","_unsigned_int",0},
1401 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1402 { "_int","_wxCoord",0},
1403 { "_int","_wxPrintQuality",0},
1404 { "_int","_size_t",0},
1405 { "_int","_EBool",0},
1406 { "_int","_uint",0},
1407 { "_int","_wxWindowID",0},
1408 { "_int","_unsigned_int",0},
1409 { "_int","_signed_int",0},
1410 { "_class_wxMouseEvent","_wxMouseEvent",0},
1411 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1412 { "_class_wxSpinEvent","_wxSpinEvent",0},
1413 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1414 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1415 { "_wxButton","_class_wxButton",0},
1416 { "_wxSize","_class_wxSize",0},
1417 { "_wxRegionIterator","_class_wxRegionIterator",0},
1418 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1419 { "_class_wxPaintDC","_wxPaintDC",0},
1420 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1421 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1422 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1423 { "_class_wxComboBox","_wxComboBox",0},
1424 { "_class_wxRadioButton","_wxRadioButton",0},
1425 { "_wxValidator","_class_wxValidator",0},
1426 { "_wxToolBarBase","_class_wxToolBarBase",0},
1427 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1428 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1429 { "_class_wxControl","_wxControl",0},
1430 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1431 { "_class_wxIcon","_wxIcon",0},
1432 { "_class_wxColour","_wxColour",0},
1433 { "_class_wxScreenDC","_wxScreenDC",0},
1434 { "_wxPalette","_class_wxPalette",0},
1435 { "_class_wxIdleEvent","_wxIdleEvent",0},
1436 { "_wxCoord","_int",0},
1437 { "_wxCoord","_signed_int",0},
1438 { "_wxCoord","_unsigned_int",0},
1439 { "_wxCoord","_wxWindowID",0},
1440 { "_wxCoord","_uint",0},
1441 { "_wxCoord","_EBool",0},
1442 { "_wxCoord","_size_t",0},
1443 { "_wxCoord","_wxPrintQuality",0},
1444 { "_wxEraseEvent","_class_wxEraseEvent",0},
1445 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1446 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1447 { "_class_wxMiniFrame","_wxMiniFrame",0},
1448 { "_wxRegion","_class_wxRegion",0},
1449 { "_class_wxShowEvent","_wxShowEvent",0},
1450 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1451 { "_wxActivateEvent","_class_wxActivateEvent",0},
1452 { "_wxGauge","_class_wxGauge",0},
1453 { "_class_wxCheckListBox","_wxCheckListBox",0},
1454 { "_class_wxBusyInfo","_wxBusyInfo",0},
1455 { "_class_wxCommandEvent","_wxCommandEvent",0},
1456 { "_class_wxClientDC","_wxClientDC",0},
1457 { "_class_wxSizeEvent","_wxSizeEvent",0},
1458 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1459 { "_class_wxSize","_wxSize",0},
1460 { "_class_wxBitmap","_wxBitmap",0},
1461 { "_class_wxMemoryDC","_wxMemoryDC",0},
1462 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1463 { "_wxMenuBar","_class_wxMenuBar",0},
1464 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1465 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
1466 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
1467 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
1468 { "_wxEvtHandler","_class_wxEvtHandler",0},
1469 { "_wxMenuItem","_class_wxMenuItem",0},
1470 { "_class_wxScrollBar","_wxScrollBar",0},
1471 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1472 { "_wxKeyEvent","_class_wxKeyEvent",0},
1473 { "_wxMoveEvent","_class_wxMoveEvent",0},
1474 { "_class_wxPalette","_wxPalette",0},
1475 { "_wxFileDataObject","_class_wxFileDataObject",0},
1476 { "_class_wxEraseEvent","_wxEraseEvent",0},
1477 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1478 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
1479 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1480 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
1481 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
1482 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
1483 { "_wxWindow","_class_wxWindow",0},
1484 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1485 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1486 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
1487 { "_class_wxFrame","_wxFrame",0},
1490 static PyObject
*SWIG_globals
;
1494 SWIGEXPORT(void) initframesc() {
1496 SWIG_globals
= SWIG_newvarlink();
1497 m
= Py_InitModule("framesc", framescMethods
);
1498 d
= PyModule_GetDict(m
);
1499 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
1500 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
1501 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
1502 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
1503 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
1504 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
1507 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1508 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);