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 ) -1;
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 #define wxFrame_DoMenuUpdates(_swigobj,_swigarg0) (_swigobj->DoMenuUpdates(_swigarg0))
1565 static PyObject
*_wrap_wxFrame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1568 wxMenu
* _arg1
= (wxMenu
*) NULL
;
1569 PyObject
* _argo0
= 0;
1570 PyObject
* _argo1
= 0;
1571 char *_kwnames
[] = { "self","menu", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFrame_DoMenuUpdates",_kwnames
,&_argo0
,&_argo1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_DoMenuUpdates. Expected _wxFrame_p.");
1584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_DoMenuUpdates. Expected _wxMenu_p.");
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 wxFrame_DoMenuUpdates(_arg0
,_arg1
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 #define wxFrame_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
1602 static PyObject
*_wrap_wxFrame_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 long _arg1
= (long ) wxUPDATE_UI_NONE
;
1606 PyObject
* _argo0
= 0;
1607 char *_kwnames
[] = { "self","flags", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxFrame_UpdateWindowUI",_kwnames
,&_argo0
,&_arg1
))
1613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_UpdateWindowUI. Expected _wxFrame_p.");
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 wxFrame_UpdateWindowUI(_arg0
,_arg1
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) return NULL
;
1625 } Py_INCREF(Py_None
);
1626 _resultobj
= Py_None
;
1630 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1632 wxTopLevelWindow
*dest
;
1633 src
= (wxDialog
*) ptr
;
1634 dest
= (wxTopLevelWindow
*) src
;
1635 return (void *) dest
;
1638 static void *SwigwxDialogTowxWindow(void *ptr
) {
1641 src
= (wxDialog
*) ptr
;
1642 dest
= (wxWindow
*) src
;
1643 return (void *) dest
;
1646 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1649 src
= (wxDialog
*) ptr
;
1650 dest
= (wxEvtHandler
*) src
;
1651 return (void *) dest
;
1654 static void *SwigwxDialogTowxObject(void *ptr
) {
1657 src
= (wxDialog
*) ptr
;
1658 dest
= (wxObject
*) src
;
1659 return (void *) dest
;
1662 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1663 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1669 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1670 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1671 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1672 wxString
* _arg6
= (wxString
*) &wxPyDialogNameStr
;
1673 PyObject
* _argo0
= 0;
1674 PyObject
* _obj2
= 0;
1676 PyObject
* _obj3
= 0;
1678 PyObject
* _obj4
= 0;
1679 PyObject
* _obj6
= 0;
1680 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1694 _arg2
= wxString_in_helper(_obj2
);
1701 if (! wxPoint_helper(_obj3
, &_arg3
))
1707 if (! wxSize_helper(_obj4
, &_arg4
))
1712 _arg6
= wxString_in_helper(_obj6
);
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) return NULL
;
1723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 _resultobj
= Py_None
;
1740 #define new_wxPreDialog() (new wxDialog())
1741 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 char *_kwnames
[] = { NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 _result
= (wxDialog
*)new_wxPreDialog();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1758 _resultobj
= Py_BuildValue("s",_ptemp
);
1761 _resultobj
= Py_None
;
1766 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1767 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1774 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1775 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1776 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1777 wxString
* _arg7
= (wxString
*) &wxPyDialogNameStr
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _argo1
= 0;
1780 PyObject
* _obj3
= 0;
1782 PyObject
* _obj4
= 0;
1784 PyObject
* _obj5
= 0;
1785 PyObject
* _obj7
= 0;
1786 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
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_Create. Expected _wxDialog_p.");
1799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1806 _arg3
= wxString_in_helper(_obj3
);
1813 if (! wxPoint_helper(_obj4
, &_arg4
))
1819 if (! wxSize_helper(_obj5
, &_arg5
))
1824 _arg7
= wxString_in_helper(_obj7
);
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1846 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1847 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1850 int _arg1
= (int ) wxBOTH
;
1851 PyObject
* _argo0
= 0;
1852 char *_kwnames
[] = { "self","direction", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 wxDialog_Centre(_arg0
,_arg1
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1876 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1880 PyObject
* _argo0
= 0;
1881 char *_kwnames
[] = { "self","retCode", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 wxDialog_EndModal(_arg0
,_arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1899 } Py_INCREF(Py_None
);
1900 _resultobj
= Py_None
;
1904 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1905 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self","flag", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1923 _arg1
= (bool ) tempbool1
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxDialog_SetModal(_arg0
,_arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1936 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= (bool )wxDialog_IsModal(_arg0
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } _resultobj
= Py_BuildValue("i",_result
);
1963 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1964 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 _result
= (int )wxDialog_ShowModal(_arg0
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) return NULL
;
1987 } _resultobj
= Py_BuildValue("i",_result
);
1991 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1992 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 _result
= (int )wxDialog_GetReturnCode(_arg0
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } _resultobj
= Py_BuildValue("i",_result
);
2019 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
2020 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self","retCode", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 wxDialog_SetReturnCode(_arg0
,_arg1
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) return NULL
;
2043 } Py_INCREF(Py_None
);
2044 _resultobj
= Py_None
;
2048 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
2049 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2054 PyObject
* _argo0
= 0;
2055 PyObject
* _obj1
= 0;
2056 char *_kwnames
[] = { "self","message", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
2069 _arg1
= wxString_in_helper(_obj1
);
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
2087 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
2088 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self","flags", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
2116 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
2119 src
= (wxMiniFrame
*) ptr
;
2120 dest
= (wxFrame
*) src
;
2121 return (void *) dest
;
2124 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
2126 wxTopLevelWindow
*dest
;
2127 src
= (wxMiniFrame
*) ptr
;
2128 dest
= (wxTopLevelWindow
*) src
;
2129 return (void *) dest
;
2132 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
2135 src
= (wxMiniFrame
*) ptr
;
2136 dest
= (wxWindow
*) src
;
2137 return (void *) dest
;
2140 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
2143 src
= (wxMiniFrame
*) ptr
;
2144 dest
= (wxEvtHandler
*) src
;
2145 return (void *) dest
;
2148 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
2151 src
= (wxMiniFrame
*) ptr
;
2152 dest
= (wxObject
*) src
;
2153 return (void *) dest
;
2156 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2157 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxMiniFrame
* _result
;
2163 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2164 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2165 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
2166 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
2167 PyObject
* _argo0
= 0;
2168 PyObject
* _obj2
= 0;
2170 PyObject
* _obj3
= 0;
2172 PyObject
* _obj4
= 0;
2173 PyObject
* _obj6
= 0;
2174 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
2188 _arg2
= wxString_in_helper(_obj2
);
2195 if (! wxPoint_helper(_obj3
, &_arg3
))
2201 if (! wxSize_helper(_obj4
, &_arg4
))
2206 _arg6
= wxString_in_helper(_obj6
);
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2218 _resultobj
= Py_BuildValue("s",_ptemp
);
2221 _resultobj
= Py_None
;
2234 #define new_wxPreMiniFrame() (new wxMiniFrame())
2235 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2237 wxMiniFrame
* _result
;
2238 char *_kwnames
[] = { NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2252 _resultobj
= Py_BuildValue("s",_ptemp
);
2255 _resultobj
= Py_None
;
2260 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2261 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2264 wxMiniFrame
* _arg0
;
2268 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2269 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2270 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2271 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
2272 PyObject
* _argo0
= 0;
2273 PyObject
* _argo1
= 0;
2274 PyObject
* _obj3
= 0;
2276 PyObject
* _obj4
= 0;
2278 PyObject
* _obj5
= 0;
2279 PyObject
* _obj7
= 0;
2280 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2300 _arg3
= wxString_in_helper(_obj3
);
2307 if (! wxPoint_helper(_obj4
, &_arg4
))
2313 if (! wxSize_helper(_obj5
, &_arg5
))
2318 _arg7
= wxString_in_helper(_obj7
);
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) return NULL
;
2328 } _resultobj
= Py_BuildValue("i",_result
);
2340 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr
) {
2341 wxSplashScreenWindow
*src
;
2343 src
= (wxSplashScreenWindow
*) ptr
;
2344 dest
= (wxWindow
*) src
;
2345 return (void *) dest
;
2348 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr
) {
2349 wxSplashScreenWindow
*src
;
2351 src
= (wxSplashScreenWindow
*) ptr
;
2352 dest
= (wxEvtHandler
*) src
;
2353 return (void *) dest
;
2356 static void *SwigwxSplashScreenWindowTowxObject(void *ptr
) {
2357 wxSplashScreenWindow
*src
;
2359 src
= (wxSplashScreenWindow
*) ptr
;
2360 dest
= (wxObject
*) src
;
2361 return (void *) dest
;
2364 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2365 static PyObject
*_wrap_new_wxSplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxSplashScreenWindow
* _result
;
2371 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2372 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2373 long _arg5
= (long ) wxNO_BORDER
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2377 PyObject
* _obj3
= 0;
2379 PyObject
* _obj4
= 0;
2380 char *_kwnames
[] = { "bitmap","parent","id","pos","size","style", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOl:new_wxSplashScreenWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
2387 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2402 if (! wxPoint_helper(_obj3
, &_arg3
))
2408 if (! wxSize_helper(_obj4
, &_arg4
))
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 _result
= (wxSplashScreenWindow
*)new_wxSplashScreenWindow(*_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2419 _resultobj
= Py_BuildValue("s",_ptemp
);
2422 _resultobj
= Py_None
;
2427 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2428 static PyObject
*_wrap_wxSplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxSplashScreenWindow
* _arg0
;
2432 PyObject
* _argo0
= 0;
2433 PyObject
* _argo1
= 0;
2434 char *_kwnames
[] = { "self","bitmap", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplashScreenWindow_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2447 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 wxSplashScreenWindow_SetBitmap(_arg0
,*_arg1
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2464 static PyObject
*_wrap_wxSplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2467 wxSplashScreenWindow
* _arg0
;
2468 PyObject
* _argo0
= 0;
2469 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreenWindow_GetBitmap",_kwnames
,&_argo0
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxBitmap
& _result_ref
= wxSplashScreenWindow_GetBitmap(_arg0
);
2485 _result
= (wxBitmap
*) &_result_ref
;
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) return NULL
;
2490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2494 _resultobj
= Py_None
;
2499 static void *SwigwxSplashScreenTowxFrame(void *ptr
) {
2500 wxSplashScreen
*src
;
2502 src
= (wxSplashScreen
*) ptr
;
2503 dest
= (wxFrame
*) src
;
2504 return (void *) dest
;
2507 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr
) {
2508 wxSplashScreen
*src
;
2509 wxTopLevelWindow
*dest
;
2510 src
= (wxSplashScreen
*) ptr
;
2511 dest
= (wxTopLevelWindow
*) src
;
2512 return (void *) dest
;
2515 static void *SwigwxSplashScreenTowxWindow(void *ptr
) {
2516 wxSplashScreen
*src
;
2518 src
= (wxSplashScreen
*) ptr
;
2519 dest
= (wxWindow
*) src
;
2520 return (void *) dest
;
2523 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr
) {
2524 wxSplashScreen
*src
;
2526 src
= (wxSplashScreen
*) ptr
;
2527 dest
= (wxEvtHandler
*) src
;
2528 return (void *) dest
;
2531 static void *SwigwxSplashScreenTowxObject(void *ptr
) {
2532 wxSplashScreen
*src
;
2534 src
= (wxSplashScreen
*) ptr
;
2535 dest
= (wxObject
*) src
;
2536 return (void *) dest
;
2539 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2540 static PyObject
*_wrap_new_wxSplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2542 wxSplashScreen
* _result
;
2548 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2549 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
2550 long _arg7
= (long ) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo3
= 0;
2554 PyObject
* _obj5
= 0;
2556 PyObject
* _obj6
= 0;
2557 char *_kwnames
[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliOi|OOl:new_wxSplashScreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
))
2564 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2570 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2579 if (! wxPoint_helper(_obj5
, &_arg5
))
2585 if (! wxSize_helper(_obj6
, &_arg6
))
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 _result
= (wxSplashScreen
*)new_wxSplashScreen(*_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) return NULL
;
2595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreen_p");
2596 _resultobj
= Py_BuildValue("s",_ptemp
);
2599 _resultobj
= Py_None
;
2604 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2605 static PyObject
*_wrap_wxSplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 wxSplashScreen
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashStyle",_kwnames
,&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 _result
= (long )wxSplashScreen_GetSplashStyle(_arg0
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) return NULL
;
2628 } _resultobj
= Py_BuildValue("l",_result
);
2632 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2633 static PyObject
*_wrap_wxSplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxSplashScreenWindow
* _result
;
2636 wxSplashScreen
* _arg0
;
2637 PyObject
* _argo0
= 0;
2638 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashWindow",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 _result
= (wxSplashScreenWindow
*)wxSplashScreen_GetSplashWindow(_arg0
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) return NULL
;
2658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2659 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 _resultobj
= Py_None
;
2667 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2668 static PyObject
*_wrap_wxSplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 wxSplashScreen
* _arg0
;
2672 PyObject
* _argo0
= 0;
2673 char *_kwnames
[] = { "self", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetTimeout",_kwnames
,&_argo0
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 _result
= (int )wxSplashScreen_GetTimeout(_arg0
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) return NULL
;
2691 } _resultobj
= Py_BuildValue("i",_result
);
2695 static PyMethodDef framescMethods
[] = {
2696 { "wxSplashScreen_GetTimeout", (PyCFunction
) _wrap_wxSplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
2697 { "wxSplashScreen_GetSplashWindow", (PyCFunction
) _wrap_wxSplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2698 { "wxSplashScreen_GetSplashStyle", (PyCFunction
) _wrap_wxSplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
2699 { "new_wxSplashScreen", (PyCFunction
) _wrap_new_wxSplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
2700 { "wxSplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2701 { "wxSplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2702 { "new_wxSplashScreenWindow", (PyCFunction
) _wrap_new_wxSplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
2703 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2704 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2705 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2706 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2707 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2708 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2709 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2710 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2711 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2712 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2713 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2714 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2715 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2716 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2717 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2718 { "wxFrame_UpdateWindowUI", (PyCFunction
) _wrap_wxFrame_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
2719 { "wxFrame_DoMenuUpdates", (PyCFunction
) _wrap_wxFrame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
2720 { "wxFrame_SendSizeEvent", (PyCFunction
) _wrap_wxFrame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
2721 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2722 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2723 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2724 { "wxFrame_GetStatusBarPane", (PyCFunction
) _wrap_wxFrame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2725 { "wxFrame_SetStatusBarPane", (PyCFunction
) _wrap_wxFrame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2726 { "wxFrame_DoGiveHelp", (PyCFunction
) _wrap_wxFrame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
2727 { "wxFrame_PopStatusText", (PyCFunction
) _wrap_wxFrame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2728 { "wxFrame_PushStatusText", (PyCFunction
) _wrap_wxFrame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2729 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2730 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2731 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2732 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2733 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2734 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2735 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2736 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2737 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2738 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2739 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2740 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2741 { "wxTopLevelWindow_SetShape", (PyCFunction
) _wrap_wxTopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
2742 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2743 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2744 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2745 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2746 { "wxTopLevelWindow_SetIcons", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
2747 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2748 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2749 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2750 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2751 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2752 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2753 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2754 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2755 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2756 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2763 * This table is used by the pointer type-checker
2765 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2766 { "_signed_long","_long",0},
2767 { "_wxPrintQuality","_wxCoord",0},
2768 { "_wxPrintQuality","_int",0},
2769 { "_wxPrintQuality","_signed_int",0},
2770 { "_wxPrintQuality","_unsigned_int",0},
2771 { "_wxPrintQuality","_wxWindowID",0},
2772 { "_wxPrintQuality","_uint",0},
2773 { "_wxPrintQuality","_EBool",0},
2774 { "_wxPrintQuality","_size_t",0},
2775 { "_wxPrintQuality","_time_t",0},
2776 { "_byte","_unsigned_char",0},
2777 { "_long","_unsigned_long",0},
2778 { "_long","_signed_long",0},
2779 { "_size_t","_wxCoord",0},
2780 { "_size_t","_wxPrintQuality",0},
2781 { "_size_t","_time_t",0},
2782 { "_size_t","_unsigned_int",0},
2783 { "_size_t","_int",0},
2784 { "_size_t","_wxWindowID",0},
2785 { "_size_t","_uint",0},
2786 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow
},
2787 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2788 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2789 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2790 { "_uint","_wxCoord",0},
2791 { "_uint","_wxPrintQuality",0},
2792 { "_uint","_time_t",0},
2793 { "_uint","_size_t",0},
2794 { "_uint","_unsigned_int",0},
2795 { "_uint","_int",0},
2796 { "_uint","_wxWindowID",0},
2797 { "_wxChar","_char",0},
2798 { "_char","_wxChar",0},
2799 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2800 { "_EBool","_wxCoord",0},
2801 { "_EBool","_wxPrintQuality",0},
2802 { "_EBool","_signed_int",0},
2803 { "_EBool","_int",0},
2804 { "_EBool","_wxWindowID",0},
2805 { "_unsigned_long","_long",0},
2806 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2807 { "_signed_int","_wxCoord",0},
2808 { "_signed_int","_wxPrintQuality",0},
2809 { "_signed_int","_EBool",0},
2810 { "_signed_int","_wxWindowID",0},
2811 { "_signed_int","_int",0},
2812 { "_WXTYPE","_short",0},
2813 { "_WXTYPE","_signed_short",0},
2814 { "_WXTYPE","_unsigned_short",0},
2815 { "_unsigned_short","_WXTYPE",0},
2816 { "_unsigned_short","_short",0},
2817 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject
},
2818 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject
},
2819 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2820 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2821 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2822 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2823 { "_signed_short","_WXTYPE",0},
2824 { "_signed_short","_short",0},
2825 { "_unsigned_char","_byte",0},
2826 { "_unsigned_int","_wxCoord",0},
2827 { "_unsigned_int","_wxPrintQuality",0},
2828 { "_unsigned_int","_time_t",0},
2829 { "_unsigned_int","_size_t",0},
2830 { "_unsigned_int","_uint",0},
2831 { "_unsigned_int","_wxWindowID",0},
2832 { "_unsigned_int","_int",0},
2833 { "_short","_WXTYPE",0},
2834 { "_short","_unsigned_short",0},
2835 { "_short","_signed_short",0},
2836 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame
},
2837 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2838 { "_wxWindowID","_wxCoord",0},
2839 { "_wxWindowID","_wxPrintQuality",0},
2840 { "_wxWindowID","_time_t",0},
2841 { "_wxWindowID","_size_t",0},
2842 { "_wxWindowID","_EBool",0},
2843 { "_wxWindowID","_uint",0},
2844 { "_wxWindowID","_int",0},
2845 { "_wxWindowID","_signed_int",0},
2846 { "_wxWindowID","_unsigned_int",0},
2847 { "_int","_wxCoord",0},
2848 { "_int","_wxPrintQuality",0},
2849 { "_int","_time_t",0},
2850 { "_int","_size_t",0},
2851 { "_int","_EBool",0},
2852 { "_int","_uint",0},
2853 { "_int","_wxWindowID",0},
2854 { "_int","_unsigned_int",0},
2855 { "_int","_signed_int",0},
2856 { "_time_t","_wxCoord",0},
2857 { "_time_t","_wxPrintQuality",0},
2858 { "_time_t","_unsigned_int",0},
2859 { "_time_t","_int",0},
2860 { "_time_t","_wxWindowID",0},
2861 { "_time_t","_uint",0},
2862 { "_time_t","_size_t",0},
2863 { "_wxCoord","_int",0},
2864 { "_wxCoord","_signed_int",0},
2865 { "_wxCoord","_unsigned_int",0},
2866 { "_wxCoord","_wxWindowID",0},
2867 { "_wxCoord","_uint",0},
2868 { "_wxCoord","_EBool",0},
2869 { "_wxCoord","_size_t",0},
2870 { "_wxCoord","_time_t",0},
2871 { "_wxCoord","_wxPrintQuality",0},
2872 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler
},
2873 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler
},
2874 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2875 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2876 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2877 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2878 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow
},
2879 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow
},
2880 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2881 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2882 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2883 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2886 static PyObject
*SWIG_globals
;
2890 SWIGEXPORT(void) initframesc() {
2892 SWIG_globals
= SWIG_newvarlink();
2893 m
= Py_InitModule("framesc", framescMethods
);
2894 d
= PyModule_GetDict(m
);
2895 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2896 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2897 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2898 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2899 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2900 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2901 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2902 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT
));
2903 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN
));
2904 PyDict_SetItemString(d
,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE
));
2905 PyDict_SetItemString(d
,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT
));
2906 PyDict_SetItemString(d
,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT
));
2909 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2910 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);