2 * FILE : src/mac/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
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(FrameNameStr
);
91 DECLARE_DEF_STRING(DialogNameStr
);
92 DECLARE_DEF_STRING(StatusLineNameStr
);
93 DECLARE_DEF_STRING(ToolBarNameStr
);
97 static void *SwigwxTopLevelWindowTowxWindow(void *ptr
) {
98 wxTopLevelWindow
*src
;
100 src
= (wxTopLevelWindow
*) ptr
;
101 dest
= (wxWindow
*) src
;
102 return (void *) dest
;
105 static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr
) {
106 wxTopLevelWindow
*src
;
108 src
= (wxTopLevelWindow
*) ptr
;
109 dest
= (wxEvtHandler
*) src
;
110 return (void *) dest
;
113 static void *SwigwxTopLevelWindowTowxObject(void *ptr
) {
114 wxTopLevelWindow
*src
;
116 src
= (wxTopLevelWindow
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define new_wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTopLevelWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
122 static PyObject
*_wrap_new_wxTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
124 wxTopLevelWindow
* _result
;
128 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
129 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
130 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
131 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
132 PyObject
* _argo0
= 0;
133 PyObject
* _obj2
= 0;
135 PyObject
* _obj3
= 0;
137 PyObject
* _obj4
= 0;
138 PyObject
* _obj6
= 0;
139 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
153 _arg2
= wxString_in_helper(_obj2
);
160 if (! wxPoint_helper(_obj3
, &_arg3
))
166 if (! wxSize_helper(_obj4
, &_arg4
))
171 _arg6
= wxString_in_helper(_obj6
);
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
183 _resultobj
= Py_BuildValue("s",_ptemp
);
186 _resultobj
= Py_None
;
199 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
200 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
202 wxTopLevelWindow
* _result
;
203 char *_kwnames
[] = { NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
217 _resultobj
= Py_BuildValue("s",_ptemp
);
220 _resultobj
= Py_None
;
225 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
226 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
229 wxTopLevelWindow
* _arg0
;
233 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
234 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
235 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
236 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
237 PyObject
* _argo0
= 0;
238 PyObject
* _argo1
= 0;
239 PyObject
* _obj3
= 0;
241 PyObject
* _obj4
= 0;
243 PyObject
* _obj5
= 0;
244 PyObject
* _obj7
= 0;
245 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
265 _arg3
= wxString_in_helper(_obj3
);
272 if (! wxPoint_helper(_obj4
, &_arg4
))
278 if (! wxSize_helper(_obj5
, &_arg5
))
283 _arg7
= wxString_in_helper(_obj7
);
288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
289 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
291 wxPyEndAllowThreads(__tstate
);
292 if (PyErr_Occurred()) return NULL
;
293 } _resultobj
= Py_BuildValue("i",_result
);
305 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
306 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxTopLevelWindow
* _arg0
;
309 bool _arg1
= (bool ) TRUE
;
310 PyObject
* _argo0
= 0;
311 int tempbool1
= (int) TRUE
;
312 char *_kwnames
[] = { "self","maximize", NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
324 _arg1
= (bool ) tempbool1
;
326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
327 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
329 wxPyEndAllowThreads(__tstate
);
330 if (PyErr_Occurred()) return NULL
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
337 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
339 wxTopLevelWindow
* _arg0
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 wxTopLevelWindow_Restore(_arg0
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
364 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
365 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
367 wxTopLevelWindow
* _arg0
;
368 bool _arg1
= (bool ) TRUE
;
369 PyObject
* _argo0
= 0;
370 int tempbool1
= (int) TRUE
;
371 char *_kwnames
[] = { "self","iconize", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
383 _arg1
= (bool ) tempbool1
;
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
395 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
396 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(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_IsMaximized",_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_IsMaximized. Expected _wxTopLevelWindow_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
424 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
427 wxTopLevelWindow
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
452 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
455 wxTopLevelWindow
* _arg0
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= new wxIcon (wxTopLevelWindow_GetIcon(_arg0
));
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
477 _resultobj
= Py_BuildValue("s",_ptemp
);
481 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
482 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
484 wxTopLevelWindow
* _arg0
;
486 PyObject
* _argo0
= 0;
487 PyObject
* _argo1
= 0;
488 char *_kwnames
[] = { "self","icon", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
501 if (_argo1
== Py_None
) { _arg1
= NULL
; }
502 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
509 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
511 wxPyEndAllowThreads(__tstate
);
512 if (PyErr_Occurred()) return NULL
;
513 } Py_INCREF(Py_None
);
514 _resultobj
= Py_None
;
518 #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
519 static PyObject
*_wrap_wxTopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxTopLevelWindow
* _arg0
;
524 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
525 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self","show","style", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p.");
539 _arg1
= (bool ) tempbool1
;
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (bool )wxTopLevelWindow_ShowFullScreen(_arg0
,_arg1
,_arg2
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
551 static PyObject
*_wrap_wxTopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
554 wxTopLevelWindow
* _arg0
;
555 PyObject
* _argo0
= 0;
556 char *_kwnames
[] = { "self", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsFullScreen",_kwnames
,&_argo0
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p.");
569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 _result
= (bool )wxTopLevelWindow_IsFullScreen(_arg0
);
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
579 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
581 wxTopLevelWindow
* _arg0
;
583 PyObject
* _argo0
= 0;
584 PyObject
* _obj1
= 0;
585 char *_kwnames
[] = { "self","title", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
598 _arg1
= wxString_in_helper(_obj1
);
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
608 } Py_INCREF(Py_None
);
609 _resultobj
= Py_None
;
617 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
618 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
621 wxTopLevelWindow
* _arg0
;
622 PyObject
* _argo0
= 0;
623 char *_kwnames
[] = { "self", NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
637 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
639 wxPyEndAllowThreads(__tstate
);
640 if (PyErr_Occurred()) return NULL
;
643 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
654 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
656 wxTopLevelWindow
*dest
;
657 src
= (wxFrame
*) ptr
;
658 dest
= (wxTopLevelWindow
*) src
;
659 return (void *) dest
;
662 static void *SwigwxFrameTowxWindow(void *ptr
) {
665 src
= (wxFrame
*) ptr
;
666 dest
= (wxWindow
*) src
;
667 return (void *) dest
;
670 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
673 src
= (wxFrame
*) ptr
;
674 dest
= (wxEvtHandler
*) src
;
675 return (void *) dest
;
678 static void *SwigwxFrameTowxObject(void *ptr
) {
681 src
= (wxFrame
*) ptr
;
682 dest
= (wxObject
*) src
;
683 return (void *) dest
;
686 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
687 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
693 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
694 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
695 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
696 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
697 PyObject
* _argo0
= 0;
698 PyObject
* _obj2
= 0;
700 PyObject
* _obj3
= 0;
702 PyObject
* _obj4
= 0;
703 PyObject
* _obj6
= 0;
704 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
718 _arg2
= wxString_in_helper(_obj2
);
725 if (! wxPoint_helper(_obj3
, &_arg3
))
731 if (! wxSize_helper(_obj4
, &_arg4
))
736 _arg6
= wxString_in_helper(_obj6
);
741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
742 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
744 wxPyEndAllowThreads(__tstate
);
745 if (PyErr_Occurred()) return NULL
;
747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
748 _resultobj
= Py_BuildValue("s",_ptemp
);
751 _resultobj
= Py_None
;
764 #define new_wxPreFrame() (new wxFrame())
765 static PyObject
*_wrap_new_wxPreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
768 char *_kwnames
[] = { NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreFrame",_kwnames
))
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= (wxFrame
*)new_wxPreFrame();
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
;
790 #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
791 static PyObject
*_wrap_wxFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
798 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
799 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
800 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
801 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
802 PyObject
* _argo0
= 0;
803 PyObject
* _argo1
= 0;
804 PyObject
* _obj3
= 0;
806 PyObject
* _obj4
= 0;
808 PyObject
* _obj5
= 0;
809 PyObject
* _obj7
= 0;
810 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p.");
823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p.");
830 _arg3
= wxString_in_helper(_obj3
);
837 if (! wxPoint_helper(_obj4
, &_arg4
))
843 if (! wxSize_helper(_obj5
, &_arg5
))
848 _arg7
= wxString_in_helper(_obj7
);
853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
854 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
856 wxPyEndAllowThreads(__tstate
);
857 if (PyErr_Occurred()) return NULL
;
858 } _resultobj
= Py_BuildValue("i",_result
);
870 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
871 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
896 _resultobj
= Py_BuildValue("s",_ptemp
);
900 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
901 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
905 PyObject
* _argo0
= 0;
906 PyObject
* _argo1
= 0;
907 char *_kwnames
[] = { "self","menubar", NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 wxFrame_SetMenuBar(_arg0
,_arg1
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
938 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) return NULL
;
961 }{ _resultobj
= wxPyMake_wxObject(_result
); }
965 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
966 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","id", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } _resultobj
= Py_BuildValue("i",_result
);
994 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
995 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "self","id", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1019 } _resultobj
= Py_BuildValue("i",_result
);
1023 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1024 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1026 wxStatusBar
* _result
;
1028 int _arg1
= (int ) 1;
1029 long _arg2
= (long ) wxST_SIZEGRIP
;
1030 wxWindowID _arg3
= (wxWindowID
) -1;
1031 wxString
* _arg4
= (wxString
*) &wxPyStatusLineNameStr
;
1032 PyObject
* _argo0
= 0;
1033 PyObject
* _obj4
= 0;
1034 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iliO:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1048 _arg4
= wxString_in_helper(_obj4
);
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1066 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1067 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxStatusBar
* _result
;
1071 PyObject
* _argo0
= 0;
1072 char *_kwnames
[] = { "self", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1094 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1095 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1098 wxStatusBar
* _arg1
;
1099 PyObject
* _argo0
= 0;
1100 PyObject
* _argo1
= 0;
1101 char *_kwnames
[] = { "self","statBar", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1122 wxFrame_SetStatusBar(_arg0
,_arg1
);
1124 wxPyEndAllowThreads(__tstate
);
1125 if (PyErr_Occurred()) return NULL
;
1126 } Py_INCREF(Py_None
);
1127 _resultobj
= Py_None
;
1131 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1132 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1136 int _arg2
= (int ) 0;
1137 PyObject
* _argo0
= 0;
1138 PyObject
* _obj1
= 0;
1139 char *_kwnames
[] = { "self","text","number", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1152 _arg1
= wxString_in_helper(_obj1
);
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) return NULL
;
1162 } Py_INCREF(Py_None
);
1163 _resultobj
= Py_None
;
1171 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1172 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1177 PyObject
* _argo0
= 0;
1178 PyObject
* _obj2
= 0;
1179 char *_kwnames
[] = { "self","choices", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1193 _arg2
= int_LIST_helper(_obj2
);
1194 if (_arg2
== NULL
) {
1200 _arg1
= PyList_Size(_obj2
);
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } Py_INCREF(Py_None
);
1213 _resultobj
= Py_None
;
1220 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1221 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxToolBar
* _result
;
1225 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1226 wxWindowID _arg2
= (wxWindowID
) -1;
1227 wxString
* _arg3
= (wxString
*) &wxPyToolBarNameStr
;
1228 PyObject
* _argo0
= 0;
1229 PyObject
* _obj3
= 0;
1230 char *_kwnames
[] = { "self","style","id","name", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|liO:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1244 _arg3
= wxString_in_helper(_obj3
);
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,*_arg3
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1254 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1262 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1263 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1265 wxToolBar
* _result
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1286 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1290 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1291 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 PyObject
* _argo0
= 0;
1296 PyObject
* _argo1
= 0;
1297 char *_kwnames
[] = { "self","toolbar", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxFrame_SetToolBar(_arg0
,_arg1
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1329 wxTopLevelWindow
*dest
;
1330 src
= (wxDialog
*) ptr
;
1331 dest
= (wxTopLevelWindow
*) src
;
1332 return (void *) dest
;
1335 static void *SwigwxDialogTowxWindow(void *ptr
) {
1338 src
= (wxDialog
*) ptr
;
1339 dest
= (wxWindow
*) src
;
1340 return (void *) dest
;
1343 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1346 src
= (wxDialog
*) ptr
;
1347 dest
= (wxEvtHandler
*) src
;
1348 return (void *) dest
;
1351 static void *SwigwxDialogTowxObject(void *ptr
) {
1354 src
= (wxDialog
*) ptr
;
1355 dest
= (wxObject
*) src
;
1356 return (void *) dest
;
1359 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1360 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1366 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1367 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1368 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1369 wxString
* _arg6
= (wxString
*) &wxPyDialogNameStr
;
1370 PyObject
* _argo0
= 0;
1371 PyObject
* _obj2
= 0;
1373 PyObject
* _obj3
= 0;
1375 PyObject
* _obj4
= 0;
1376 PyObject
* _obj6
= 0;
1377 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1391 _arg2
= wxString_in_helper(_obj2
);
1398 if (! wxPoint_helper(_obj3
, &_arg3
))
1404 if (! wxSize_helper(_obj4
, &_arg4
))
1409 _arg6
= wxString_in_helper(_obj6
);
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) return NULL
;
1420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1421 _resultobj
= Py_BuildValue("s",_ptemp
);
1424 _resultobj
= Py_None
;
1437 #define new_wxPreDialog() (new wxDialog())
1438 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1441 char *_kwnames
[] = { NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 _result
= (wxDialog
*)new_wxPreDialog();
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) return NULL
;
1454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1455 _resultobj
= Py_BuildValue("s",_ptemp
);
1458 _resultobj
= Py_None
;
1463 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1464 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1471 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1472 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1473 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1474 wxString
* _arg7
= (wxString
*) &wxPyDialogNameStr
;
1475 PyObject
* _argo0
= 0;
1476 PyObject
* _argo1
= 0;
1477 PyObject
* _obj3
= 0;
1479 PyObject
* _obj4
= 0;
1481 PyObject
* _obj5
= 0;
1482 PyObject
* _obj7
= 0;
1483 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1503 _arg3
= wxString_in_helper(_obj3
);
1510 if (! wxPoint_helper(_obj4
, &_arg4
))
1516 if (! wxSize_helper(_obj5
, &_arg5
))
1521 _arg7
= wxString_in_helper(_obj7
);
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) return NULL
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1543 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1544 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1547 int _arg1
= (int ) wxBOTH
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self","direction", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 wxDialog_Centre(_arg0
,_arg1
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1573 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self","retCode", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 wxDialog_EndModal(_arg0
,_arg1
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1602 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1606 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","flag", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
1620 _arg1
= (bool ) tempbool1
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 wxDialog_SetModal(_arg0
,_arg1
);
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 } Py_INCREF(Py_None
);
1628 _resultobj
= Py_None
;
1632 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1633 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 _result
= (bool )wxDialog_IsModal(_arg0
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1660 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1661 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 _result
= (int )wxDialog_ShowModal(_arg0
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) return NULL
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1689 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) return NULL
;
1712 } _resultobj
= Py_BuildValue("i",_result
);
1716 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1717 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 PyObject
* _argo0
= 0;
1722 char *_kwnames
[] = { "self","retCode", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 wxDialog_SetReturnCode(_arg0
,_arg1
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) return NULL
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1745 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1746 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 PyObject
* _obj1
= 0;
1753 char *_kwnames
[] = { "self","message", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1766 _arg1
= wxString_in_helper(_obj1
);
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) return NULL
;
1776 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1784 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1785 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self","flags", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
1813 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1816 src
= (wxMiniFrame
*) ptr
;
1817 dest
= (wxFrame
*) src
;
1818 return (void *) dest
;
1821 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1823 wxTopLevelWindow
*dest
;
1824 src
= (wxMiniFrame
*) ptr
;
1825 dest
= (wxTopLevelWindow
*) src
;
1826 return (void *) dest
;
1829 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1832 src
= (wxMiniFrame
*) ptr
;
1833 dest
= (wxWindow
*) src
;
1834 return (void *) dest
;
1837 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1840 src
= (wxMiniFrame
*) ptr
;
1841 dest
= (wxEvtHandler
*) src
;
1842 return (void *) dest
;
1845 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1848 src
= (wxMiniFrame
*) ptr
;
1849 dest
= (wxObject
*) src
;
1850 return (void *) dest
;
1853 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1854 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1856 wxMiniFrame
* _result
;
1860 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1861 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1862 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1863 wxString
* _arg6
= (wxString
*) &wxPyFrameNameStr
;
1864 PyObject
* _argo0
= 0;
1865 PyObject
* _obj2
= 0;
1867 PyObject
* _obj3
= 0;
1869 PyObject
* _obj4
= 0;
1870 PyObject
* _obj6
= 0;
1871 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
1885 _arg2
= wxString_in_helper(_obj2
);
1892 if (! wxPoint_helper(_obj3
, &_arg3
))
1898 if (! wxSize_helper(_obj4
, &_arg4
))
1903 _arg6
= wxString_in_helper(_obj6
);
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1915 _resultobj
= Py_BuildValue("s",_ptemp
);
1918 _resultobj
= Py_None
;
1931 #define new_wxPreMiniFrame() (new wxMiniFrame())
1932 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1934 wxMiniFrame
* _result
;
1935 char *_kwnames
[] = { NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
1949 _resultobj
= Py_BuildValue("s",_ptemp
);
1952 _resultobj
= Py_None
;
1957 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1958 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1961 wxMiniFrame
* _arg0
;
1965 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1966 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1967 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
1968 wxString
* _arg7
= (wxString
*) &wxPyFrameNameStr
;
1969 PyObject
* _argo0
= 0;
1970 PyObject
* _argo1
= 0;
1971 PyObject
* _obj3
= 0;
1973 PyObject
* _obj4
= 0;
1975 PyObject
* _obj5
= 0;
1976 PyObject
* _obj7
= 0;
1977 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
1990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
1997 _arg3
= wxString_in_helper(_obj3
);
2004 if (! wxPoint_helper(_obj4
, &_arg4
))
2010 if (! wxSize_helper(_obj5
, &_arg5
))
2015 _arg7
= wxString_in_helper(_obj7
);
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("i",_result
);
2037 static void *SwigwxSplashScreenWindowTowxWindow(void *ptr
) {
2038 wxSplashScreenWindow
*src
;
2040 src
= (wxSplashScreenWindow
*) ptr
;
2041 dest
= (wxWindow
*) src
;
2042 return (void *) dest
;
2045 static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr
) {
2046 wxSplashScreenWindow
*src
;
2048 src
= (wxSplashScreenWindow
*) ptr
;
2049 dest
= (wxEvtHandler
*) src
;
2050 return (void *) dest
;
2053 static void *SwigwxSplashScreenWindowTowxObject(void *ptr
) {
2054 wxSplashScreenWindow
*src
;
2056 src
= (wxSplashScreenWindow
*) ptr
;
2057 dest
= (wxObject
*) src
;
2058 return (void *) dest
;
2061 #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2062 static PyObject
*_wrap_new_wxSplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2064 wxSplashScreenWindow
* _result
;
2068 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2069 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2070 long _arg5
= (long ) wxNO_BORDER
;
2071 PyObject
* _argo0
= 0;
2072 PyObject
* _argo1
= 0;
2074 PyObject
* _obj3
= 0;
2076 PyObject
* _obj4
= 0;
2077 char *_kwnames
[] = { "bitmap","parent","id","pos","size","style", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOl:new_wxSplashScreenWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p.");
2091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p.");
2100 if (! wxPoint_helper(_obj3
, &_arg3
))
2106 if (! wxSize_helper(_obj4
, &_arg4
))
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 _result
= (wxSplashScreenWindow
*)new_wxSplashScreenWindow(*_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2117 _resultobj
= Py_BuildValue("s",_ptemp
);
2120 _resultobj
= Py_None
;
2125 #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2126 static PyObject
*_wrap_wxSplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2128 wxSplashScreenWindow
* _arg0
;
2130 PyObject
* _argo0
= 0;
2131 PyObject
* _argo1
= 0;
2132 char *_kwnames
[] = { "self","bitmap", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplashScreenWindow_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p.");
2145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p.");
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 wxSplashScreenWindow_SetBitmap(_arg0
,*_arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) return NULL
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2163 static PyObject
*_wrap_wxSplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2166 wxSplashScreenWindow
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreenWindow_GetBitmap",_kwnames
,&_argo0
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreenWindow_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxBitmap
& _result_ref
= wxSplashScreenWindow_GetBitmap(_arg0
);
2184 _result
= (wxBitmap
*) &_result_ref
;
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) return NULL
;
2189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2190 _resultobj
= Py_BuildValue("s",_ptemp
);
2193 _resultobj
= Py_None
;
2198 static void *SwigwxSplashScreenTowxFrame(void *ptr
) {
2199 wxSplashScreen
*src
;
2201 src
= (wxSplashScreen
*) ptr
;
2202 dest
= (wxFrame
*) src
;
2203 return (void *) dest
;
2206 static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr
) {
2207 wxSplashScreen
*src
;
2208 wxTopLevelWindow
*dest
;
2209 src
= (wxSplashScreen
*) ptr
;
2210 dest
= (wxTopLevelWindow
*) src
;
2211 return (void *) dest
;
2214 static void *SwigwxSplashScreenTowxWindow(void *ptr
) {
2215 wxSplashScreen
*src
;
2217 src
= (wxSplashScreen
*) ptr
;
2218 dest
= (wxWindow
*) src
;
2219 return (void *) dest
;
2222 static void *SwigwxSplashScreenTowxEvtHandler(void *ptr
) {
2223 wxSplashScreen
*src
;
2225 src
= (wxSplashScreen
*) ptr
;
2226 dest
= (wxEvtHandler
*) src
;
2227 return (void *) dest
;
2230 static void *SwigwxSplashScreenTowxObject(void *ptr
) {
2231 wxSplashScreen
*src
;
2233 src
= (wxSplashScreen
*) ptr
;
2234 dest
= (wxObject
*) src
;
2235 return (void *) dest
;
2238 #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2239 static PyObject
*_wrap_new_wxSplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxSplashScreen
* _result
;
2247 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
2248 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
2249 long _arg7
= (long ) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxFRAME_FLOAT_ON_PARENT
;
2250 PyObject
* _argo0
= 0;
2251 PyObject
* _argo3
= 0;
2253 PyObject
* _obj5
= 0;
2255 PyObject
* _obj6
= 0;
2256 char *_kwnames
[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliOi|OOl:new_wxSplashScreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.");
2270 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p.");
2279 if (! wxPoint_helper(_obj5
, &_arg5
))
2285 if (! wxSize_helper(_obj6
, &_arg6
))
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 _result
= (wxSplashScreen
*)new_wxSplashScreen(*_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) return NULL
;
2295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreen_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2299 _resultobj
= Py_None
;
2304 #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle())
2305 static PyObject
*_wrap_wxSplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2308 wxSplashScreen
* _arg0
;
2309 PyObject
* _argo0
= 0;
2310 char *_kwnames
[] = { "self", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashStyle",_kwnames
,&_argo0
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p.");
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 _result
= (long )wxSplashScreen_GetSplashStyle(_arg0
);
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) return NULL
;
2328 } _resultobj
= Py_BuildValue("l",_result
);
2332 #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow())
2333 static PyObject
*_wrap_wxSplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2335 wxSplashScreenWindow
* _result
;
2336 wxSplashScreen
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetSplashWindow",_kwnames
,&_argo0
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p.");
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 _result
= (wxSplashScreenWindow
*)wxSplashScreen_GetSplashWindow(_arg0
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) return NULL
;
2358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplashScreenWindow_p");
2359 _resultobj
= Py_BuildValue("s",_ptemp
);
2362 _resultobj
= Py_None
;
2367 #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout())
2368 static PyObject
*_wrap_wxSplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2371 wxSplashScreen
* _arg0
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplashScreen_GetTimeout",_kwnames
,&_argo0
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplashScreen_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p.");
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 _result
= (int )wxSplashScreen_GetTimeout(_arg0
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) return NULL
;
2391 } _resultobj
= Py_BuildValue("i",_result
);
2395 static PyMethodDef framescMethods
[] = {
2396 { "wxSplashScreen_GetTimeout", (PyCFunction
) _wrap_wxSplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
2397 { "wxSplashScreen_GetSplashWindow", (PyCFunction
) _wrap_wxSplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
2398 { "wxSplashScreen_GetSplashStyle", (PyCFunction
) _wrap_wxSplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
2399 { "new_wxSplashScreen", (PyCFunction
) _wrap_new_wxSplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
2400 { "wxSplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2401 { "wxSplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_wxSplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2402 { "new_wxSplashScreenWindow", (PyCFunction
) _wrap_new_wxSplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
2403 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2404 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2405 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2406 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2407 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2408 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2409 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2410 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2411 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2412 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2413 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2414 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2415 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2416 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2417 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2418 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2419 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2420 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2421 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2422 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2423 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2424 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2425 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2426 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2427 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2428 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2429 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2430 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2431 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2432 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2433 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2434 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2435 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2436 { "wxTopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2437 { "wxTopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_wxTopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2438 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2439 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2440 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2441 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2442 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2443 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2454 * This table is used by the pointer type-checker
2456 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2457 { "_signed_long","_long",0},
2458 { "_wxPrintQuality","_wxCoord",0},
2459 { "_wxPrintQuality","_int",0},
2460 { "_wxPrintQuality","_signed_int",0},
2461 { "_wxPrintQuality","_unsigned_int",0},
2462 { "_wxPrintQuality","_wxWindowID",0},
2463 { "_wxPrintQuality","_uint",0},
2464 { "_wxPrintQuality","_EBool",0},
2465 { "_wxPrintQuality","_size_t",0},
2466 { "_wxPrintQuality","_time_t",0},
2467 { "_byte","_unsigned_char",0},
2468 { "_long","_unsigned_long",0},
2469 { "_long","_signed_long",0},
2470 { "_size_t","_wxCoord",0},
2471 { "_size_t","_wxPrintQuality",0},
2472 { "_size_t","_time_t",0},
2473 { "_size_t","_unsigned_int",0},
2474 { "_size_t","_int",0},
2475 { "_size_t","_wxWindowID",0},
2476 { "_size_t","_uint",0},
2477 { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow
},
2478 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2479 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2480 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2481 { "_uint","_wxCoord",0},
2482 { "_uint","_wxPrintQuality",0},
2483 { "_uint","_time_t",0},
2484 { "_uint","_size_t",0},
2485 { "_uint","_unsigned_int",0},
2486 { "_uint","_int",0},
2487 { "_uint","_wxWindowID",0},
2488 { "_wxChar","_char",0},
2489 { "_char","_wxChar",0},
2490 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2491 { "_EBool","_wxCoord",0},
2492 { "_EBool","_wxPrintQuality",0},
2493 { "_EBool","_signed_int",0},
2494 { "_EBool","_int",0},
2495 { "_EBool","_wxWindowID",0},
2496 { "_unsigned_long","_long",0},
2497 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2498 { "_signed_int","_wxCoord",0},
2499 { "_signed_int","_wxPrintQuality",0},
2500 { "_signed_int","_EBool",0},
2501 { "_signed_int","_wxWindowID",0},
2502 { "_signed_int","_int",0},
2503 { "_WXTYPE","_short",0},
2504 { "_WXTYPE","_signed_short",0},
2505 { "_WXTYPE","_unsigned_short",0},
2506 { "_unsigned_short","_WXTYPE",0},
2507 { "_unsigned_short","_short",0},
2508 { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject
},
2509 { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject
},
2510 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2511 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2512 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2513 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2514 { "_signed_short","_WXTYPE",0},
2515 { "_signed_short","_short",0},
2516 { "_unsigned_char","_byte",0},
2517 { "_unsigned_int","_wxCoord",0},
2518 { "_unsigned_int","_wxPrintQuality",0},
2519 { "_unsigned_int","_time_t",0},
2520 { "_unsigned_int","_size_t",0},
2521 { "_unsigned_int","_uint",0},
2522 { "_unsigned_int","_wxWindowID",0},
2523 { "_unsigned_int","_int",0},
2524 { "_short","_WXTYPE",0},
2525 { "_short","_unsigned_short",0},
2526 { "_short","_signed_short",0},
2527 { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame
},
2528 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2529 { "_wxWindowID","_wxCoord",0},
2530 { "_wxWindowID","_wxPrintQuality",0},
2531 { "_wxWindowID","_time_t",0},
2532 { "_wxWindowID","_size_t",0},
2533 { "_wxWindowID","_EBool",0},
2534 { "_wxWindowID","_uint",0},
2535 { "_wxWindowID","_int",0},
2536 { "_wxWindowID","_signed_int",0},
2537 { "_wxWindowID","_unsigned_int",0},
2538 { "_int","_wxCoord",0},
2539 { "_int","_wxPrintQuality",0},
2540 { "_int","_time_t",0},
2541 { "_int","_size_t",0},
2542 { "_int","_EBool",0},
2543 { "_int","_uint",0},
2544 { "_int","_wxWindowID",0},
2545 { "_int","_unsigned_int",0},
2546 { "_int","_signed_int",0},
2547 { "_time_t","_wxCoord",0},
2548 { "_time_t","_wxPrintQuality",0},
2549 { "_time_t","_unsigned_int",0},
2550 { "_time_t","_int",0},
2551 { "_time_t","_wxWindowID",0},
2552 { "_time_t","_uint",0},
2553 { "_time_t","_size_t",0},
2554 { "_wxCoord","_int",0},
2555 { "_wxCoord","_signed_int",0},
2556 { "_wxCoord","_unsigned_int",0},
2557 { "_wxCoord","_wxWindowID",0},
2558 { "_wxCoord","_uint",0},
2559 { "_wxCoord","_EBool",0},
2560 { "_wxCoord","_size_t",0},
2561 { "_wxCoord","_time_t",0},
2562 { "_wxCoord","_wxPrintQuality",0},
2563 { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler
},
2564 { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler
},
2565 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2566 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2567 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2568 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2569 { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow
},
2570 { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow
},
2571 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2572 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2573 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2574 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2577 static PyObject
*SWIG_globals
;
2581 SWIGEXPORT(void) initframesc() {
2583 SWIG_globals
= SWIG_newvarlink();
2584 m
= Py_InitModule("framesc", framescMethods
);
2585 d
= PyModule_GetDict(m
);
2586 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2587 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2588 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2589 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2590 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2591 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2592 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2593 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT
));
2594 PyDict_SetItemString(d
,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN
));
2595 PyDict_SetItemString(d
,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE
));
2596 PyDict_SetItemString(d
,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT
));
2597 PyDict_SetItemString(d
,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT
));
2600 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2601 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);