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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initframesc
56 #define SWIG_name "framesc"
59 #include <wx/minifram.h>
60 #include <wx/tipwin.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "String type required";
97 static void *SwigwxTopLevelWindowTowxWindow(void *ptr
) {
98 wxTopLevelWindow
*src
;
100 src
= (wxTopLevelWindow
*) ptr
;
101 dest
= (wxWindow
*) src
;
102 return (void *) dest
;
105 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr
) {
106 wxTopLevelWindow
*src
;
108 src
= (wxTopLevelWindow
*) ptr
;
109 dest
= (wxEvtHandler
*) src
;
110 return (void *) dest
;
113 static void *SwigwxTopLevelWindowTowxObject(void *ptr
) {
114 wxTopLevelWindow
*src
;
116 src
= (wxTopLevelWindow
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
122 static PyObject
*_wrap_new_wxTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
124 wxTopLevelWindow
* _result
;
128 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
129 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
130 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
131 char * _arg6
= (char *) "frame";
132 PyObject
* _argo0
= 0;
133 PyObject
* _obj2
= 0;
135 PyObject
* _obj3
= 0;
137 PyObject
* _obj4
= 0;
138 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
152 #if PYTHON_API_VERSION >= 1009
153 char* tmpPtr
; int tmpSize
;
154 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
158 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
160 _arg2
= new wxString(tmpPtr
, tmpSize
);
162 if (!PyString_Check(_obj2
)) {
163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
166 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
172 if (! wxPoint_helper(_obj3
, &_arg3
))
178 if (! wxSize_helper(_obj4
, &_arg4
))
182 wxPy_BEGIN_ALLOW_THREADS
;
183 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
185 wxPy_END_ALLOW_THREADS
;
186 if (PyErr_Occurred()) return NULL
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
201 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
202 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
204 wxTopLevelWindow
* _result
;
205 char *_kwnames
[] = { NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
215 wxPy_END_ALLOW_THREADS
;
216 if (PyErr_Occurred()) return NULL
;
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
222 _resultobj
= Py_None
;
227 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
228 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
231 wxTopLevelWindow
* _arg0
;
235 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
236 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
237 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
238 char * _arg7
= (char *) "frame";
239 PyObject
* _argo0
= 0;
240 PyObject
* _argo1
= 0;
241 PyObject
* _obj3
= 0;
243 PyObject
* _obj4
= 0;
245 PyObject
* _obj5
= 0;
246 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
266 #if PYTHON_API_VERSION >= 1009
267 char* tmpPtr
; int tmpSize
;
268 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
272 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
274 _arg3
= new wxString(tmpPtr
, tmpSize
);
276 if (!PyString_Check(_obj3
)) {
277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
280 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
286 if (! wxPoint_helper(_obj4
, &_arg4
))
292 if (! wxSize_helper(_obj5
, &_arg5
))
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
299 wxPy_END_ALLOW_THREADS
;
300 if (PyErr_Occurred()) return NULL
;
301 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
310 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxTopLevelWindow
* _arg0
;
313 bool _arg1
= (bool ) TRUE
;
314 PyObject
* _argo0
= 0;
315 int tempbool1
= (int) TRUE
;
316 char *_kwnames
[] = { "self","maximize", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
328 _arg1
= (bool ) tempbool1
;
330 wxPy_BEGIN_ALLOW_THREADS
;
331 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
333 wxPy_END_ALLOW_THREADS
;
334 if (PyErr_Occurred()) return NULL
;
335 } Py_INCREF(Py_None
);
336 _resultobj
= Py_None
;
340 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
341 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 PyObject
* _resultobj
;
343 wxTopLevelWindow
* _arg0
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
358 wxPy_BEGIN_ALLOW_THREADS
;
359 wxTopLevelWindow_Restore(_arg0
);
361 wxPy_END_ALLOW_THREADS
;
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
369 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxTopLevelWindow
* _arg0
;
372 bool _arg1
= (bool ) TRUE
;
373 PyObject
* _argo0
= 0;
374 int tempbool1
= (int) TRUE
;
375 char *_kwnames
[] = { "self","iconize", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
387 _arg1
= (bool ) tempbool1
;
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
392 wxPy_END_ALLOW_THREADS
;
393 if (PyErr_Occurred()) return NULL
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
399 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
400 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxTopLevelWindow
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
428 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
431 wxTopLevelWindow
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 if (PyErr_Occurred()) return NULL
;
451 } _resultobj
= Py_BuildValue("i",_result
);
455 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
456 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 wxTopLevelWindow
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 _result
= new wxIcon (wxTopLevelWindow_GetIcon(_arg0
));
478 wxPy_END_ALLOW_THREADS
;
479 if (PyErr_Occurred()) return NULL
;
480 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
481 _resultobj
= Py_BuildValue("s",_ptemp
);
485 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
486 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
488 wxTopLevelWindow
* _arg0
;
490 PyObject
* _argo0
= 0;
491 PyObject
* _argo1
= 0;
492 char *_kwnames
[] = { "self","icon", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
512 wxPy_BEGIN_ALLOW_THREADS
;
513 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
515 wxPy_END_ALLOW_THREADS
;
516 if (PyErr_Occurred()) return NULL
;
517 } Py_INCREF(Py_None
);
518 _resultobj
= Py_None
;
522 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
523 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
526 wxTopLevelWindow
* _arg0
;
528 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
529 PyObject
* _argo0
= 0;
531 char *_kwnames
[] = { "self","show","style", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
543 _arg1
= (bool ) tempbool1
;
545 wxPy_BEGIN_ALLOW_THREADS
;
546 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
548 wxPy_END_ALLOW_THREADS
;
549 if (PyErr_Occurred()) return NULL
;
550 } _resultobj
= Py_BuildValue("i",_result
);
554 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
555 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
558 wxTopLevelWindow
* _arg0
;
559 PyObject
* _argo0
= 0;
560 char *_kwnames
[] = { "self", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
578 } _resultobj
= Py_BuildValue("i",_result
);
582 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
583 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
585 wxTopLevelWindow
* _arg0
;
587 PyObject
* _argo0
= 0;
588 PyObject
* _obj1
= 0;
589 char *_kwnames
[] = { "self","title", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
602 #if PYTHON_API_VERSION >= 1009
603 char* tmpPtr
; int tmpSize
;
604 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
608 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
610 _arg1
= new wxString(tmpPtr
, tmpSize
);
612 if (!PyString_Check(_obj1
)) {
613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
616 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
620 wxPy_BEGIN_ALLOW_THREADS
;
621 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
623 wxPy_END_ALLOW_THREADS
;
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
634 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
635 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxTopLevelWindow
* _arg0
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
656 wxPy_END_ALLOW_THREADS
;
657 if (PyErr_Occurred()) return NULL
;
659 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
667 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
669 wxTopLevelWindow
*dest
;
670 src
= (wxFrame
*) ptr
;
671 dest
= (wxTopLevelWindow
*) src
;
672 return (void *) dest
;
675 static void *SwigwxFrameTowxWindow(void *ptr
) {
678 src
= (wxFrame
*) ptr
;
679 dest
= (wxWindow
*) src
;
680 return (void *) dest
;
683 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
686 src
= (wxFrame
*) ptr
;
687 dest
= (wxEvtHandler
*) src
;
688 return (void *) dest
;
691 static void *SwigwxFrameTowxObject(void *ptr
) {
694 src
= (wxFrame
*) ptr
;
695 dest
= (wxObject
*) src
;
696 return (void *) dest
;
699 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
700 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
706 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
707 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
708 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
709 char * _arg6
= (char *) "frame";
710 PyObject
* _argo0
= 0;
711 PyObject
* _obj2
= 0;
713 PyObject
* _obj3
= 0;
715 PyObject
* _obj4
= 0;
716 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
730 #if PYTHON_API_VERSION >= 1009
731 char* tmpPtr
; int tmpSize
;
732 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
736 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
738 _arg2
= new wxString(tmpPtr
, tmpSize
);
740 if (!PyString_Check(_obj2
)) {
741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
744 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
750 if (! wxPoint_helper(_obj3
, &_arg3
))
756 if (! wxSize_helper(_obj4
, &_arg4
))
760 wxPy_BEGIN_ALLOW_THREADS
;
761 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
763 wxPy_END_ALLOW_THREADS
;
764 if (PyErr_Occurred()) return NULL
;
766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
767 _resultobj
= Py_BuildValue("s",_ptemp
);
770 _resultobj
= Py_None
;
779 #define new_wxPreFrame() (new wxFrame())
780 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 char *_kwnames
[] = { NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (wxFrame
*)new_wxPreFrame();
793 wxPy_END_ALLOW_THREADS
;
794 if (PyErr_Occurred()) return NULL
;
796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
800 _resultobj
= Py_None
;
805 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
806 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
813 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
814 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
815 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
816 char * _arg7
= (char *) "frame";
817 PyObject
* _argo0
= 0;
818 PyObject
* _argo1
= 0;
819 PyObject
* _obj3
= 0;
821 PyObject
* _obj4
= 0;
823 PyObject
* _obj5
= 0;
824 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
844 #if PYTHON_API_VERSION >= 1009
845 char* tmpPtr
; int tmpSize
;
846 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
850 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
852 _arg3
= new wxString(tmpPtr
, tmpSize
);
854 if (!PyString_Check(_obj3
)) {
855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
858 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
864 if (! wxPoint_helper(_obj4
, &_arg4
))
870 if (! wxSize_helper(_obj5
, &_arg5
))
874 wxPy_BEGIN_ALLOW_THREADS
;
875 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
877 wxPy_END_ALLOW_THREADS
;
878 if (PyErr_Occurred()) return NULL
;
879 } _resultobj
= Py_BuildValue("i",_result
);
887 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
888 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
910 wxPy_END_ALLOW_THREADS
;
911 if (PyErr_Occurred()) return NULL
;
912 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
913 _resultobj
= Py_BuildValue("s",_ptemp
);
917 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
918 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 PyObject
* _argo1
= 0;
924 char *_kwnames
[] = { "self","menubar", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxFrame_SetMenuBar(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
955 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
976 wxPy_END_ALLOW_THREADS
;
977 if (PyErr_Occurred()) return NULL
;
978 }{ _resultobj
= wxPyMake_wxObject(_result
); }
982 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
983 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","id", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 if (PyErr_Occurred()) return NULL
;
1007 } _resultobj
= Py_BuildValue("i",_result
);
1011 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1012 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1018 char *_kwnames
[] = { "self","id", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1034 wxPy_END_ALLOW_THREADS
;
1035 if (PyErr_Occurred()) return NULL
;
1036 } _resultobj
= Py_BuildValue("i",_result
);
1040 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1041 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1043 wxStatusBar
* _result
;
1045 int _arg1
= (int ) 1;
1046 long _arg2
= (long ) wxST_SIZEGRIP
;
1047 wxWindowID _arg3
= (wxWindowID
) -1;
1048 char * _arg4
= (char *) "statusBar";
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1066 wxPy_END_ALLOW_THREADS
;
1067 if (PyErr_Occurred()) return NULL
;
1068 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1072 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1073 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 wxStatusBar
* _result
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1094 wxPy_END_ALLOW_THREADS
;
1095 if (PyErr_Occurred()) return NULL
;
1096 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1100 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1101 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 wxStatusBar
* _arg1
;
1105 PyObject
* _argo0
= 0;
1106 PyObject
* _argo1
= 0;
1107 char *_kwnames
[] = { "self","statBar", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 wxFrame_SetStatusBar(_arg0
,_arg1
);
1130 wxPy_END_ALLOW_THREADS
;
1131 if (PyErr_Occurred()) return NULL
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1138 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1142 int _arg2
= (int ) 0;
1143 PyObject
* _argo0
= 0;
1144 PyObject
* _obj1
= 0;
1145 char *_kwnames
[] = { "self","text","number", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1158 #if PYTHON_API_VERSION >= 1009
1159 char* tmpPtr
; int tmpSize
;
1160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1166 _arg1
= new wxString(tmpPtr
, tmpSize
);
1168 if (!PyString_Check(_obj1
)) {
1169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1179 wxPy_END_ALLOW_THREADS
;
1180 if (PyErr_Occurred()) return NULL
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1190 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1191 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1197 PyObject
* _obj2
= 0;
1198 char *_kwnames
[] = { "self","choices", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1212 _arg2
= int_LIST_helper(_obj2
);
1213 if (_arg2
== NULL
) {
1219 _arg1
= PyList_Size(_obj2
);
1226 wxPy_BEGIN_ALLOW_THREADS
;
1227 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1229 wxPy_END_ALLOW_THREADS
;
1230 if (PyErr_Occurred()) return NULL
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1239 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1240 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1242 wxToolBar
* _result
;
1244 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1245 wxWindowID _arg2
= (wxWindowID
) -1;
1246 char * _arg3
= (char *) "toolBar";
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self","style","id","name", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1264 wxPy_END_ALLOW_THREADS
;
1265 if (PyErr_Occurred()) return NULL
;
1266 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1270 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1271 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxToolBar
* _result
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1292 wxPy_END_ALLOW_THREADS
;
1293 if (PyErr_Occurred()) return NULL
;
1294 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1298 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1299 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _argo0
= 0;
1304 PyObject
* _argo1
= 0;
1305 char *_kwnames
[] = { "self","toolbar", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxFrame_SetToolBar(_arg0
,_arg1
);
1328 wxPy_END_ALLOW_THREADS
;
1329 if (PyErr_Occurred()) return NULL
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1337 wxTopLevelWindow
*dest
;
1338 src
= (wxDialog
*) ptr
;
1339 dest
= (wxTopLevelWindow
*) src
;
1340 return (void *) dest
;
1343 static void *SwigwxDialogTowxWindow(void *ptr
) {
1346 src
= (wxDialog
*) ptr
;
1347 dest
= (wxWindow
*) src
;
1348 return (void *) dest
;
1351 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1354 src
= (wxDialog
*) ptr
;
1355 dest
= (wxEvtHandler
*) src
;
1356 return (void *) dest
;
1359 static void *SwigwxDialogTowxObject(void *ptr
) {
1362 src
= (wxDialog
*) ptr
;
1363 dest
= (wxObject
*) src
;
1364 return (void *) dest
;
1367 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1368 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1374 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1375 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1376 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1377 char * _arg6
= (char *) "dialogBox";
1378 PyObject
* _argo0
= 0;
1379 PyObject
* _obj2
= 0;
1381 PyObject
* _obj3
= 0;
1383 PyObject
* _obj4
= 0;
1384 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1398 #if PYTHON_API_VERSION >= 1009
1399 char* tmpPtr
; int tmpSize
;
1400 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1404 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1406 _arg2
= new wxString(tmpPtr
, tmpSize
);
1408 if (!PyString_Check(_obj2
)) {
1409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1412 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1418 if (! wxPoint_helper(_obj3
, &_arg3
))
1424 if (! wxSize_helper(_obj4
, &_arg4
))
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1431 wxPy_END_ALLOW_THREADS
;
1432 if (PyErr_Occurred()) return NULL
;
1434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1435 _resultobj
= Py_BuildValue("s",_ptemp
);
1438 _resultobj
= Py_None
;
1447 #define new_wxPreDialog() (new wxDialog())
1448 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 char *_kwnames
[] = { NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1458 wxPy_BEGIN_ALLOW_THREADS
;
1459 _result
= (wxDialog
*)new_wxPreDialog();
1461 wxPy_END_ALLOW_THREADS
;
1462 if (PyErr_Occurred()) return NULL
;
1464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1465 _resultobj
= Py_BuildValue("s",_ptemp
);
1468 _resultobj
= Py_None
;
1473 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1474 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1481 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1482 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1483 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1484 char * _arg7
= (char *) "dialogBox";
1485 PyObject
* _argo0
= 0;
1486 PyObject
* _argo1
= 0;
1487 PyObject
* _obj3
= 0;
1489 PyObject
* _obj4
= 0;
1491 PyObject
* _obj5
= 0;
1492 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1512 #if PYTHON_API_VERSION >= 1009
1513 char* tmpPtr
; int tmpSize
;
1514 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1518 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1520 _arg3
= new wxString(tmpPtr
, tmpSize
);
1522 if (!PyString_Check(_obj3
)) {
1523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1526 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1532 if (! wxPoint_helper(_obj4
, &_arg4
))
1538 if (! wxSize_helper(_obj5
, &_arg5
))
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1545 wxPy_END_ALLOW_THREADS
;
1546 if (PyErr_Occurred()) return NULL
;
1547 } _resultobj
= Py_BuildValue("i",_result
);
1555 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1556 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1559 int _arg1
= (int ) wxBOTH
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self","direction", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 wxDialog_Centre(_arg0
,_arg1
);
1577 wxPy_END_ALLOW_THREADS
;
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1585 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1589 PyObject
* _argo0
= 0;
1590 char *_kwnames
[] = { "self","retCode", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 wxDialog_EndModal(_arg0
,_arg1
);
1606 wxPy_END_ALLOW_THREADS
;
1607 if (PyErr_Occurred()) return NULL
;
1608 } Py_INCREF(Py_None
);
1609 _resultobj
= Py_None
;
1613 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1614 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1618 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self","flag", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1632 _arg1
= (bool ) tempbool1
;
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 wxDialog_SetModal(_arg0
,_arg1
);
1637 wxPy_END_ALLOW_THREADS
;
1638 if (PyErr_Occurred()) return NULL
;
1639 } Py_INCREF(Py_None
);
1640 _resultobj
= Py_None
;
1644 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1645 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (bool )wxDialog_IsModal(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1673 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (int )wxDialog_ShowModal(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1701 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 if (PyErr_Occurred()) return NULL
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1729 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self","retCode", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 wxDialog_SetReturnCode(_arg0
,_arg1
);
1750 wxPy_END_ALLOW_THREADS
;
1751 if (PyErr_Occurred()) return NULL
;
1752 } Py_INCREF(Py_None
);
1753 _resultobj
= Py_None
;
1757 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1758 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 PyObject
* _obj1
= 0;
1765 char *_kwnames
[] = { "self","message", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1778 #if PYTHON_API_VERSION >= 1009
1779 char* tmpPtr
; int tmpSize
;
1780 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1784 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1786 _arg1
= new wxString(tmpPtr
, tmpSize
);
1788 if (!PyString_Check(_obj1
)) {
1789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1792 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1799 wxPy_END_ALLOW_THREADS
;
1800 if (PyErr_Occurred()) return NULL
;
1801 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1809 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1810 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self","flags", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1832 wxPy_END_ALLOW_THREADS
;
1833 if (PyErr_Occurred()) return NULL
;
1834 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1838 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1841 src
= (wxMiniFrame
*) ptr
;
1842 dest
= (wxFrame
*) src
;
1843 return (void *) dest
;
1846 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1848 wxTopLevelWindow
*dest
;
1849 src
= (wxMiniFrame
*) ptr
;
1850 dest
= (wxTopLevelWindow
*) src
;
1851 return (void *) dest
;
1854 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1857 src
= (wxMiniFrame
*) ptr
;
1858 dest
= (wxWindow
*) src
;
1859 return (void *) dest
;
1862 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1865 src
= (wxMiniFrame
*) ptr
;
1866 dest
= (wxEvtHandler
*) src
;
1867 return (void *) dest
;
1870 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1873 src
= (wxMiniFrame
*) ptr
;
1874 dest
= (wxObject
*) src
;
1875 return (void *) dest
;
1878 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1879 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1881 wxMiniFrame
* _result
;
1885 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1886 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1887 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1888 char * _arg6
= (char *) "frame";
1889 PyObject
* _argo0
= 0;
1890 PyObject
* _obj2
= 0;
1892 PyObject
* _obj3
= 0;
1894 PyObject
* _obj4
= 0;
1895 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1909 #if PYTHON_API_VERSION >= 1009
1910 char* tmpPtr
; int tmpSize
;
1911 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1915 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1917 _arg2
= new wxString(tmpPtr
, tmpSize
);
1919 if (!PyString_Check(_obj2
)) {
1920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1923 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1929 if (! wxPoint_helper(_obj3
, &_arg3
))
1935 if (! wxSize_helper(_obj4
, &_arg4
))
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1942 wxPy_END_ALLOW_THREADS
;
1943 if (PyErr_Occurred()) return NULL
;
1945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1946 _resultobj
= Py_BuildValue("s",_ptemp
);
1949 _resultobj
= Py_None
;
1958 #define new_wxPreMiniFrame() (new wxMiniFrame())
1959 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxMiniFrame
* _result
;
1962 char *_kwnames
[] = { NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1972 wxPy_END_ALLOW_THREADS
;
1973 if (PyErr_Occurred()) return NULL
;
1975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1976 _resultobj
= Py_BuildValue("s",_ptemp
);
1979 _resultobj
= Py_None
;
1984 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1985 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 wxMiniFrame
* _arg0
;
1992 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1993 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1994 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
1995 char * _arg7
= (char *) "frame";
1996 PyObject
* _argo0
= 0;
1997 PyObject
* _argo1
= 0;
1998 PyObject
* _obj3
= 0;
2000 PyObject
* _obj4
= 0;
2002 PyObject
* _obj5
= 0;
2003 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2023 #if PYTHON_API_VERSION >= 1009
2024 char* tmpPtr
; int tmpSize
;
2025 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2029 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2031 _arg3
= new wxString(tmpPtr
, tmpSize
);
2033 if (!PyString_Check(_obj3
)) {
2034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2037 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2043 if (! wxPoint_helper(_obj4
, &_arg4
))
2049 if (! wxSize_helper(_obj5
, &_arg5
))
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
2056 wxPy_END_ALLOW_THREADS
;
2057 if (PyErr_Occurred()) return NULL
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2066 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2069 src
= (wxTipWindow
*) ptr
;
2070 dest
= (wxFrame
*) src
;
2071 return (void *) dest
;
2074 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2076 wxTopLevelWindow
*dest
;
2077 src
= (wxTipWindow
*) ptr
;
2078 dest
= (wxTopLevelWindow
*) src
;
2079 return (void *) dest
;
2082 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2085 src
= (wxTipWindow
*) ptr
;
2086 dest
= (wxWindow
*) src
;
2087 return (void *) dest
;
2090 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2093 src
= (wxTipWindow
*) ptr
;
2094 dest
= (wxEvtHandler
*) src
;
2095 return (void *) dest
;
2098 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2101 src
= (wxTipWindow
*) ptr
;
2102 dest
= (wxObject
*) src
;
2103 return (void *) dest
;
2106 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
2107 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2109 wxTipWindow
* _result
;
2112 wxCoord _arg2
= (wxCoord
) 100;
2113 PyObject
* _argo0
= 0;
2114 PyObject
* _obj1
= 0;
2115 char *_kwnames
[] = { "parent","text","maxLength", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2129 #if PYTHON_API_VERSION >= 1009
2130 char* tmpPtr
; int tmpSize
;
2131 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2135 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2137 _arg1
= new wxString(tmpPtr
, tmpSize
);
2139 if (!PyString_Check(_obj1
)) {
2140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2143 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,*_arg1
,_arg2
);
2150 wxPy_END_ALLOW_THREADS
;
2151 if (PyErr_Occurred()) return NULL
;
2153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2154 _resultobj
= Py_BuildValue("s",_ptemp
);
2157 _resultobj
= Py_None
;
2166 static PyMethodDef framescMethods
[] = {
2167 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2168 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2169 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2170 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2171 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2172 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2173 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2174 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2175 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2176 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2177 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2178 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2179 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2180 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2197 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2198 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2199 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2200 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2201 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2202 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2203 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2204 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2205 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2206 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2207 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2208 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2209 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2210 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2211 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2212 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2219 * This table is used by the pointer type-checker
2221 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2222 { "_signed_long","_long",0},
2223 { "_wxPrintQuality","_wxCoord",0},
2224 { "_wxPrintQuality","_int",0},
2225 { "_wxPrintQuality","_signed_int",0},
2226 { "_wxPrintQuality","_unsigned_int",0},
2227 { "_wxPrintQuality","_wxWindowID",0},
2228 { "_wxPrintQuality","_uint",0},
2229 { "_wxPrintQuality","_EBool",0},
2230 { "_wxPrintQuality","_size_t",0},
2231 { "_wxPrintQuality","_time_t",0},
2232 { "_byte","_unsigned_char",0},
2233 { "_long","_unsigned_long",0},
2234 { "_long","_signed_long",0},
2235 { "_size_t","_wxCoord",0},
2236 { "_size_t","_wxPrintQuality",0},
2237 { "_size_t","_time_t",0},
2238 { "_size_t","_unsigned_int",0},
2239 { "_size_t","_int",0},
2240 { "_size_t","_wxWindowID",0},
2241 { "_size_t","_uint",0},
2242 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2243 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2244 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2245 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2246 { "_uint","_wxCoord",0},
2247 { "_uint","_wxPrintQuality",0},
2248 { "_uint","_time_t",0},
2249 { "_uint","_size_t",0},
2250 { "_uint","_unsigned_int",0},
2251 { "_uint","_int",0},
2252 { "_uint","_wxWindowID",0},
2253 { "_wxChar","_char",0},
2254 { "_char","_wxChar",0},
2255 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2256 { "_EBool","_wxCoord",0},
2257 { "_EBool","_wxPrintQuality",0},
2258 { "_EBool","_signed_int",0},
2259 { "_EBool","_int",0},
2260 { "_EBool","_wxWindowID",0},
2261 { "_unsigned_long","_long",0},
2262 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2263 { "_signed_int","_wxCoord",0},
2264 { "_signed_int","_wxPrintQuality",0},
2265 { "_signed_int","_EBool",0},
2266 { "_signed_int","_wxWindowID",0},
2267 { "_signed_int","_int",0},
2268 { "_WXTYPE","_short",0},
2269 { "_WXTYPE","_signed_short",0},
2270 { "_WXTYPE","_unsigned_short",0},
2271 { "_unsigned_short","_WXTYPE",0},
2272 { "_unsigned_short","_short",0},
2273 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2274 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2275 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2276 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2277 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2278 { "_signed_short","_WXTYPE",0},
2279 { "_signed_short","_short",0},
2280 { "_unsigned_char","_byte",0},
2281 { "_unsigned_int","_wxCoord",0},
2282 { "_unsigned_int","_wxPrintQuality",0},
2283 { "_unsigned_int","_time_t",0},
2284 { "_unsigned_int","_size_t",0},
2285 { "_unsigned_int","_uint",0},
2286 { "_unsigned_int","_wxWindowID",0},
2287 { "_unsigned_int","_int",0},
2288 { "_short","_WXTYPE",0},
2289 { "_short","_unsigned_short",0},
2290 { "_short","_signed_short",0},
2291 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2292 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2293 { "_wxWindowID","_wxCoord",0},
2294 { "_wxWindowID","_wxPrintQuality",0},
2295 { "_wxWindowID","_time_t",0},
2296 { "_wxWindowID","_size_t",0},
2297 { "_wxWindowID","_EBool",0},
2298 { "_wxWindowID","_uint",0},
2299 { "_wxWindowID","_int",0},
2300 { "_wxWindowID","_signed_int",0},
2301 { "_wxWindowID","_unsigned_int",0},
2302 { "_int","_wxCoord",0},
2303 { "_int","_wxPrintQuality",0},
2304 { "_int","_time_t",0},
2305 { "_int","_size_t",0},
2306 { "_int","_EBool",0},
2307 { "_int","_uint",0},
2308 { "_int","_wxWindowID",0},
2309 { "_int","_unsigned_int",0},
2310 { "_int","_signed_int",0},
2311 { "_time_t","_wxCoord",0},
2312 { "_time_t","_wxPrintQuality",0},
2313 { "_time_t","_unsigned_int",0},
2314 { "_time_t","_int",0},
2315 { "_time_t","_wxWindowID",0},
2316 { "_time_t","_uint",0},
2317 { "_time_t","_size_t",0},
2318 { "_wxCoord","_int",0},
2319 { "_wxCoord","_signed_int",0},
2320 { "_wxCoord","_unsigned_int",0},
2321 { "_wxCoord","_wxWindowID",0},
2322 { "_wxCoord","_uint",0},
2323 { "_wxCoord","_EBool",0},
2324 { "_wxCoord","_size_t",0},
2325 { "_wxCoord","_time_t",0},
2326 { "_wxCoord","_wxPrintQuality",0},
2327 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2328 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2329 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2330 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2331 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2332 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2333 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2334 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2335 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2336 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2339 static PyObject
*SWIG_globals
;
2343 SWIGEXPORT(void) initframesc() {
2345 SWIG_globals
= SWIG_newvarlink();
2346 m
= Py_InitModule("framesc", framescMethods
);
2347 d
= PyModule_GetDict(m
);
2348 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2349 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2350 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2351 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2352 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2353 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2354 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2357 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2358 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);