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 const wxIcon
& _result_ref
= wxTopLevelWindow_GetIcon(_arg0
);
477 _result
= (wxIcon
*) &_result_ref
;
479 wxPy_END_ALLOW_THREADS
;
480 if (PyErr_Occurred()) return NULL
;
482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
483 _resultobj
= Py_BuildValue("s",_ptemp
);
486 _resultobj
= Py_None
;
491 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
492 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
494 wxTopLevelWindow
* _arg0
;
496 PyObject
* _argo0
= 0;
497 PyObject
* _argo1
= 0;
498 char *_kwnames
[] = { "self","icon", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
521 wxPy_END_ALLOW_THREADS
;
522 if (PyErr_Occurred()) return NULL
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
529 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
532 wxTopLevelWindow
* _arg0
;
534 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
535 PyObject
* _argo0
= 0;
537 char *_kwnames
[] = { "self","show","style", NULL
};
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
549 _arg1
= (bool ) tempbool1
;
551 wxPy_BEGIN_ALLOW_THREADS
;
552 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
554 wxPy_END_ALLOW_THREADS
;
555 if (PyErr_Occurred()) return NULL
;
556 } _resultobj
= Py_BuildValue("i",_result
);
560 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
561 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 wxTopLevelWindow
* _arg0
;
565 PyObject
* _argo0
= 0;
566 char *_kwnames
[] = { "self", NULL
};
569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
579 wxPy_BEGIN_ALLOW_THREADS
;
580 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
582 wxPy_END_ALLOW_THREADS
;
583 if (PyErr_Occurred()) return NULL
;
584 } _resultobj
= Py_BuildValue("i",_result
);
588 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
589 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
591 wxTopLevelWindow
* _arg0
;
593 PyObject
* _argo0
= 0;
594 PyObject
* _obj1
= 0;
595 char *_kwnames
[] = { "self","title", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
608 #if PYTHON_API_VERSION >= 1009
609 char* tmpPtr
; int tmpSize
;
610 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
614 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
616 _arg1
= new wxString(tmpPtr
, tmpSize
);
618 if (!PyString_Check(_obj1
)) {
619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
622 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
626 wxPy_BEGIN_ALLOW_THREADS
;
627 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
629 wxPy_END_ALLOW_THREADS
;
630 if (PyErr_Occurred()) return NULL
;
631 } Py_INCREF(Py_None
);
632 _resultobj
= Py_None
;
640 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
641 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
644 wxTopLevelWindow
* _arg0
;
645 PyObject
* _argo0
= 0;
646 char *_kwnames
[] = { "self", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
662 wxPy_END_ALLOW_THREADS
;
663 if (PyErr_Occurred()) return NULL
;
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
673 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
675 wxTopLevelWindow
*dest
;
676 src
= (wxFrame
*) ptr
;
677 dest
= (wxTopLevelWindow
*) src
;
678 return (void *) dest
;
681 static void *SwigwxFrameTowxWindow(void *ptr
) {
684 src
= (wxFrame
*) ptr
;
685 dest
= (wxWindow
*) src
;
686 return (void *) dest
;
689 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
692 src
= (wxFrame
*) ptr
;
693 dest
= (wxEvtHandler
*) src
;
694 return (void *) dest
;
697 static void *SwigwxFrameTowxObject(void *ptr
) {
700 src
= (wxFrame
*) ptr
;
701 dest
= (wxObject
*) src
;
702 return (void *) dest
;
705 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
706 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
712 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
713 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
714 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
715 char * _arg6
= (char *) "frame";
716 PyObject
* _argo0
= 0;
717 PyObject
* _obj2
= 0;
719 PyObject
* _obj3
= 0;
721 PyObject
* _obj4
= 0;
722 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
736 #if PYTHON_API_VERSION >= 1009
737 char* tmpPtr
; int tmpSize
;
738 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
742 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
744 _arg2
= new wxString(tmpPtr
, tmpSize
);
746 if (!PyString_Check(_obj2
)) {
747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
750 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
756 if (! wxPoint_helper(_obj3
, &_arg3
))
762 if (! wxSize_helper(_obj4
, &_arg4
))
766 wxPy_BEGIN_ALLOW_THREADS
;
767 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
769 wxPy_END_ALLOW_THREADS
;
770 if (PyErr_Occurred()) return NULL
;
772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
773 _resultobj
= Py_BuildValue("s",_ptemp
);
776 _resultobj
= Py_None
;
785 #define new_wxPreFrame() (new wxFrame())
786 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
789 char *_kwnames
[] = { NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (wxFrame
*)new_wxPreFrame();
799 wxPy_END_ALLOW_THREADS
;
800 if (PyErr_Occurred()) return NULL
;
802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
803 _resultobj
= Py_BuildValue("s",_ptemp
);
806 _resultobj
= Py_None
;
811 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
812 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
819 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
820 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
821 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
822 char * _arg7
= (char *) "frame";
823 PyObject
* _argo0
= 0;
824 PyObject
* _argo1
= 0;
825 PyObject
* _obj3
= 0;
827 PyObject
* _obj4
= 0;
829 PyObject
* _obj5
= 0;
830 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
850 #if PYTHON_API_VERSION >= 1009
851 char* tmpPtr
; int tmpSize
;
852 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
856 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
858 _arg3
= new wxString(tmpPtr
, tmpSize
);
860 if (!PyString_Check(_obj3
)) {
861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
864 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
870 if (! wxPoint_helper(_obj4
, &_arg4
))
876 if (! wxSize_helper(_obj5
, &_arg5
))
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
883 wxPy_END_ALLOW_THREADS
;
884 if (PyErr_Occurred()) return NULL
;
885 } _resultobj
= Py_BuildValue("i",_result
);
893 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
894 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
913 wxPy_BEGIN_ALLOW_THREADS
;
914 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
916 wxPy_END_ALLOW_THREADS
;
917 if (PyErr_Occurred()) return NULL
;
918 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
919 _resultobj
= Py_BuildValue("s",_ptemp
);
923 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
924 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
928 PyObject
* _argo0
= 0;
929 PyObject
* _argo1
= 0;
930 char *_kwnames
[] = { "self","menubar", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 wxFrame_SetMenuBar(_arg0
,_arg1
);
953 wxPy_END_ALLOW_THREADS
;
954 if (PyErr_Occurred()) return NULL
;
955 } Py_INCREF(Py_None
);
956 _resultobj
= Py_None
;
960 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
961 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
982 wxPy_END_ALLOW_THREADS
;
983 if (PyErr_Occurred()) return NULL
;
984 }{ _resultobj
= wxPyMake_wxObject(_result
); }
988 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
989 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self","id", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1011 wxPy_END_ALLOW_THREADS
;
1012 if (PyErr_Occurred()) return NULL
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1018 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self","id", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 if (PyErr_Occurred()) return NULL
;
1042 } _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1047 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1049 wxStatusBar
* _result
;
1051 int _arg1
= (int ) 1;
1052 long _arg2
= (long ) wxST_SIZEGRIP
;
1053 wxWindowID _arg3
= (wxWindowID
) -1;
1054 char * _arg4
= (char *) "statusBar";
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1072 wxPy_END_ALLOW_THREADS
;
1073 if (PyErr_Occurred()) return NULL
;
1074 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1078 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1079 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1081 wxStatusBar
* _result
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1100 wxPy_END_ALLOW_THREADS
;
1101 if (PyErr_Occurred()) return NULL
;
1102 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1106 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1107 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1110 wxStatusBar
* _arg1
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _argo1
= 0;
1113 char *_kwnames
[] = { "self","statBar", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxFrame_SetStatusBar(_arg0
,_arg1
);
1136 wxPy_END_ALLOW_THREADS
;
1137 if (PyErr_Occurred()) return NULL
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1144 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1148 int _arg2
= (int ) 0;
1149 PyObject
* _argo0
= 0;
1150 PyObject
* _obj1
= 0;
1151 char *_kwnames
[] = { "self","text","number", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1164 #if PYTHON_API_VERSION >= 1009
1165 char* tmpPtr
; int tmpSize
;
1166 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1170 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1172 _arg1
= new wxString(tmpPtr
, tmpSize
);
1174 if (!PyString_Check(_obj1
)) {
1175 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1178 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1185 wxPy_END_ALLOW_THREADS
;
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1196 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1197 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1202 PyObject
* _argo0
= 0;
1203 PyObject
* _obj2
= 0;
1204 char *_kwnames
[] = { "self","choices", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1218 _arg2
= int_LIST_helper(_obj2
);
1219 if (_arg2
== NULL
) {
1225 _arg1
= PyList_Size(_obj2
);
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1235 wxPy_END_ALLOW_THREADS
;
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1245 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1246 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxToolBar
* _result
;
1250 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1251 wxWindowID _arg2
= (wxWindowID
) -1;
1252 char * _arg3
= (char *) "toolBar";
1253 PyObject
* _argo0
= 0;
1254 char *_kwnames
[] = { "self","style","id","name", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1270 wxPy_END_ALLOW_THREADS
;
1271 if (PyErr_Occurred()) return NULL
;
1272 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1276 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1277 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1279 wxToolBar
* _result
;
1281 PyObject
* _argo0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1298 wxPy_END_ALLOW_THREADS
;
1299 if (PyErr_Occurred()) return NULL
;
1300 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1304 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1305 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1309 PyObject
* _argo0
= 0;
1310 PyObject
* _argo1
= 0;
1311 char *_kwnames
[] = { "self","toolbar", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 wxFrame_SetToolBar(_arg0
,_arg1
);
1334 wxPy_END_ALLOW_THREADS
;
1335 if (PyErr_Occurred()) return NULL
;
1336 } Py_INCREF(Py_None
);
1337 _resultobj
= Py_None
;
1341 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1343 wxTopLevelWindow
*dest
;
1344 src
= (wxDialog
*) ptr
;
1345 dest
= (wxTopLevelWindow
*) src
;
1346 return (void *) dest
;
1349 static void *SwigwxDialogTowxWindow(void *ptr
) {
1352 src
= (wxDialog
*) ptr
;
1353 dest
= (wxWindow
*) src
;
1354 return (void *) dest
;
1357 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1360 src
= (wxDialog
*) ptr
;
1361 dest
= (wxEvtHandler
*) src
;
1362 return (void *) dest
;
1365 static void *SwigwxDialogTowxObject(void *ptr
) {
1368 src
= (wxDialog
*) ptr
;
1369 dest
= (wxObject
*) src
;
1370 return (void *) dest
;
1373 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1374 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1380 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1381 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1382 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1383 char * _arg6
= (char *) "dialogBox";
1384 PyObject
* _argo0
= 0;
1385 PyObject
* _obj2
= 0;
1387 PyObject
* _obj3
= 0;
1389 PyObject
* _obj4
= 0;
1390 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1404 #if PYTHON_API_VERSION >= 1009
1405 char* tmpPtr
; int tmpSize
;
1406 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1410 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1412 _arg2
= new wxString(tmpPtr
, tmpSize
);
1414 if (!PyString_Check(_obj2
)) {
1415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1418 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1424 if (! wxPoint_helper(_obj3
, &_arg3
))
1430 if (! wxSize_helper(_obj4
, &_arg4
))
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1437 wxPy_END_ALLOW_THREADS
;
1438 if (PyErr_Occurred()) return NULL
;
1440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1441 _resultobj
= Py_BuildValue("s",_ptemp
);
1444 _resultobj
= Py_None
;
1453 #define new_wxPreDialog() (new wxDialog())
1454 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1457 char *_kwnames
[] = { NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (wxDialog
*)new_wxPreDialog();
1467 wxPy_END_ALLOW_THREADS
;
1468 if (PyErr_Occurred()) return NULL
;
1470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1474 _resultobj
= Py_None
;
1479 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1480 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1487 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1488 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1489 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1490 char * _arg7
= (char *) "dialogBox";
1491 PyObject
* _argo0
= 0;
1492 PyObject
* _argo1
= 0;
1493 PyObject
* _obj3
= 0;
1495 PyObject
* _obj4
= 0;
1497 PyObject
* _obj5
= 0;
1498 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1518 #if PYTHON_API_VERSION >= 1009
1519 char* tmpPtr
; int tmpSize
;
1520 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1524 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1526 _arg3
= new wxString(tmpPtr
, tmpSize
);
1528 if (!PyString_Check(_obj3
)) {
1529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1532 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1538 if (! wxPoint_helper(_obj4
, &_arg4
))
1544 if (! wxSize_helper(_obj5
, &_arg5
))
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1551 wxPy_END_ALLOW_THREADS
;
1552 if (PyErr_Occurred()) return NULL
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1561 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1562 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 int _arg1
= (int ) wxBOTH
;
1566 PyObject
* _argo0
= 0;
1567 char *_kwnames
[] = { "self","direction", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 wxDialog_Centre(_arg0
,_arg1
);
1583 wxPy_END_ALLOW_THREADS
;
1584 if (PyErr_Occurred()) return NULL
;
1585 } Py_INCREF(Py_None
);
1586 _resultobj
= Py_None
;
1590 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1591 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1595 PyObject
* _argo0
= 0;
1596 char *_kwnames
[] = { "self","retCode", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1609 wxPy_BEGIN_ALLOW_THREADS
;
1610 wxDialog_EndModal(_arg0
,_arg1
);
1612 wxPy_END_ALLOW_THREADS
;
1613 if (PyErr_Occurred()) return NULL
;
1614 } Py_INCREF(Py_None
);
1615 _resultobj
= Py_None
;
1619 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1620 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self","flag", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1638 _arg1
= (bool ) tempbool1
;
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 wxDialog_SetModal(_arg0
,_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 if (PyErr_Occurred()) return NULL
;
1645 } Py_INCREF(Py_None
);
1646 _resultobj
= Py_None
;
1650 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1651 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= (bool )wxDialog_IsModal(_arg0
);
1672 wxPy_END_ALLOW_THREADS
;
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1679 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (int )wxDialog_ShowModal(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1707 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1735 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self","retCode", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxDialog_SetReturnCode(_arg0
,_arg1
);
1756 wxPy_END_ALLOW_THREADS
;
1757 if (PyErr_Occurred()) return NULL
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1764 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 PyObject
* _obj1
= 0;
1771 char *_kwnames
[] = { "self","message", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1784 #if PYTHON_API_VERSION >= 1009
1785 char* tmpPtr
; int tmpSize
;
1786 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1790 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1792 _arg1
= new wxString(tmpPtr
, tmpSize
);
1794 if (!PyString_Check(_obj1
)) {
1795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1798 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1805 wxPy_END_ALLOW_THREADS
;
1806 if (PyErr_Occurred()) return NULL
;
1807 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1815 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1816 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1821 PyObject
* _argo0
= 0;
1822 char *_kwnames
[] = { "self","flags", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1835 wxPy_BEGIN_ALLOW_THREADS
;
1836 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1838 wxPy_END_ALLOW_THREADS
;
1839 if (PyErr_Occurred()) return NULL
;
1840 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1844 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1847 src
= (wxMiniFrame
*) ptr
;
1848 dest
= (wxFrame
*) src
;
1849 return (void *) dest
;
1852 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1854 wxTopLevelWindow
*dest
;
1855 src
= (wxMiniFrame
*) ptr
;
1856 dest
= (wxTopLevelWindow
*) src
;
1857 return (void *) dest
;
1860 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1863 src
= (wxMiniFrame
*) ptr
;
1864 dest
= (wxWindow
*) src
;
1865 return (void *) dest
;
1868 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1871 src
= (wxMiniFrame
*) ptr
;
1872 dest
= (wxEvtHandler
*) src
;
1873 return (void *) dest
;
1876 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1879 src
= (wxMiniFrame
*) ptr
;
1880 dest
= (wxObject
*) src
;
1881 return (void *) dest
;
1884 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1885 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1887 wxMiniFrame
* _result
;
1891 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1892 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1893 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1894 char * _arg6
= (char *) "frame";
1895 PyObject
* _argo0
= 0;
1896 PyObject
* _obj2
= 0;
1898 PyObject
* _obj3
= 0;
1900 PyObject
* _obj4
= 0;
1901 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1915 #if PYTHON_API_VERSION >= 1009
1916 char* tmpPtr
; int tmpSize
;
1917 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1921 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1923 _arg2
= new wxString(tmpPtr
, tmpSize
);
1925 if (!PyString_Check(_obj2
)) {
1926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1929 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1935 if (! wxPoint_helper(_obj3
, &_arg3
))
1941 if (! wxSize_helper(_obj4
, &_arg4
))
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1948 wxPy_END_ALLOW_THREADS
;
1949 if (PyErr_Occurred()) return NULL
;
1951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1952 _resultobj
= Py_BuildValue("s",_ptemp
);
1955 _resultobj
= Py_None
;
1964 #define new_wxPreMiniFrame() (new wxMiniFrame())
1965 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 wxMiniFrame
* _result
;
1968 char *_kwnames
[] = { NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1978 wxPy_END_ALLOW_THREADS
;
1979 if (PyErr_Occurred()) return NULL
;
1981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1982 _resultobj
= Py_BuildValue("s",_ptemp
);
1985 _resultobj
= Py_None
;
1990 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1991 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 wxMiniFrame
* _arg0
;
1998 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1999 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2000 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2001 char * _arg7
= (char *) "frame";
2002 PyObject
* _argo0
= 0;
2003 PyObject
* _argo1
= 0;
2004 PyObject
* _obj3
= 0;
2006 PyObject
* _obj4
= 0;
2008 PyObject
* _obj5
= 0;
2009 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2029 #if PYTHON_API_VERSION >= 1009
2030 char* tmpPtr
; int tmpSize
;
2031 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2035 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2037 _arg3
= new wxString(tmpPtr
, tmpSize
);
2039 if (!PyString_Check(_obj3
)) {
2040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2043 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2049 if (! wxPoint_helper(_obj4
, &_arg4
))
2055 if (! wxSize_helper(_obj5
, &_arg5
))
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
2062 wxPy_END_ALLOW_THREADS
;
2063 if (PyErr_Occurred()) return NULL
;
2064 } _resultobj
= Py_BuildValue("i",_result
);
2072 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2075 src
= (wxTipWindow
*) ptr
;
2076 dest
= (wxFrame
*) src
;
2077 return (void *) dest
;
2080 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2082 wxTopLevelWindow
*dest
;
2083 src
= (wxTipWindow
*) ptr
;
2084 dest
= (wxTopLevelWindow
*) src
;
2085 return (void *) dest
;
2088 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2091 src
= (wxTipWindow
*) ptr
;
2092 dest
= (wxWindow
*) src
;
2093 return (void *) dest
;
2096 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2099 src
= (wxTipWindow
*) ptr
;
2100 dest
= (wxEvtHandler
*) src
;
2101 return (void *) dest
;
2104 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2107 src
= (wxTipWindow
*) ptr
;
2108 dest
= (wxObject
*) src
;
2109 return (void *) dest
;
2112 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
2113 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2115 wxTipWindow
* _result
;
2118 wxCoord _arg2
= (wxCoord
) 100;
2119 PyObject
* _argo0
= 0;
2120 PyObject
* _obj1
= 0;
2121 char *_kwnames
[] = { "parent","text","maxLength", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2135 #if PYTHON_API_VERSION >= 1009
2136 char* tmpPtr
; int tmpSize
;
2137 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2141 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2143 _arg1
= new wxString(tmpPtr
, tmpSize
);
2145 if (!PyString_Check(_obj1
)) {
2146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2149 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,*_arg1
,_arg2
);
2156 wxPy_END_ALLOW_THREADS
;
2157 if (PyErr_Occurred()) return NULL
;
2159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2160 _resultobj
= Py_BuildValue("s",_ptemp
);
2163 _resultobj
= Py_None
;
2172 static PyMethodDef framescMethods
[] = {
2173 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2174 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2175 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2176 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2177 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2178 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2179 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2180 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2181 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2182 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2183 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2184 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2185 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2186 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2187 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2188 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2189 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2190 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2191 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2192 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2193 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2194 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2195 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2196 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2197 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2198 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2199 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2200 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2201 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2202 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2203 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2204 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2205 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2206 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2207 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2208 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2209 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2210 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2211 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2212 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2213 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2214 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2215 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2216 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2217 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2218 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2225 * This table is used by the pointer type-checker
2227 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2228 { "_signed_long","_long",0},
2229 { "_wxPrintQuality","_wxCoord",0},
2230 { "_wxPrintQuality","_int",0},
2231 { "_wxPrintQuality","_signed_int",0},
2232 { "_wxPrintQuality","_unsigned_int",0},
2233 { "_wxPrintQuality","_wxWindowID",0},
2234 { "_wxPrintQuality","_uint",0},
2235 { "_wxPrintQuality","_EBool",0},
2236 { "_wxPrintQuality","_size_t",0},
2237 { "_wxPrintQuality","_time_t",0},
2238 { "_byte","_unsigned_char",0},
2239 { "_long","_unsigned_long",0},
2240 { "_long","_signed_long",0},
2241 { "_size_t","_wxCoord",0},
2242 { "_size_t","_wxPrintQuality",0},
2243 { "_size_t","_time_t",0},
2244 { "_size_t","_unsigned_int",0},
2245 { "_size_t","_int",0},
2246 { "_size_t","_wxWindowID",0},
2247 { "_size_t","_uint",0},
2248 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2249 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2250 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2251 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2252 { "_uint","_wxCoord",0},
2253 { "_uint","_wxPrintQuality",0},
2254 { "_uint","_time_t",0},
2255 { "_uint","_size_t",0},
2256 { "_uint","_unsigned_int",0},
2257 { "_uint","_int",0},
2258 { "_uint","_wxWindowID",0},
2259 { "_wxChar","_char",0},
2260 { "_char","_wxChar",0},
2261 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2262 { "_EBool","_wxCoord",0},
2263 { "_EBool","_wxPrintQuality",0},
2264 { "_EBool","_signed_int",0},
2265 { "_EBool","_int",0},
2266 { "_EBool","_wxWindowID",0},
2267 { "_unsigned_long","_long",0},
2268 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2269 { "_signed_int","_wxCoord",0},
2270 { "_signed_int","_wxPrintQuality",0},
2271 { "_signed_int","_EBool",0},
2272 { "_signed_int","_wxWindowID",0},
2273 { "_signed_int","_int",0},
2274 { "_WXTYPE","_short",0},
2275 { "_WXTYPE","_signed_short",0},
2276 { "_WXTYPE","_unsigned_short",0},
2277 { "_unsigned_short","_WXTYPE",0},
2278 { "_unsigned_short","_short",0},
2279 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2280 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2281 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2282 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2283 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2284 { "_signed_short","_WXTYPE",0},
2285 { "_signed_short","_short",0},
2286 { "_unsigned_char","_byte",0},
2287 { "_unsigned_int","_wxCoord",0},
2288 { "_unsigned_int","_wxPrintQuality",0},
2289 { "_unsigned_int","_time_t",0},
2290 { "_unsigned_int","_size_t",0},
2291 { "_unsigned_int","_uint",0},
2292 { "_unsigned_int","_wxWindowID",0},
2293 { "_unsigned_int","_int",0},
2294 { "_short","_WXTYPE",0},
2295 { "_short","_unsigned_short",0},
2296 { "_short","_signed_short",0},
2297 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2298 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2299 { "_wxWindowID","_wxCoord",0},
2300 { "_wxWindowID","_wxPrintQuality",0},
2301 { "_wxWindowID","_time_t",0},
2302 { "_wxWindowID","_size_t",0},
2303 { "_wxWindowID","_EBool",0},
2304 { "_wxWindowID","_uint",0},
2305 { "_wxWindowID","_int",0},
2306 { "_wxWindowID","_signed_int",0},
2307 { "_wxWindowID","_unsigned_int",0},
2308 { "_int","_wxCoord",0},
2309 { "_int","_wxPrintQuality",0},
2310 { "_int","_time_t",0},
2311 { "_int","_size_t",0},
2312 { "_int","_EBool",0},
2313 { "_int","_uint",0},
2314 { "_int","_wxWindowID",0},
2315 { "_int","_unsigned_int",0},
2316 { "_int","_signed_int",0},
2317 { "_time_t","_wxCoord",0},
2318 { "_time_t","_wxPrintQuality",0},
2319 { "_time_t","_unsigned_int",0},
2320 { "_time_t","_int",0},
2321 { "_time_t","_wxWindowID",0},
2322 { "_time_t","_uint",0},
2323 { "_time_t","_size_t",0},
2324 { "_wxCoord","_int",0},
2325 { "_wxCoord","_signed_int",0},
2326 { "_wxCoord","_unsigned_int",0},
2327 { "_wxCoord","_wxWindowID",0},
2328 { "_wxCoord","_uint",0},
2329 { "_wxCoord","_EBool",0},
2330 { "_wxCoord","_size_t",0},
2331 { "_wxCoord","_time_t",0},
2332 { "_wxCoord","_wxPrintQuality",0},
2333 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2334 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2335 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2336 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2337 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2338 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2339 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2340 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2341 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2342 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2345 static PyObject
*SWIG_globals
;
2349 SWIGEXPORT(void) initframesc() {
2351 SWIG_globals
= SWIG_newvarlink();
2352 m
= Py_InitModule("framesc", framescMethods
);
2353 d
= PyModule_GetDict(m
);
2354 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2355 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2356 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2357 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2358 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2359 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2360 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2363 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2364 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);