2 * FILE : src/msw/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 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
690 wxTopLevelWindow
*dest
;
691 src
= (wxFrame
*) ptr
;
692 dest
= (wxTopLevelWindow
*) src
;
693 return (void *) dest
;
696 static void *SwigwxFrameTowxWindow(void *ptr
) {
699 src
= (wxFrame
*) ptr
;
700 dest
= (wxWindow
*) src
;
701 return (void *) dest
;
704 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
707 src
= (wxFrame
*) ptr
;
708 dest
= (wxEvtHandler
*) src
;
709 return (void *) dest
;
712 static void *SwigwxFrameTowxObject(void *ptr
) {
715 src
= (wxFrame
*) ptr
;
716 dest
= (wxObject
*) src
;
717 return (void *) dest
;
720 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
721 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
727 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
728 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
729 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
730 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
731 PyObject
* _argo0
= 0;
732 PyObject
* _obj2
= 0;
734 PyObject
* _obj3
= 0;
736 PyObject
* _obj4
= 0;
737 PyObject
* _obj6
= 0;
738 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
752 _arg2
= wxString_in_helper(_obj2
);
759 if (! wxPoint_helper(_obj3
, &_arg3
))
765 if (! wxSize_helper(_obj4
, &_arg4
))
770 _arg6
= wxString_in_helper(_obj6
);
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) return NULL
;
781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
782 _resultobj
= Py_BuildValue("s",_ptemp
);
785 _resultobj
= Py_None
;
798 #define new_wxPreFrame() (new wxFrame())
799 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
802 char *_kwnames
[] = { NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
810 _result
= (wxFrame
*)new_wxPreFrame();
812 wxPyEndAllowThreads(__tstate
);
813 if (PyErr_Occurred()) return NULL
;
815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
816 _resultobj
= Py_BuildValue("s",_ptemp
);
819 _resultobj
= Py_None
;
824 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
825 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
832 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
833 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
834 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
835 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _argo1
= 0;
838 PyObject
* _obj3
= 0;
840 PyObject
* _obj4
= 0;
842 PyObject
* _obj5
= 0;
843 PyObject
* _obj7
= 0;
844 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
864 _arg3
= wxString_in_helper(_obj3
);
871 if (! wxPoint_helper(_obj4
, &_arg4
))
877 if (! wxSize_helper(_obj5
, &_arg5
))
882 _arg7
= wxString_in_helper(_obj7
);
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
892 } _resultobj
= Py_BuildValue("i",_result
);
904 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
905 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
929 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
930 _resultobj
= Py_BuildValue("s",_ptemp
);
934 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
935 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
939 PyObject
* _argo0
= 0;
940 PyObject
* _argo1
= 0;
941 char *_kwnames
[] = { "self","menubar", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 wxFrame_SetMenuBar(_arg0
,_arg1
);
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) return NULL
;
966 } Py_INCREF(Py_None
);
967 _resultobj
= Py_None
;
971 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
972 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
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_GetMenuBar. Expected _wxFrame_p.");
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) return NULL
;
995 }{ _resultobj
= wxPyMake_wxObject(_result
); }
999 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
1000 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1005 PyObject
* _argo0
= 0;
1006 char *_kwnames
[] = { "self","id", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } _resultobj
= Py_BuildValue("i",_result
);
1028 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1029 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1031 wxStatusBar
* _result
;
1033 int _arg1
= (int ) 1;
1034 long _arg2
= (long ) wxST_SIZEGRIP
;
1035 wxWindowID _arg3
= (wxWindowID
) -1;
1036 wxString
* _arg4
= (wxString
*) &wxPyStatusLineNameStr
;
1037 PyObject
* _argo0
= 0;
1038 PyObject
* _obj4
= 0;
1039 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iliO:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1053 _arg4
= wxString_in_helper(_obj4
);
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1063 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1071 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1072 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1074 wxStatusBar
* _result
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1091 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1093 wxPyEndAllowThreads(__tstate
);
1094 if (PyErr_Occurred()) return NULL
;
1095 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1099 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1100 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxStatusBar
* _arg1
;
1104 PyObject
* _argo0
= 0;
1105 PyObject
* _argo1
= 0;
1106 char *_kwnames
[] = { "self","statBar", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 wxFrame_SetStatusBar(_arg0
,_arg1
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1136 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1141 int _arg2
= (int ) 0;
1142 PyObject
* _argo0
= 0;
1143 PyObject
* _obj1
= 0;
1144 char *_kwnames
[] = { "self","text","number", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1157 _arg1
= wxString_in_helper(_obj1
);
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1176 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1177 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 PyObject
* _obj2
= 0;
1184 char *_kwnames
[] = { "self","choices", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1198 _arg2
= int_LIST_helper(_obj2
);
1199 if (_arg2
== NULL
) {
1205 _arg1
= PyList_Size(_obj2
);
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) return NULL
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1225 #define wxFrame_PushStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushStatusText(_swigarg0,_swigarg1))
1226 static PyObject
*_wrap_wxFrame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1230 int _arg2
= (int ) 0;
1231 PyObject
* _argo0
= 0;
1232 PyObject
* _obj1
= 0;
1233 char *_kwnames
[] = { "self","text","number", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_PushStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_PushStatusText. Expected _wxFrame_p.");
1246 _arg1
= wxString_in_helper(_obj1
);
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 wxFrame_PushStatusText(_arg0
,*_arg1
,_arg2
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1265 #define wxFrame_PopStatusText(_swigobj,_swigarg0) (_swigobj->PopStatusText(_swigarg0))
1266 static PyObject
*_wrap_wxFrame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1269 int _arg1
= (int ) 0;
1270 PyObject
* _argo0
= 0;
1271 char *_kwnames
[] = { "self","number", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_PopStatusText",_kwnames
,&_argo0
,&_arg1
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_PopStatusText. Expected _wxFrame_p.");
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxFrame_PopStatusText(_arg0
,_arg1
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1294 #define wxFrame_DoGiveHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoGiveHelp(_swigarg0,_swigarg1))
1295 static PyObject
*_wrap_wxFrame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1300 PyObject
* _argo0
= 0;
1301 PyObject
* _obj1
= 0;
1303 char *_kwnames
[] = { "self","text","show", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxFrame_DoGiveHelp",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_DoGiveHelp. Expected _wxFrame_p.");
1316 _arg1
= wxString_in_helper(_obj1
);
1320 _arg2
= (bool ) tempbool2
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 wxFrame_DoGiveHelp(_arg0
,*_arg1
,_arg2
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } Py_INCREF(Py_None
);
1328 _resultobj
= Py_None
;
1336 #define wxFrame_SetStatusBarPane(_swigobj,_swigarg0) (_swigobj->SetStatusBarPane(_swigarg0))
1337 static PyObject
*_wrap_wxFrame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self","n", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_SetStatusBarPane",_kwnames
,&_argo0
,&_arg1
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBarPane. Expected _wxFrame_p.");
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxFrame_SetStatusBarPane(_arg0
,_arg1
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxFrame_GetStatusBarPane(_swigobj) (_swigobj->GetStatusBarPane())
1366 static PyObject
*_wrap_wxFrame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBarPane",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBarPane. Expected _wxFrame_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (int )wxFrame_GetStatusBarPane(_arg0
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1394 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxToolBar
* _result
;
1398 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1399 wxWindowID _arg2
= (wxWindowID
) -1;
1400 wxString
* _arg3
= (wxString
*) &wxPyToolBarNameStr
;
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _obj3
= 0;
1403 char *_kwnames
[] = { "self","style","id","name", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|liO:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1417 _arg3
= wxString_in_helper(_obj3
);
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,*_arg3
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1435 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1436 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxToolBar
* _result
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1464 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1470 char *_kwnames
[] = { "self","toolbar", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 wxFrame_SetToolBar(_arg0
,_arg1
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } Py_INCREF(Py_None
);
1496 _resultobj
= Py_None
;
1500 #define wxFrame_SendSizeEvent(_swigobj) (_swigobj->SendSizeEvent())
1501 static PyObject
*_wrap_wxFrame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_SendSizeEvent",_kwnames
,&_argo0
))
1511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SendSizeEvent. Expected _wxFrame_p.");
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 wxFrame_SendSizeEvent(_arg0
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } Py_INCREF(Py_None
);
1524 _resultobj
= Py_None
;
1528 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1530 wxTopLevelWindow
*dest
;
1531 src
= (wxDialog
*) ptr
;
1532 dest
= (wxTopLevelWindow
*) src
;
1533 return (void *) dest
;
1536 static void *SwigwxDialogTowxWindow(void *ptr
) {
1539 src
= (wxDialog
*) ptr
;
1540 dest
= (wxWindow
*) src
;
1541 return (void *) dest
;
1544 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1547 src
= (wxDialog
*) ptr
;
1548 dest
= (wxEvtHandler
*) src
;
1549 return (void *) dest
;
1552 static void *SwigwxDialogTowxObject(void *ptr
) {
1555 src
= (wxDialog
*) ptr
;
1556 dest
= (wxObject
*) src
;
1557 return (void *) dest
;
1560 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1561 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1567 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1568 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1569 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1570 wxString
* _arg6
= (wxString
*) &wxPyDialogNameStr
;
1571 PyObject
* _argo0
= 0;
1572 PyObject
* _obj2
= 0;
1574 PyObject
* _obj3
= 0;
1576 PyObject
* _obj4
= 0;
1577 PyObject
* _obj6
= 0;
1578 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1592 _arg2
= wxString_in_helper(_obj2
);
1599 if (! wxPoint_helper(_obj3
, &_arg3
))
1605 if (! wxSize_helper(_obj4
, &_arg4
))
1610 _arg6
= wxString_in_helper(_obj6
);
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 _resultobj
= Py_None
;
1638 #define new_wxPreDialog() (new wxDialog())
1639 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1642 char *_kwnames
[] = { NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 _result
= (wxDialog
*)new_wxPreDialog();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) return NULL
;
1655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1656 _resultobj
= Py_BuildValue("s",_ptemp
);
1659 _resultobj
= Py_None
;
1664 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1665 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1672 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1673 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1674 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1675 wxString
* _arg7
= (wxString
*) &wxPyDialogNameStr
;
1676 PyObject
* _argo0
= 0;
1677 PyObject
* _argo1
= 0;
1678 PyObject
* _obj3
= 0;
1680 PyObject
* _obj4
= 0;
1682 PyObject
* _obj5
= 0;
1683 PyObject
* _obj7
= 0;
1684 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1704 _arg3
= wxString_in_helper(_obj3
);
1711 if (! wxPoint_helper(_obj4
, &_arg4
))
1717 if (! wxSize_helper(_obj5
, &_arg5
))
1722 _arg7
= wxString_in_helper(_obj7
);
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1744 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1745 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1748 int _arg1
= (int ) wxBOTH
;
1749 PyObject
* _argo0
= 0;
1750 char *_kwnames
[] = { "self","direction", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 wxDialog_Centre(_arg0
,_arg1
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1774 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1778 PyObject
* _argo0
= 0;
1779 char *_kwnames
[] = { "self","retCode", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 wxDialog_EndModal(_arg0
,_arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1803 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self","flag", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1821 _arg1
= (bool ) tempbool1
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxDialog_SetModal(_arg0
,_arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1834 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (bool )wxDialog_IsModal(_arg0
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1862 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 _result
= (int )wxDialog_ShowModal(_arg0
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } _resultobj
= Py_BuildValue("i",_result
);
1889 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1890 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1894 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } _resultobj
= Py_BuildValue("i",_result
);
1917 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1918 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1922 PyObject
* _argo0
= 0;
1923 char *_kwnames
[] = { "self","retCode", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 wxDialog_SetReturnCode(_arg0
,_arg1
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) return NULL
;
1941 } Py_INCREF(Py_None
);
1942 _resultobj
= Py_None
;
1946 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1947 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1952 PyObject
* _argo0
= 0;
1953 PyObject
* _obj1
= 0;
1954 char *_kwnames
[] = { "self","message", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1967 _arg1
= wxString_in_helper(_obj1
);
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1985 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1986 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","flags", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
2014 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
2017 src
= (wxMiniFrame
*) ptr
;
2018 dest
= (wxFrame
*) src
;
2019 return (void *) dest
;
2022 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
2024 wxTopLevelWindow
*dest
;
2025 src
= (wxMiniFrame
*) ptr
;
2026 dest
= (wxTopLevelWindow
*) src
;
2027 return (void *) dest
;
2030 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
2033 src
= (wxMiniFrame
*) ptr
;
2034 dest
= (wxWindow
*) src
;
2035 return (void *) dest
;
2038 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
2041 src
= (wxMiniFrame
*) ptr
;
2042 dest
= (wxEvtHandler
*) src
;
2043 return (void *) dest
;
2046 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
2049 src
= (wxMiniFrame
*) ptr
;
2050 dest
= (wxObject
*) src
;
2051 return (void *) dest
;
2054 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2055 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxMiniFrame
* _result
;
2061 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2062 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2063 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
2064 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
2065 PyObject
* _argo0
= 0;
2066 PyObject
* _obj2
= 0;
2068 PyObject
* _obj3
= 0;
2070 PyObject
* _obj4
= 0;
2071 PyObject
* _obj6
= 0;
2072 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
2086 _arg2
= wxString_in_helper(_obj2
);
2093 if (! wxPoint_helper(_obj3
, &_arg3
))
2099 if (! wxSize_helper(_obj4
, &_arg4
))
2104 _arg6
= wxString_in_helper(_obj6
);
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) return NULL
;
2115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2116 _resultobj
= Py_BuildValue("s",_ptemp
);
2119 _resultobj
= Py_None
;
2132 #define new_wxPreMiniFrame() (new wxMiniFrame())
2133 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxMiniFrame
* _result
;
2136 char *_kwnames
[] = { NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2150 _resultobj
= Py_BuildValue("s",_ptemp
);
2153 _resultobj
= Py_None
;
2158 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2159 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 wxMiniFrame
* _arg0
;
2166 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2167 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2168 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2169 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
2170 PyObject
* _argo0
= 0;
2171 PyObject
* _argo1
= 0;
2172 PyObject
* _obj3
= 0;
2174 PyObject
* _obj4
= 0;
2176 PyObject
* _obj5
= 0;
2177 PyObject
* _obj7
= 0;
2178 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2198 _arg3
= wxString_in_helper(_obj3
);
2205 if (! wxPoint_helper(_obj4
, &_arg4
))
2211 if (! wxSize_helper(_obj5
, &_arg5
))
2216 _arg7
= wxString_in_helper(_obj7
);
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } _resultobj
= Py_BuildValue("i",_result
);
2238 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr
) {
2239 wxSplashScreenWindow
*src
;
2241 src
= (wxSplashScreenWindow
*) ptr
;
2242 dest
= (wxWindow
*) src
;
2243 return (void *) dest
;
2246 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr
) {
2247 wxSplashScreenWindow
*src
;
2249 src
= (wxSplashScreenWindow
*) ptr
;
2250 dest
= (wxEvtHandler
*) src
;
2251 return (void *) dest
;
2254 static void *SwigwxSplashScreenWindowTowxObject(void *ptr
) {
2255 wxSplashScreenWindow
*src
;
2257 src
= (wxSplashScreenWindow
*) ptr
;
2258 dest
= (wxObject
*) src
;
2259 return (void *) dest
;
2262 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2263 static PyObject
*_wrap_new_wxSplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2265 wxSplashScreenWindow
* _result
;
2269 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2270 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2271 long _arg5
= (long ) wxNO_BORDER
;
2272 PyObject
* _argo0
= 0;
2273 PyObject
* _argo1
= 0;
2275 PyObject
* _obj3
= 0;
2277 PyObject
* _obj4
= 0;
2278 char *_kwnames
[] = { "bitmap","parent","id","pos","size","style", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOl:new_wxSplashScreenWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
2285 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2300 if (! wxPoint_helper(_obj3
, &_arg3
))
2306 if (! wxSize_helper(_obj4
, &_arg4
))
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 _result
= (wxSplashScreenWindow
*)new_wxSplashScreenWindow(*_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) return NULL
;
2316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2317 _resultobj
= Py_BuildValue("s",_ptemp
);
2320 _resultobj
= Py_None
;
2325 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2326 static PyObject
*_wrap_wxSplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2328 wxSplashScreenWindow
* _arg0
;
2330 PyObject
* _argo0
= 0;
2331 PyObject
* _argo1
= 0;
2332 char *_kwnames
[] = { "self","bitmap", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplashScreenWindow_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
2338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2345 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 wxSplashScreenWindow_SetBitmap(_arg0
,*_arg1
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2362 static PyObject
*_wrap_wxSplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2365 wxSplashScreenWindow
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreenWindow_GetBitmap",_kwnames
,&_argo0
))
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_GetBitmap. Expected _wxSplashScreenWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 wxBitmap
& _result_ref
= wxSplashScreenWindow_GetBitmap(_arg0
);
2383 _result
= (wxBitmap
*) &_result_ref
;
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) return NULL
;
2388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2389 _resultobj
= Py_BuildValue("s",_ptemp
);
2392 _resultobj
= Py_None
;
2397 static void *SwigwxSplashScreenTowxFrame(void *ptr
) {
2398 wxSplashScreen
*src
;
2400 src
= (wxSplashScreen
*) ptr
;
2401 dest
= (wxFrame
*) src
;
2402 return (void *) dest
;
2405 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr
) {
2406 wxSplashScreen
*src
;
2407 wxTopLevelWindow
*dest
;
2408 src
= (wxSplashScreen
*) ptr
;
2409 dest
= (wxTopLevelWindow
*) src
;
2410 return (void *) dest
;
2413 static void *SwigwxSplashScreenTowxWindow(void *ptr
) {
2414 wxSplashScreen
*src
;
2416 src
= (wxSplashScreen
*) ptr
;
2417 dest
= (wxWindow
*) src
;
2418 return (void *) dest
;
2421 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr
) {
2422 wxSplashScreen
*src
;
2424 src
= (wxSplashScreen
*) ptr
;
2425 dest
= (wxEvtHandler
*) src
;
2426 return (void *) dest
;
2429 static void *SwigwxSplashScreenTowxObject(void *ptr
) {
2430 wxSplashScreen
*src
;
2432 src
= (wxSplashScreen
*) ptr
;
2433 dest
= (wxObject
*) src
;
2434 return (void *) dest
;
2437 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2438 static PyObject
*_wrap_new_wxSplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2440 wxSplashScreen
* _result
;
2446 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2447 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
2448 long _arg7
= (long ) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _argo3
= 0;
2452 PyObject
* _obj5
= 0;
2454 PyObject
* _obj6
= 0;
2455 char *_kwnames
[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliOi|OOl:new_wxSplashScreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
))
2462 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2468 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2477 if (! wxPoint_helper(_obj5
, &_arg5
))
2483 if (! wxSize_helper(_obj6
, &_arg6
))
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 _result
= (wxSplashScreen
*)new_wxSplashScreen(*_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) return NULL
;
2493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreen_p");
2494 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 _resultobj
= Py_None
;
2502 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2503 static PyObject
*_wrap_wxSplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2506 wxSplashScreen
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashStyle",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 _result
= (long )wxSplashScreen_GetSplashStyle(_arg0
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 } _resultobj
= Py_BuildValue("l",_result
);
2530 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2531 static PyObject
*_wrap_wxSplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2533 wxSplashScreenWindow
* _result
;
2534 wxSplashScreen
* _arg0
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashWindow",_kwnames
,&_argo0
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 _result
= (wxSplashScreenWindow
*)wxSplashScreen_GetSplashWindow(_arg0
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2557 _resultobj
= Py_BuildValue("s",_ptemp
);
2560 _resultobj
= Py_None
;
2565 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2566 static PyObject
*_wrap_wxSplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2569 wxSplashScreen
* _arg0
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetTimeout",_kwnames
,&_argo0
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 _result
= (int )wxSplashScreen_GetTimeout(_arg0
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } _resultobj
= Py_BuildValue("i",_result
);
2593 static PyMethodDef framescMethods
[] = {
2594 { "wxSplashScreen_GetTimeout", (PyCFunction
) _wrap_wxSplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
2595 { "wxSplashScreen_GetSplashWindow", (PyCFunction
) _wrap_wxSplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2596 { "wxSplashScreen_GetSplashStyle", (PyCFunction
) _wrap_wxSplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
2597 { "new_wxSplashScreen", (PyCFunction
) _wrap_new_wxSplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
2598 { "wxSplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2599 { "wxSplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2600 { "new_wxSplashScreenWindow", (PyCFunction
) _wrap_new_wxSplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
2601 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2602 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2603 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2604 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2605 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2606 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2607 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2608 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2609 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2610 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2611 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2612 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2613 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2614 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2615 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2616 { "wxFrame_SendSizeEvent", (PyCFunction
) _wrap_wxFrame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
2617 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2618 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2619 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2620 { "wxFrame_GetStatusBarPane", (PyCFunction
) _wrap_wxFrame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2621 { "wxFrame_SetStatusBarPane", (PyCFunction
) _wrap_wxFrame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
2622 { "wxFrame_DoGiveHelp", (PyCFunction
) _wrap_wxFrame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
2623 { "wxFrame_PopStatusText", (PyCFunction
) _wrap_wxFrame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2624 { "wxFrame_PushStatusText", (PyCFunction
) _wrap_wxFrame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2625 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2626 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2627 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2628 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2629 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2630 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2631 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2632 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2633 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2634 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2635 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2636 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2637 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2638 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2639 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2640 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2641 { "wxTopLevelWindow_SetIcons", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
2642 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2643 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2644 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2645 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2646 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2647 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2648 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2649 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2650 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2651 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2658 * This table is used by the pointer type-checker
2660 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2661 { "_signed_long","_long",0},
2662 { "_wxPrintQuality","_wxCoord",0},
2663 { "_wxPrintQuality","_int",0},
2664 { "_wxPrintQuality","_signed_int",0},
2665 { "_wxPrintQuality","_unsigned_int",0},
2666 { "_wxPrintQuality","_wxWindowID",0},
2667 { "_wxPrintQuality","_uint",0},
2668 { "_wxPrintQuality","_EBool",0},
2669 { "_wxPrintQuality","_size_t",0},
2670 { "_wxPrintQuality","_time_t",0},
2671 { "_byte","_unsigned_char",0},
2672 { "_long","_unsigned_long",0},
2673 { "_long","_signed_long",0},
2674 { "_size_t","_wxCoord",0},
2675 { "_size_t","_wxPrintQuality",0},
2676 { "_size_t","_time_t",0},
2677 { "_size_t","_unsigned_int",0},
2678 { "_size_t","_int",0},
2679 { "_size_t","_wxWindowID",0},
2680 { "_size_t","_uint",0},
2681 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow
},
2682 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2683 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2684 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2685 { "_uint","_wxCoord",0},
2686 { "_uint","_wxPrintQuality",0},
2687 { "_uint","_time_t",0},
2688 { "_uint","_size_t",0},
2689 { "_uint","_unsigned_int",0},
2690 { "_uint","_int",0},
2691 { "_uint","_wxWindowID",0},
2692 { "_wxChar","_char",0},
2693 { "_char","_wxChar",0},
2694 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2695 { "_EBool","_wxCoord",0},
2696 { "_EBool","_wxPrintQuality",0},
2697 { "_EBool","_signed_int",0},
2698 { "_EBool","_int",0},
2699 { "_EBool","_wxWindowID",0},
2700 { "_unsigned_long","_long",0},
2701 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2702 { "_signed_int","_wxCoord",0},
2703 { "_signed_int","_wxPrintQuality",0},
2704 { "_signed_int","_EBool",0},
2705 { "_signed_int","_wxWindowID",0},
2706 { "_signed_int","_int",0},
2707 { "_WXTYPE","_short",0},
2708 { "_WXTYPE","_signed_short",0},
2709 { "_WXTYPE","_unsigned_short",0},
2710 { "_unsigned_short","_WXTYPE",0},
2711 { "_unsigned_short","_short",0},
2712 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject
},
2713 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject
},
2714 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2715 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2716 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2717 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2718 { "_signed_short","_WXTYPE",0},
2719 { "_signed_short","_short",0},
2720 { "_unsigned_char","_byte",0},
2721 { "_unsigned_int","_wxCoord",0},
2722 { "_unsigned_int","_wxPrintQuality",0},
2723 { "_unsigned_int","_time_t",0},
2724 { "_unsigned_int","_size_t",0},
2725 { "_unsigned_int","_uint",0},
2726 { "_unsigned_int","_wxWindowID",0},
2727 { "_unsigned_int","_int",0},
2728 { "_short","_WXTYPE",0},
2729 { "_short","_unsigned_short",0},
2730 { "_short","_signed_short",0},
2731 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame
},
2732 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2733 { "_wxWindowID","_wxCoord",0},
2734 { "_wxWindowID","_wxPrintQuality",0},
2735 { "_wxWindowID","_time_t",0},
2736 { "_wxWindowID","_size_t",0},
2737 { "_wxWindowID","_EBool",0},
2738 { "_wxWindowID","_uint",0},
2739 { "_wxWindowID","_int",0},
2740 { "_wxWindowID","_signed_int",0},
2741 { "_wxWindowID","_unsigned_int",0},
2742 { "_int","_wxCoord",0},
2743 { "_int","_wxPrintQuality",0},
2744 { "_int","_time_t",0},
2745 { "_int","_size_t",0},
2746 { "_int","_EBool",0},
2747 { "_int","_uint",0},
2748 { "_int","_wxWindowID",0},
2749 { "_int","_unsigned_int",0},
2750 { "_int","_signed_int",0},
2751 { "_time_t","_wxCoord",0},
2752 { "_time_t","_wxPrintQuality",0},
2753 { "_time_t","_unsigned_int",0},
2754 { "_time_t","_int",0},
2755 { "_time_t","_wxWindowID",0},
2756 { "_time_t","_uint",0},
2757 { "_time_t","_size_t",0},
2758 { "_wxCoord","_int",0},
2759 { "_wxCoord","_signed_int",0},
2760 { "_wxCoord","_unsigned_int",0},
2761 { "_wxCoord","_wxWindowID",0},
2762 { "_wxCoord","_uint",0},
2763 { "_wxCoord","_EBool",0},
2764 { "_wxCoord","_size_t",0},
2765 { "_wxCoord","_time_t",0},
2766 { "_wxCoord","_wxPrintQuality",0},
2767 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler
},
2768 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler
},
2769 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2770 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2771 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2772 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2773 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow
},
2774 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow
},
2775 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2776 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2777 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2778 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2781 static PyObject
*SWIG_globals
;
2785 SWIGEXPORT(void) initframesc() {
2787 SWIG_globals
= SWIG_newvarlink();
2788 m
= Py_InitModule("framesc", framescMethods
);
2789 d
= PyModule_GetDict(m
);
2790 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2791 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2792 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2793 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2794 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2795 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2796 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2797 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT
));
2798 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN
));
2799 PyDict_SetItemString(d
,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE
));
2800 PyDict_SetItemString(d
,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT
));
2801 PyDict_SetItemString(d
,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT
));
2804 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2805 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);