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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initframesc
55 #define SWIG_name "framesc"
58 #include <wx/minifram.h>
59 #include <wx/splash.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 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(FrameNameStr
);
90 DECLARE_DEF_STRING(DialogNameStr
);
91 DECLARE_DEF_STRING(StatusLineNameStr
);
92 DECLARE_DEF_STRING(ToolBarNameStr
);
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 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
131 PyObject
* _argo0
= 0;
132 PyObject
* _obj2
= 0;
134 PyObject
* _obj3
= 0;
136 PyObject
* _obj4
= 0;
137 PyObject
* _obj6
= 0;
138 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
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 _arg2
= wxString_in_helper(_obj2
);
159 if (! wxPoint_helper(_obj3
, &_arg3
))
165 if (! wxSize_helper(_obj4
, &_arg4
))
170 _arg6
= wxString_in_helper(_obj6
);
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
182 _resultobj
= Py_BuildValue("s",_ptemp
);
185 _resultobj
= Py_None
;
198 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
199 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
201 wxTopLevelWindow
* _result
;
202 char *_kwnames
[] = { NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
210 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
212 wxPyEndAllowThreads(__tstate
);
213 if (PyErr_Occurred()) return NULL
;
215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
219 _resultobj
= Py_None
;
224 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
225 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
228 wxTopLevelWindow
* _arg0
;
232 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
233 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
234 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
235 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
236 PyObject
* _argo0
= 0;
237 PyObject
* _argo1
= 0;
238 PyObject
* _obj3
= 0;
240 PyObject
* _obj4
= 0;
242 PyObject
* _obj5
= 0;
243 PyObject
* _obj7
= 0;
244 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
264 _arg3
= wxString_in_helper(_obj3
);
271 if (! wxPoint_helper(_obj4
, &_arg4
))
277 if (! wxSize_helper(_obj5
, &_arg5
))
282 _arg7
= wxString_in_helper(_obj7
);
287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
290 wxPyEndAllowThreads(__tstate
);
291 if (PyErr_Occurred()) return NULL
;
292 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
305 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxTopLevelWindow
* _arg0
;
308 bool _arg1
= (bool ) TRUE
;
309 PyObject
* _argo0
= 0;
310 int tempbool1
= (int) TRUE
;
311 char *_kwnames
[] = { "self","maximize", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
323 _arg1
= (bool ) tempbool1
;
325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
326 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
328 wxPyEndAllowThreads(__tstate
);
329 if (PyErr_Occurred()) return NULL
;
330 } Py_INCREF(Py_None
);
331 _resultobj
= Py_None
;
335 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
336 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
338 wxTopLevelWindow
* _arg0
;
339 PyObject
* _argo0
= 0;
340 char *_kwnames
[] = { "self", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
354 wxTopLevelWindow_Restore(_arg0
);
356 wxPyEndAllowThreads(__tstate
);
357 if (PyErr_Occurred()) return NULL
;
358 } Py_INCREF(Py_None
);
359 _resultobj
= Py_None
;
363 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
364 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxTopLevelWindow
* _arg0
;
367 bool _arg1
= (bool ) TRUE
;
368 PyObject
* _argo0
= 0;
369 int tempbool1
= (int) TRUE
;
370 char *_kwnames
[] = { "self","iconize", NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
382 _arg1
= (bool ) tempbool1
;
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } Py_INCREF(Py_None
);
390 _resultobj
= Py_None
;
394 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
395 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 wxTopLevelWindow
* _arg0
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
422 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
423 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxTopLevelWindow
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
446 } _resultobj
= Py_BuildValue("i",_result
);
450 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
451 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxTopLevelWindow
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
471 _result
= new wxIcon (wxTopLevelWindow_GetIcon(_arg0
));
473 wxPyEndAllowThreads(__tstate
);
474 if (PyErr_Occurred()) return NULL
;
475 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
476 _resultobj
= Py_BuildValue("s",_ptemp
);
480 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
481 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxTopLevelWindow
* _arg0
;
485 PyObject
* _argo0
= 0;
486 PyObject
* _argo1
= 0;
487 char *_kwnames
[] = { "self","icon", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
500 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxTopLevelWindow_SetIcons(_swigobj,_swigarg0) (_swigobj->SetIcons(_swigarg0))
517 static PyObject
*_wrap_wxTopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxTopLevelWindow
* _arg0
;
520 wxIconBundle
* _arg1
;
521 PyObject
* _argo0
= 0;
522 PyObject
* _argo1
= 0;
523 char *_kwnames
[] = { "self","icons", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcons",_kwnames
,&_argo0
,&_argo1
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcons. Expected _wxTopLevelWindow_p.");
536 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIconBundle_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcons. Expected _wxIconBundle_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 wxTopLevelWindow_SetIcons(_arg0
,*_arg1
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
547 } Py_INCREF(Py_None
);
548 _resultobj
= Py_None
;
552 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
553 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 wxTopLevelWindow
* _arg0
;
558 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
559 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self","show","style", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
573 _arg1
= (bool ) tempbool1
;
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
580 } _resultobj
= Py_BuildValue("i",_result
);
584 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
585 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
588 wxTopLevelWindow
* _arg0
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
608 } _resultobj
= Py_BuildValue("i",_result
);
612 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
613 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
615 wxTopLevelWindow
* _arg0
;
617 PyObject
* _argo0
= 0;
618 PyObject
* _obj1
= 0;
619 char *_kwnames
[] = { "self","title", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
632 _arg1
= wxString_in_helper(_obj1
);
637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
638 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
640 wxPyEndAllowThreads(__tstate
);
641 if (PyErr_Occurred()) return NULL
;
642 } Py_INCREF(Py_None
);
643 _resultobj
= Py_None
;
651 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
652 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
655 wxTopLevelWindow
* _arg0
;
656 PyObject
* _argo0
= 0;
657 char *_kwnames
[] = { "self", NULL
};
660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
671 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
673 wxPyEndAllowThreads(__tstate
);
674 if (PyErr_Occurred()) return NULL
;
677 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
679 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
688 #define wxTopLevelWindow_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
689 static PyObject
*_wrap_wxTopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxTopLevelWindow
* _arg0
;
694 PyObject
* _argo0
= 0;
695 PyObject
* _argo1
= 0;
696 char *_kwnames
[] = { "self","region", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetShape",_kwnames
,&_argo0
,&_argo1
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetShape. Expected _wxTopLevelWindow_p.");
709 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetShape. Expected _wxRegion_p.");
715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
716 _result
= (bool )wxTopLevelWindow_SetShape(_arg0
,*_arg1
);
718 wxPyEndAllowThreads(__tstate
);
719 if (PyErr_Occurred()) return NULL
;
720 } _resultobj
= Py_BuildValue("i",_result
);
724 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
726 wxTopLevelWindow
*dest
;
727 src
= (wxFrame
*) ptr
;
728 dest
= (wxTopLevelWindow
*) src
;
729 return (void *) dest
;
732 static void *SwigwxFrameTowxWindow(void *ptr
) {
735 src
= (wxFrame
*) ptr
;
736 dest
= (wxWindow
*) src
;
737 return (void *) dest
;
740 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
743 src
= (wxFrame
*) ptr
;
744 dest
= (wxEvtHandler
*) src
;
745 return (void *) dest
;
748 static void *SwigwxFrameTowxObject(void *ptr
) {
751 src
= (wxFrame
*) ptr
;
752 dest
= (wxObject
*) src
;
753 return (void *) dest
;
756 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
757 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
763 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
764 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
765 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
766 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
767 PyObject
* _argo0
= 0;
768 PyObject
* _obj2
= 0;
770 PyObject
* _obj3
= 0;
772 PyObject
* _obj4
= 0;
773 PyObject
* _obj6
= 0;
774 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
788 _arg2
= wxString_in_helper(_obj2
);
795 if (! wxPoint_helper(_obj3
, &_arg3
))
801 if (! wxSize_helper(_obj4
, &_arg4
))
806 _arg6
= wxString_in_helper(_obj6
);
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
818 _resultobj
= Py_BuildValue("s",_ptemp
);
821 _resultobj
= Py_None
;
834 #define new_wxPreFrame() (new wxFrame())
835 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 char *_kwnames
[] = { NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 _result
= (wxFrame
*)new_wxPreFrame();
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) return NULL
;
851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
852 _resultobj
= Py_BuildValue("s",_ptemp
);
855 _resultobj
= Py_None
;
860 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
861 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
868 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
869 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
870 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
871 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
872 PyObject
* _argo0
= 0;
873 PyObject
* _argo1
= 0;
874 PyObject
* _obj3
= 0;
876 PyObject
* _obj4
= 0;
878 PyObject
* _obj5
= 0;
879 PyObject
* _obj7
= 0;
880 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
900 _arg3
= wxString_in_helper(_obj3
);
907 if (! wxPoint_helper(_obj4
, &_arg4
))
913 if (! wxSize_helper(_obj5
, &_arg5
))
918 _arg7
= wxString_in_helper(_obj7
);
923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
924 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
926 wxPyEndAllowThreads(__tstate
);
927 if (PyErr_Occurred()) return NULL
;
928 } _resultobj
= Py_BuildValue("i",_result
);
940 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
941 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
945 PyObject
* _argo0
= 0;
946 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) return NULL
;
965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
966 _resultobj
= Py_BuildValue("s",_ptemp
);
970 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
971 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
975 PyObject
* _argo0
= 0;
976 PyObject
* _argo1
= 0;
977 char *_kwnames
[] = { "self","menubar", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 wxFrame_SetMenuBar(_arg0
,_arg1
);
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) return NULL
;
1002 } Py_INCREF(Py_None
);
1003 _resultobj
= Py_None
;
1007 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
1008 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1010 wxMenuBar
* _result
;
1012 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
1026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1027 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
1029 wxPyEndAllowThreads(__tstate
);
1030 if (PyErr_Occurred()) return NULL
;
1031 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1035 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1036 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1041 PyObject
* _argo0
= 0;
1042 char *_kwnames
[] = { "self","id", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1060 } _resultobj
= Py_BuildValue("i",_result
);
1064 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1065 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1067 wxStatusBar
* _result
;
1069 int _arg1
= (int ) 1;
1070 long _arg2
= (long ) wxST_SIZEGRIP
;
1071 wxWindowID _arg3
= (wxWindowID
) -1;
1072 wxString
* _arg4
= (wxString
*) &wxPyStatusLineNameStr
;
1073 PyObject
* _argo0
= 0;
1074 PyObject
* _obj4
= 0;
1075 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iliO:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1089 _arg4
= wxString_in_helper(_obj4
);
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1107 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1108 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxStatusBar
* _result
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
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_GetStatusBar. Expected _wxFrame_p.");
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1135 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1136 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1139 wxStatusBar
* _arg1
;
1140 PyObject
* _argo0
= 0;
1141 PyObject
* _argo1
= 0;
1142 char *_kwnames
[] = { "self","statBar", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxFrame_SetStatusBar(_arg0
,_arg1
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1172 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1173 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1177 int _arg2
= (int ) 0;
1178 PyObject
* _argo0
= 0;
1179 PyObject
* _obj1
= 0;
1180 char *_kwnames
[] = { "self","text","number", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1193 _arg1
= wxString_in_helper(_obj1
);
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } Py_INCREF(Py_None
);
1204 _resultobj
= Py_None
;
1212 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1213 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1218 PyObject
* _argo0
= 0;
1219 PyObject
* _obj2
= 0;
1220 char *_kwnames
[] = { "self","choices", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1234 _arg2
= int_LIST_helper(_obj2
);
1235 if (_arg2
== NULL
) {
1241 _arg1
= PyList_Size(_obj2
);
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) return NULL
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1261 #define wxFrame_PushStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushStatusText(_swigarg0,_swigarg1))
1262 static PyObject
*_wrap_wxFrame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1266 int _arg2
= (int ) 0;
1267 PyObject
* _argo0
= 0;
1268 PyObject
* _obj1
= 0;
1269 char *_kwnames
[] = { "self","text","number", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_PushStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_PushStatusText. Expected _wxFrame_p.");
1282 _arg1
= wxString_in_helper(_obj1
);
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 wxFrame_PushStatusText(_arg0
,*_arg1
,_arg2
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) return NULL
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1301 #define wxFrame_PopStatusText(_swigobj,_swigarg0) (_swigobj->PopStatusText(_swigarg0))
1302 static PyObject
*_wrap_wxFrame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1305 int _arg1
= (int ) 0;
1306 PyObject
* _argo0
= 0;
1307 char *_kwnames
[] = { "self","number", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_PopStatusText",_kwnames
,&_argo0
,&_arg1
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_PopStatusText. Expected _wxFrame_p.");
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 wxFrame_PopStatusText(_arg0
,_arg1
);
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) return NULL
;
1325 } Py_INCREF(Py_None
);
1326 _resultobj
= Py_None
;
1330 #define wxFrame_DoGiveHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoGiveHelp(_swigarg0,_swigarg1))
1331 static PyObject
*_wrap_wxFrame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1336 PyObject
* _argo0
= 0;
1337 PyObject
* _obj1
= 0;
1339 char *_kwnames
[] = { "self","text","show", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxFrame_DoGiveHelp",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_DoGiveHelp. Expected _wxFrame_p.");
1352 _arg1
= wxString_in_helper(_obj1
);
1356 _arg2
= (bool ) tempbool2
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 wxFrame_DoGiveHelp(_arg0
,*_arg1
,_arg2
);
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) return NULL
;
1363 } Py_INCREF(Py_None
);
1364 _resultobj
= Py_None
;
1372 #define wxFrame_SetStatusBarPane(_swigobj,_swigarg0) (_swigobj->SetStatusBarPane(_swigarg0))
1373 static PyObject
*_wrap_wxFrame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self","n", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_SetStatusBarPane",_kwnames
,&_argo0
,&_arg1
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBarPane. Expected _wxFrame_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 wxFrame_SetStatusBarPane(_arg0
,_arg1
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxFrame_GetStatusBarPane(_swigobj) (_swigobj->GetStatusBarPane())
1402 static PyObject
*_wrap_wxFrame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBarPane",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBarPane. Expected _wxFrame_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (int )wxFrame_GetStatusBarPane(_arg0
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1430 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1432 wxToolBar
* _result
;
1434 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1435 wxWindowID _arg2
= (wxWindowID
) -1;
1436 wxString
* _arg3
= (wxString
*) &wxPyToolBarNameStr
;
1437 PyObject
* _argo0
= 0;
1438 PyObject
* _obj3
= 0;
1439 char *_kwnames
[] = { "self","style","id","name", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|liO:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1453 _arg3
= wxString_in_helper(_obj3
);
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,*_arg3
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1471 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1472 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 wxToolBar
* _result
;
1476 PyObject
* _argo0
= 0;
1477 char *_kwnames
[] = { "self", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1499 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1500 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 PyObject
* _argo1
= 0;
1506 char *_kwnames
[] = { "self","toolbar", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 wxFrame_SetToolBar(_arg0
,_arg1
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1536 #define wxFrame_SendSizeEvent(_swigobj) (_swigobj->SendSizeEvent())
1537 static PyObject
*_wrap_wxFrame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_SendSizeEvent",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SendSizeEvent. Expected _wxFrame_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 wxFrame_SendSizeEvent(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1566 wxTopLevelWindow
*dest
;
1567 src
= (wxDialog
*) ptr
;
1568 dest
= (wxTopLevelWindow
*) src
;
1569 return (void *) dest
;
1572 static void *SwigwxDialogTowxWindow(void *ptr
) {
1575 src
= (wxDialog
*) ptr
;
1576 dest
= (wxWindow
*) src
;
1577 return (void *) dest
;
1580 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1583 src
= (wxDialog
*) ptr
;
1584 dest
= (wxEvtHandler
*) src
;
1585 return (void *) dest
;
1588 static void *SwigwxDialogTowxObject(void *ptr
) {
1591 src
= (wxDialog
*) ptr
;
1592 dest
= (wxObject
*) src
;
1593 return (void *) dest
;
1596 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1597 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1603 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1604 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1605 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1606 wxString
* _arg6
= (wxString
*) &wxPyDialogNameStr
;
1607 PyObject
* _argo0
= 0;
1608 PyObject
* _obj2
= 0;
1610 PyObject
* _obj3
= 0;
1612 PyObject
* _obj4
= 0;
1613 PyObject
* _obj6
= 0;
1614 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1628 _arg2
= wxString_in_helper(_obj2
);
1635 if (! wxPoint_helper(_obj3
, &_arg3
))
1641 if (! wxSize_helper(_obj4
, &_arg4
))
1646 _arg6
= wxString_in_helper(_obj6
);
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1661 _resultobj
= Py_None
;
1674 #define new_wxPreDialog() (new wxDialog())
1675 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1678 char *_kwnames
[] = { NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 _result
= (wxDialog
*)new_wxPreDialog();
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) return NULL
;
1691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1692 _resultobj
= Py_BuildValue("s",_ptemp
);
1695 _resultobj
= Py_None
;
1700 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1701 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1708 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1709 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1710 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1711 wxString
* _arg7
= (wxString
*) &wxPyDialogNameStr
;
1712 PyObject
* _argo0
= 0;
1713 PyObject
* _argo1
= 0;
1714 PyObject
* _obj3
= 0;
1716 PyObject
* _obj4
= 0;
1718 PyObject
* _obj5
= 0;
1719 PyObject
* _obj7
= 0;
1720 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1740 _arg3
= wxString_in_helper(_obj3
);
1747 if (! wxPoint_helper(_obj4
, &_arg4
))
1753 if (! wxSize_helper(_obj5
, &_arg5
))
1758 _arg7
= wxString_in_helper(_obj7
);
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } _resultobj
= Py_BuildValue("i",_result
);
1780 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1781 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 int _arg1
= (int ) wxBOTH
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self","direction", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 wxDialog_Centre(_arg0
,_arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1810 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self","retCode", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_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_EndModal. Expected _wxDialog_p.");
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxDialog_EndModal(_arg0
,_arg1
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1839 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1843 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self","flag", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1857 _arg1
= (bool ) tempbool1
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxDialog_SetModal(_arg0
,_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1869 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1870 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= (bool )wxDialog_IsModal(_arg0
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1893 } _resultobj
= Py_BuildValue("i",_result
);
1897 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1898 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (int )wxDialog_ShowModal(_arg0
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1926 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } _resultobj
= Py_BuildValue("i",_result
);
1953 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1954 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","retCode", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxDialog_SetReturnCode(_arg0
,_arg1
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1982 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1983 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1988 PyObject
* _argo0
= 0;
1989 PyObject
* _obj1
= 0;
1990 char *_kwnames
[] = { "self","message", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
2003 _arg1
= wxString_in_helper(_obj1
);
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) return NULL
;
2013 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
2021 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
2022 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2027 PyObject
* _argo0
= 0;
2028 char *_kwnames
[] = { "self","flags", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
2050 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
2053 src
= (wxMiniFrame
*) ptr
;
2054 dest
= (wxFrame
*) src
;
2055 return (void *) dest
;
2058 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
2060 wxTopLevelWindow
*dest
;
2061 src
= (wxMiniFrame
*) ptr
;
2062 dest
= (wxTopLevelWindow
*) src
;
2063 return (void *) dest
;
2066 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
2069 src
= (wxMiniFrame
*) ptr
;
2070 dest
= (wxWindow
*) src
;
2071 return (void *) dest
;
2074 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
2077 src
= (wxMiniFrame
*) ptr
;
2078 dest
= (wxEvtHandler
*) src
;
2079 return (void *) dest
;
2082 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
2085 src
= (wxMiniFrame
*) ptr
;
2086 dest
= (wxObject
*) src
;
2087 return (void *) dest
;
2090 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2091 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2093 wxMiniFrame
* _result
;
2097 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2098 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2099 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
2100 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
2101 PyObject
* _argo0
= 0;
2102 PyObject
* _obj2
= 0;
2104 PyObject
* _obj3
= 0;
2106 PyObject
* _obj4
= 0;
2107 PyObject
* _obj6
= 0;
2108 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
2122 _arg2
= wxString_in_helper(_obj2
);
2129 if (! wxPoint_helper(_obj3
, &_arg3
))
2135 if (! wxSize_helper(_obj4
, &_arg4
))
2140 _arg6
= wxString_in_helper(_obj6
);
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2152 _resultobj
= Py_BuildValue("s",_ptemp
);
2155 _resultobj
= Py_None
;
2168 #define new_wxPreMiniFrame() (new wxMiniFrame())
2169 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2171 wxMiniFrame
* _result
;
2172 char *_kwnames
[] = { NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2186 _resultobj
= Py_BuildValue("s",_ptemp
);
2189 _resultobj
= Py_None
;
2194 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2195 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2198 wxMiniFrame
* _arg0
;
2202 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2203 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2204 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2205 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
2206 PyObject
* _argo0
= 0;
2207 PyObject
* _argo1
= 0;
2208 PyObject
* _obj3
= 0;
2210 PyObject
* _obj4
= 0;
2212 PyObject
* _obj5
= 0;
2213 PyObject
* _obj7
= 0;
2214 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2234 _arg3
= wxString_in_helper(_obj3
);
2241 if (! wxPoint_helper(_obj4
, &_arg4
))
2247 if (! wxSize_helper(_obj5
, &_arg5
))
2252 _arg7
= wxString_in_helper(_obj7
);
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2274 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr
) {
2275 wxSplashScreenWindow
*src
;
2277 src
= (wxSplashScreenWindow
*) ptr
;
2278 dest
= (wxWindow
*) src
;
2279 return (void *) dest
;
2282 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr
) {
2283 wxSplashScreenWindow
*src
;
2285 src
= (wxSplashScreenWindow
*) ptr
;
2286 dest
= (wxEvtHandler
*) src
;
2287 return (void *) dest
;
2290 static void *SwigwxSplashScreenWindowTowxObject(void *ptr
) {
2291 wxSplashScreenWindow
*src
;
2293 src
= (wxSplashScreenWindow
*) ptr
;
2294 dest
= (wxObject
*) src
;
2295 return (void *) dest
;
2298 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2299 static PyObject
*_wrap_new_wxSplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2301 wxSplashScreenWindow
* _result
;
2305 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2306 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2307 long _arg5
= (long ) wxNO_BORDER
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo1
= 0;
2311 PyObject
* _obj3
= 0;
2313 PyObject
* _obj4
= 0;
2314 char *_kwnames
[] = { "bitmap","parent","id","pos","size","style", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOl:new_wxSplashScreenWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
2321 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2336 if (! wxPoint_helper(_obj3
, &_arg3
))
2342 if (! wxSize_helper(_obj4
, &_arg4
))
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 _result
= (wxSplashScreenWindow
*)new_wxSplashScreenWindow(*_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) return NULL
;
2352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2353 _resultobj
= Py_BuildValue("s",_ptemp
);
2356 _resultobj
= Py_None
;
2361 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2362 static PyObject
*_wrap_wxSplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxSplashScreenWindow
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 PyObject
* _argo1
= 0;
2368 char *_kwnames
[] = { "self","bitmap", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplashScreenWindow_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2381 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxSplashScreenWindow_SetBitmap(_arg0
,*_arg1
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2398 static PyObject
*_wrap_wxSplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxSplashScreenWindow
* _arg0
;
2402 PyObject
* _argo0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreenWindow_GetBitmap",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 wxBitmap
& _result_ref
= wxSplashScreenWindow_GetBitmap(_arg0
);
2419 _result
= (wxBitmap
*) &_result_ref
;
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) return NULL
;
2424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2425 _resultobj
= Py_BuildValue("s",_ptemp
);
2428 _resultobj
= Py_None
;
2433 static void *SwigwxSplashScreenTowxFrame(void *ptr
) {
2434 wxSplashScreen
*src
;
2436 src
= (wxSplashScreen
*) ptr
;
2437 dest
= (wxFrame
*) src
;
2438 return (void *) dest
;
2441 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr
) {
2442 wxSplashScreen
*src
;
2443 wxTopLevelWindow
*dest
;
2444 src
= (wxSplashScreen
*) ptr
;
2445 dest
= (wxTopLevelWindow
*) src
;
2446 return (void *) dest
;
2449 static void *SwigwxSplashScreenTowxWindow(void *ptr
) {
2450 wxSplashScreen
*src
;
2452 src
= (wxSplashScreen
*) ptr
;
2453 dest
= (wxWindow
*) src
;
2454 return (void *) dest
;
2457 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr
) {
2458 wxSplashScreen
*src
;
2460 src
= (wxSplashScreen
*) ptr
;
2461 dest
= (wxEvtHandler
*) src
;
2462 return (void *) dest
;
2465 static void *SwigwxSplashScreenTowxObject(void *ptr
) {
2466 wxSplashScreen
*src
;
2468 src
= (wxSplashScreen
*) ptr
;
2469 dest
= (wxObject
*) src
;
2470 return (void *) dest
;
2473 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2474 static PyObject
*_wrap_new_wxSplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2476 wxSplashScreen
* _result
;
2482 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2483 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
2484 long _arg7
= (long ) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
2485 PyObject
* _argo0
= 0;
2486 PyObject
* _argo3
= 0;
2488 PyObject
* _obj5
= 0;
2490 PyObject
* _obj6
= 0;
2491 char *_kwnames
[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliOi|OOl:new_wxSplashScreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
))
2498 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2504 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2513 if (! wxPoint_helper(_obj5
, &_arg5
))
2519 if (! wxSize_helper(_obj6
, &_arg6
))
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 _result
= (wxSplashScreen
*)new_wxSplashScreen(*_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreen_p");
2530 _resultobj
= Py_BuildValue("s",_ptemp
);
2533 _resultobj
= Py_None
;
2538 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2539 static PyObject
*_wrap_wxSplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2542 wxSplashScreen
* _arg0
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashStyle",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 _result
= (long )wxSplashScreen_GetSplashStyle(_arg0
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) return NULL
;
2562 } _resultobj
= Py_BuildValue("l",_result
);
2566 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2567 static PyObject
*_wrap_wxSplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxSplashScreenWindow
* _result
;
2570 wxSplashScreen
* _arg0
;
2571 PyObject
* _argo0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashWindow",_kwnames
,&_argo0
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 _result
= (wxSplashScreenWindow
*)wxSplashScreen_GetSplashWindow(_arg0
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) return NULL
;
2592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2593 _resultobj
= Py_BuildValue("s",_ptemp
);
2596 _resultobj
= Py_None
;
2601 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2602 static PyObject
*_wrap_wxSplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2605 wxSplashScreen
* _arg0
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetTimeout",_kwnames
,&_argo0
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 _result
= (int )wxSplashScreen_GetTimeout(_arg0
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2625 } _resultobj
= Py_BuildValue("i",_result
);
2629 static PyMethodDef framescMethods
[] = {
2630 { "wxSplashScreen_GetTimeout", (PyCFunction
) _wrap_wxSplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxSplashScreen_GetSplashWindow", (PyCFunction
) _wrap_wxSplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxSplashScreen_GetSplashStyle", (PyCFunction
) _wrap_wxSplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "new_wxSplashScreen", (PyCFunction
) _wrap_new_wxSplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxSplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "wxSplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "new_wxSplashScreenWindow", (PyCFunction
) _wrap_new_wxSplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2652 { "wxFrame_SendSizeEvent", (PyCFunction
) _wrap_wxFrame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
2653 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2654 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2655 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2656 { "wxFrame_GetStatusBarPane", (PyCFunction
) _wrap_wxFrame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2657 { "wxFrame_SetStatusBarPane", (PyCFunction
) _wrap_wxFrame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2658 { "wxFrame_DoGiveHelp", (PyCFunction
) _wrap_wxFrame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
2659 { "wxFrame_PopStatusText", (PyCFunction
) _wrap_wxFrame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2660 { "wxFrame_PushStatusText", (PyCFunction
) _wrap_wxFrame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2661 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2662 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2663 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2664 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2665 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2666 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2667 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2668 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2669 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2670 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2671 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2672 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2673 { "wxTopLevelWindow_SetShape", (PyCFunction
) _wrap_wxTopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
2674 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2675 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2676 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2677 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2678 { "wxTopLevelWindow_SetIcons", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
2679 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2680 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2681 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2682 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2683 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2684 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2685 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2686 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2687 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2688 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2695 * This table is used by the pointer type-checker
2697 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2698 { "_signed_long","_long",0},
2699 { "_wxPrintQuality","_wxCoord",0},
2700 { "_wxPrintQuality","_int",0},
2701 { "_wxPrintQuality","_signed_int",0},
2702 { "_wxPrintQuality","_unsigned_int",0},
2703 { "_wxPrintQuality","_wxWindowID",0},
2704 { "_wxPrintQuality","_uint",0},
2705 { "_wxPrintQuality","_EBool",0},
2706 { "_wxPrintQuality","_size_t",0},
2707 { "_wxPrintQuality","_time_t",0},
2708 { "_byte","_unsigned_char",0},
2709 { "_long","_unsigned_long",0},
2710 { "_long","_signed_long",0},
2711 { "_size_t","_wxCoord",0},
2712 { "_size_t","_wxPrintQuality",0},
2713 { "_size_t","_time_t",0},
2714 { "_size_t","_unsigned_int",0},
2715 { "_size_t","_int",0},
2716 { "_size_t","_wxWindowID",0},
2717 { "_size_t","_uint",0},
2718 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow
},
2719 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2720 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2721 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2722 { "_uint","_wxCoord",0},
2723 { "_uint","_wxPrintQuality",0},
2724 { "_uint","_time_t",0},
2725 { "_uint","_size_t",0},
2726 { "_uint","_unsigned_int",0},
2727 { "_uint","_int",0},
2728 { "_uint","_wxWindowID",0},
2729 { "_wxChar","_char",0},
2730 { "_char","_wxChar",0},
2731 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2732 { "_EBool","_wxCoord",0},
2733 { "_EBool","_wxPrintQuality",0},
2734 { "_EBool","_signed_int",0},
2735 { "_EBool","_int",0},
2736 { "_EBool","_wxWindowID",0},
2737 { "_unsigned_long","_long",0},
2738 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2739 { "_signed_int","_wxCoord",0},
2740 { "_signed_int","_wxPrintQuality",0},
2741 { "_signed_int","_EBool",0},
2742 { "_signed_int","_wxWindowID",0},
2743 { "_signed_int","_int",0},
2744 { "_WXTYPE","_short",0},
2745 { "_WXTYPE","_signed_short",0},
2746 { "_WXTYPE","_unsigned_short",0},
2747 { "_unsigned_short","_WXTYPE",0},
2748 { "_unsigned_short","_short",0},
2749 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject
},
2750 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject
},
2751 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2752 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2753 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2754 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2755 { "_signed_short","_WXTYPE",0},
2756 { "_signed_short","_short",0},
2757 { "_unsigned_char","_byte",0},
2758 { "_unsigned_int","_wxCoord",0},
2759 { "_unsigned_int","_wxPrintQuality",0},
2760 { "_unsigned_int","_time_t",0},
2761 { "_unsigned_int","_size_t",0},
2762 { "_unsigned_int","_uint",0},
2763 { "_unsigned_int","_wxWindowID",0},
2764 { "_unsigned_int","_int",0},
2765 { "_short","_WXTYPE",0},
2766 { "_short","_unsigned_short",0},
2767 { "_short","_signed_short",0},
2768 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame
},
2769 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2770 { "_wxWindowID","_wxCoord",0},
2771 { "_wxWindowID","_wxPrintQuality",0},
2772 { "_wxWindowID","_time_t",0},
2773 { "_wxWindowID","_size_t",0},
2774 { "_wxWindowID","_EBool",0},
2775 { "_wxWindowID","_uint",0},
2776 { "_wxWindowID","_int",0},
2777 { "_wxWindowID","_signed_int",0},
2778 { "_wxWindowID","_unsigned_int",0},
2779 { "_int","_wxCoord",0},
2780 { "_int","_wxPrintQuality",0},
2781 { "_int","_time_t",0},
2782 { "_int","_size_t",0},
2783 { "_int","_EBool",0},
2784 { "_int","_uint",0},
2785 { "_int","_wxWindowID",0},
2786 { "_int","_unsigned_int",0},
2787 { "_int","_signed_int",0},
2788 { "_time_t","_wxCoord",0},
2789 { "_time_t","_wxPrintQuality",0},
2790 { "_time_t","_unsigned_int",0},
2791 { "_time_t","_int",0},
2792 { "_time_t","_wxWindowID",0},
2793 { "_time_t","_uint",0},
2794 { "_time_t","_size_t",0},
2795 { "_wxCoord","_int",0},
2796 { "_wxCoord","_signed_int",0},
2797 { "_wxCoord","_unsigned_int",0},
2798 { "_wxCoord","_wxWindowID",0},
2799 { "_wxCoord","_uint",0},
2800 { "_wxCoord","_EBool",0},
2801 { "_wxCoord","_size_t",0},
2802 { "_wxCoord","_time_t",0},
2803 { "_wxCoord","_wxPrintQuality",0},
2804 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler
},
2805 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler
},
2806 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2807 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2808 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2809 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2810 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow
},
2811 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow
},
2812 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2813 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2814 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2815 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2818 static PyObject
*SWIG_globals
;
2822 SWIGEXPORT(void) initframesc() {
2824 SWIG_globals
= SWIG_newvarlink();
2825 m
= Py_InitModule("framesc", framescMethods
);
2826 d
= PyModule_GetDict(m
);
2827 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2828 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2829 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2830 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2831 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2832 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2833 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2834 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT
));
2835 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN
));
2836 PyDict_SetItemString(d
,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE
));
2837 PyDict_SetItemString(d
,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT
));
2838 PyDict_SetItemString(d
,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT
));
2841 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2842 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);