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>
58 #include <wx/tipwin.h>
60 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 #if PYTHON_API_VERSION >= 1009
107 static char* wxStringErrorMsg
= "String or Unicode type required";
109 static char* wxStringErrorMsg
= "String type required";
114 static void *SwigwxTopLevelWindowTowxWindow(void *ptr
) {
115 wxTopLevelWindow
*src
;
117 src
= (wxTopLevelWindow
*) ptr
;
118 dest
= (wxWindow
*) src
;
119 return (void *) dest
;
122 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr
) {
123 wxTopLevelWindow
*src
;
125 src
= (wxTopLevelWindow
*) ptr
;
126 dest
= (wxEvtHandler
*) src
;
127 return (void *) dest
;
130 static void *SwigwxTopLevelWindowTowxObject(void *ptr
) {
131 wxTopLevelWindow
*src
;
133 src
= (wxTopLevelWindow
*) ptr
;
134 dest
= (wxObject
*) src
;
135 return (void *) dest
;
138 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
139 static PyObject
*_wrap_new_wxTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxTopLevelWindow
* _result
;
145 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
146 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
147 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
148 char * _arg6
= (char *) "frame";
149 PyObject
* _argo0
= 0;
150 PyObject
* _obj2
= 0;
152 PyObject
* _obj3
= 0;
154 PyObject
* _obj4
= 0;
155 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
169 #if PYTHON_API_VERSION >= 1009
170 char* tmpPtr
; int tmpSize
;
171 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
175 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
177 _arg2
= new wxString(tmpPtr
, tmpSize
);
179 if (!PyString_Check(_obj2
)) {
180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
183 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
189 if (! wxPoint_helper(_obj3
, &_arg3
))
195 if (! wxSize_helper(_obj4
, &_arg4
))
199 wxPy_BEGIN_ALLOW_THREADS
;
200 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
202 wxPy_END_ALLOW_THREADS
;
203 if (PyErr_Occurred()) return NULL
;
205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
206 _resultobj
= Py_BuildValue("s",_ptemp
);
209 _resultobj
= Py_None
;
218 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
219 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
221 wxTopLevelWindow
* _result
;
222 char *_kwnames
[] = { NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
232 wxPy_END_ALLOW_THREADS
;
233 if (PyErr_Occurred()) return NULL
;
235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
236 _resultobj
= Py_BuildValue("s",_ptemp
);
239 _resultobj
= Py_None
;
244 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
245 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 wxTopLevelWindow
* _arg0
;
252 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
253 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
254 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
255 char * _arg7
= (char *) "frame";
256 PyObject
* _argo0
= 0;
257 PyObject
* _argo1
= 0;
258 PyObject
* _obj3
= 0;
260 PyObject
* _obj4
= 0;
262 PyObject
* _obj5
= 0;
263 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
283 #if PYTHON_API_VERSION >= 1009
284 char* tmpPtr
; int tmpSize
;
285 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
289 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
291 _arg3
= new wxString(tmpPtr
, tmpSize
);
293 if (!PyString_Check(_obj3
)) {
294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
297 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
303 if (! wxPoint_helper(_obj4
, &_arg4
))
309 if (! wxSize_helper(_obj5
, &_arg5
))
313 wxPy_BEGIN_ALLOW_THREADS
;
314 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
316 wxPy_END_ALLOW_THREADS
;
317 if (PyErr_Occurred()) return NULL
;
318 } _resultobj
= Py_BuildValue("i",_result
);
326 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
327 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxTopLevelWindow
* _arg0
;
330 bool _arg1
= (bool ) TRUE
;
331 PyObject
* _argo0
= 0;
332 int tempbool1
= (int) TRUE
;
333 char *_kwnames
[] = { "self","maximize", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
345 _arg1
= (bool ) tempbool1
;
347 wxPy_BEGIN_ALLOW_THREADS
;
348 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
350 wxPy_END_ALLOW_THREADS
;
351 if (PyErr_Occurred()) return NULL
;
352 } Py_INCREF(Py_None
);
353 _resultobj
= Py_None
;
357 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
358 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
360 wxTopLevelWindow
* _arg0
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 wxTopLevelWindow_Restore(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
379 if (PyErr_Occurred()) return NULL
;
380 } Py_INCREF(Py_None
);
381 _resultobj
= Py_None
;
385 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
386 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
388 wxTopLevelWindow
* _arg0
;
389 bool _arg1
= (bool ) TRUE
;
390 PyObject
* _argo0
= 0;
391 int tempbool1
= (int) TRUE
;
392 char *_kwnames
[] = { "self","iconize", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
404 _arg1
= (bool ) tempbool1
;
406 wxPy_BEGIN_ALLOW_THREADS
;
407 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
409 wxPy_END_ALLOW_THREADS
;
410 if (PyErr_Occurred()) return NULL
;
411 } Py_INCREF(Py_None
);
412 _resultobj
= Py_None
;
416 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
417 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxTopLevelWindow
* _arg0
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
438 wxPy_END_ALLOW_THREADS
;
439 if (PyErr_Occurred()) return NULL
;
440 } _resultobj
= Py_BuildValue("i",_result
);
444 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
445 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
448 wxTopLevelWindow
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
466 wxPy_END_ALLOW_THREADS
;
467 if (PyErr_Occurred()) return NULL
;
468 } _resultobj
= Py_BuildValue("i",_result
);
472 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
473 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
476 wxTopLevelWindow
* _arg0
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 const wxIcon
& _result_ref
= wxTopLevelWindow_GetIcon(_arg0
);
494 _result
= (wxIcon
*) &_result_ref
;
496 wxPy_END_ALLOW_THREADS
;
497 if (PyErr_Occurred()) return NULL
;
499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
503 _resultobj
= Py_None
;
508 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
509 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxTopLevelWindow
* _arg0
;
513 PyObject
* _argo0
= 0;
514 PyObject
* _argo1
= 0;
515 char *_kwnames
[] = { "self","icon", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
538 wxPy_END_ALLOW_THREADS
;
539 if (PyErr_Occurred()) return NULL
;
540 } Py_INCREF(Py_None
);
541 _resultobj
= Py_None
;
545 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
546 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxTopLevelWindow
* _arg0
;
551 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
552 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self","show","style", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
566 _arg1
= (bool ) tempbool1
;
568 wxPy_BEGIN_ALLOW_THREADS
;
569 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
571 wxPy_END_ALLOW_THREADS
;
572 if (PyErr_Occurred()) return NULL
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
578 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 wxTopLevelWindow
* _arg0
;
582 PyObject
* _argo0
= 0;
583 char *_kwnames
[] = { "self", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 if (PyErr_Occurred()) return NULL
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
606 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
608 wxTopLevelWindow
* _arg0
;
610 PyObject
* _argo0
= 0;
611 PyObject
* _obj1
= 0;
612 char *_kwnames
[] = { "self","title", NULL
};
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
625 #if PYTHON_API_VERSION >= 1009
626 char* tmpPtr
; int tmpSize
;
627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
633 _arg1
= new wxString(tmpPtr
, tmpSize
);
635 if (!PyString_Check(_obj1
)) {
636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
643 wxPy_BEGIN_ALLOW_THREADS
;
644 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
646 wxPy_END_ALLOW_THREADS
;
647 if (PyErr_Occurred()) return NULL
;
648 } Py_INCREF(Py_None
);
649 _resultobj
= Py_None
;
657 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
658 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxTopLevelWindow
* _arg0
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
679 wxPy_END_ALLOW_THREADS
;
680 if (PyErr_Occurred()) return NULL
;
682 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
690 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
692 wxTopLevelWindow
*dest
;
693 src
= (wxFrame
*) ptr
;
694 dest
= (wxTopLevelWindow
*) src
;
695 return (void *) dest
;
698 static void *SwigwxFrameTowxWindow(void *ptr
) {
701 src
= (wxFrame
*) ptr
;
702 dest
= (wxWindow
*) src
;
703 return (void *) dest
;
706 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
709 src
= (wxFrame
*) ptr
;
710 dest
= (wxEvtHandler
*) src
;
711 return (void *) dest
;
714 static void *SwigwxFrameTowxObject(void *ptr
) {
717 src
= (wxFrame
*) ptr
;
718 dest
= (wxObject
*) src
;
719 return (void *) dest
;
722 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
723 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
729 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
730 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
731 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
732 char * _arg6
= (char *) "frame";
733 PyObject
* _argo0
= 0;
734 PyObject
* _obj2
= 0;
736 PyObject
* _obj3
= 0;
738 PyObject
* _obj4
= 0;
739 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
753 #if PYTHON_API_VERSION >= 1009
754 char* tmpPtr
; int tmpSize
;
755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
761 _arg2
= new wxString(tmpPtr
, tmpSize
);
763 if (!PyString_Check(_obj2
)) {
764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
773 if (! wxPoint_helper(_obj3
, &_arg3
))
779 if (! wxSize_helper(_obj4
, &_arg4
))
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
786 wxPy_END_ALLOW_THREADS
;
787 if (PyErr_Occurred()) return NULL
;
789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
790 _resultobj
= Py_BuildValue("s",_ptemp
);
793 _resultobj
= Py_None
;
802 #define new_wxPreFrame() (new wxFrame())
803 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
806 char *_kwnames
[] = { NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
813 wxPy_BEGIN_ALLOW_THREADS
;
814 _result
= (wxFrame
*)new_wxPreFrame();
816 wxPy_END_ALLOW_THREADS
;
817 if (PyErr_Occurred()) return NULL
;
819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
820 _resultobj
= Py_BuildValue("s",_ptemp
);
823 _resultobj
= Py_None
;
828 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
829 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
836 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
837 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
838 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
839 char * _arg7
= (char *) "frame";
840 PyObject
* _argo0
= 0;
841 PyObject
* _argo1
= 0;
842 PyObject
* _obj3
= 0;
844 PyObject
* _obj4
= 0;
846 PyObject
* _obj5
= 0;
847 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
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_Create. Expected _wxFrame_p.");
860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
867 #if PYTHON_API_VERSION >= 1009
868 char* tmpPtr
; int tmpSize
;
869 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
873 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
875 _arg3
= new wxString(tmpPtr
, tmpSize
);
877 if (!PyString_Check(_obj3
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
887 if (! wxPoint_helper(_obj4
, &_arg4
))
893 if (! wxSize_helper(_obj5
, &_arg5
))
897 wxPy_BEGIN_ALLOW_THREADS
;
898 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
900 wxPy_END_ALLOW_THREADS
;
901 if (PyErr_Occurred()) return NULL
;
902 } _resultobj
= Py_BuildValue("i",_result
);
910 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
911 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
930 wxPy_BEGIN_ALLOW_THREADS
;
931 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
933 wxPy_END_ALLOW_THREADS
;
934 if (PyErr_Occurred()) return NULL
;
935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
936 _resultobj
= Py_BuildValue("s",_ptemp
);
940 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
941 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
945 PyObject
* _argo0
= 0;
946 PyObject
* _argo1
= 0;
947 char *_kwnames
[] = { "self","menubar", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
967 wxPy_BEGIN_ALLOW_THREADS
;
968 wxFrame_SetMenuBar(_arg0
,_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 if (PyErr_Occurred()) return NULL
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
978 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
982 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
999 wxPy_END_ALLOW_THREADS
;
1000 if (PyErr_Occurred()) return NULL
;
1001 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1005 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
1006 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self","id", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1028 wxPy_END_ALLOW_THREADS
;
1029 if (PyErr_Occurred()) return NULL
;
1030 } _resultobj
= Py_BuildValue("i",_result
);
1034 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1035 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","id", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 if (PyErr_Occurred()) return NULL
;
1059 } _resultobj
= Py_BuildValue("i",_result
);
1063 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1064 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1066 wxStatusBar
* _result
;
1068 int _arg1
= (int ) 1;
1069 long _arg2
= (long ) wxST_SIZEGRIP
;
1070 wxWindowID _arg3
= (wxWindowID
) -1;
1071 char * _arg4
= (char *) "statusBar";
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1089 wxPy_END_ALLOW_THREADS
;
1090 if (PyErr_Occurred()) return NULL
;
1091 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1095 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1096 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1098 wxStatusBar
* _result
;
1100 PyObject
* _argo0
= 0;
1101 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1117 wxPy_END_ALLOW_THREADS
;
1118 if (PyErr_Occurred()) return NULL
;
1119 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1123 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1124 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1127 wxStatusBar
* _arg1
;
1128 PyObject
* _argo0
= 0;
1129 PyObject
* _argo1
= 0;
1130 char *_kwnames
[] = { "self","statBar", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 wxFrame_SetStatusBar(_arg0
,_arg1
);
1153 wxPy_END_ALLOW_THREADS
;
1154 if (PyErr_Occurred()) return NULL
;
1155 } Py_INCREF(Py_None
);
1156 _resultobj
= Py_None
;
1160 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1161 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1165 int _arg2
= (int ) 0;
1166 PyObject
* _argo0
= 0;
1167 PyObject
* _obj1
= 0;
1168 char *_kwnames
[] = { "self","text","number", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1181 #if PYTHON_API_VERSION >= 1009
1182 char* tmpPtr
; int tmpSize
;
1183 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1187 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1189 _arg1
= new wxString(tmpPtr
, tmpSize
);
1191 if (!PyString_Check(_obj1
)) {
1192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1195 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1202 wxPy_END_ALLOW_THREADS
;
1203 if (PyErr_Occurred()) return NULL
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1213 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1214 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1219 PyObject
* _argo0
= 0;
1220 PyObject
* _obj2
= 0;
1221 char *_kwnames
[] = { "self","choices", NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1235 _arg2
= int_LIST_helper(_obj2
);
1236 if (_arg2
== NULL
) {
1242 _arg1
= PyList_Size(_obj2
);
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1252 wxPy_END_ALLOW_THREADS
;
1253 if (PyErr_Occurred()) return NULL
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1262 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1263 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1265 wxToolBar
* _result
;
1267 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1268 wxWindowID _arg2
= (wxWindowID
) -1;
1269 char * _arg3
= (char *) "toolBar";
1270 PyObject
* _argo0
= 0;
1271 char *_kwnames
[] = { "self","style","id","name", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1287 wxPy_END_ALLOW_THREADS
;
1288 if (PyErr_Occurred()) return NULL
;
1289 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1293 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1294 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1296 wxToolBar
* _result
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1315 wxPy_END_ALLOW_THREADS
;
1316 if (PyErr_Occurred()) return NULL
;
1317 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1321 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1322 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1326 PyObject
* _argo0
= 0;
1327 PyObject
* _argo1
= 0;
1328 char *_kwnames
[] = { "self","toolbar", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 wxFrame_SetToolBar(_arg0
,_arg1
);
1351 wxPy_END_ALLOW_THREADS
;
1352 if (PyErr_Occurred()) return NULL
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1358 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1360 wxTopLevelWindow
*dest
;
1361 src
= (wxDialog
*) ptr
;
1362 dest
= (wxTopLevelWindow
*) src
;
1363 return (void *) dest
;
1366 static void *SwigwxDialogTowxWindow(void *ptr
) {
1369 src
= (wxDialog
*) ptr
;
1370 dest
= (wxWindow
*) src
;
1371 return (void *) dest
;
1374 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1377 src
= (wxDialog
*) ptr
;
1378 dest
= (wxEvtHandler
*) src
;
1379 return (void *) dest
;
1382 static void *SwigwxDialogTowxObject(void *ptr
) {
1385 src
= (wxDialog
*) ptr
;
1386 dest
= (wxObject
*) src
;
1387 return (void *) dest
;
1390 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1391 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1397 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1398 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1399 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1400 char * _arg6
= (char *) "dialogBox";
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _obj2
= 0;
1404 PyObject
* _obj3
= 0;
1406 PyObject
* _obj4
= 0;
1407 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1421 #if PYTHON_API_VERSION >= 1009
1422 char* tmpPtr
; int tmpSize
;
1423 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1427 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1429 _arg2
= new wxString(tmpPtr
, tmpSize
);
1431 if (!PyString_Check(_obj2
)) {
1432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1435 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1441 if (! wxPoint_helper(_obj3
, &_arg3
))
1447 if (! wxSize_helper(_obj4
, &_arg4
))
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1454 wxPy_END_ALLOW_THREADS
;
1455 if (PyErr_Occurred()) return NULL
;
1457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1458 _resultobj
= Py_BuildValue("s",_ptemp
);
1461 _resultobj
= Py_None
;
1470 #define new_wxPreDialog() (new wxDialog())
1471 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1474 char *_kwnames
[] = { NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 _result
= (wxDialog
*)new_wxPreDialog();
1484 wxPy_END_ALLOW_THREADS
;
1485 if (PyErr_Occurred()) return NULL
;
1487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1488 _resultobj
= Py_BuildValue("s",_ptemp
);
1491 _resultobj
= Py_None
;
1496 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1497 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1504 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1505 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1506 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1507 char * _arg7
= (char *) "dialogBox";
1508 PyObject
* _argo0
= 0;
1509 PyObject
* _argo1
= 0;
1510 PyObject
* _obj3
= 0;
1512 PyObject
* _obj4
= 0;
1514 PyObject
* _obj5
= 0;
1515 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1535 #if PYTHON_API_VERSION >= 1009
1536 char* tmpPtr
; int tmpSize
;
1537 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1541 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1543 _arg3
= new wxString(tmpPtr
, tmpSize
);
1545 if (!PyString_Check(_obj3
)) {
1546 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1549 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1555 if (! wxPoint_helper(_obj4
, &_arg4
))
1561 if (! wxSize_helper(_obj5
, &_arg5
))
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1568 wxPy_END_ALLOW_THREADS
;
1569 if (PyErr_Occurred()) return NULL
;
1570 } _resultobj
= Py_BuildValue("i",_result
);
1578 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1579 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1582 int _arg1
= (int ) wxBOTH
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","direction", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxDialog_Centre(_arg0
,_arg1
);
1600 wxPy_END_ALLOW_THREADS
;
1601 if (PyErr_Occurred()) return NULL
;
1602 } Py_INCREF(Py_None
);
1603 _resultobj
= Py_None
;
1607 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1608 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self","retCode", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 wxDialog_EndModal(_arg0
,_arg1
);
1629 wxPy_END_ALLOW_THREADS
;
1630 if (PyErr_Occurred()) return NULL
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1637 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1641 PyObject
* _argo0
= 0;
1643 char *_kwnames
[] = { "self","flag", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1655 _arg1
= (bool ) tempbool1
;
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 wxDialog_SetModal(_arg0
,_arg1
);
1660 wxPy_END_ALLOW_THREADS
;
1661 if (PyErr_Occurred()) return NULL
;
1662 } Py_INCREF(Py_None
);
1663 _resultobj
= Py_None
;
1667 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1668 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 _result
= (bool )wxDialog_IsModal(_arg0
);
1689 wxPy_END_ALLOW_THREADS
;
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1695 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1696 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1700 PyObject
* _argo0
= 0;
1701 char *_kwnames
[] = { "self", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= (int )wxDialog_ShowModal(_arg0
);
1717 wxPy_END_ALLOW_THREADS
;
1718 if (PyErr_Occurred()) return NULL
;
1719 } _resultobj
= Py_BuildValue("i",_result
);
1723 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1724 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1728 PyObject
* _argo0
= 0;
1729 char *_kwnames
[] = { "self", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1745 wxPy_END_ALLOW_THREADS
;
1746 if (PyErr_Occurred()) return NULL
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1752 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self","retCode", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 wxDialog_SetReturnCode(_arg0
,_arg1
);
1773 wxPy_END_ALLOW_THREADS
;
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1781 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1786 PyObject
* _argo0
= 0;
1787 PyObject
* _obj1
= 0;
1788 char *_kwnames
[] = { "self","message", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1801 #if PYTHON_API_VERSION >= 1009
1802 char* tmpPtr
; int tmpSize
;
1803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1809 _arg1
= new wxString(tmpPtr
, tmpSize
);
1811 if (!PyString_Check(_obj1
)) {
1812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1822 wxPy_END_ALLOW_THREADS
;
1823 if (PyErr_Occurred()) return NULL
;
1824 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1832 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1833 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self","flags", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1855 wxPy_END_ALLOW_THREADS
;
1856 if (PyErr_Occurred()) return NULL
;
1857 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1861 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1864 src
= (wxMiniFrame
*) ptr
;
1865 dest
= (wxFrame
*) src
;
1866 return (void *) dest
;
1869 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1871 wxTopLevelWindow
*dest
;
1872 src
= (wxMiniFrame
*) ptr
;
1873 dest
= (wxTopLevelWindow
*) src
;
1874 return (void *) dest
;
1877 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1880 src
= (wxMiniFrame
*) ptr
;
1881 dest
= (wxWindow
*) src
;
1882 return (void *) dest
;
1885 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1888 src
= (wxMiniFrame
*) ptr
;
1889 dest
= (wxEvtHandler
*) src
;
1890 return (void *) dest
;
1893 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1896 src
= (wxMiniFrame
*) ptr
;
1897 dest
= (wxObject
*) src
;
1898 return (void *) dest
;
1901 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1902 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxMiniFrame
* _result
;
1908 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1909 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1910 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1911 char * _arg6
= (char *) "frame";
1912 PyObject
* _argo0
= 0;
1913 PyObject
* _obj2
= 0;
1915 PyObject
* _obj3
= 0;
1917 PyObject
* _obj4
= 0;
1918 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1932 #if PYTHON_API_VERSION >= 1009
1933 char* tmpPtr
; int tmpSize
;
1934 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1938 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1940 _arg2
= new wxString(tmpPtr
, tmpSize
);
1942 if (!PyString_Check(_obj2
)) {
1943 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1946 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1952 if (! wxPoint_helper(_obj3
, &_arg3
))
1958 if (! wxSize_helper(_obj4
, &_arg4
))
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1965 wxPy_END_ALLOW_THREADS
;
1966 if (PyErr_Occurred()) return NULL
;
1968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1969 _resultobj
= Py_BuildValue("s",_ptemp
);
1972 _resultobj
= Py_None
;
1981 #define new_wxPreMiniFrame() (new wxMiniFrame())
1982 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1984 wxMiniFrame
* _result
;
1985 char *_kwnames
[] = { NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1995 wxPy_END_ALLOW_THREADS
;
1996 if (PyErr_Occurred()) return NULL
;
1998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1999 _resultobj
= Py_BuildValue("s",_ptemp
);
2002 _resultobj
= Py_None
;
2007 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2008 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2011 wxMiniFrame
* _arg0
;
2015 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2016 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2017 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2018 char * _arg7
= (char *) "frame";
2019 PyObject
* _argo0
= 0;
2020 PyObject
* _argo1
= 0;
2021 PyObject
* _obj3
= 0;
2023 PyObject
* _obj4
= 0;
2025 PyObject
* _obj5
= 0;
2026 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2046 #if PYTHON_API_VERSION >= 1009
2047 char* tmpPtr
; int tmpSize
;
2048 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2052 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2054 _arg3
= new wxString(tmpPtr
, tmpSize
);
2056 if (!PyString_Check(_obj3
)) {
2057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2060 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2066 if (! wxPoint_helper(_obj4
, &_arg4
))
2072 if (! wxSize_helper(_obj5
, &_arg5
))
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
2079 wxPy_END_ALLOW_THREADS
;
2080 if (PyErr_Occurred()) return NULL
;
2081 } _resultobj
= Py_BuildValue("i",_result
);
2089 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2092 src
= (wxTipWindow
*) ptr
;
2093 dest
= (wxFrame
*) src
;
2094 return (void *) dest
;
2097 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2099 wxTopLevelWindow
*dest
;
2100 src
= (wxTipWindow
*) ptr
;
2101 dest
= (wxTopLevelWindow
*) src
;
2102 return (void *) dest
;
2105 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2108 src
= (wxTipWindow
*) ptr
;
2109 dest
= (wxWindow
*) src
;
2110 return (void *) dest
;
2113 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2116 src
= (wxTipWindow
*) ptr
;
2117 dest
= (wxEvtHandler
*) src
;
2118 return (void *) dest
;
2121 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2124 src
= (wxTipWindow
*) ptr
;
2125 dest
= (wxObject
*) src
;
2126 return (void *) dest
;
2129 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
2130 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2132 wxTipWindow
* _result
;
2135 wxCoord _arg2
= (wxCoord
) 100;
2136 PyObject
* _argo0
= 0;
2137 PyObject
* _obj1
= 0;
2138 char *_kwnames
[] = { "parent","text","maxLength", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2152 #if PYTHON_API_VERSION >= 1009
2153 char* tmpPtr
; int tmpSize
;
2154 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2158 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2160 _arg1
= new wxString(tmpPtr
, tmpSize
);
2162 if (!PyString_Check(_obj1
)) {
2163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2166 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,*_arg1
,_arg2
);
2173 wxPy_END_ALLOW_THREADS
;
2174 if (PyErr_Occurred()) return NULL
;
2176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2177 _resultobj
= Py_BuildValue("s",_ptemp
);
2180 _resultobj
= Py_None
;
2189 static PyMethodDef framescMethods
[] = {
2190 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2197 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2198 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2199 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2200 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2201 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2202 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2203 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2204 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2205 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2206 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2207 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2208 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2209 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2210 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2211 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2212 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2213 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2214 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2215 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2216 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2217 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2218 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2219 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2220 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2221 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2222 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2223 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2224 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2225 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2226 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2227 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2228 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2229 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2230 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2231 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2232 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2233 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2234 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2235 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2242 * This table is used by the pointer type-checker
2244 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2245 { "_signed_long","_long",0},
2246 { "_wxPrintQuality","_wxCoord",0},
2247 { "_wxPrintQuality","_int",0},
2248 { "_wxPrintQuality","_signed_int",0},
2249 { "_wxPrintQuality","_unsigned_int",0},
2250 { "_wxPrintQuality","_wxWindowID",0},
2251 { "_wxPrintQuality","_uint",0},
2252 { "_wxPrintQuality","_EBool",0},
2253 { "_wxPrintQuality","_size_t",0},
2254 { "_wxPrintQuality","_time_t",0},
2255 { "_class_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2256 { "_class_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2257 { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2258 { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2259 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
2260 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2261 { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
2262 { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2263 { "_class_wxEvtHandler","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2264 { "_class_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2265 { "_byte","_unsigned_char",0},
2266 { "_long","_unsigned_long",0},
2267 { "_long","_signed_long",0},
2268 { "_class_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject
},
2269 { "_class_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2270 { "_class_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2271 { "_class_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2272 { "_class_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
2273 { "_class_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2274 { "_class_wxObject","_class_wxFrame",SwigwxFrameTowxObject
},
2275 { "_class_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2276 { "_class_wxObject","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2277 { "_class_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2278 { "_size_t","_wxCoord",0},
2279 { "_size_t","_wxPrintQuality",0},
2280 { "_size_t","_time_t",0},
2281 { "_size_t","_unsigned_int",0},
2282 { "_size_t","_int",0},
2283 { "_size_t","_wxWindowID",0},
2284 { "_size_t","_uint",0},
2285 { "_wxTopLevelWindow","_class_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2286 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2287 { "_wxTopLevelWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2288 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2289 { "_wxTopLevelWindow","_class_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2290 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2291 { "_wxTopLevelWindow","_class_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2292 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2293 { "_uint","_wxCoord",0},
2294 { "_uint","_wxPrintQuality",0},
2295 { "_uint","_time_t",0},
2296 { "_uint","_size_t",0},
2297 { "_uint","_unsigned_int",0},
2298 { "_uint","_int",0},
2299 { "_uint","_wxWindowID",0},
2300 { "_wxChar","_char",0},
2301 { "_char","_wxChar",0},
2302 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2303 { "_EBool","_wxCoord",0},
2304 { "_EBool","_wxPrintQuality",0},
2305 { "_EBool","_signed_int",0},
2306 { "_EBool","_int",0},
2307 { "_EBool","_wxWindowID",0},
2308 { "_unsigned_long","_long",0},
2309 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2310 { "_signed_int","_wxCoord",0},
2311 { "_signed_int","_wxPrintQuality",0},
2312 { "_signed_int","_EBool",0},
2313 { "_signed_int","_wxWindowID",0},
2314 { "_signed_int","_int",0},
2315 { "_class_wxTopLevelWindow","_class_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2316 { "_class_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2317 { "_class_wxTopLevelWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2318 { "_class_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2319 { "_class_wxTopLevelWindow","_class_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2320 { "_class_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2321 { "_class_wxTopLevelWindow","_class_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2322 { "_class_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2323 { "_WXTYPE","_short",0},
2324 { "_WXTYPE","_signed_short",0},
2325 { "_WXTYPE","_unsigned_short",0},
2326 { "_unsigned_short","_WXTYPE",0},
2327 { "_unsigned_short","_short",0},
2328 { "_class_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow
},
2329 { "_class_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2330 { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2331 { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2332 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
2333 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2334 { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
2335 { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2336 { "_class_wxWindow","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2337 { "_class_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2338 { "_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject
},
2339 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2340 { "_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2341 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2342 { "_wxObject","_class_wxDialog",SwigwxDialogTowxObject
},
2343 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2344 { "_wxObject","_class_wxFrame",SwigwxFrameTowxObject
},
2345 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2346 { "_wxObject","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2347 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2348 { "_signed_short","_WXTYPE",0},
2349 { "_signed_short","_short",0},
2350 { "_unsigned_char","_byte",0},
2351 { "_unsigned_int","_wxCoord",0},
2352 { "_unsigned_int","_wxPrintQuality",0},
2353 { "_unsigned_int","_time_t",0},
2354 { "_unsigned_int","_size_t",0},
2355 { "_unsigned_int","_uint",0},
2356 { "_unsigned_int","_wxWindowID",0},
2357 { "_unsigned_int","_int",0},
2358 { "_short","_WXTYPE",0},
2359 { "_short","_unsigned_short",0},
2360 { "_short","_signed_short",0},
2361 { "_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame
},
2362 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2363 { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2364 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2365 { "_wxWindowID","_wxCoord",0},
2366 { "_wxWindowID","_wxPrintQuality",0},
2367 { "_wxWindowID","_time_t",0},
2368 { "_wxWindowID","_size_t",0},
2369 { "_wxWindowID","_EBool",0},
2370 { "_wxWindowID","_uint",0},
2371 { "_wxWindowID","_int",0},
2372 { "_wxWindowID","_signed_int",0},
2373 { "_wxWindowID","_unsigned_int",0},
2374 { "_int","_wxCoord",0},
2375 { "_int","_wxPrintQuality",0},
2376 { "_int","_time_t",0},
2377 { "_int","_size_t",0},
2378 { "_int","_EBool",0},
2379 { "_int","_uint",0},
2380 { "_int","_wxWindowID",0},
2381 { "_int","_unsigned_int",0},
2382 { "_int","_signed_int",0},
2383 { "_time_t","_wxCoord",0},
2384 { "_time_t","_wxPrintQuality",0},
2385 { "_time_t","_unsigned_int",0},
2386 { "_time_t","_int",0},
2387 { "_time_t","_wxWindowID",0},
2388 { "_time_t","_uint",0},
2389 { "_time_t","_size_t",0},
2390 { "_wxCoord","_int",0},
2391 { "_wxCoord","_signed_int",0},
2392 { "_wxCoord","_unsigned_int",0},
2393 { "_wxCoord","_wxWindowID",0},
2394 { "_wxCoord","_uint",0},
2395 { "_wxCoord","_EBool",0},
2396 { "_wxCoord","_size_t",0},
2397 { "_wxCoord","_time_t",0},
2398 { "_wxCoord","_wxPrintQuality",0},
2399 { "_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2400 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2401 { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2402 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2403 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
2404 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2405 { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
},
2406 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2407 { "_wxEvtHandler","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2408 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2409 { "_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow
},
2410 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2411 { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2412 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2413 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
2414 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2415 { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
},
2416 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2417 { "_wxWindow","_class_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2418 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2419 { "_class_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame
},
2420 { "_class_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2421 { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2422 { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2425 static PyObject
*SWIG_globals
;
2429 SWIGEXPORT(void) initframesc() {
2431 SWIG_globals
= SWIG_newvarlink();
2432 m
= Py_InitModule("framesc", framescMethods
);
2433 d
= PyModule_GetDict(m
);
2434 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2435 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2436 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2437 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2438 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2439 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2440 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2443 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2444 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);