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>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
96 static void *SwigwxTopLevelWindowTowxWindow(void *ptr
) {
97 wxTopLevelWindow
*src
;
99 src
= (wxTopLevelWindow
*) ptr
;
100 dest
= (wxWindow
*) src
;
101 return (void *) dest
;
104 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr
) {
105 wxTopLevelWindow
*src
;
107 src
= (wxTopLevelWindow
*) ptr
;
108 dest
= (wxEvtHandler
*) src
;
109 return (void *) dest
;
112 static void *SwigwxTopLevelWindowTowxObject(void *ptr
) {
113 wxTopLevelWindow
*src
;
115 src
= (wxTopLevelWindow
*) ptr
;
116 dest
= (wxObject
*) src
;
117 return (void *) dest
;
120 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
121 static PyObject
*_wrap_new_wxTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
122 PyObject
* _resultobj
;
123 wxTopLevelWindow
* _result
;
127 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
128 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
129 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
130 char * _arg6
= (char *) "frame";
131 PyObject
* _argo0
= 0;
132 PyObject
* _obj2
= 0;
134 PyObject
* _obj3
= 0;
136 PyObject
* _obj4
= 0;
137 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
151 #if PYTHON_API_VERSION >= 1009
152 char* tmpPtr
; int tmpSize
;
153 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
157 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
159 _arg2
= new wxString(tmpPtr
, tmpSize
);
161 if (!PyString_Check(_obj2
)) {
162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
165 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
171 if (! wxPoint_helper(_obj3
, &_arg3
))
177 if (! wxSize_helper(_obj4
, &_arg4
))
181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
182 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
184 wxPyEndAllowThreads(__tstate
);
185 if (PyErr_Occurred()) return NULL
;
187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
188 _resultobj
= Py_BuildValue("s",_ptemp
);
191 _resultobj
= Py_None
;
200 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
201 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
203 wxTopLevelWindow
* _result
;
204 char *_kwnames
[] = { NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
212 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
214 wxPyEndAllowThreads(__tstate
);
215 if (PyErr_Occurred()) return NULL
;
217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
218 _resultobj
= Py_BuildValue("s",_ptemp
);
221 _resultobj
= Py_None
;
226 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
227 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
230 wxTopLevelWindow
* _arg0
;
234 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
235 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
236 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
237 char * _arg7
= (char *) "frame";
238 PyObject
* _argo0
= 0;
239 PyObject
* _argo1
= 0;
240 PyObject
* _obj3
= 0;
242 PyObject
* _obj4
= 0;
244 PyObject
* _obj5
= 0;
245 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
265 #if PYTHON_API_VERSION >= 1009
266 char* tmpPtr
; int tmpSize
;
267 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
271 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
273 _arg3
= new wxString(tmpPtr
, tmpSize
);
275 if (!PyString_Check(_obj3
)) {
276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
279 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
285 if (! wxPoint_helper(_obj4
, &_arg4
))
291 if (! wxSize_helper(_obj5
, &_arg5
))
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
309 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
311 wxTopLevelWindow
* _arg0
;
312 bool _arg1
= (bool ) TRUE
;
313 PyObject
* _argo0
= 0;
314 int tempbool1
= (int) TRUE
;
315 char *_kwnames
[] = { "self","maximize", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
327 _arg1
= (bool ) tempbool1
;
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
340 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxTopLevelWindow
* _arg0
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
358 wxTopLevelWindow_Restore(_arg0
);
360 wxPyEndAllowThreads(__tstate
);
361 if (PyErr_Occurred()) return NULL
;
362 } Py_INCREF(Py_None
);
363 _resultobj
= Py_None
;
367 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
368 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
370 wxTopLevelWindow
* _arg0
;
371 bool _arg1
= (bool ) TRUE
;
372 PyObject
* _argo0
= 0;
373 int tempbool1
= (int) TRUE
;
374 char *_kwnames
[] = { "self","iconize", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
386 _arg1
= (bool ) tempbool1
;
388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
389 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
391 wxPyEndAllowThreads(__tstate
);
392 if (PyErr_Occurred()) return NULL
;
393 } Py_INCREF(Py_None
);
394 _resultobj
= Py_None
;
398 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
399 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxTopLevelWindow
* _arg0
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
427 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
430 wxTopLevelWindow
* _arg0
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } _resultobj
= Py_BuildValue("i",_result
);
454 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
455 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
458 wxTopLevelWindow
* _arg0
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 _result
= new wxIcon (wxTopLevelWindow_GetIcon(_arg0
));
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
480 _resultobj
= Py_BuildValue("s",_ptemp
);
484 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
485 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
487 wxTopLevelWindow
* _arg0
;
489 PyObject
* _argo0
= 0;
490 PyObject
* _argo1
= 0;
491 char *_kwnames
[] = { "self","icon", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
514 wxPyEndAllowThreads(__tstate
);
515 if (PyErr_Occurred()) return NULL
;
516 } Py_INCREF(Py_None
);
517 _resultobj
= Py_None
;
521 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
522 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
525 wxTopLevelWindow
* _arg0
;
527 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
528 PyObject
* _argo0
= 0;
530 char *_kwnames
[] = { "self","show","style", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
542 _arg1
= (bool ) tempbool1
;
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } _resultobj
= Py_BuildValue("i",_result
);
553 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
554 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
557 wxTopLevelWindow
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
577 } _resultobj
= Py_BuildValue("i",_result
);
581 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
582 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
584 wxTopLevelWindow
* _arg0
;
586 PyObject
* _argo0
= 0;
587 PyObject
* _obj1
= 0;
588 char *_kwnames
[] = { "self","title", NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
601 #if PYTHON_API_VERSION >= 1009
602 char* tmpPtr
; int tmpSize
;
603 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
607 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
609 _arg1
= new wxString(tmpPtr
, tmpSize
);
611 if (!PyString_Check(_obj1
)) {
612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
615 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } Py_INCREF(Py_None
);
625 _resultobj
= Py_None
;
633 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
634 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
637 wxTopLevelWindow
* _arg0
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
658 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
666 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
668 wxTopLevelWindow
*dest
;
669 src
= (wxFrame
*) ptr
;
670 dest
= (wxTopLevelWindow
*) src
;
671 return (void *) dest
;
674 static void *SwigwxFrameTowxWindow(void *ptr
) {
677 src
= (wxFrame
*) ptr
;
678 dest
= (wxWindow
*) src
;
679 return (void *) dest
;
682 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
685 src
= (wxFrame
*) ptr
;
686 dest
= (wxEvtHandler
*) src
;
687 return (void *) dest
;
690 static void *SwigwxFrameTowxObject(void *ptr
) {
693 src
= (wxFrame
*) ptr
;
694 dest
= (wxObject
*) src
;
695 return (void *) dest
;
698 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
699 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
705 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
706 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
707 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
708 char * _arg6
= (char *) "frame";
709 PyObject
* _argo0
= 0;
710 PyObject
* _obj2
= 0;
712 PyObject
* _obj3
= 0;
714 PyObject
* _obj4
= 0;
715 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
729 #if PYTHON_API_VERSION >= 1009
730 char* tmpPtr
; int tmpSize
;
731 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
735 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
737 _arg2
= new wxString(tmpPtr
, tmpSize
);
739 if (!PyString_Check(_obj2
)) {
740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
743 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
749 if (! wxPoint_helper(_obj3
, &_arg3
))
755 if (! wxSize_helper(_obj4
, &_arg4
))
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
766 _resultobj
= Py_BuildValue("s",_ptemp
);
769 _resultobj
= Py_None
;
778 #define new_wxPreFrame() (new wxFrame())
779 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 char *_kwnames
[] = { NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
790 _result
= (wxFrame
*)new_wxPreFrame();
792 wxPyEndAllowThreads(__tstate
);
793 if (PyErr_Occurred()) return NULL
;
795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
796 _resultobj
= Py_BuildValue("s",_ptemp
);
799 _resultobj
= Py_None
;
804 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
805 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
812 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
813 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
814 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
815 char * _arg7
= (char *) "frame";
816 PyObject
* _argo0
= 0;
817 PyObject
* _argo1
= 0;
818 PyObject
* _obj3
= 0;
820 PyObject
* _obj4
= 0;
822 PyObject
* _obj5
= 0;
823 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
843 #if PYTHON_API_VERSION >= 1009
844 char* tmpPtr
; int tmpSize
;
845 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
849 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
851 _arg3
= new wxString(tmpPtr
, tmpSize
);
853 if (!PyString_Check(_obj3
)) {
854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
857 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
863 if (! wxPoint_helper(_obj4
, &_arg4
))
869 if (! wxSize_helper(_obj5
, &_arg5
))
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
878 } _resultobj
= Py_BuildValue("i",_result
);
886 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
887 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
891 PyObject
* _argo0
= 0;
892 char *_kwnames
[] = { "self", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) return NULL
;
911 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
912 _resultobj
= Py_BuildValue("s",_ptemp
);
916 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
917 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
921 PyObject
* _argo0
= 0;
922 PyObject
* _argo1
= 0;
923 char *_kwnames
[] = { "self","menubar", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 wxFrame_SetMenuBar(_arg0
,_arg1
);
946 wxPyEndAllowThreads(__tstate
);
947 if (PyErr_Occurred()) return NULL
;
948 } Py_INCREF(Py_None
);
949 _resultobj
= Py_None
;
953 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
954 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
973 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
975 wxPyEndAllowThreads(__tstate
);
976 if (PyErr_Occurred()) return NULL
;
977 }{ _resultobj
= wxPyMake_wxObject(_result
); }
981 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
982 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
987 PyObject
* _argo0
= 0;
988 char *_kwnames
[] = { "self","id", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) return NULL
;
1006 } _resultobj
= Py_BuildValue("i",_result
);
1010 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1011 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1016 PyObject
* _argo0
= 0;
1017 char *_kwnames
[] = { "self","id", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) return NULL
;
1035 } _resultobj
= Py_BuildValue("i",_result
);
1039 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1040 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1042 wxStatusBar
* _result
;
1044 int _arg1
= (int ) 1;
1045 long _arg2
= (long ) wxST_SIZEGRIP
;
1046 wxWindowID _arg3
= (wxWindowID
) -1;
1047 char * _arg4
= (char *) "statusBar";
1048 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) return NULL
;
1067 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1071 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1072 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1074 wxStatusBar
* _result
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1091 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1093 wxPyEndAllowThreads(__tstate
);
1094 if (PyErr_Occurred()) return NULL
;
1095 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1099 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1100 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxStatusBar
* _arg1
;
1104 PyObject
* _argo0
= 0;
1105 PyObject
* _argo1
= 0;
1106 char *_kwnames
[] = { "self","statBar", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 wxFrame_SetStatusBar(_arg0
,_arg1
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1136 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1141 int _arg2
= (int ) 0;
1142 PyObject
* _argo0
= 0;
1143 PyObject
* _obj1
= 0;
1144 char *_kwnames
[] = { "self","text","number", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1157 #if PYTHON_API_VERSION >= 1009
1158 char* tmpPtr
; int tmpSize
;
1159 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1163 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1165 _arg1
= new wxString(tmpPtr
, tmpSize
);
1167 if (!PyString_Check(_obj1
)) {
1168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1171 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) return NULL
;
1180 } Py_INCREF(Py_None
);
1181 _resultobj
= Py_None
;
1189 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1190 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1195 PyObject
* _argo0
= 0;
1196 PyObject
* _obj2
= 0;
1197 char *_kwnames
[] = { "self","choices", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1211 _arg2
= int_LIST_helper(_obj2
);
1212 if (_arg2
== NULL
) {
1218 _arg1
= PyList_Size(_obj2
);
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } Py_INCREF(Py_None
);
1231 _resultobj
= Py_None
;
1238 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1239 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxToolBar
* _result
;
1243 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1244 wxWindowID _arg2
= (wxWindowID
) -1;
1245 char * _arg3
= (char *) "toolBar";
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self","style","id","name", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1269 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1270 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxToolBar
* _result
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1297 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1298 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 PyObject
* _argo0
= 0;
1303 PyObject
* _argo1
= 0;
1304 char *_kwnames
[] = { "self","toolbar", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxFrame_SetToolBar(_arg0
,_arg1
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1336 wxTopLevelWindow
*dest
;
1337 src
= (wxDialog
*) ptr
;
1338 dest
= (wxTopLevelWindow
*) src
;
1339 return (void *) dest
;
1342 static void *SwigwxDialogTowxWindow(void *ptr
) {
1345 src
= (wxDialog
*) ptr
;
1346 dest
= (wxWindow
*) src
;
1347 return (void *) dest
;
1350 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1353 src
= (wxDialog
*) ptr
;
1354 dest
= (wxEvtHandler
*) src
;
1355 return (void *) dest
;
1358 static void *SwigwxDialogTowxObject(void *ptr
) {
1361 src
= (wxDialog
*) ptr
;
1362 dest
= (wxObject
*) src
;
1363 return (void *) dest
;
1366 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1367 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1373 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1374 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1375 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1376 char * _arg6
= (char *) "dialogBox";
1377 PyObject
* _argo0
= 0;
1378 PyObject
* _obj2
= 0;
1380 PyObject
* _obj3
= 0;
1382 PyObject
* _obj4
= 0;
1383 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1397 #if PYTHON_API_VERSION >= 1009
1398 char* tmpPtr
; int tmpSize
;
1399 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1403 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1405 _arg2
= new wxString(tmpPtr
, tmpSize
);
1407 if (!PyString_Check(_obj2
)) {
1408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1411 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1417 if (! wxPoint_helper(_obj3
, &_arg3
))
1423 if (! wxSize_helper(_obj4
, &_arg4
))
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1434 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 _resultobj
= Py_None
;
1446 #define new_wxPreDialog() (new wxDialog())
1447 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1450 char *_kwnames
[] = { NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (wxDialog
*)new_wxPreDialog();
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1464 _resultobj
= Py_BuildValue("s",_ptemp
);
1467 _resultobj
= Py_None
;
1472 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1473 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1480 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1481 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1482 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1483 char * _arg7
= (char *) "dialogBox";
1484 PyObject
* _argo0
= 0;
1485 PyObject
* _argo1
= 0;
1486 PyObject
* _obj3
= 0;
1488 PyObject
* _obj4
= 0;
1490 PyObject
* _obj5
= 0;
1491 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1511 #if PYTHON_API_VERSION >= 1009
1512 char* tmpPtr
; int tmpSize
;
1513 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1517 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1519 _arg3
= new wxString(tmpPtr
, tmpSize
);
1521 if (!PyString_Check(_obj3
)) {
1522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1525 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1531 if (! wxPoint_helper(_obj4
, &_arg4
))
1537 if (! wxSize_helper(_obj5
, &_arg5
))
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } _resultobj
= Py_BuildValue("i",_result
);
1554 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1555 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 int _arg1
= (int ) wxBOTH
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self","direction", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 wxDialog_Centre(_arg0
,_arg1
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1578 } Py_INCREF(Py_None
);
1579 _resultobj
= Py_None
;
1583 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1584 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self","retCode", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 wxDialog_EndModal(_arg0
,_arg1
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) return NULL
;
1607 } Py_INCREF(Py_None
);
1608 _resultobj
= Py_None
;
1612 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1613 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1619 char *_kwnames
[] = { "self","flag", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1631 _arg1
= (bool ) tempbool1
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 wxDialog_SetModal(_arg0
,_arg1
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) return NULL
;
1638 } Py_INCREF(Py_None
);
1639 _resultobj
= Py_None
;
1643 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1644 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1648 PyObject
* _argo0
= 0;
1649 char *_kwnames
[] = { "self", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 _result
= (bool )wxDialog_IsModal(_arg0
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) return NULL
;
1667 } _resultobj
= Py_BuildValue("i",_result
);
1671 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1672 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1676 PyObject
* _argo0
= 0;
1677 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 _result
= (int )wxDialog_ShowModal(_arg0
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) return NULL
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1700 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 } _resultobj
= Py_BuildValue("i",_result
);
1727 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1728 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self","retCode", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 wxDialog_SetReturnCode(_arg0
,_arg1
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) return NULL
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1757 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 PyObject
* _obj1
= 0;
1764 char *_kwnames
[] = { "self","message", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1777 #if PYTHON_API_VERSION >= 1009
1778 char* tmpPtr
; int tmpSize
;
1779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1785 _arg1
= new wxString(tmpPtr
, tmpSize
);
1787 if (!PyString_Check(_obj1
)) {
1788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) return NULL
;
1800 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1808 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1809 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self","flags", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1837 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1840 src
= (wxMiniFrame
*) ptr
;
1841 dest
= (wxFrame
*) src
;
1842 return (void *) dest
;
1845 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1847 wxTopLevelWindow
*dest
;
1848 src
= (wxMiniFrame
*) ptr
;
1849 dest
= (wxTopLevelWindow
*) src
;
1850 return (void *) dest
;
1853 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1856 src
= (wxMiniFrame
*) ptr
;
1857 dest
= (wxWindow
*) src
;
1858 return (void *) dest
;
1861 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1864 src
= (wxMiniFrame
*) ptr
;
1865 dest
= (wxEvtHandler
*) src
;
1866 return (void *) dest
;
1869 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1872 src
= (wxMiniFrame
*) ptr
;
1873 dest
= (wxObject
*) src
;
1874 return (void *) dest
;
1877 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1878 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxMiniFrame
* _result
;
1884 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1885 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1886 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1887 char * _arg6
= (char *) "frame";
1888 PyObject
* _argo0
= 0;
1889 PyObject
* _obj2
= 0;
1891 PyObject
* _obj3
= 0;
1893 PyObject
* _obj4
= 0;
1894 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1908 #if PYTHON_API_VERSION >= 1009
1909 char* tmpPtr
; int tmpSize
;
1910 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1914 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1916 _arg2
= new wxString(tmpPtr
, tmpSize
);
1918 if (!PyString_Check(_obj2
)) {
1919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1922 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1928 if (! wxPoint_helper(_obj3
, &_arg3
))
1934 if (! wxSize_helper(_obj4
, &_arg4
))
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1945 _resultobj
= Py_BuildValue("s",_ptemp
);
1948 _resultobj
= Py_None
;
1957 #define new_wxPreMiniFrame() (new wxMiniFrame())
1958 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1960 wxMiniFrame
* _result
;
1961 char *_kwnames
[] = { NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1975 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 _resultobj
= Py_None
;
1983 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1984 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 wxMiniFrame
* _arg0
;
1991 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1992 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1993 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
1994 char * _arg7
= (char *) "frame";
1995 PyObject
* _argo0
= 0;
1996 PyObject
* _argo1
= 0;
1997 PyObject
* _obj3
= 0;
1999 PyObject
* _obj4
= 0;
2001 PyObject
* _obj5
= 0;
2002 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2022 #if PYTHON_API_VERSION >= 1009
2023 char* tmpPtr
; int tmpSize
;
2024 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2028 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2030 _arg3
= new wxString(tmpPtr
, tmpSize
);
2032 if (!PyString_Check(_obj3
)) {
2033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2036 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2042 if (! wxPoint_helper(_obj4
, &_arg4
))
2048 if (! wxSize_helper(_obj5
, &_arg5
))
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2065 static PyMethodDef framescMethods
[] = {
2066 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2082 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2083 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2084 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2085 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2086 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2087 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2088 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2089 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2090 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2091 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2092 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2093 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2094 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2095 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2096 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2097 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2098 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2099 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2100 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2101 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2102 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2117 * This table is used by the pointer type-checker
2119 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2120 { "_signed_long","_long",0},
2121 { "_wxPrintQuality","_wxCoord",0},
2122 { "_wxPrintQuality","_int",0},
2123 { "_wxPrintQuality","_signed_int",0},
2124 { "_wxPrintQuality","_unsigned_int",0},
2125 { "_wxPrintQuality","_wxWindowID",0},
2126 { "_wxPrintQuality","_uint",0},
2127 { "_wxPrintQuality","_EBool",0},
2128 { "_wxPrintQuality","_size_t",0},
2129 { "_wxPrintQuality","_time_t",0},
2130 { "_byte","_unsigned_char",0},
2131 { "_long","_unsigned_long",0},
2132 { "_long","_signed_long",0},
2133 { "_size_t","_wxCoord",0},
2134 { "_size_t","_wxPrintQuality",0},
2135 { "_size_t","_time_t",0},
2136 { "_size_t","_unsigned_int",0},
2137 { "_size_t","_int",0},
2138 { "_size_t","_wxWindowID",0},
2139 { "_size_t","_uint",0},
2140 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2141 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2142 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2143 { "_uint","_wxCoord",0},
2144 { "_uint","_wxPrintQuality",0},
2145 { "_uint","_time_t",0},
2146 { "_uint","_size_t",0},
2147 { "_uint","_unsigned_int",0},
2148 { "_uint","_int",0},
2149 { "_uint","_wxWindowID",0},
2150 { "_wxChar","_char",0},
2151 { "_char","_wxChar",0},
2152 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2153 { "_EBool","_wxCoord",0},
2154 { "_EBool","_wxPrintQuality",0},
2155 { "_EBool","_signed_int",0},
2156 { "_EBool","_int",0},
2157 { "_EBool","_wxWindowID",0},
2158 { "_unsigned_long","_long",0},
2159 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2160 { "_signed_int","_wxCoord",0},
2161 { "_signed_int","_wxPrintQuality",0},
2162 { "_signed_int","_EBool",0},
2163 { "_signed_int","_wxWindowID",0},
2164 { "_signed_int","_int",0},
2165 { "_WXTYPE","_short",0},
2166 { "_WXTYPE","_signed_short",0},
2167 { "_WXTYPE","_unsigned_short",0},
2168 { "_unsigned_short","_WXTYPE",0},
2169 { "_unsigned_short","_short",0},
2170 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2171 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2172 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2173 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2174 { "_signed_short","_WXTYPE",0},
2175 { "_signed_short","_short",0},
2176 { "_unsigned_char","_byte",0},
2177 { "_unsigned_int","_wxCoord",0},
2178 { "_unsigned_int","_wxPrintQuality",0},
2179 { "_unsigned_int","_time_t",0},
2180 { "_unsigned_int","_size_t",0},
2181 { "_unsigned_int","_uint",0},
2182 { "_unsigned_int","_wxWindowID",0},
2183 { "_unsigned_int","_int",0},
2184 { "_short","_WXTYPE",0},
2185 { "_short","_unsigned_short",0},
2186 { "_short","_signed_short",0},
2187 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2188 { "_wxWindowID","_wxCoord",0},
2189 { "_wxWindowID","_wxPrintQuality",0},
2190 { "_wxWindowID","_time_t",0},
2191 { "_wxWindowID","_size_t",0},
2192 { "_wxWindowID","_EBool",0},
2193 { "_wxWindowID","_uint",0},
2194 { "_wxWindowID","_int",0},
2195 { "_wxWindowID","_signed_int",0},
2196 { "_wxWindowID","_unsigned_int",0},
2197 { "_int","_wxCoord",0},
2198 { "_int","_wxPrintQuality",0},
2199 { "_int","_time_t",0},
2200 { "_int","_size_t",0},
2201 { "_int","_EBool",0},
2202 { "_int","_uint",0},
2203 { "_int","_wxWindowID",0},
2204 { "_int","_unsigned_int",0},
2205 { "_int","_signed_int",0},
2206 { "_time_t","_wxCoord",0},
2207 { "_time_t","_wxPrintQuality",0},
2208 { "_time_t","_unsigned_int",0},
2209 { "_time_t","_int",0},
2210 { "_time_t","_wxWindowID",0},
2211 { "_time_t","_uint",0},
2212 { "_time_t","_size_t",0},
2213 { "_wxCoord","_int",0},
2214 { "_wxCoord","_signed_int",0},
2215 { "_wxCoord","_unsigned_int",0},
2216 { "_wxCoord","_wxWindowID",0},
2217 { "_wxCoord","_uint",0},
2218 { "_wxCoord","_EBool",0},
2219 { "_wxCoord","_size_t",0},
2220 { "_wxCoord","_time_t",0},
2221 { "_wxCoord","_wxPrintQuality",0},
2222 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2223 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2224 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2225 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2226 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2227 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2228 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2229 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2232 static PyObject
*SWIG_globals
;
2236 SWIGEXPORT(void) initframesc() {
2238 SWIG_globals
= SWIG_newvarlink();
2239 m
= Py_InitModule("framesc", framescMethods
);
2240 d
= PyModule_GetDict(m
);
2241 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2242 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2243 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2244 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2245 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2246 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2247 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2250 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2251 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);