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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initframesc
56 #define SWIG_name "framesc"
59 #include <wx/minifram.h>
60 #include <wx/splash.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
91 static void *SwigwxTopLevelWindowTowxWindow(void *ptr
) {
92 wxTopLevelWindow
*src
;
94 src
= (wxTopLevelWindow
*) ptr
;
95 dest
= (wxWindow
*) src
;
99 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr
) {
100 wxTopLevelWindow
*src
;
102 src
= (wxTopLevelWindow
*) ptr
;
103 dest
= (wxEvtHandler
*) src
;
104 return (void *) dest
;
107 static void *SwigwxTopLevelWindowTowxObject(void *ptr
) {
108 wxTopLevelWindow
*src
;
110 src
= (wxTopLevelWindow
*) ptr
;
111 dest
= (wxObject
*) src
;
112 return (void *) dest
;
115 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
116 static PyObject
*_wrap_new_wxTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxTopLevelWindow
* _result
;
122 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
123 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
124 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
125 char * _arg6
= (char *) "frame";
126 PyObject
* _argo0
= 0;
127 PyObject
* _obj2
= 0;
129 PyObject
* _obj3
= 0;
131 PyObject
* _obj4
= 0;
132 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
146 _arg2
= wxString_in_helper(_obj2
);
153 if (! wxPoint_helper(_obj3
, &_arg3
))
159 if (! wxSize_helper(_obj4
, &_arg4
))
163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
164 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
166 wxPyEndAllowThreads(__tstate
);
167 if (PyErr_Occurred()) return NULL
;
169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
170 _resultobj
= Py_BuildValue("s",_ptemp
);
173 _resultobj
= Py_None
;
182 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
183 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
185 wxTopLevelWindow
* _result
;
186 char *_kwnames
[] = { NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
194 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
196 wxPyEndAllowThreads(__tstate
);
197 if (PyErr_Occurred()) return NULL
;
199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
200 _resultobj
= Py_BuildValue("s",_ptemp
);
203 _resultobj
= Py_None
;
208 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
209 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
212 wxTopLevelWindow
* _arg0
;
216 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
217 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
218 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
219 char * _arg7
= (char *) "frame";
220 PyObject
* _argo0
= 0;
221 PyObject
* _argo1
= 0;
222 PyObject
* _obj3
= 0;
224 PyObject
* _obj4
= 0;
226 PyObject
* _obj5
= 0;
227 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
247 _arg3
= wxString_in_helper(_obj3
);
254 if (! wxPoint_helper(_obj4
, &_arg4
))
260 if (! wxSize_helper(_obj5
, &_arg5
))
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
265 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } _resultobj
= Py_BuildValue("i",_result
);
277 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
278 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
280 wxTopLevelWindow
* _arg0
;
281 bool _arg1
= (bool ) TRUE
;
282 PyObject
* _argo0
= 0;
283 int tempbool1
= (int) TRUE
;
284 char *_kwnames
[] = { "self","maximize", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
296 _arg1
= (bool ) tempbool1
;
298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
299 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
301 wxPyEndAllowThreads(__tstate
);
302 if (PyErr_Occurred()) return NULL
;
303 } Py_INCREF(Py_None
);
304 _resultobj
= Py_None
;
308 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
309 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
311 wxTopLevelWindow
* _arg0
;
312 PyObject
* _argo0
= 0;
313 char *_kwnames
[] = { "self", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
327 wxTopLevelWindow_Restore(_arg0
);
329 wxPyEndAllowThreads(__tstate
);
330 if (PyErr_Occurred()) return NULL
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
337 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
339 wxTopLevelWindow
* _arg0
;
340 bool _arg1
= (bool ) TRUE
;
341 PyObject
* _argo0
= 0;
342 int tempbool1
= (int) TRUE
;
343 char *_kwnames
[] = { "self","iconize", NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
355 _arg1
= (bool ) tempbool1
;
357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
358 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
360 wxPyEndAllowThreads(__tstate
);
361 if (PyErr_Occurred()) return NULL
;
362 } Py_INCREF(Py_None
);
363 _resultobj
= Py_None
;
367 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
368 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxTopLevelWindow
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
396 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxTopLevelWindow
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
424 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
427 wxTopLevelWindow
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 _result
= new wxIcon (wxTopLevelWindow_GetIcon(_arg0
));
446 wxPyEndAllowThreads(__tstate
);
447 if (PyErr_Occurred()) return NULL
;
448 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
449 _resultobj
= Py_BuildValue("s",_ptemp
);
453 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
454 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxTopLevelWindow
* _arg0
;
458 PyObject
* _argo0
= 0;
459 PyObject
* _argo1
= 0;
460 char *_kwnames
[] = { "self","icon", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
481 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
483 wxPyEndAllowThreads(__tstate
);
484 if (PyErr_Occurred()) return NULL
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
490 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
491 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
494 wxTopLevelWindow
* _arg0
;
496 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
497 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "self","show","style", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
511 _arg1
= (bool ) tempbool1
;
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } _resultobj
= Py_BuildValue("i",_result
);
522 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
523 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
526 wxTopLevelWindow
* _arg0
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
551 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
553 wxTopLevelWindow
* _arg0
;
555 PyObject
* _argo0
= 0;
556 PyObject
* _obj1
= 0;
557 char *_kwnames
[] = { "self","title", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
570 _arg1
= wxString_in_helper(_obj1
);
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
589 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
590 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
593 wxTopLevelWindow
* _arg0
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "self", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
615 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
626 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
628 wxTopLevelWindow
*dest
;
629 src
= (wxFrame
*) ptr
;
630 dest
= (wxTopLevelWindow
*) src
;
631 return (void *) dest
;
634 static void *SwigwxFrameTowxWindow(void *ptr
) {
637 src
= (wxFrame
*) ptr
;
638 dest
= (wxWindow
*) src
;
639 return (void *) dest
;
642 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
645 src
= (wxFrame
*) ptr
;
646 dest
= (wxEvtHandler
*) src
;
647 return (void *) dest
;
650 static void *SwigwxFrameTowxObject(void *ptr
) {
653 src
= (wxFrame
*) ptr
;
654 dest
= (wxObject
*) src
;
655 return (void *) dest
;
658 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
659 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
665 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
666 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
667 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
668 char * _arg6
= (char *) "frame";
669 PyObject
* _argo0
= 0;
670 PyObject
* _obj2
= 0;
672 PyObject
* _obj3
= 0;
674 PyObject
* _obj4
= 0;
675 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
689 _arg2
= wxString_in_helper(_obj2
);
696 if (! wxPoint_helper(_obj3
, &_arg3
))
702 if (! wxSize_helper(_obj4
, &_arg4
))
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
713 _resultobj
= Py_BuildValue("s",_ptemp
);
716 _resultobj
= Py_None
;
725 #define new_wxPreFrame() (new wxFrame())
726 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 char *_kwnames
[] = { NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
737 _result
= (wxFrame
*)new_wxPreFrame();
739 wxPyEndAllowThreads(__tstate
);
740 if (PyErr_Occurred()) return NULL
;
742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
743 _resultobj
= Py_BuildValue("s",_ptemp
);
746 _resultobj
= Py_None
;
751 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
752 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
759 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
760 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
761 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
762 char * _arg7
= (char *) "frame";
763 PyObject
* _argo0
= 0;
764 PyObject
* _argo1
= 0;
765 PyObject
* _obj3
= 0;
767 PyObject
* _obj4
= 0;
769 PyObject
* _obj5
= 0;
770 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
790 _arg3
= wxString_in_helper(_obj3
);
797 if (! wxPoint_helper(_obj4
, &_arg4
))
803 if (! wxSize_helper(_obj5
, &_arg5
))
807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
808 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
810 wxPyEndAllowThreads(__tstate
);
811 if (PyErr_Occurred()) return NULL
;
812 } _resultobj
= Py_BuildValue("i",_result
);
820 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
821 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
841 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
843 wxPyEndAllowThreads(__tstate
);
844 if (PyErr_Occurred()) return NULL
;
845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
846 _resultobj
= Py_BuildValue("s",_ptemp
);
850 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
851 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
855 PyObject
* _argo0
= 0;
856 PyObject
* _argo1
= 0;
857 char *_kwnames
[] = { "self","menubar", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 wxFrame_SetMenuBar(_arg0
,_arg1
);
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) return NULL
;
882 } Py_INCREF(Py_None
);
883 _resultobj
= Py_None
;
887 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
888 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "self", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) return NULL
;
911 }{ _resultobj
= wxPyMake_wxObject(_result
); }
915 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
916 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
921 PyObject
* _argo0
= 0;
922 char *_kwnames
[] = { "self","id", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
940 } _resultobj
= Py_BuildValue("i",_result
);
944 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
945 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","id", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
965 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
967 wxPyEndAllowThreads(__tstate
);
968 if (PyErr_Occurred()) return NULL
;
969 } _resultobj
= Py_BuildValue("i",_result
);
973 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
974 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 PyObject
* _resultobj
;
976 wxStatusBar
* _result
;
978 int _arg1
= (int ) 1;
979 long _arg2
= (long ) wxST_SIZEGRIP
;
980 wxWindowID _arg3
= (wxWindowID
) -1;
981 char * _arg4
= (char *) "statusBar";
982 PyObject
* _argo0
= 0;
983 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1005 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1006 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1008 wxStatusBar
* _result
;
1010 PyObject
* _argo0
= 0;
1011 char *_kwnames
[] = { "self", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1033 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1034 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1037 wxStatusBar
* _arg1
;
1038 PyObject
* _argo0
= 0;
1039 PyObject
* _argo1
= 0;
1040 char *_kwnames
[] = { "self","statBar", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 wxFrame_SetStatusBar(_arg0
,_arg1
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) return NULL
;
1065 } Py_INCREF(Py_None
);
1066 _resultobj
= Py_None
;
1070 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1071 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1075 int _arg2
= (int ) 0;
1076 PyObject
* _argo0
= 0;
1077 PyObject
* _obj1
= 0;
1078 char *_kwnames
[] = { "self","text","number", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1091 _arg1
= wxString_in_helper(_obj1
);
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } Py_INCREF(Py_None
);
1102 _resultobj
= Py_None
;
1110 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1111 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1116 PyObject
* _argo0
= 0;
1117 PyObject
* _obj2
= 0;
1118 char *_kwnames
[] = { "self","choices", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1132 _arg2
= int_LIST_helper(_obj2
);
1133 if (_arg2
== NULL
) {
1139 _arg1
= PyList_Size(_obj2
);
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1159 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1160 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1162 wxToolBar
* _result
;
1164 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1165 wxWindowID _arg2
= (wxWindowID
) -1;
1166 char * _arg3
= (char *) "toolBar";
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self","style","id","name", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) return NULL
;
1186 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1190 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1191 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1193 wxToolBar
* _result
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1218 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1219 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 PyObject
* _argo0
= 0;
1224 PyObject
* _argo1
= 0;
1225 char *_kwnames
[] = { "self","toolbar", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 wxFrame_SetToolBar(_arg0
,_arg1
);
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1257 wxTopLevelWindow
*dest
;
1258 src
= (wxDialog
*) ptr
;
1259 dest
= (wxTopLevelWindow
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxDialogTowxWindow(void *ptr
) {
1266 src
= (wxDialog
*) ptr
;
1267 dest
= (wxWindow
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1274 src
= (wxDialog
*) ptr
;
1275 dest
= (wxEvtHandler
*) src
;
1276 return (void *) dest
;
1279 static void *SwigwxDialogTowxObject(void *ptr
) {
1282 src
= (wxDialog
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1288 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1294 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1295 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1296 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1297 char * _arg6
= (char *) "dialogBox";
1298 PyObject
* _argo0
= 0;
1299 PyObject
* _obj2
= 0;
1301 PyObject
* _obj3
= 0;
1303 PyObject
* _obj4
= 0;
1304 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1318 _arg2
= wxString_in_helper(_obj2
);
1325 if (! wxPoint_helper(_obj3
, &_arg3
))
1331 if (! wxSize_helper(_obj4
, &_arg4
))
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1342 _resultobj
= Py_BuildValue("s",_ptemp
);
1345 _resultobj
= Py_None
;
1354 #define new_wxPreDialog() (new wxDialog())
1355 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 char *_kwnames
[] = { NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 _result
= (wxDialog
*)new_wxPreDialog();
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1372 _resultobj
= Py_BuildValue("s",_ptemp
);
1375 _resultobj
= Py_None
;
1380 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1381 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1388 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1389 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1390 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1391 char * _arg7
= (char *) "dialogBox";
1392 PyObject
* _argo0
= 0;
1393 PyObject
* _argo1
= 0;
1394 PyObject
* _obj3
= 0;
1396 PyObject
* _obj4
= 0;
1398 PyObject
* _obj5
= 0;
1399 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1419 _arg3
= wxString_in_helper(_obj3
);
1426 if (! wxPoint_helper(_obj4
, &_arg4
))
1432 if (! wxSize_helper(_obj5
, &_arg5
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } _resultobj
= Py_BuildValue("i",_result
);
1449 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1450 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 int _arg1
= (int ) wxBOTH
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self","direction", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 wxDialog_Centre(_arg0
,_arg1
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } Py_INCREF(Py_None
);
1474 _resultobj
= Py_None
;
1478 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1479 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self","retCode", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 wxDialog_EndModal(_arg0
,_arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1507 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1508 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","flag", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1526 _arg1
= (bool ) tempbool1
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 wxDialog_SetModal(_arg0
,_arg1
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) return NULL
;
1533 } Py_INCREF(Py_None
);
1534 _resultobj
= Py_None
;
1538 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1539 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 _result
= (bool )wxDialog_IsModal(_arg0
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1567 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (int )wxDialog_ShowModal(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1594 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1595 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 } _resultobj
= Py_BuildValue("i",_result
);
1622 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1623 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","retCode", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxDialog_SetReturnCode(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1652 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1657 PyObject
* _argo0
= 0;
1658 PyObject
* _obj1
= 0;
1659 char *_kwnames
[] = { "self","message", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1672 _arg1
= wxString_in_helper(_obj1
);
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) return NULL
;
1682 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1690 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1691 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1696 PyObject
* _argo0
= 0;
1697 char *_kwnames
[] = { "self","flags", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) return NULL
;
1715 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1719 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1722 src
= (wxMiniFrame
*) ptr
;
1723 dest
= (wxFrame
*) src
;
1724 return (void *) dest
;
1727 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1729 wxTopLevelWindow
*dest
;
1730 src
= (wxMiniFrame
*) ptr
;
1731 dest
= (wxTopLevelWindow
*) src
;
1732 return (void *) dest
;
1735 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1738 src
= (wxMiniFrame
*) ptr
;
1739 dest
= (wxWindow
*) src
;
1740 return (void *) dest
;
1743 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1746 src
= (wxMiniFrame
*) ptr
;
1747 dest
= (wxEvtHandler
*) src
;
1748 return (void *) dest
;
1751 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1754 src
= (wxMiniFrame
*) ptr
;
1755 dest
= (wxObject
*) src
;
1756 return (void *) dest
;
1759 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1760 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1762 wxMiniFrame
* _result
;
1766 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1767 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1768 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1769 char * _arg6
= (char *) "frame";
1770 PyObject
* _argo0
= 0;
1771 PyObject
* _obj2
= 0;
1773 PyObject
* _obj3
= 0;
1775 PyObject
* _obj4
= 0;
1776 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1790 _arg2
= wxString_in_helper(_obj2
);
1797 if (! wxPoint_helper(_obj3
, &_arg3
))
1803 if (! wxSize_helper(_obj4
, &_arg4
))
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) return NULL
;
1813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1814 _resultobj
= Py_BuildValue("s",_ptemp
);
1817 _resultobj
= Py_None
;
1826 #define new_wxPreMiniFrame() (new wxMiniFrame())
1827 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1829 wxMiniFrame
* _result
;
1830 char *_kwnames
[] = { NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 _resultobj
= Py_None
;
1852 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1853 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1856 wxMiniFrame
* _arg0
;
1860 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1861 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1862 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
1863 char * _arg7
= (char *) "frame";
1864 PyObject
* _argo0
= 0;
1865 PyObject
* _argo1
= 0;
1866 PyObject
* _obj3
= 0;
1868 PyObject
* _obj4
= 0;
1870 PyObject
* _obj5
= 0;
1871 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
1884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
1891 _arg3
= wxString_in_helper(_obj3
);
1898 if (! wxPoint_helper(_obj4
, &_arg4
))
1904 if (! wxSize_helper(_obj5
, &_arg5
))
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } _resultobj
= Py_BuildValue("i",_result
);
1921 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr
) {
1922 wxSplashScreenWindow
*src
;
1924 src
= (wxSplashScreenWindow
*) ptr
;
1925 dest
= (wxWindow
*) src
;
1926 return (void *) dest
;
1929 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr
) {
1930 wxSplashScreenWindow
*src
;
1932 src
= (wxSplashScreenWindow
*) ptr
;
1933 dest
= (wxEvtHandler
*) src
;
1934 return (void *) dest
;
1937 static void *SwigwxSplashScreenWindowTowxObject(void *ptr
) {
1938 wxSplashScreenWindow
*src
;
1940 src
= (wxSplashScreenWindow
*) ptr
;
1941 dest
= (wxObject
*) src
;
1942 return (void *) dest
;
1945 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1946 static PyObject
*_wrap_new_wxSplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxSplashScreenWindow
* _result
;
1952 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1953 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1954 long _arg5
= (long ) wxNO_BORDER
;
1955 PyObject
* _argo0
= 0;
1956 PyObject
* _argo1
= 0;
1958 PyObject
* _obj3
= 0;
1960 PyObject
* _obj4
= 0;
1961 char *_kwnames
[] = { "bitmap","parent","id","pos","size","style", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOl:new_wxSplashScreenWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
1975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
1984 if (! wxPoint_helper(_obj3
, &_arg3
))
1990 if (! wxSize_helper(_obj4
, &_arg4
))
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 _result
= (wxSplashScreenWindow
*)new_wxSplashScreenWindow(*_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) return NULL
;
2000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2001 _resultobj
= Py_BuildValue("s",_ptemp
);
2004 _resultobj
= Py_None
;
2009 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2010 static PyObject
*_wrap_wxSplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2012 wxSplashScreenWindow
* _arg0
;
2014 PyObject
* _argo0
= 0;
2015 PyObject
* _argo1
= 0;
2016 char *_kwnames
[] = { "self","bitmap", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplashScreenWindow_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 wxSplashScreenWindow_SetBitmap(_arg0
,*_arg1
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) return NULL
;
2041 } Py_INCREF(Py_None
);
2042 _resultobj
= Py_None
;
2046 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2047 static PyObject
*_wrap_wxSplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 wxSplashScreenWindow
* _arg0
;
2051 PyObject
* _argo0
= 0;
2052 char *_kwnames
[] = { "self", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreenWindow_GetBitmap",_kwnames
,&_argo0
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 wxBitmap
& _result_ref
= wxSplashScreenWindow_GetBitmap(_arg0
);
2068 _result
= (wxBitmap
*) &_result_ref
;
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2074 _resultobj
= Py_BuildValue("s",_ptemp
);
2077 _resultobj
= Py_None
;
2082 static void *SwigwxSplashScreenTowxFrame(void *ptr
) {
2083 wxSplashScreen
*src
;
2085 src
= (wxSplashScreen
*) ptr
;
2086 dest
= (wxFrame
*) src
;
2087 return (void *) dest
;
2090 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr
) {
2091 wxSplashScreen
*src
;
2092 wxTopLevelWindow
*dest
;
2093 src
= (wxSplashScreen
*) ptr
;
2094 dest
= (wxTopLevelWindow
*) src
;
2095 return (void *) dest
;
2098 static void *SwigwxSplashScreenTowxWindow(void *ptr
) {
2099 wxSplashScreen
*src
;
2101 src
= (wxSplashScreen
*) ptr
;
2102 dest
= (wxWindow
*) src
;
2103 return (void *) dest
;
2106 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr
) {
2107 wxSplashScreen
*src
;
2109 src
= (wxSplashScreen
*) ptr
;
2110 dest
= (wxEvtHandler
*) src
;
2111 return (void *) dest
;
2114 static void *SwigwxSplashScreenTowxObject(void *ptr
) {
2115 wxSplashScreen
*src
;
2117 src
= (wxSplashScreen
*) ptr
;
2118 dest
= (wxObject
*) src
;
2119 return (void *) dest
;
2122 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2123 static PyObject
*_wrap_new_wxSplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2125 wxSplashScreen
* _result
;
2131 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2132 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
2133 long _arg7
= (long ) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxFRAME_FLOAT_ON_PARENT
;
2134 PyObject
* _argo0
= 0;
2135 PyObject
* _argo3
= 0;
2137 PyObject
* _obj5
= 0;
2139 PyObject
* _obj6
= 0;
2140 char *_kwnames
[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliOi|OOl:new_wxSplashScreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2154 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2163 if (! wxPoint_helper(_obj5
, &_arg5
))
2169 if (! wxSize_helper(_obj6
, &_arg6
))
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 _result
= (wxSplashScreen
*)new_wxSplashScreen(*_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreen_p");
2180 _resultobj
= Py_BuildValue("s",_ptemp
);
2183 _resultobj
= Py_None
;
2188 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2189 static PyObject
*_wrap_wxSplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2192 wxSplashScreen
* _arg0
;
2193 PyObject
* _argo0
= 0;
2194 char *_kwnames
[] = { "self", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashStyle",_kwnames
,&_argo0
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (long )wxSplashScreen_GetSplashStyle(_arg0
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } _resultobj
= Py_BuildValue("l",_result
);
2216 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2217 static PyObject
*_wrap_wxSplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2219 wxSplashScreenWindow
* _result
;
2220 wxSplashScreen
* _arg0
;
2221 PyObject
* _argo0
= 0;
2222 char *_kwnames
[] = { "self", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashWindow",_kwnames
,&_argo0
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 _result
= (wxSplashScreenWindow
*)wxSplashScreen_GetSplashWindow(_arg0
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) return NULL
;
2242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2243 _resultobj
= Py_BuildValue("s",_ptemp
);
2246 _resultobj
= Py_None
;
2251 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2252 static PyObject
*_wrap_wxSplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2255 wxSplashScreen
* _arg0
;
2256 PyObject
* _argo0
= 0;
2257 char *_kwnames
[] = { "self", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetTimeout",_kwnames
,&_argo0
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 _result
= (int )wxSplashScreen_GetTimeout(_arg0
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) return NULL
;
2275 } _resultobj
= Py_BuildValue("i",_result
);
2279 static PyMethodDef framescMethods
[] = {
2280 { "wxSplashScreen_GetTimeout", (PyCFunction
) _wrap_wxSplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
2281 { "wxSplashScreen_GetSplashWindow", (PyCFunction
) _wrap_wxSplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2282 { "wxSplashScreen_GetSplashStyle", (PyCFunction
) _wrap_wxSplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
2283 { "new_wxSplashScreen", (PyCFunction
) _wrap_new_wxSplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
2284 { "wxSplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2285 { "wxSplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2286 { "new_wxSplashScreenWindow", (PyCFunction
) _wrap_new_wxSplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
2287 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2288 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2289 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2290 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2291 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2292 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2293 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2294 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2295 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2296 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2297 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2298 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2299 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2300 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2301 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2302 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2303 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2304 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2305 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2306 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2307 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2308 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2309 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2310 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2311 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2312 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2313 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2314 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2315 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2316 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2317 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2318 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2319 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2320 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2321 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2322 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2323 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2324 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2325 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2326 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2327 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2328 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2329 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2330 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2331 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2338 * This table is used by the pointer type-checker
2340 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2341 { "_signed_long","_long",0},
2342 { "_wxPrintQuality","_wxCoord",0},
2343 { "_wxPrintQuality","_int",0},
2344 { "_wxPrintQuality","_signed_int",0},
2345 { "_wxPrintQuality","_unsigned_int",0},
2346 { "_wxPrintQuality","_wxWindowID",0},
2347 { "_wxPrintQuality","_uint",0},
2348 { "_wxPrintQuality","_EBool",0},
2349 { "_wxPrintQuality","_size_t",0},
2350 { "_wxPrintQuality","_time_t",0},
2351 { "_byte","_unsigned_char",0},
2352 { "_long","_unsigned_long",0},
2353 { "_long","_signed_long",0},
2354 { "_size_t","_wxCoord",0},
2355 { "_size_t","_wxPrintQuality",0},
2356 { "_size_t","_time_t",0},
2357 { "_size_t","_unsigned_int",0},
2358 { "_size_t","_int",0},
2359 { "_size_t","_wxWindowID",0},
2360 { "_size_t","_uint",0},
2361 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow
},
2362 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2363 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2364 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2365 { "_uint","_wxCoord",0},
2366 { "_uint","_wxPrintQuality",0},
2367 { "_uint","_time_t",0},
2368 { "_uint","_size_t",0},
2369 { "_uint","_unsigned_int",0},
2370 { "_uint","_int",0},
2371 { "_uint","_wxWindowID",0},
2372 { "_wxChar","_char",0},
2373 { "_char","_wxChar",0},
2374 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2375 { "_EBool","_wxCoord",0},
2376 { "_EBool","_wxPrintQuality",0},
2377 { "_EBool","_signed_int",0},
2378 { "_EBool","_int",0},
2379 { "_EBool","_wxWindowID",0},
2380 { "_unsigned_long","_long",0},
2381 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2382 { "_signed_int","_wxCoord",0},
2383 { "_signed_int","_wxPrintQuality",0},
2384 { "_signed_int","_EBool",0},
2385 { "_signed_int","_wxWindowID",0},
2386 { "_signed_int","_int",0},
2387 { "_WXTYPE","_short",0},
2388 { "_WXTYPE","_signed_short",0},
2389 { "_WXTYPE","_unsigned_short",0},
2390 { "_unsigned_short","_WXTYPE",0},
2391 { "_unsigned_short","_short",0},
2392 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject
},
2393 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject
},
2394 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2395 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2396 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2397 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2398 { "_signed_short","_WXTYPE",0},
2399 { "_signed_short","_short",0},
2400 { "_unsigned_char","_byte",0},
2401 { "_unsigned_int","_wxCoord",0},
2402 { "_unsigned_int","_wxPrintQuality",0},
2403 { "_unsigned_int","_time_t",0},
2404 { "_unsigned_int","_size_t",0},
2405 { "_unsigned_int","_uint",0},
2406 { "_unsigned_int","_wxWindowID",0},
2407 { "_unsigned_int","_int",0},
2408 { "_short","_WXTYPE",0},
2409 { "_short","_unsigned_short",0},
2410 { "_short","_signed_short",0},
2411 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame
},
2412 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2413 { "_wxWindowID","_wxCoord",0},
2414 { "_wxWindowID","_wxPrintQuality",0},
2415 { "_wxWindowID","_time_t",0},
2416 { "_wxWindowID","_size_t",0},
2417 { "_wxWindowID","_EBool",0},
2418 { "_wxWindowID","_uint",0},
2419 { "_wxWindowID","_int",0},
2420 { "_wxWindowID","_signed_int",0},
2421 { "_wxWindowID","_unsigned_int",0},
2422 { "_int","_wxCoord",0},
2423 { "_int","_wxPrintQuality",0},
2424 { "_int","_time_t",0},
2425 { "_int","_size_t",0},
2426 { "_int","_EBool",0},
2427 { "_int","_uint",0},
2428 { "_int","_wxWindowID",0},
2429 { "_int","_unsigned_int",0},
2430 { "_int","_signed_int",0},
2431 { "_time_t","_wxCoord",0},
2432 { "_time_t","_wxPrintQuality",0},
2433 { "_time_t","_unsigned_int",0},
2434 { "_time_t","_int",0},
2435 { "_time_t","_wxWindowID",0},
2436 { "_time_t","_uint",0},
2437 { "_time_t","_size_t",0},
2438 { "_wxCoord","_int",0},
2439 { "_wxCoord","_signed_int",0},
2440 { "_wxCoord","_unsigned_int",0},
2441 { "_wxCoord","_wxWindowID",0},
2442 { "_wxCoord","_uint",0},
2443 { "_wxCoord","_EBool",0},
2444 { "_wxCoord","_size_t",0},
2445 { "_wxCoord","_time_t",0},
2446 { "_wxCoord","_wxPrintQuality",0},
2447 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler
},
2448 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler
},
2449 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2450 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2451 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2452 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2453 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow
},
2454 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow
},
2455 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2456 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2457 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2458 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2461 static PyObject
*SWIG_globals
;
2465 SWIGEXPORT(void) initframesc() {
2467 SWIG_globals
= SWIG_newvarlink();
2468 m
= Py_InitModule("framesc", framescMethods
);
2469 d
= PyModule_GetDict(m
);
2470 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2471 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2472 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2473 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2474 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2475 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2476 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2477 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT
));
2478 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN
));
2479 PyDict_SetItemString(d
,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE
));
2480 PyDict_SetItemString(d
,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT
));
2481 PyDict_SetItemString(d
,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT
));
2484 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2485 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);