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/tipwin.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 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
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 char * _arg6
= (char *) "frame";
132 PyObject
* _argo0
= 0;
133 PyObject
* _obj2
= 0;
135 PyObject
* _obj3
= 0;
137 PyObject
* _obj4
= 0;
138 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxTopLevelWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p.");
152 #if PYTHON_API_VERSION >= 1009
153 char* tmpPtr
; int tmpSize
;
154 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
158 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
160 _arg2
= new wxString(tmpPtr
, tmpSize
);
162 if (!PyString_Check(_obj2
)) {
163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
166 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
172 if (! wxPoint_helper(_obj3
, &_arg3
))
178 if (! wxSize_helper(_obj4
, &_arg4
))
182 wxPy_BEGIN_ALLOW_THREADS
;
183 _result
= (wxTopLevelWindow
*)new_wxTopLevelWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
185 wxPy_END_ALLOW_THREADS
;
186 if (PyErr_Occurred()) return NULL
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
201 #define new_wxPreTopLevelWindow() (new wxTopLevelWindow())
202 static PyObject
*_wrap_new_wxPreTopLevelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
204 wxTopLevelWindow
* _result
;
205 char *_kwnames
[] = { NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTopLevelWindow",_kwnames
))
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= (wxTopLevelWindow
*)new_wxPreTopLevelWindow();
215 wxPy_END_ALLOW_THREADS
;
216 if (PyErr_Occurred()) return NULL
;
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTopLevelWindow_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
222 _resultobj
= Py_None
;
227 #define wxTopLevelWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
228 static PyObject
*_wrap_wxTopLevelWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
231 wxTopLevelWindow
* _arg0
;
235 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
236 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
237 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
238 char * _arg7
= (char *) "frame";
239 PyObject
* _argo0
= 0;
240 PyObject
* _argo1
= 0;
241 PyObject
* _obj3
= 0;
243 PyObject
* _obj4
= 0;
245 PyObject
* _obj5
= 0;
246 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxTopLevelWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Create. Expected _wxTopLevelWindow_p.");
259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p.");
266 #if PYTHON_API_VERSION >= 1009
267 char* tmpPtr
; int tmpSize
;
268 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
272 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
274 _arg3
= new wxString(tmpPtr
, tmpSize
);
276 if (!PyString_Check(_obj3
)) {
277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
280 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
286 if (! wxPoint_helper(_obj4
, &_arg4
))
292 if (! wxSize_helper(_obj5
, &_arg5
))
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= (bool )wxTopLevelWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
299 wxPy_END_ALLOW_THREADS
;
300 if (PyErr_Occurred()) return NULL
;
301 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
310 static PyObject
*_wrap_wxTopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxTopLevelWindow
* _arg0
;
313 bool _arg1
= (bool ) TRUE
;
314 PyObject
* _argo0
= 0;
315 int tempbool1
= (int) TRUE
;
316 char *_kwnames
[] = { "self","maximize", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Maximize",_kwnames
,&_argo0
,&tempbool1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Maximize. Expected _wxTopLevelWindow_p.");
328 _arg1
= (bool ) tempbool1
;
330 wxPy_BEGIN_ALLOW_THREADS
;
331 wxTopLevelWindow_Maximize(_arg0
,_arg1
);
333 wxPy_END_ALLOW_THREADS
;
334 if (PyErr_Occurred()) return NULL
;
335 } Py_INCREF(Py_None
);
336 _resultobj
= Py_None
;
340 #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore())
341 static PyObject
*_wrap_wxTopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 PyObject
* _resultobj
;
343 wxTopLevelWindow
* _arg0
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_Restore",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Restore. Expected _wxTopLevelWindow_p.");
358 wxPy_BEGIN_ALLOW_THREADS
;
359 wxTopLevelWindow_Restore(_arg0
);
361 wxPy_END_ALLOW_THREADS
;
362 if (PyErr_Occurred()) return NULL
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
369 static PyObject
*_wrap_wxTopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxTopLevelWindow
* _arg0
;
372 bool _arg1
= (bool ) TRUE
;
373 PyObject
* _argo0
= 0;
374 int tempbool1
= (int) TRUE
;
375 char *_kwnames
[] = { "self","iconize", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxTopLevelWindow_Iconize",_kwnames
,&_argo0
,&tempbool1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_Iconize. Expected _wxTopLevelWindow_p.");
387 _arg1
= (bool ) tempbool1
;
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxTopLevelWindow_Iconize(_arg0
,_arg1
);
392 wxPy_END_ALLOW_THREADS
;
393 if (PyErr_Occurred()) return NULL
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
399 #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized())
400 static PyObject
*_wrap_wxTopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxTopLevelWindow
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsMaximized",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsMaximized. Expected _wxTopLevelWindow_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (bool )wxTopLevelWindow_IsMaximized(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 if (PyErr_Occurred()) return NULL
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized())
428 static PyObject
*_wrap_wxTopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
431 wxTopLevelWindow
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_IsIconized",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_IsIconized. Expected _wxTopLevelWindow_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (bool )wxTopLevelWindow_IsIconized(_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 if (PyErr_Occurred()) return NULL
;
451 } _resultobj
= Py_BuildValue("i",_result
);
455 #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon())
456 static PyObject
*_wrap_wxTopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 wxTopLevelWindow
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetIcon",_kwnames
,&_argo0
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetIcon. Expected _wxTopLevelWindow_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 const wxIcon
& _result_ref
= wxTopLevelWindow_GetIcon(_arg0
);
477 _result
= (wxIcon
*) &_result_ref
;
479 wxPy_END_ALLOW_THREADS
;
480 if (PyErr_Occurred()) return NULL
;
482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
483 _resultobj
= Py_BuildValue("s",_ptemp
);
486 _resultobj
= Py_None
;
491 #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
492 static PyObject
*_wrap_wxTopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
494 wxTopLevelWindow
* _arg0
;
496 PyObject
* _argo0
= 0;
497 PyObject
* _argo1
= 0;
498 char *_kwnames
[] = { "self","icon", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetIcon",_kwnames
,&_argo0
,&_argo1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetIcon. Expected _wxTopLevelWindow_p.");
511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTopLevelWindow_SetIcon. Expected _wxIcon_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 wxTopLevelWindow_SetIcon(_arg0
,*_arg1
);
521 wxPy_END_ALLOW_THREADS
;
522 if (PyErr_Occurred()) return NULL
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
529 static PyObject
*_wrap_wxTopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
531 wxTopLevelWindow
* _arg0
;
533 PyObject
* _argo0
= 0;
534 PyObject
* _obj1
= 0;
535 char *_kwnames
[] = { "self","title", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTopLevelWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p.");
548 #if PYTHON_API_VERSION >= 1009
549 char* tmpPtr
; int tmpSize
;
550 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
554 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
556 _arg1
= new wxString(tmpPtr
, tmpSize
);
558 if (!PyString_Check(_obj1
)) {
559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
562 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
566 wxPy_BEGIN_ALLOW_THREADS
;
567 wxTopLevelWindow_SetTitle(_arg0
,*_arg1
);
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
580 #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
581 static PyObject
*_wrap_wxTopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
584 wxTopLevelWindow
* _arg0
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTopLevelWindow_GetTitle",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTopLevelWindow_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= new wxString (wxTopLevelWindow_GetTitle(_arg0
));
602 wxPy_END_ALLOW_THREADS
;
603 if (PyErr_Occurred()) return NULL
;
605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
613 static void *SwigwxFrameTowxTopLevelWindow(void *ptr
) {
615 wxTopLevelWindow
*dest
;
616 src
= (wxFrame
*) ptr
;
617 dest
= (wxTopLevelWindow
*) src
;
618 return (void *) dest
;
621 static void *SwigwxFrameTowxWindow(void *ptr
) {
624 src
= (wxFrame
*) ptr
;
625 dest
= (wxWindow
*) src
;
626 return (void *) dest
;
629 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
632 src
= (wxFrame
*) ptr
;
633 dest
= (wxEvtHandler
*) src
;
634 return (void *) dest
;
637 static void *SwigwxFrameTowxObject(void *ptr
) {
640 src
= (wxFrame
*) ptr
;
641 dest
= (wxObject
*) src
;
642 return (void *) dest
;
645 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
646 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
652 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
653 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
654 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
655 char * _arg6
= (char *) "frame";
656 PyObject
* _argo0
= 0;
657 PyObject
* _obj2
= 0;
659 PyObject
* _obj3
= 0;
661 PyObject
* _obj4
= 0;
662 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
676 #if PYTHON_API_VERSION >= 1009
677 char* tmpPtr
; int tmpSize
;
678 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
682 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
684 _arg2
= new wxString(tmpPtr
, tmpSize
);
686 if (!PyString_Check(_obj2
)) {
687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
690 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
696 if (! wxPoint_helper(_obj3
, &_arg3
))
702 if (! wxSize_helper(_obj4
, &_arg4
))
706 wxPy_BEGIN_ALLOW_THREADS
;
707 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
709 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
737 _result
= (wxFrame
*)new_wxPreFrame();
739 wxPy_END_ALLOW_THREADS
;
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 #if PYTHON_API_VERSION >= 1009
791 char* tmpPtr
; int tmpSize
;
792 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
796 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
798 _arg3
= new wxString(tmpPtr
, tmpSize
);
800 if (!PyString_Check(_obj3
)) {
801 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
804 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
810 if (! wxPoint_helper(_obj4
, &_arg4
))
816 if (! wxSize_helper(_obj5
, &_arg5
))
820 wxPy_BEGIN_ALLOW_THREADS
;
821 _result
= (bool )wxFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
823 wxPy_END_ALLOW_THREADS
;
824 if (PyErr_Occurred()) return NULL
;
825 } _resultobj
= Py_BuildValue("i",_result
);
833 #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
834 static PyObject
*_wrap_wxFrame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetClientAreaOrigin",_kwnames
,&_argo0
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 _result
= new wxPoint (wxFrame_GetClientAreaOrigin(_arg0
));
856 wxPy_END_ALLOW_THREADS
;
857 if (PyErr_Occurred()) return NULL
;
858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
859 _resultobj
= Py_BuildValue("s",_ptemp
);
863 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
864 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
868 PyObject
* _argo0
= 0;
869 PyObject
* _argo1
= 0;
870 char *_kwnames
[] = { "self","menubar", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetMenuBar",_kwnames
,&_argo0
,&_argo1
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuBar_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
890 wxPy_BEGIN_ALLOW_THREADS
;
891 wxFrame_SetMenuBar(_arg0
,_arg1
);
893 wxPy_END_ALLOW_THREADS
;
894 if (PyErr_Occurred()) return NULL
;
895 } Py_INCREF(Py_None
);
896 _resultobj
= Py_None
;
900 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
901 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetMenuBar",_kwnames
,&_argo0
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
919 wxPy_BEGIN_ALLOW_THREADS
;
920 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
922 wxPy_END_ALLOW_THREADS
;
923 if (PyErr_Occurred()) return NULL
;
924 }{ _resultobj
= wxPyMake_wxObject(_result
); }
928 #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
929 static PyObject
*_wrap_wxFrame_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self","id", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_Command",_kwnames
,&_argo0
,&_arg1
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 _result
= (bool )wxFrame_Command(_arg0
,_arg1
);
951 wxPy_END_ALLOW_THREADS
;
952 if (PyErr_Occurred()) return NULL
;
953 } _resultobj
= Py_BuildValue("i",_result
);
957 #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0))
958 static PyObject
*_wrap_wxFrame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
963 PyObject
* _argo0
= 0;
964 char *_kwnames
[] = { "self","id", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFrame_ProcessCommand",_kwnames
,&_argo0
,&_arg1
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p.");
977 wxPy_BEGIN_ALLOW_THREADS
;
978 _result
= (bool )wxFrame_ProcessCommand(_arg0
,_arg1
);
980 wxPy_END_ALLOW_THREADS
;
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
987 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxStatusBar
* _result
;
991 int _arg1
= (int ) 1;
992 long _arg2
= (long ) wxST_SIZEGRIP
;
993 wxWindowID _arg3
= (wxWindowID
) -1;
994 char * _arg4
= (char *) "statusBar";
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self","number","style","id","name", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ilis:wxFrame_CreateStatusBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (wxStatusBar
*)wxFrame_CreateStatusBar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1012 wxPy_END_ALLOW_THREADS
;
1013 if (PyErr_Occurred()) return NULL
;
1014 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1018 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
1019 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1021 wxStatusBar
* _result
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetStatusBar",_kwnames
,&_argo0
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
1040 wxPy_END_ALLOW_THREADS
;
1041 if (PyErr_Occurred()) return NULL
;
1042 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1046 #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
1047 static PyObject
*_wrap_wxFrame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1050 wxStatusBar
* _arg1
;
1051 PyObject
* _argo0
= 0;
1052 PyObject
* _argo1
= 0;
1053 char *_kwnames
[] = { "self","statBar", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusBar",_kwnames
,&_argo0
,&_argo1
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p.");
1066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStatusBar_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxFrame_SetStatusBar(_arg0
,_arg1
);
1076 wxPy_END_ALLOW_THREADS
;
1077 if (PyErr_Occurred()) return NULL
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
1084 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 int _arg2
= (int ) 0;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _obj1
= 0;
1091 char *_kwnames
[] = { "self","text","number", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFrame_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
1104 #if PYTHON_API_VERSION >= 1009
1105 char* tmpPtr
; int tmpSize
;
1106 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1107 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1110 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1112 _arg1
= new wxString(tmpPtr
, tmpSize
);
1114 if (!PyString_Check(_obj1
)) {
1115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1118 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
1125 wxPy_END_ALLOW_THREADS
;
1126 if (PyErr_Occurred()) return NULL
;
1127 } Py_INCREF(Py_None
);
1128 _resultobj
= Py_None
;
1136 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1142 PyObject
* _argo0
= 0;
1143 PyObject
* _obj2
= 0;
1144 char *_kwnames
[] = { "self","choices", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
1158 _arg2
= int_LIST_helper(_obj2
);
1159 if (_arg2
== NULL
) {
1165 _arg1
= PyList_Size(_obj2
);
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
1175 wxPy_END_ALLOW_THREADS
;
1176 if (PyErr_Occurred()) return NULL
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1185 #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
1186 static PyObject
*_wrap_wxFrame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1188 wxToolBar
* _result
;
1190 long _arg1
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
1191 wxWindowID _arg2
= (wxWindowID
) -1;
1192 char * _arg3
= (char *) "toolBar";
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self","style","id","name", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|lis:wxFrame_CreateToolBar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p.");
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 _result
= (wxToolBar
*)wxFrame_CreateToolBar(_arg0
,_arg1
,_arg2
,_arg3
);
1210 wxPy_END_ALLOW_THREADS
;
1211 if (PyErr_Occurred()) return NULL
;
1212 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1216 #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
1217 static PyObject
*_wrap_wxFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxToolBar
* _result
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_GetToolBar",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 _result
= (wxToolBar
*)wxFrame_GetToolBar(_arg0
);
1238 wxPy_END_ALLOW_THREADS
;
1239 if (PyErr_Occurred()) return NULL
;
1240 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1244 #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
1245 static PyObject
*_wrap_wxFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1249 PyObject
* _argo0
= 0;
1250 PyObject
* _argo1
= 0;
1251 char *_kwnames
[] = { "self","toolbar", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p.");
1264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p.");
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 wxFrame_SetToolBar(_arg0
,_arg1
);
1274 wxPy_END_ALLOW_THREADS
;
1275 if (PyErr_Occurred()) return NULL
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1281 #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1))
1282 static PyObject
*_wrap_wxFrame_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1287 long _arg2
= (long ) (wxFULLSCREEN_ALL
);
1288 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","show","style", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|l:wxFrame_ShowFullScreen",_kwnames
,&_argo0
,&tempbool1
,&_arg2
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p.");
1302 _arg1
= (bool ) tempbool1
;
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (bool )wxFrame_ShowFullScreen(_arg0
,_arg1
,_arg2
);
1307 wxPy_END_ALLOW_THREADS
;
1308 if (PyErr_Occurred()) return NULL
;
1309 } _resultobj
= Py_BuildValue("i",_result
);
1313 #define wxFrame_IsFullScreen(_swigobj) (_swigobj->IsFullScreen())
1314 static PyObject
*_wrap_wxFrame_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_IsFullScreen",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsFullScreen. Expected _wxFrame_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= (bool )wxFrame_IsFullScreen(_arg0
);
1335 wxPy_END_ALLOW_THREADS
;
1336 if (PyErr_Occurred()) return NULL
;
1337 } _resultobj
= Py_BuildValue("i",_result
);
1341 #define wxFrame_Raise(_swigobj) (_swigobj->Raise())
1342 static PyObject
*_wrap_wxFrame_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFrame_Raise",_kwnames
,&_argo0
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Raise. Expected _wxFrame_p.");
1359 wxPy_BEGIN_ALLOW_THREADS
;
1360 wxFrame_Raise(_arg0
);
1362 wxPy_END_ALLOW_THREADS
;
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1370 static PyObject
*_wrap_wxFrame_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxAcceleratorTable
* _arg1
;
1374 PyObject
* _argo0
= 0;
1375 PyObject
* _argo1
= 0;
1376 char *_kwnames
[] = { "self","accel", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFrame_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p.");
1389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 wxFrame_SetAcceleratorTable(_arg0
,*_arg1
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1401 } Py_INCREF(Py_None
);
1402 _resultobj
= Py_None
;
1406 #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1407 static PyObject
*_wrap_wxFrame_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1410 bool _arg1
= (bool ) TRUE
;
1411 PyObject
* _argo0
= 0;
1412 int tempbool1
= (int) TRUE
;
1413 char *_kwnames
[] = { "self","modal", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFrame_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p.");
1425 _arg1
= (bool ) tempbool1
;
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxFrame_MakeModal(_arg0
,_arg1
);
1430 wxPy_END_ALLOW_THREADS
;
1431 if (PyErr_Occurred()) return NULL
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 static void *SwigwxDialogTowxTopLevelWindow(void *ptr
) {
1439 wxTopLevelWindow
*dest
;
1440 src
= (wxDialog
*) ptr
;
1441 dest
= (wxTopLevelWindow
*) src
;
1442 return (void *) dest
;
1445 static void *SwigwxDialogTowxWindow(void *ptr
) {
1448 src
= (wxDialog
*) ptr
;
1449 dest
= (wxWindow
*) src
;
1450 return (void *) dest
;
1453 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
1456 src
= (wxDialog
*) ptr
;
1457 dest
= (wxEvtHandler
*) src
;
1458 return (void *) dest
;
1461 static void *SwigwxDialogTowxObject(void *ptr
) {
1464 src
= (wxDialog
*) ptr
;
1465 dest
= (wxObject
*) src
;
1466 return (void *) dest
;
1469 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1470 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1476 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1477 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1478 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
1479 char * _arg6
= (char *) "dialogBox";
1480 PyObject
* _argo0
= 0;
1481 PyObject
* _obj2
= 0;
1483 PyObject
* _obj3
= 0;
1485 PyObject
* _obj4
= 0;
1486 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
1500 #if PYTHON_API_VERSION >= 1009
1501 char* tmpPtr
; int tmpSize
;
1502 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1506 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1508 _arg2
= new wxString(tmpPtr
, tmpSize
);
1510 if (!PyString_Check(_obj2
)) {
1511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1514 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1520 if (! wxPoint_helper(_obj3
, &_arg3
))
1526 if (! wxSize_helper(_obj4
, &_arg4
))
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1533 wxPy_END_ALLOW_THREADS
;
1534 if (PyErr_Occurred()) return NULL
;
1536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1537 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 _resultobj
= Py_None
;
1549 #define new_wxPreDialog() (new wxDialog())
1550 static PyObject
*_wrap_new_wxPreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1553 char *_kwnames
[] = { NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDialog",_kwnames
))
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (wxDialog
*)new_wxPreDialog();
1563 wxPy_END_ALLOW_THREADS
;
1564 if (PyErr_Occurred()) return NULL
;
1566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 _resultobj
= Py_None
;
1575 #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1576 static PyObject
*_wrap_wxDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1583 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1584 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1585 long _arg6
= (long ) wxDEFAULT_DIALOG_STYLE
;
1586 char * _arg7
= (char *) "dialogBox";
1587 PyObject
* _argo0
= 0;
1588 PyObject
* _argo1
= 0;
1589 PyObject
* _obj3
= 0;
1591 PyObject
* _obj4
= 0;
1593 PyObject
* _obj5
= 0;
1594 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxDialog_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p.");
1607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p.");
1614 #if PYTHON_API_VERSION >= 1009
1615 char* tmpPtr
; int tmpSize
;
1616 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1620 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1622 _arg3
= new wxString(tmpPtr
, tmpSize
);
1624 if (!PyString_Check(_obj3
)) {
1625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1628 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1634 if (! wxPoint_helper(_obj4
, &_arg4
))
1640 if (! wxSize_helper(_obj5
, &_arg5
))
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 _result
= (bool )wxDialog_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
1647 wxPy_END_ALLOW_THREADS
;
1648 if (PyErr_Occurred()) return NULL
;
1649 } _resultobj
= Py_BuildValue("i",_result
);
1657 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1658 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1661 int _arg1
= (int ) wxBOTH
;
1662 PyObject
* _argo0
= 0;
1663 char *_kwnames
[] = { "self","direction", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 wxDialog_Centre(_arg0
,_arg1
);
1679 wxPy_END_ALLOW_THREADS
;
1680 if (PyErr_Occurred()) return NULL
;
1681 } Py_INCREF(Py_None
);
1682 _resultobj
= Py_None
;
1686 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
1687 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1691 PyObject
* _argo0
= 0;
1692 char *_kwnames
[] = { "self","retCode", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 wxDialog_EndModal(_arg0
,_arg1
);
1708 wxPy_END_ALLOW_THREADS
;
1709 if (PyErr_Occurred()) return NULL
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1715 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
1716 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1720 PyObject
* _argo0
= 0;
1722 char *_kwnames
[] = { "self","flag", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
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_SetModal. Expected _wxDialog_p.");
1734 _arg1
= (bool ) tempbool1
;
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxDialog_SetModal(_arg0
,_arg1
);
1739 wxPy_END_ALLOW_THREADS
;
1740 if (PyErr_Occurred()) return NULL
;
1741 } Py_INCREF(Py_None
);
1742 _resultobj
= Py_None
;
1746 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
1747 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
1765 wxPy_BEGIN_ALLOW_THREADS
;
1766 _result
= (bool )wxDialog_IsModal(_arg0
);
1768 wxPy_END_ALLOW_THREADS
;
1769 if (PyErr_Occurred()) return NULL
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
1775 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (int )wxDialog_ShowModal(_arg0
);
1796 wxPy_END_ALLOW_THREADS
;
1797 if (PyErr_Occurred()) return NULL
;
1798 } _resultobj
= Py_BuildValue("i",_result
);
1802 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
1803 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (int )wxDialog_GetReturnCode(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1831 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","retCode", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 wxDialog_SetReturnCode(_arg0
,_arg1
);
1852 wxPy_END_ALLOW_THREADS
;
1853 if (PyErr_Occurred()) return NULL
;
1854 } Py_INCREF(Py_None
);
1855 _resultobj
= Py_None
;
1859 #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
1860 static PyObject
*_wrap_wxDialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1865 PyObject
* _argo0
= 0;
1866 PyObject
* _obj1
= 0;
1867 char *_kwnames
[] = { "self","message", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_CreateTextSizer",_kwnames
,&_argo0
,&_obj1
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
1880 #if PYTHON_API_VERSION >= 1009
1881 char* tmpPtr
; int tmpSize
;
1882 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1886 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1888 _arg1
= new wxString(tmpPtr
, tmpSize
);
1890 if (!PyString_Check(_obj1
)) {
1891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1894 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (wxSizer
*)wxDialog_CreateTextSizer(_arg0
,*_arg1
);
1901 wxPy_END_ALLOW_THREADS
;
1902 if (PyErr_Occurred()) return NULL
;
1903 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1911 #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
1912 static PyObject
*_wrap_wxDialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self","flags", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDialog_CreateButtonSizer",_kwnames
,&_argo0
,&_arg1
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (wxSizer
*)wxDialog_CreateButtonSizer(_arg0
,_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 if (PyErr_Occurred()) return NULL
;
1936 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1940 static void *SwigwxMiniFrameTowxFrame(void *ptr
) {
1943 src
= (wxMiniFrame
*) ptr
;
1944 dest
= (wxFrame
*) src
;
1945 return (void *) dest
;
1948 static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr
) {
1950 wxTopLevelWindow
*dest
;
1951 src
= (wxMiniFrame
*) ptr
;
1952 dest
= (wxTopLevelWindow
*) src
;
1953 return (void *) dest
;
1956 static void *SwigwxMiniFrameTowxWindow(void *ptr
) {
1959 src
= (wxMiniFrame
*) ptr
;
1960 dest
= (wxWindow
*) src
;
1961 return (void *) dest
;
1964 static void *SwigwxMiniFrameTowxEvtHandler(void *ptr
) {
1967 src
= (wxMiniFrame
*) ptr
;
1968 dest
= (wxEvtHandler
*) src
;
1969 return (void *) dest
;
1972 static void *SwigwxMiniFrameTowxObject(void *ptr
) {
1975 src
= (wxMiniFrame
*) ptr
;
1976 dest
= (wxObject
*) src
;
1977 return (void *) dest
;
1980 #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1981 static PyObject
*_wrap_new_wxMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1983 wxMiniFrame
* _result
;
1987 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1988 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1989 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
1990 char * _arg6
= (char *) "frame";
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _obj2
= 0;
1994 PyObject
* _obj3
= 0;
1996 PyObject
* _obj4
= 0;
1997 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMiniFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p.");
2011 #if PYTHON_API_VERSION >= 1009
2012 char* tmpPtr
; int tmpSize
;
2013 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2017 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2019 _arg2
= new wxString(tmpPtr
, tmpSize
);
2021 if (!PyString_Check(_obj2
)) {
2022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2025 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2031 if (! wxPoint_helper(_obj3
, &_arg3
))
2037 if (! wxSize_helper(_obj4
, &_arg4
))
2041 wxPy_BEGIN_ALLOW_THREADS
;
2042 _result
= (wxMiniFrame
*)new_wxMiniFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2044 wxPy_END_ALLOW_THREADS
;
2045 if (PyErr_Occurred()) return NULL
;
2047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2048 _resultobj
= Py_BuildValue("s",_ptemp
);
2051 _resultobj
= Py_None
;
2060 #define new_wxPreMiniFrame() (new wxMiniFrame())
2061 static PyObject
*_wrap_new_wxPreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2063 wxMiniFrame
* _result
;
2064 char *_kwnames
[] = { NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMiniFrame",_kwnames
))
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (wxMiniFrame
*)new_wxPreMiniFrame();
2074 wxPy_END_ALLOW_THREADS
;
2075 if (PyErr_Occurred()) return NULL
;
2077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMiniFrame_p");
2078 _resultobj
= Py_BuildValue("s",_ptemp
);
2081 _resultobj
= Py_None
;
2086 #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2087 static PyObject
*_wrap_wxMiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 wxMiniFrame
* _arg0
;
2094 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2095 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2096 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
2097 char * _arg7
= (char *) "frame";
2098 PyObject
* _argo0
= 0;
2099 PyObject
* _argo1
= 0;
2100 PyObject
* _obj3
= 0;
2102 PyObject
* _obj4
= 0;
2104 PyObject
* _obj5
= 0;
2105 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMiniFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMiniFrame_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p.");
2118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p.");
2125 #if PYTHON_API_VERSION >= 1009
2126 char* tmpPtr
; int tmpSize
;
2127 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2128 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2131 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2133 _arg3
= new wxString(tmpPtr
, tmpSize
);
2135 if (!PyString_Check(_obj3
)) {
2136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2139 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2145 if (! wxPoint_helper(_obj4
, &_arg4
))
2151 if (! wxSize_helper(_obj5
, &_arg5
))
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (bool )wxMiniFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
2158 wxPy_END_ALLOW_THREADS
;
2159 if (PyErr_Occurred()) return NULL
;
2160 } _resultobj
= Py_BuildValue("i",_result
);
2168 static void *SwigwxTipWindowTowxFrame(void *ptr
) {
2171 src
= (wxTipWindow
*) ptr
;
2172 dest
= (wxFrame
*) src
;
2173 return (void *) dest
;
2176 static void *SwigwxTipWindowTowxTopLevelWindow(void *ptr
) {
2178 wxTopLevelWindow
*dest
;
2179 src
= (wxTipWindow
*) ptr
;
2180 dest
= (wxTopLevelWindow
*) src
;
2181 return (void *) dest
;
2184 static void *SwigwxTipWindowTowxWindow(void *ptr
) {
2187 src
= (wxTipWindow
*) ptr
;
2188 dest
= (wxWindow
*) src
;
2189 return (void *) dest
;
2192 static void *SwigwxTipWindowTowxEvtHandler(void *ptr
) {
2195 src
= (wxTipWindow
*) ptr
;
2196 dest
= (wxEvtHandler
*) src
;
2197 return (void *) dest
;
2200 static void *SwigwxTipWindowTowxObject(void *ptr
) {
2203 src
= (wxTipWindow
*) ptr
;
2204 dest
= (wxObject
*) src
;
2205 return (void *) dest
;
2208 #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2))
2209 static PyObject
*_wrap_new_wxTipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2211 wxTipWindow
* _result
;
2214 wxCoord _arg2
= (wxCoord
) 100;
2215 PyObject
* _argo0
= 0;
2216 PyObject
* _obj1
= 0;
2217 char *_kwnames
[] = { "parent","text","maxLength", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:new_wxTipWindow",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p.");
2231 #if PYTHON_API_VERSION >= 1009
2232 char* tmpPtr
; int tmpSize
;
2233 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2237 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2239 _arg1
= new wxString(tmpPtr
, tmpSize
);
2241 if (!PyString_Check(_obj1
)) {
2242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2245 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (wxTipWindow
*)new_wxTipWindow(_arg0
,*_arg1
,_arg2
);
2252 wxPy_END_ALLOW_THREADS
;
2253 if (PyErr_Occurred()) return NULL
;
2255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipWindow_p");
2256 _resultobj
= Py_BuildValue("s",_ptemp
);
2259 _resultobj
= Py_None
;
2268 static PyMethodDef framescMethods
[] = {
2269 { "new_wxTipWindow", (PyCFunction
) _wrap_new_wxTipWindow
, METH_VARARGS
| METH_KEYWORDS
},
2270 { "wxMiniFrame_Create", (PyCFunction
) _wrap_wxMiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2271 { "new_wxPreMiniFrame", (PyCFunction
) _wrap_new_wxPreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2272 { "new_wxMiniFrame", (PyCFunction
) _wrap_new_wxMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
2273 { "wxDialog_CreateButtonSizer", (PyCFunction
) _wrap_wxDialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
2274 { "wxDialog_CreateTextSizer", (PyCFunction
) _wrap_wxDialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
2275 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2276 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
2277 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
2278 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
2279 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
2280 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
2281 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
2282 { "wxDialog_Create", (PyCFunction
) _wrap_wxDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
2283 { "new_wxPreDialog", (PyCFunction
) _wrap_new_wxPreDialog
, METH_VARARGS
| METH_KEYWORDS
},
2284 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
2285 { "wxFrame_MakeModal", (PyCFunction
) _wrap_wxFrame_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
2286 { "wxFrame_SetAcceleratorTable", (PyCFunction
) _wrap_wxFrame_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
2287 { "wxFrame_Raise", (PyCFunction
) _wrap_wxFrame_Raise
, METH_VARARGS
| METH_KEYWORDS
},
2288 { "wxFrame_IsFullScreen", (PyCFunction
) _wrap_wxFrame_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2289 { "wxFrame_ShowFullScreen", (PyCFunction
) _wrap_wxFrame_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
2290 { "wxFrame_SetToolBar", (PyCFunction
) _wrap_wxFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2291 { "wxFrame_GetToolBar", (PyCFunction
) _wrap_wxFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2292 { "wxFrame_CreateToolBar", (PyCFunction
) _wrap_wxFrame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2293 { "wxFrame_SetStatusWidths", (PyCFunction
) _wrap_wxFrame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2294 { "wxFrame_SetStatusText", (PyCFunction
) _wrap_wxFrame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2295 { "wxFrame_SetStatusBar", (PyCFunction
) _wrap_wxFrame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2296 { "wxFrame_GetStatusBar", (PyCFunction
) _wrap_wxFrame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2297 { "wxFrame_CreateStatusBar", (PyCFunction
) _wrap_wxFrame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2298 { "wxFrame_ProcessCommand", (PyCFunction
) _wrap_wxFrame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
2299 { "wxFrame_Command", (PyCFunction
) _wrap_wxFrame_Command
, METH_VARARGS
| METH_KEYWORDS
},
2300 { "wxFrame_GetMenuBar", (PyCFunction
) _wrap_wxFrame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2301 { "wxFrame_SetMenuBar", (PyCFunction
) _wrap_wxFrame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2302 { "wxFrame_GetClientAreaOrigin", (PyCFunction
) _wrap_wxFrame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
2303 { "wxFrame_Create", (PyCFunction
) _wrap_wxFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
2304 { "new_wxPreFrame", (PyCFunction
) _wrap_new_wxPreFrame
, METH_VARARGS
| METH_KEYWORDS
},
2305 { "new_wxFrame", (PyCFunction
) _wrap_new_wxFrame
, METH_VARARGS
| METH_KEYWORDS
},
2306 { "wxTopLevelWindow_GetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2307 { "wxTopLevelWindow_SetTitle", (PyCFunction
) _wrap_wxTopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
2308 { "wxTopLevelWindow_SetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2309 { "wxTopLevelWindow_GetIcon", (PyCFunction
) _wrap_wxTopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2310 { "wxTopLevelWindow_IsIconized", (PyCFunction
) _wrap_wxTopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
2311 { "wxTopLevelWindow_IsMaximized", (PyCFunction
) _wrap_wxTopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
2312 { "wxTopLevelWindow_Iconize", (PyCFunction
) _wrap_wxTopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
2313 { "wxTopLevelWindow_Restore", (PyCFunction
) _wrap_wxTopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
2314 { "wxTopLevelWindow_Maximize", (PyCFunction
) _wrap_wxTopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
2315 { "wxTopLevelWindow_Create", (PyCFunction
) _wrap_wxTopLevelWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2316 { "new_wxPreTopLevelWindow", (PyCFunction
) _wrap_new_wxPreTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2317 { "new_wxTopLevelWindow", (PyCFunction
) _wrap_new_wxTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
},
2324 * This table is used by the pointer type-checker
2326 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2327 { "_signed_long","_long",0},
2328 { "_wxPrintQuality","_wxCoord",0},
2329 { "_wxPrintQuality","_int",0},
2330 { "_wxPrintQuality","_signed_int",0},
2331 { "_wxPrintQuality","_unsigned_int",0},
2332 { "_wxPrintQuality","_wxWindowID",0},
2333 { "_wxPrintQuality","_uint",0},
2334 { "_wxPrintQuality","_EBool",0},
2335 { "_wxPrintQuality","_size_t",0},
2336 { "_wxPrintQuality","_time_t",0},
2337 { "_byte","_unsigned_char",0},
2338 { "_long","_unsigned_long",0},
2339 { "_long","_signed_long",0},
2340 { "_size_t","_wxCoord",0},
2341 { "_size_t","_wxPrintQuality",0},
2342 { "_size_t","_time_t",0},
2343 { "_size_t","_unsigned_int",0},
2344 { "_size_t","_int",0},
2345 { "_size_t","_wxWindowID",0},
2346 { "_size_t","_uint",0},
2347 { "_wxTopLevelWindow","_wxTipWindow",SwigwxTipWindowTowxTopLevelWindow
},
2348 { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow
},
2349 { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow
},
2350 { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow
},
2351 { "_uint","_wxCoord",0},
2352 { "_uint","_wxPrintQuality",0},
2353 { "_uint","_time_t",0},
2354 { "_uint","_size_t",0},
2355 { "_uint","_unsigned_int",0},
2356 { "_uint","_int",0},
2357 { "_uint","_wxWindowID",0},
2358 { "_wxChar","_char",0},
2359 { "_char","_wxChar",0},
2360 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2361 { "_EBool","_wxCoord",0},
2362 { "_EBool","_wxPrintQuality",0},
2363 { "_EBool","_signed_int",0},
2364 { "_EBool","_int",0},
2365 { "_EBool","_wxWindowID",0},
2366 { "_unsigned_long","_long",0},
2367 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2368 { "_signed_int","_wxCoord",0},
2369 { "_signed_int","_wxPrintQuality",0},
2370 { "_signed_int","_EBool",0},
2371 { "_signed_int","_wxWindowID",0},
2372 { "_signed_int","_int",0},
2373 { "_WXTYPE","_short",0},
2374 { "_WXTYPE","_signed_short",0},
2375 { "_WXTYPE","_unsigned_short",0},
2376 { "_unsigned_short","_WXTYPE",0},
2377 { "_unsigned_short","_short",0},
2378 { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject
},
2379 { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject
},
2380 { "_wxObject","_wxDialog",SwigwxDialogTowxObject
},
2381 { "_wxObject","_wxFrame",SwigwxFrameTowxObject
},
2382 { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject
},
2383 { "_signed_short","_WXTYPE",0},
2384 { "_signed_short","_short",0},
2385 { "_unsigned_char","_byte",0},
2386 { "_unsigned_int","_wxCoord",0},
2387 { "_unsigned_int","_wxPrintQuality",0},
2388 { "_unsigned_int","_time_t",0},
2389 { "_unsigned_int","_size_t",0},
2390 { "_unsigned_int","_uint",0},
2391 { "_unsigned_int","_wxWindowID",0},
2392 { "_unsigned_int","_int",0},
2393 { "_short","_WXTYPE",0},
2394 { "_short","_unsigned_short",0},
2395 { "_short","_signed_short",0},
2396 { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame
},
2397 { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame
},
2398 { "_wxWindowID","_wxCoord",0},
2399 { "_wxWindowID","_wxPrintQuality",0},
2400 { "_wxWindowID","_time_t",0},
2401 { "_wxWindowID","_size_t",0},
2402 { "_wxWindowID","_EBool",0},
2403 { "_wxWindowID","_uint",0},
2404 { "_wxWindowID","_int",0},
2405 { "_wxWindowID","_signed_int",0},
2406 { "_wxWindowID","_unsigned_int",0},
2407 { "_int","_wxCoord",0},
2408 { "_int","_wxPrintQuality",0},
2409 { "_int","_time_t",0},
2410 { "_int","_size_t",0},
2411 { "_int","_EBool",0},
2412 { "_int","_uint",0},
2413 { "_int","_wxWindowID",0},
2414 { "_int","_unsigned_int",0},
2415 { "_int","_signed_int",0},
2416 { "_time_t","_wxCoord",0},
2417 { "_time_t","_wxPrintQuality",0},
2418 { "_time_t","_unsigned_int",0},
2419 { "_time_t","_int",0},
2420 { "_time_t","_wxWindowID",0},
2421 { "_time_t","_uint",0},
2422 { "_time_t","_size_t",0},
2423 { "_wxCoord","_int",0},
2424 { "_wxCoord","_signed_int",0},
2425 { "_wxCoord","_unsigned_int",0},
2426 { "_wxCoord","_wxWindowID",0},
2427 { "_wxCoord","_uint",0},
2428 { "_wxCoord","_EBool",0},
2429 { "_wxCoord","_size_t",0},
2430 { "_wxCoord","_time_t",0},
2431 { "_wxCoord","_wxPrintQuality",0},
2432 { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler
},
2433 { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler
},
2434 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
2435 { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
},
2436 { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler
},
2437 { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow
},
2438 { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow
},
2439 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
2440 { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow
},
2441 { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow
},
2444 static PyObject
*SWIG_globals
;
2448 SWIGEXPORT(void) initframesc() {
2450 SWIG_globals
= SWIG_newvarlink();
2451 m
= Py_InitModule("framesc", framescMethods
);
2452 d
= PyModule_GetDict(m
);
2453 PyDict_SetItemString(d
,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR
));
2454 PyDict_SetItemString(d
,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR
));
2455 PyDict_SetItemString(d
,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR
));
2456 PyDict_SetItemString(d
,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER
));
2457 PyDict_SetItemString(d
,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION
));
2458 PyDict_SetItemString(d
,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL
));
2459 PyDict_SetItemString(d
,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG
));
2462 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2463 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);