]>
Commit | Line | Data |
---|---|---|
9c039d08 | 1 | /* |
c368d904 | 2 | * FILE : src/msw/frames.cpp |
9c039d08 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
9c039d08 RD |
7 | * |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
9c039d08 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
9c039d08 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
9c039d08 RD |
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 *); | |
1d99702e | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
9c039d08 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
9c039d08 RD |
54 | #define SWIG_init initframesc |
55 | ||
56 | #define SWIG_name "framesc" | |
57 | ||
58 | #include "helpers.h" | |
9c039d08 | 59 | #include <wx/minifram.h> |
b5a5d647 | 60 | #include <wx/splash.h> |
9c039d08 | 61 | |
9c039d08 RD |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
e0672e2f | 67 | if (!target) { |
9c039d08 | 68 | target = o; |
e0672e2f | 69 | } else if (target == Py_None) { |
9c039d08 RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
e0672e2f | 72 | } else { |
9c039d08 RD |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
e0672e2f RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
80 | |
81 | o2 = target; | |
e0672e2f RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
9c039d08 RD |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
137b5242 RD |
88 | |
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); | |
1d99702e RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
ecc08ead RD |
97 | static void *SwigwxTopLevelWindowTowxWindow(void *ptr) { |
98 | wxTopLevelWindow *src; | |
9c039d08 | 99 | wxWindow *dest; |
ecc08ead | 100 | src = (wxTopLevelWindow *) ptr; |
9c039d08 RD |
101 | dest = (wxWindow *) src; |
102 | return (void *) dest; | |
103 | } | |
104 | ||
ecc08ead RD |
105 | static void *SwigwxTopLevelWindowTowxEvtHandler(void *ptr) { |
106 | wxTopLevelWindow *src; | |
9c039d08 | 107 | wxEvtHandler *dest; |
ecc08ead | 108 | src = (wxTopLevelWindow *) ptr; |
9c039d08 RD |
109 | dest = (wxEvtHandler *) src; |
110 | return (void *) dest; | |
111 | } | |
112 | ||
ecc08ead RD |
113 | static void *SwigwxTopLevelWindowTowxObject(void *ptr) { |
114 | wxTopLevelWindow *src; | |
9416aa89 | 115 | wxObject *dest; |
ecc08ead | 116 | src = (wxTopLevelWindow *) ptr; |
9416aa89 RD |
117 | dest = (wxObject *) src; |
118 | return (void *) dest; | |
119 | } | |
120 | ||
ecc08ead RD |
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) { | |
9c039d08 | 123 | PyObject * _resultobj; |
ecc08ead | 124 | wxTopLevelWindow * _result; |
9c039d08 RD |
125 | wxWindow * _arg0; |
126 | wxWindowID _arg1; | |
127 | wxString * _arg2; | |
e508a2b6 RD |
128 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
129 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e | 130 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
137b5242 | 131 | wxString * _arg6 = (wxString *) &wxPyFrameNameStr; |
1d99702e | 132 | PyObject * _argo0 = 0; |
9c039d08 | 133 | PyObject * _obj2 = 0; |
2f90df85 RD |
134 | wxPoint temp; |
135 | PyObject * _obj3 = 0; | |
136 | wxSize temp0; | |
137 | PyObject * _obj4 = 0; | |
137b5242 | 138 | PyObject * _obj6 = 0; |
efc5f224 | 139 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
140 | char _ptemp[128]; |
141 | ||
142 | self = self; | |
137b5242 | 143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxTopLevelWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
9c039d08 | 144 | return NULL; |
1d99702e RD |
145 | if (_argo0) { |
146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
ecc08ead | 148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTopLevelWindow. Expected _wxWindow_p."); |
9c039d08 RD |
149 | return NULL; |
150 | } | |
151 | } | |
152 | { | |
c8bc7bb8 RD |
153 | _arg2 = wxString_in_helper(_obj2); |
154 | if (_arg2 == NULL) | |
185d7c3e | 155 | return NULL; |
9c039d08 | 156 | } |
2f90df85 RD |
157 | if (_obj3) |
158 | { | |
159 | _arg3 = &temp; | |
160 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 161 | return NULL; |
2f90df85 RD |
162 | } |
163 | if (_obj4) | |
164 | { | |
165 | _arg4 = &temp0; | |
166 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 167 | return NULL; |
137b5242 RD |
168 | } |
169 | if (_obj6) | |
170 | { | |
171 | _arg6 = wxString_in_helper(_obj6); | |
172 | if (_arg6 == NULL) | |
173 | return NULL; | |
2f90df85 | 174 | } |
cf694132 | 175 | { |
4268f798 | 176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 177 | _result = (wxTopLevelWindow *)new_wxTopLevelWindow(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
cf694132 | 178 | |
4268f798 | 179 | wxPyEndAllowThreads(__tstate); |
493f1553 | 180 | if (PyErr_Occurred()) return NULL; |
1d99702e | 181 | } if (_result) { |
ecc08ead | 182 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTopLevelWindow_p"); |
1d99702e RD |
183 | _resultobj = Py_BuildValue("s",_ptemp); |
184 | } else { | |
185 | Py_INCREF(Py_None); | |
186 | _resultobj = Py_None; | |
187 | } | |
9c039d08 RD |
188 | { |
189 | if (_obj2) | |
190 | delete _arg2; | |
137b5242 RD |
191 | } |
192 | { | |
193 | if (_obj6) | |
194 | delete _arg6; | |
9c039d08 RD |
195 | } |
196 | return _resultobj; | |
197 | } | |
198 | ||
ecc08ead RD |
199 | #define new_wxPreTopLevelWindow() (new wxTopLevelWindow()) |
200 | static PyObject *_wrap_new_wxPreTopLevelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
09f3d4e6 | 201 | PyObject * _resultobj; |
ecc08ead | 202 | wxTopLevelWindow * _result; |
09f3d4e6 RD |
203 | char *_kwnames[] = { NULL }; |
204 | char _ptemp[128]; | |
205 | ||
206 | self = self; | |
ecc08ead | 207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTopLevelWindow",_kwnames)) |
09f3d4e6 RD |
208 | return NULL; |
209 | { | |
4268f798 | 210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 211 | _result = (wxTopLevelWindow *)new_wxPreTopLevelWindow(); |
09f3d4e6 | 212 | |
4268f798 | 213 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
214 | if (PyErr_Occurred()) return NULL; |
215 | } if (_result) { | |
ecc08ead | 216 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTopLevelWindow_p"); |
09f3d4e6 RD |
217 | _resultobj = Py_BuildValue("s",_ptemp); |
218 | } else { | |
219 | Py_INCREF(Py_None); | |
220 | _resultobj = Py_None; | |
221 | } | |
222 | return _resultobj; | |
223 | } | |
224 | ||
ecc08ead RD |
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) { | |
09f3d4e6 RD |
227 | PyObject * _resultobj; |
228 | bool _result; | |
ecc08ead | 229 | wxTopLevelWindow * _arg0; |
09f3d4e6 RD |
230 | wxWindow * _arg1; |
231 | wxWindowID _arg2; | |
232 | wxString * _arg3; | |
233 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
234 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
235 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
137b5242 | 236 | wxString * _arg7 = (wxString *) &wxPyFrameNameStr; |
09f3d4e6 RD |
237 | PyObject * _argo0 = 0; |
238 | PyObject * _argo1 = 0; | |
239 | PyObject * _obj3 = 0; | |
240 | wxPoint temp; | |
241 | PyObject * _obj4 = 0; | |
242 | wxSize temp0; | |
243 | PyObject * _obj5 = 0; | |
137b5242 | 244 | PyObject * _obj7 = 0; |
09f3d4e6 RD |
245 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
246 | ||
247 | self = self; | |
137b5242 | 248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxTopLevelWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
09f3d4e6 RD |
249 | return NULL; |
250 | if (_argo0) { | |
251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
09f3d4e6 RD |
254 | return NULL; |
255 | } | |
256 | } | |
257 | if (_argo1) { | |
258 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
259 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
ecc08ead | 260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_Create. Expected _wxWindow_p."); |
09f3d4e6 RD |
261 | return NULL; |
262 | } | |
263 | } | |
264 | { | |
c8bc7bb8 RD |
265 | _arg3 = wxString_in_helper(_obj3); |
266 | if (_arg3 == NULL) | |
09f3d4e6 | 267 | return NULL; |
09f3d4e6 RD |
268 | } |
269 | if (_obj4) | |
270 | { | |
271 | _arg4 = &temp; | |
272 | if (! wxPoint_helper(_obj4, &_arg4)) | |
273 | return NULL; | |
274 | } | |
275 | if (_obj5) | |
276 | { | |
277 | _arg5 = &temp0; | |
278 | if (! wxSize_helper(_obj5, &_arg5)) | |
279 | return NULL; | |
137b5242 RD |
280 | } |
281 | if (_obj7) | |
282 | { | |
283 | _arg7 = wxString_in_helper(_obj7); | |
284 | if (_arg7 == NULL) | |
285 | return NULL; | |
09f3d4e6 RD |
286 | } |
287 | { | |
4268f798 | 288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 289 | _result = (bool )wxTopLevelWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
09f3d4e6 | 290 | |
4268f798 | 291 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
292 | if (PyErr_Occurred()) return NULL; |
293 | } _resultobj = Py_BuildValue("i",_result); | |
294 | { | |
295 | if (_obj3) | |
296 | delete _arg3; | |
137b5242 RD |
297 | } |
298 | { | |
299 | if (_obj7) | |
300 | delete _arg7; | |
09f3d4e6 RD |
301 | } |
302 | return _resultobj; | |
303 | } | |
304 | ||
ecc08ead RD |
305 | #define wxTopLevelWindow_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) |
306 | static PyObject *_wrap_wxTopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 307 | PyObject * _resultobj; |
ecc08ead RD |
308 | wxTopLevelWindow * _arg0; |
309 | bool _arg1 = (bool ) TRUE; | |
1d99702e | 310 | PyObject * _argo0 = 0; |
ecc08ead RD |
311 | int tempbool1 = (int) TRUE; |
312 | char *_kwnames[] = { "self","maximize", NULL }; | |
9c039d08 RD |
313 | |
314 | self = self; | |
ecc08ead | 315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxTopLevelWindow_Maximize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 316 | return NULL; |
1d99702e RD |
317 | if (_argo0) { |
318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
9c039d08 RD |
321 | return NULL; |
322 | } | |
323 | } | |
ecc08ead | 324 | _arg1 = (bool ) tempbool1; |
cf694132 | 325 | { |
4268f798 | 326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 327 | wxTopLevelWindow_Maximize(_arg0,_arg1); |
cf694132 | 328 | |
4268f798 | 329 | wxPyEndAllowThreads(__tstate); |
493f1553 | 330 | if (PyErr_Occurred()) return NULL; |
cf694132 | 331 | } Py_INCREF(Py_None); |
9c039d08 RD |
332 | _resultobj = Py_None; |
333 | return _resultobj; | |
334 | } | |
335 | ||
ecc08ead RD |
336 | #define wxTopLevelWindow_Restore(_swigobj) (_swigobj->Restore()) |
337 | static PyObject *_wrap_wxTopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 338 | PyObject * _resultobj; |
ecc08ead | 339 | wxTopLevelWindow * _arg0; |
1d99702e | 340 | PyObject * _argo0 = 0; |
ecc08ead | 341 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
342 | |
343 | self = self; | |
ecc08ead | 344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_Restore",_kwnames,&_argo0)) |
9c039d08 | 345 | return NULL; |
1d99702e RD |
346 | if (_argo0) { |
347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
9c039d08 RD |
350 | return NULL; |
351 | } | |
352 | } | |
cf694132 | 353 | { |
4268f798 | 354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 355 | wxTopLevelWindow_Restore(_arg0); |
cf694132 | 356 | |
4268f798 | 357 | wxPyEndAllowThreads(__tstate); |
493f1553 | 358 | if (PyErr_Occurred()) return NULL; |
ecc08ead RD |
359 | } Py_INCREF(Py_None); |
360 | _resultobj = Py_None; | |
9c039d08 RD |
361 | return _resultobj; |
362 | } | |
363 | ||
ecc08ead RD |
364 | #define wxTopLevelWindow_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) |
365 | static PyObject *_wrap_wxTopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 366 | PyObject * _resultobj; |
ecc08ead RD |
367 | wxTopLevelWindow * _arg0; |
368 | bool _arg1 = (bool ) TRUE; | |
1d99702e | 369 | PyObject * _argo0 = 0; |
ecc08ead RD |
370 | int tempbool1 = (int) TRUE; |
371 | char *_kwnames[] = { "self","iconize", NULL }; | |
9c039d08 RD |
372 | |
373 | self = self; | |
ecc08ead | 374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxTopLevelWindow_Iconize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 375 | return NULL; |
1d99702e RD |
376 | if (_argo0) { |
377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
9c039d08 RD |
380 | return NULL; |
381 | } | |
382 | } | |
ecc08ead | 383 | _arg1 = (bool ) tempbool1; |
cf694132 | 384 | { |
4268f798 | 385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 386 | wxTopLevelWindow_Iconize(_arg0,_arg1); |
cf694132 | 387 | |
4268f798 | 388 | wxPyEndAllowThreads(__tstate); |
493f1553 | 389 | if (PyErr_Occurred()) return NULL; |
ecc08ead RD |
390 | } Py_INCREF(Py_None); |
391 | _resultobj = Py_None; | |
9c039d08 RD |
392 | return _resultobj; |
393 | } | |
394 | ||
ecc08ead RD |
395 | #define wxTopLevelWindow_IsMaximized(_swigobj) (_swigobj->IsMaximized()) |
396 | static PyObject *_wrap_wxTopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 397 | PyObject * _resultobj; |
ecc08ead RD |
398 | bool _result; |
399 | wxTopLevelWindow * _arg0; | |
f6bcfd97 BP |
400 | PyObject * _argo0 = 0; |
401 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
402 | |
403 | self = self; | |
ecc08ead | 404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsMaximized",_kwnames,&_argo0)) |
f6bcfd97 BP |
405 | return NULL; |
406 | if (_argo0) { | |
407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
f6bcfd97 BP |
410 | return NULL; |
411 | } | |
412 | } | |
413 | { | |
4268f798 | 414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 415 | _result = (bool )wxTopLevelWindow_IsMaximized(_arg0); |
f6bcfd97 | 416 | |
4268f798 | 417 | wxPyEndAllowThreads(__tstate); |
493f1553 | 418 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 419 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
420 | return _resultobj; |
421 | } | |
422 | ||
ecc08ead RD |
423 | #define wxTopLevelWindow_IsIconized(_swigobj) (_swigobj->IsIconized()) |
424 | static PyObject *_wrap_wxTopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 425 | PyObject * _resultobj; |
ecc08ead RD |
426 | bool _result; |
427 | wxTopLevelWindow * _arg0; | |
1d99702e | 428 | PyObject * _argo0 = 0; |
efc5f224 | 429 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
430 | |
431 | self = self; | |
ecc08ead | 432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsIconized",_kwnames,&_argo0)) |
9c039d08 | 433 | return NULL; |
1d99702e RD |
434 | if (_argo0) { |
435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
9c039d08 RD |
438 | return NULL; |
439 | } | |
440 | } | |
cf694132 | 441 | { |
4268f798 | 442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 443 | _result = (bool )wxTopLevelWindow_IsIconized(_arg0); |
cf694132 | 444 | |
4268f798 | 445 | wxPyEndAllowThreads(__tstate); |
493f1553 | 446 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 447 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
448 | return _resultobj; |
449 | } | |
450 | ||
ecc08ead RD |
451 | #define wxTopLevelWindow_GetIcon(_swigobj) (_swigobj->GetIcon()) |
452 | static PyObject *_wrap_wxTopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 453 | PyObject * _resultobj; |
ecc08ead RD |
454 | wxIcon * _result; |
455 | wxTopLevelWindow * _arg0; | |
1d99702e | 456 | PyObject * _argo0 = 0; |
efc5f224 | 457 | char *_kwnames[] = { "self", NULL }; |
ecc08ead | 458 | char _ptemp[128]; |
9c039d08 RD |
459 | |
460 | self = self; | |
ecc08ead | 461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_GetIcon",_kwnames,&_argo0)) |
9c039d08 | 462 | return NULL; |
1d99702e RD |
463 | if (_argo0) { |
464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
9c039d08 RD |
467 | return NULL; |
468 | } | |
469 | } | |
cf694132 | 470 | { |
4268f798 | 471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 472 | _result = new wxIcon (wxTopLevelWindow_GetIcon(_arg0)); |
cf694132 | 473 | |
4268f798 | 474 | wxPyEndAllowThreads(__tstate); |
493f1553 | 475 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
476 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p"); |
477 | _resultobj = Py_BuildValue("s",_ptemp); | |
9c039d08 RD |
478 | return _resultobj; |
479 | } | |
480 | ||
ecc08ead RD |
481 | #define wxTopLevelWindow_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) |
482 | static PyObject *_wrap_wxTopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 483 | PyObject * _resultobj; |
ecc08ead RD |
484 | wxTopLevelWindow * _arg0; |
485 | wxIcon * _arg1; | |
1d99702e | 486 | PyObject * _argo0 = 0; |
ecc08ead RD |
487 | PyObject * _argo1 = 0; |
488 | char *_kwnames[] = { "self","icon", NULL }; | |
9c039d08 RD |
489 | |
490 | self = self; | |
ecc08ead | 491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetIcon",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 492 | return NULL; |
1d99702e RD |
493 | if (_argo0) { |
494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
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."); | |
497 | return NULL; | |
498 | } | |
499 | } | |
500 | if (_argo1) { | |
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."); | |
9c039d08 RD |
504 | return NULL; |
505 | } | |
506 | } | |
9c039d08 | 507 | { |
4268f798 | 508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 509 | wxTopLevelWindow_SetIcon(_arg0,*_arg1); |
cf694132 | 510 | |
4268f798 | 511 | wxPyEndAllowThreads(__tstate); |
493f1553 | 512 | if (PyErr_Occurred()) return NULL; |
ecc08ead RD |
513 | } Py_INCREF(Py_None); |
514 | _resultobj = Py_None; | |
9c039d08 RD |
515 | return _resultobj; |
516 | } | |
517 | ||
0e9b78ce RD |
518 | #define wxTopLevelWindow_SetIcons(_swigobj,_swigarg0) (_swigobj->SetIcons(_swigarg0)) |
519 | static PyObject *_wrap_wxTopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
520 | PyObject * _resultobj; | |
521 | wxTopLevelWindow * _arg0; | |
522 | wxIconBundle * _arg1; | |
523 | PyObject * _argo0 = 0; | |
524 | PyObject * _argo1 = 0; | |
525 | char *_kwnames[] = { "self","icons", NULL }; | |
526 | ||
527 | self = self; | |
528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetIcons",_kwnames,&_argo0,&_argo1)) | |
529 | return NULL; | |
530 | if (_argo0) { | |
531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) { | |
533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetIcons. Expected _wxTopLevelWindow_p."); | |
534 | return NULL; | |
535 | } | |
536 | } | |
537 | if (_argo1) { | |
538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIconBundle_p")) { | |
540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTopLevelWindow_SetIcons. Expected _wxIconBundle_p."); | |
541 | return NULL; | |
542 | } | |
543 | } | |
544 | { | |
545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
546 | wxTopLevelWindow_SetIcons(_arg0,*_arg1); | |
547 | ||
548 | wxPyEndAllowThreads(__tstate); | |
549 | if (PyErr_Occurred()) return NULL; | |
550 | } Py_INCREF(Py_None); | |
551 | _resultobj = Py_None; | |
552 | return _resultobj; | |
553 | } | |
554 | ||
900d9886 RD |
555 | #define wxTopLevelWindow_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1)) |
556 | static PyObject *_wrap_wxTopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
557 | PyObject * _resultobj; | |
558 | bool _result; | |
559 | wxTopLevelWindow * _arg0; | |
560 | bool _arg1; | |
561 | long _arg2 = (long ) (wxFULLSCREEN_ALL); | |
562 | PyObject * _argo0 = 0; | |
563 | int tempbool1; | |
564 | char *_kwnames[] = { "self","show","style", NULL }; | |
565 | ||
566 | self = self; | |
567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxTopLevelWindow_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2)) | |
568 | return NULL; | |
569 | if (_argo0) { | |
570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) { | |
572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_ShowFullScreen. Expected _wxTopLevelWindow_p."); | |
573 | return NULL; | |
574 | } | |
575 | } | |
576 | _arg1 = (bool ) tempbool1; | |
577 | { | |
4268f798 | 578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 579 | _result = (bool )wxTopLevelWindow_ShowFullScreen(_arg0,_arg1,_arg2); |
900d9886 | 580 | |
4268f798 | 581 | wxPyEndAllowThreads(__tstate); |
900d9886 RD |
582 | if (PyErr_Occurred()) return NULL; |
583 | } _resultobj = Py_BuildValue("i",_result); | |
584 | return _resultobj; | |
585 | } | |
586 | ||
587 | #define wxTopLevelWindow_IsFullScreen(_swigobj) (_swigobj->IsFullScreen()) | |
588 | static PyObject *_wrap_wxTopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
589 | PyObject * _resultobj; | |
590 | bool _result; | |
591 | wxTopLevelWindow * _arg0; | |
592 | PyObject * _argo0 = 0; | |
593 | char *_kwnames[] = { "self", NULL }; | |
594 | ||
595 | self = self; | |
596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_IsFullScreen",_kwnames,&_argo0)) | |
597 | return NULL; | |
598 | if (_argo0) { | |
599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) { | |
601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_IsFullScreen. Expected _wxTopLevelWindow_p."); | |
602 | return NULL; | |
603 | } | |
604 | } | |
605 | { | |
4268f798 | 606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 607 | _result = (bool )wxTopLevelWindow_IsFullScreen(_arg0); |
900d9886 | 608 | |
4268f798 | 609 | wxPyEndAllowThreads(__tstate); |
900d9886 RD |
610 | if (PyErr_Occurred()) return NULL; |
611 | } _resultobj = Py_BuildValue("i",_result); | |
612 | return _resultobj; | |
613 | } | |
614 | ||
ecc08ead RD |
615 | #define wxTopLevelWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) |
616 | static PyObject *_wrap_wxTopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 617 | PyObject * _resultobj; |
ecc08ead RD |
618 | wxTopLevelWindow * _arg0; |
619 | wxString * _arg1; | |
1d99702e | 620 | PyObject * _argo0 = 0; |
ecc08ead RD |
621 | PyObject * _obj1 = 0; |
622 | char *_kwnames[] = { "self","title", NULL }; | |
9c039d08 RD |
623 | |
624 | self = self; | |
ecc08ead | 625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTopLevelWindow_SetTitle",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 626 | return NULL; |
1d99702e RD |
627 | if (_argo0) { |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) { |
630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_SetTitle. Expected _wxTopLevelWindow_p."); | |
9c039d08 RD |
631 | return NULL; |
632 | } | |
633 | } | |
cf694132 | 634 | { |
c8bc7bb8 RD |
635 | _arg1 = wxString_in_helper(_obj1); |
636 | if (_arg1 == NULL) | |
9c039d08 | 637 | return NULL; |
ecc08ead | 638 | } |
cf694132 | 639 | { |
4268f798 | 640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 641 | wxTopLevelWindow_SetTitle(_arg0,*_arg1); |
cf694132 | 642 | |
4268f798 | 643 | wxPyEndAllowThreads(__tstate); |
493f1553 | 644 | if (PyErr_Occurred()) return NULL; |
cf694132 | 645 | } Py_INCREF(Py_None); |
9c039d08 | 646 | _resultobj = Py_None; |
ecc08ead RD |
647 | { |
648 | if (_obj1) | |
649 | delete _arg1; | |
650 | } | |
9c039d08 RD |
651 | return _resultobj; |
652 | } | |
653 | ||
ecc08ead RD |
654 | #define wxTopLevelWindow_GetTitle(_swigobj) (_swigobj->GetTitle()) |
655 | static PyObject *_wrap_wxTopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 656 | PyObject * _resultobj; |
ecc08ead RD |
657 | wxString * _result; |
658 | wxTopLevelWindow * _arg0; | |
1d99702e | 659 | PyObject * _argo0 = 0; |
efc5f224 | 660 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
661 | |
662 | self = self; | |
ecc08ead | 663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTopLevelWindow_GetTitle",_kwnames,&_argo0)) |
9c039d08 | 664 | return NULL; |
1d99702e RD |
665 | if (_argo0) { |
666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTopLevelWindow_p")) { |
668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTopLevelWindow_GetTitle. Expected _wxTopLevelWindow_p."); | |
9c039d08 RD |
669 | return NULL; |
670 | } | |
671 | } | |
cf694132 | 672 | { |
4268f798 | 673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 674 | _result = new wxString (wxTopLevelWindow_GetTitle(_arg0)); |
cf694132 | 675 | |
4268f798 | 676 | wxPyEndAllowThreads(__tstate); |
493f1553 | 677 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 678 | }{ |
c8bc7bb8 RD |
679 | #if wxUSE_UNICODE |
680 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
681 | #else | |
ecc08ead | 682 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 683 | #endif |
ecc08ead RD |
684 | } |
685 | { | |
686 | delete _result; | |
687 | } | |
9c039d08 RD |
688 | return _resultobj; |
689 | } | |
690 | ||
ecc08ead RD |
691 | static void *SwigwxFrameTowxTopLevelWindow(void *ptr) { |
692 | wxFrame *src; | |
693 | wxTopLevelWindow *dest; | |
694 | src = (wxFrame *) ptr; | |
695 | dest = (wxTopLevelWindow *) src; | |
696 | return (void *) dest; | |
697 | } | |
698 | ||
699 | static void *SwigwxFrameTowxWindow(void *ptr) { | |
700 | wxFrame *src; | |
701 | wxWindow *dest; | |
702 | src = (wxFrame *) ptr; | |
703 | dest = (wxWindow *) src; | |
704 | return (void *) dest; | |
705 | } | |
706 | ||
707 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
708 | wxFrame *src; | |
709 | wxEvtHandler *dest; | |
710 | src = (wxFrame *) ptr; | |
711 | dest = (wxEvtHandler *) src; | |
712 | return (void *) dest; | |
713 | } | |
714 | ||
715 | static void *SwigwxFrameTowxObject(void *ptr) { | |
716 | wxFrame *src; | |
717 | wxObject *dest; | |
718 | src = (wxFrame *) ptr; | |
719 | dest = (wxObject *) src; | |
720 | return (void *) dest; | |
721 | } | |
722 | ||
723 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
724 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 725 | PyObject * _resultobj; |
ecc08ead RD |
726 | wxFrame * _result; |
727 | wxWindow * _arg0; | |
728 | wxWindowID _arg1; | |
729 | wxString * _arg2; | |
730 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
731 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
732 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; | |
137b5242 | 733 | wxString * _arg6 = (wxString *) &wxPyFrameNameStr; |
1d99702e | 734 | PyObject * _argo0 = 0; |
ecc08ead RD |
735 | PyObject * _obj2 = 0; |
736 | wxPoint temp; | |
737 | PyObject * _obj3 = 0; | |
738 | wxSize temp0; | |
739 | PyObject * _obj4 = 0; | |
137b5242 | 740 | PyObject * _obj6 = 0; |
ecc08ead RD |
741 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
742 | char _ptemp[128]; | |
9c039d08 RD |
743 | |
744 | self = self; | |
137b5242 | 745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
9c039d08 | 746 | return NULL; |
1d99702e RD |
747 | if (_argo0) { |
748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); | |
9c039d08 RD |
751 | return NULL; |
752 | } | |
753 | } | |
cf694132 | 754 | { |
c8bc7bb8 RD |
755 | _arg2 = wxString_in_helper(_obj2); |
756 | if (_arg2 == NULL) | |
ecc08ead | 757 | return NULL; |
ecc08ead RD |
758 | } |
759 | if (_obj3) | |
760 | { | |
761 | _arg3 = &temp; | |
762 | if (! wxPoint_helper(_obj3, &_arg3)) | |
763 | return NULL; | |
764 | } | |
765 | if (_obj4) | |
766 | { | |
767 | _arg4 = &temp0; | |
768 | if (! wxSize_helper(_obj4, &_arg4)) | |
769 | return NULL; | |
137b5242 RD |
770 | } |
771 | if (_obj6) | |
772 | { | |
773 | _arg6 = wxString_in_helper(_obj6); | |
774 | if (_arg6 == NULL) | |
775 | return NULL; | |
ecc08ead RD |
776 | } |
777 | { | |
4268f798 | 778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 779 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
ecc08ead | 780 | |
4268f798 | 781 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
782 | if (PyErr_Occurred()) return NULL; |
783 | } if (_result) { | |
784 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
785 | _resultobj = Py_BuildValue("s",_ptemp); | |
786 | } else { | |
787 | Py_INCREF(Py_None); | |
788 | _resultobj = Py_None; | |
789 | } | |
790 | { | |
791 | if (_obj2) | |
792 | delete _arg2; | |
137b5242 RD |
793 | } |
794 | { | |
795 | if (_obj6) | |
796 | delete _arg6; | |
ecc08ead RD |
797 | } |
798 | return _resultobj; | |
799 | } | |
800 | ||
801 | #define new_wxPreFrame() (new wxFrame()) | |
802 | static PyObject *_wrap_new_wxPreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
803 | PyObject * _resultobj; | |
804 | wxFrame * _result; | |
805 | char *_kwnames[] = { NULL }; | |
806 | char _ptemp[128]; | |
807 | ||
808 | self = self; | |
809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFrame",_kwnames)) | |
810 | return NULL; | |
811 | { | |
4268f798 | 812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 813 | _result = (wxFrame *)new_wxPreFrame(); |
ecc08ead | 814 | |
4268f798 | 815 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
816 | if (PyErr_Occurred()) return NULL; |
817 | } if (_result) { | |
818 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
819 | _resultobj = Py_BuildValue("s",_ptemp); | |
820 | } else { | |
821 | Py_INCREF(Py_None); | |
822 | _resultobj = Py_None; | |
823 | } | |
824 | return _resultobj; | |
825 | } | |
826 | ||
827 | #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
828 | static PyObject *_wrap_wxFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
829 | PyObject * _resultobj; | |
830 | bool _result; | |
831 | wxFrame * _arg0; | |
832 | wxWindow * _arg1; | |
833 | wxWindowID _arg2; | |
834 | wxString * _arg3; | |
835 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
836 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
837 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
137b5242 | 838 | wxString * _arg7 = (wxString *) &wxPyFrameNameStr; |
ecc08ead RD |
839 | PyObject * _argo0 = 0; |
840 | PyObject * _argo1 = 0; | |
841 | PyObject * _obj3 = 0; | |
842 | wxPoint temp; | |
843 | PyObject * _obj4 = 0; | |
844 | wxSize temp0; | |
845 | PyObject * _obj5 = 0; | |
137b5242 | 846 | PyObject * _obj7 = 0; |
ecc08ead RD |
847 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
848 | ||
849 | self = self; | |
137b5242 | 850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
ecc08ead RD |
851 | return NULL; |
852 | if (_argo0) { | |
853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p."); | |
856 | return NULL; | |
857 | } | |
858 | } | |
859 | if (_argo1) { | |
860 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
861 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p."); | |
863 | return NULL; | |
864 | } | |
865 | } | |
866 | { | |
c8bc7bb8 RD |
867 | _arg3 = wxString_in_helper(_obj3); |
868 | if (_arg3 == NULL) | |
ecc08ead | 869 | return NULL; |
ecc08ead RD |
870 | } |
871 | if (_obj4) | |
872 | { | |
873 | _arg4 = &temp; | |
874 | if (! wxPoint_helper(_obj4, &_arg4)) | |
875 | return NULL; | |
876 | } | |
877 | if (_obj5) | |
878 | { | |
879 | _arg5 = &temp0; | |
880 | if (! wxSize_helper(_obj5, &_arg5)) | |
881 | return NULL; | |
137b5242 RD |
882 | } |
883 | if (_obj7) | |
884 | { | |
885 | _arg7 = wxString_in_helper(_obj7); | |
886 | if (_arg7 == NULL) | |
887 | return NULL; | |
ecc08ead RD |
888 | } |
889 | { | |
4268f798 | 890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 891 | _result = (bool )wxFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
ecc08ead | 892 | |
4268f798 | 893 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
894 | if (PyErr_Occurred()) return NULL; |
895 | } _resultobj = Py_BuildValue("i",_result); | |
896 | { | |
897 | if (_obj3) | |
898 | delete _arg3; | |
137b5242 RD |
899 | } |
900 | { | |
901 | if (_obj7) | |
902 | delete _arg7; | |
ecc08ead RD |
903 | } |
904 | return _resultobj; | |
905 | } | |
906 | ||
907 | #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin()) | |
908 | static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
909 | PyObject * _resultobj; | |
910 | wxPoint * _result; | |
911 | wxFrame * _arg0; | |
912 | PyObject * _argo0 = 0; | |
913 | char *_kwnames[] = { "self", NULL }; | |
914 | char _ptemp[128]; | |
915 | ||
916 | self = self; | |
917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0)) | |
918 | return NULL; | |
919 | if (_argo0) { | |
920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p."); | |
923 | return NULL; | |
924 | } | |
925 | } | |
926 | { | |
4268f798 | 927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 928 | _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0)); |
ecc08ead | 929 | |
4268f798 | 930 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
931 | if (PyErr_Occurred()) return NULL; |
932 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
933 | _resultobj = Py_BuildValue("s",_ptemp); | |
934 | return _resultobj; | |
935 | } | |
936 | ||
937 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
938 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
939 | PyObject * _resultobj; | |
940 | wxFrame * _arg0; | |
941 | wxMenuBar * _arg1; | |
942 | PyObject * _argo0 = 0; | |
943 | PyObject * _argo1 = 0; | |
944 | char *_kwnames[] = { "self","menubar", NULL }; | |
945 | ||
946 | self = self; | |
947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1)) | |
948 | return NULL; | |
949 | if (_argo0) { | |
950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); | |
953 | return NULL; | |
954 | } | |
955 | } | |
956 | if (_argo1) { | |
957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) { | |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); | |
960 | return NULL; | |
961 | } | |
962 | } | |
963 | { | |
4268f798 | 964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 965 | wxFrame_SetMenuBar(_arg0,_arg1); |
ecc08ead | 966 | |
4268f798 | 967 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
968 | if (PyErr_Occurred()) return NULL; |
969 | } Py_INCREF(Py_None); | |
970 | _resultobj = Py_None; | |
971 | return _resultobj; | |
972 | } | |
973 | ||
974 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) | |
975 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
976 | PyObject * _resultobj; | |
977 | wxMenuBar * _result; | |
978 | wxFrame * _arg0; | |
979 | PyObject * _argo0 = 0; | |
980 | char *_kwnames[] = { "self", NULL }; | |
981 | ||
982 | self = self; | |
983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0)) | |
984 | return NULL; | |
985 | if (_argo0) { | |
986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); | |
989 | return NULL; | |
990 | } | |
991 | } | |
992 | { | |
4268f798 | 993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 994 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); |
ecc08ead | 995 | |
4268f798 | 996 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
997 | if (PyErr_Occurred()) return NULL; |
998 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
999 | return _resultobj; | |
1000 | } | |
1001 | ||
1002 | #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
1003 | static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1004 | PyObject * _resultobj; | |
1005 | bool _result; | |
1006 | wxFrame * _arg0; | |
1007 | int _arg1; | |
1008 | PyObject * _argo0 = 0; | |
1009 | char *_kwnames[] = { "self","id", NULL }; | |
1010 | ||
1011 | self = self; | |
1012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1)) | |
1013 | return NULL; | |
1014 | if (_argo0) { | |
1015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p."); | |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
1021 | { | |
4268f798 | 1022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1023 | _result = (bool )wxFrame_Command(_arg0,_arg1); |
ecc08ead | 1024 | |
4268f798 | 1025 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1026 | if (PyErr_Occurred()) return NULL; |
1027 | } _resultobj = Py_BuildValue("i",_result); | |
1028 | return _resultobj; | |
1029 | } | |
1030 | ||
1031 | #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0)) | |
1032 | static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1033 | PyObject * _resultobj; | |
1034 | bool _result; | |
1035 | wxFrame * _arg0; | |
1036 | int _arg1; | |
1037 | PyObject * _argo0 = 0; | |
1038 | char *_kwnames[] = { "self","id", NULL }; | |
1039 | ||
1040 | self = self; | |
1041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1)) | |
1042 | return NULL; | |
1043 | if (_argo0) { | |
1044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p."); | |
1047 | return NULL; | |
1048 | } | |
1049 | } | |
1050 | { | |
4268f798 | 1051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1052 | _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1); |
ecc08ead | 1053 | |
4268f798 | 1054 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1055 | if (PyErr_Occurred()) return NULL; |
1056 | } _resultobj = Py_BuildValue("i",_result); | |
1057 | return _resultobj; | |
1058 | } | |
1059 | ||
1060 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1061 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1062 | PyObject * _resultobj; | |
1063 | wxStatusBar * _result; | |
1064 | wxFrame * _arg0; | |
1065 | int _arg1 = (int ) 1; | |
1066 | long _arg2 = (long ) wxST_SIZEGRIP; | |
1067 | wxWindowID _arg3 = (wxWindowID ) -1; | |
137b5242 | 1068 | wxString * _arg4 = (wxString *) &wxPyStatusLineNameStr; |
ecc08ead | 1069 | PyObject * _argo0 = 0; |
137b5242 | 1070 | PyObject * _obj4 = 0; |
ecc08ead RD |
1071 | char *_kwnames[] = { "self","number","style","id","name", NULL }; |
1072 | ||
1073 | self = self; | |
137b5242 | 1074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iliO:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_obj4)) |
ecc08ead RD |
1075 | return NULL; |
1076 | if (_argo0) { | |
1077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); | |
1080 | return NULL; | |
1081 | } | |
1082 | } | |
137b5242 RD |
1083 | if (_obj4) |
1084 | { | |
1085 | _arg4 = wxString_in_helper(_obj4); | |
1086 | if (_arg4 == NULL) | |
1087 | return NULL; | |
1088 | } | |
ecc08ead | 1089 | { |
4268f798 | 1090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 1091 | _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,*_arg4); |
ecc08ead | 1092 | |
4268f798 | 1093 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1094 | if (PyErr_Occurred()) return NULL; |
1095 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
137b5242 RD |
1096 | { |
1097 | if (_obj4) | |
1098 | delete _arg4; | |
1099 | } | |
ecc08ead RD |
1100 | return _resultobj; |
1101 | } | |
1102 | ||
1103 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
1104 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1105 | PyObject * _resultobj; | |
1106 | wxStatusBar * _result; | |
1107 | wxFrame * _arg0; | |
1108 | PyObject * _argo0 = 0; | |
1109 | char *_kwnames[] = { "self", NULL }; | |
1110 | ||
1111 | self = self; | |
1112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0)) | |
1113 | return NULL; | |
1114 | if (_argo0) { | |
1115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); | |
1118 | return NULL; | |
1119 | } | |
1120 | } | |
1121 | { | |
4268f798 | 1122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1123 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); |
ecc08ead | 1124 | |
4268f798 | 1125 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1126 | if (PyErr_Occurred()) return NULL; |
1127 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
1128 | return _resultobj; | |
1129 | } | |
1130 | ||
1131 | #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0)) | |
1132 | static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1133 | PyObject * _resultobj; | |
1134 | wxFrame * _arg0; | |
1135 | wxStatusBar * _arg1; | |
1136 | PyObject * _argo0 = 0; | |
1137 | PyObject * _argo1 = 0; | |
1138 | char *_kwnames[] = { "self","statBar", NULL }; | |
1139 | ||
1140 | self = self; | |
1141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1)) | |
1142 | return NULL; | |
1143 | if (_argo0) { | |
1144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p."); | |
1147 | return NULL; | |
1148 | } | |
1149 | } | |
1150 | if (_argo1) { | |
1151 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1152 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) { | |
1153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p."); | |
1154 | return NULL; | |
1155 | } | |
1156 | } | |
1157 | { | |
4268f798 | 1158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1159 | wxFrame_SetStatusBar(_arg0,_arg1); |
ecc08ead | 1160 | |
4268f798 | 1161 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1162 | if (PyErr_Occurred()) return NULL; |
1163 | } Py_INCREF(Py_None); | |
1164 | _resultobj = Py_None; | |
1165 | return _resultobj; | |
1166 | } | |
1167 | ||
1168 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
1169 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1170 | PyObject * _resultobj; | |
1171 | wxFrame * _arg0; | |
1172 | wxString * _arg1; | |
1173 | int _arg2 = (int ) 0; | |
1174 | PyObject * _argo0 = 0; | |
1175 | PyObject * _obj1 = 0; | |
1176 | char *_kwnames[] = { "self","text","number", NULL }; | |
1177 | ||
1178 | self = self; | |
1179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) | |
1180 | return NULL; | |
1181 | if (_argo0) { | |
1182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); | |
1185 | return NULL; | |
1186 | } | |
1187 | } | |
1188 | { | |
c8bc7bb8 RD |
1189 | _arg1 = wxString_in_helper(_obj1); |
1190 | if (_arg1 == NULL) | |
ecc08ead | 1191 | return NULL; |
ecc08ead RD |
1192 | } |
1193 | { | |
4268f798 | 1194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1195 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); |
ecc08ead | 1196 | |
4268f798 | 1197 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1198 | if (PyErr_Occurred()) return NULL; |
1199 | } Py_INCREF(Py_None); | |
1200 | _resultobj = Py_None; | |
1201 | { | |
1202 | if (_obj1) | |
1203 | delete _arg1; | |
1204 | } | |
1205 | return _resultobj; | |
1206 | } | |
1207 | ||
1208 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
1209 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1210 | PyObject * _resultobj; | |
1211 | wxFrame * _arg0; | |
1212 | int _arg1; | |
1213 | int * _arg2; | |
1214 | PyObject * _argo0 = 0; | |
1215 | PyObject * _obj2 = 0; | |
1216 | char *_kwnames[] = { "self","choices", NULL }; | |
1217 | ||
1218 | self = self; | |
1219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2)) | |
1220 | return NULL; | |
1221 | if (_argo0) { | |
1222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); | |
1225 | return NULL; | |
1226 | } | |
1227 | } | |
1228 | if (_obj2) | |
1229 | { | |
1230 | _arg2 = int_LIST_helper(_obj2); | |
1231 | if (_arg2 == NULL) { | |
1232 | return NULL; | |
1233 | } | |
1234 | } | |
1235 | { | |
1236 | if (_obj2) { | |
1237 | _arg1 = PyList_Size(_obj2); | |
1238 | } | |
1239 | else { | |
1240 | _arg1 = 0; | |
1241 | } | |
1242 | } | |
1243 | { | |
4268f798 | 1244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1245 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); |
ecc08ead | 1246 | |
4268f798 | 1247 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1248 | if (PyErr_Occurred()) return NULL; |
1249 | } Py_INCREF(Py_None); | |
1250 | _resultobj = Py_None; | |
1251 | { | |
1252 | delete [] _arg2; | |
1253 | } | |
1254 | return _resultobj; | |
1255 | } | |
1256 | ||
94e36a51 RD |
1257 | #define wxFrame_PushStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushStatusText(_swigarg0,_swigarg1)) |
1258 | static PyObject *_wrap_wxFrame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1259 | PyObject * _resultobj; | |
1260 | wxFrame * _arg0; | |
1261 | wxString * _arg1; | |
1262 | int _arg2 = (int ) 0; | |
1263 | PyObject * _argo0 = 0; | |
1264 | PyObject * _obj1 = 0; | |
1265 | char *_kwnames[] = { "self","text","number", NULL }; | |
1266 | ||
1267 | self = self; | |
1268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_PushStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) | |
1269 | return NULL; | |
1270 | if (_argo0) { | |
1271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_PushStatusText. Expected _wxFrame_p."); | |
1274 | return NULL; | |
1275 | } | |
1276 | } | |
1277 | { | |
1278 | _arg1 = wxString_in_helper(_obj1); | |
1279 | if (_arg1 == NULL) | |
1280 | return NULL; | |
1281 | } | |
1282 | { | |
1283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1284 | wxFrame_PushStatusText(_arg0,*_arg1,_arg2); | |
1285 | ||
1286 | wxPyEndAllowThreads(__tstate); | |
1287 | if (PyErr_Occurred()) return NULL; | |
1288 | } Py_INCREF(Py_None); | |
1289 | _resultobj = Py_None; | |
1290 | { | |
1291 | if (_obj1) | |
1292 | delete _arg1; | |
1293 | } | |
1294 | return _resultobj; | |
1295 | } | |
1296 | ||
1297 | #define wxFrame_PopStatusText(_swigobj,_swigarg0) (_swigobj->PopStatusText(_swigarg0)) | |
1298 | static PyObject *_wrap_wxFrame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1299 | PyObject * _resultobj; | |
1300 | wxFrame * _arg0; | |
1301 | int _arg1 = (int ) 0; | |
1302 | PyObject * _argo0 = 0; | |
1303 | char *_kwnames[] = { "self","number", NULL }; | |
1304 | ||
1305 | self = self; | |
1306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_PopStatusText",_kwnames,&_argo0,&_arg1)) | |
1307 | return NULL; | |
1308 | if (_argo0) { | |
1309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_PopStatusText. Expected _wxFrame_p."); | |
1312 | return NULL; | |
1313 | } | |
1314 | } | |
1315 | { | |
1316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1317 | wxFrame_PopStatusText(_arg0,_arg1); | |
1318 | ||
1319 | wxPyEndAllowThreads(__tstate); | |
1320 | if (PyErr_Occurred()) return NULL; | |
1321 | } Py_INCREF(Py_None); | |
1322 | _resultobj = Py_None; | |
1323 | return _resultobj; | |
1324 | } | |
1325 | ||
1326 | #define wxFrame_DoGiveHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoGiveHelp(_swigarg0,_swigarg1)) | |
1327 | static PyObject *_wrap_wxFrame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1328 | PyObject * _resultobj; | |
1329 | wxFrame * _arg0; | |
1330 | wxString * _arg1; | |
1331 | bool _arg2; | |
1332 | PyObject * _argo0 = 0; | |
1333 | PyObject * _obj1 = 0; | |
1334 | int tempbool2; | |
1335 | char *_kwnames[] = { "self","text","show", NULL }; | |
1336 | ||
1337 | self = self; | |
1338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxFrame_DoGiveHelp",_kwnames,&_argo0,&_obj1,&tempbool2)) | |
1339 | return NULL; | |
1340 | if (_argo0) { | |
1341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_DoGiveHelp. Expected _wxFrame_p."); | |
1344 | return NULL; | |
1345 | } | |
1346 | } | |
1347 | { | |
1348 | _arg1 = wxString_in_helper(_obj1); | |
1349 | if (_arg1 == NULL) | |
1350 | return NULL; | |
1351 | } | |
1352 | _arg2 = (bool ) tempbool2; | |
1353 | { | |
1354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1355 | wxFrame_DoGiveHelp(_arg0,*_arg1,_arg2); | |
1356 | ||
1357 | wxPyEndAllowThreads(__tstate); | |
1358 | if (PyErr_Occurred()) return NULL; | |
1359 | } Py_INCREF(Py_None); | |
1360 | _resultobj = Py_None; | |
1361 | { | |
1362 | if (_obj1) | |
1363 | delete _arg1; | |
1364 | } | |
1365 | return _resultobj; | |
1366 | } | |
1367 | ||
1368 | #define wxFrame_SetStatusBarPane(_swigobj,_swigarg0) (_swigobj->SetStatusBarPane(_swigarg0)) | |
1369 | static PyObject *_wrap_wxFrame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1370 | PyObject * _resultobj; | |
1371 | wxFrame * _arg0; | |
1372 | int _arg1; | |
1373 | PyObject * _argo0 = 0; | |
1374 | char *_kwnames[] = { "self","n", NULL }; | |
1375 | ||
1376 | self = self; | |
1377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_SetStatusBarPane",_kwnames,&_argo0,&_arg1)) | |
1378 | return NULL; | |
1379 | if (_argo0) { | |
1380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBarPane. Expected _wxFrame_p."); | |
1383 | return NULL; | |
1384 | } | |
1385 | } | |
1386 | { | |
1387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1388 | wxFrame_SetStatusBarPane(_arg0,_arg1); | |
1389 | ||
1390 | wxPyEndAllowThreads(__tstate); | |
1391 | if (PyErr_Occurred()) return NULL; | |
1392 | } Py_INCREF(Py_None); | |
1393 | _resultobj = Py_None; | |
1394 | return _resultobj; | |
1395 | } | |
1396 | ||
1397 | #define wxFrame_GetStatusBarPane(_swigobj) (_swigobj->GetStatusBarPane()) | |
1398 | static PyObject *_wrap_wxFrame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1399 | PyObject * _resultobj; | |
1400 | int _result; | |
1401 | wxFrame * _arg0; | |
1402 | PyObject * _argo0 = 0; | |
1403 | char *_kwnames[] = { "self", NULL }; | |
1404 | ||
1405 | self = self; | |
1406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBarPane",_kwnames,&_argo0)) | |
1407 | return NULL; | |
1408 | if (_argo0) { | |
1409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBarPane. Expected _wxFrame_p."); | |
1412 | return NULL; | |
1413 | } | |
1414 | } | |
1415 | { | |
1416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1417 | _result = (int )wxFrame_GetStatusBarPane(_arg0); | |
1418 | ||
1419 | wxPyEndAllowThreads(__tstate); | |
1420 | if (PyErr_Occurred()) return NULL; | |
1421 | } _resultobj = Py_BuildValue("i",_result); | |
1422 | return _resultobj; | |
1423 | } | |
1424 | ||
ecc08ead RD |
1425 | #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2)) |
1426 | static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1427 | PyObject * _resultobj; | |
1428 | wxToolBar * _result; | |
1429 | wxFrame * _arg0; | |
1430 | long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL; | |
1431 | wxWindowID _arg2 = (wxWindowID ) -1; | |
137b5242 | 1432 | wxString * _arg3 = (wxString *) &wxPyToolBarNameStr; |
ecc08ead | 1433 | PyObject * _argo0 = 0; |
137b5242 | 1434 | PyObject * _obj3 = 0; |
ecc08ead RD |
1435 | char *_kwnames[] = { "self","style","id","name", NULL }; |
1436 | ||
1437 | self = self; | |
137b5242 | 1438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|liO:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) |
ecc08ead RD |
1439 | return NULL; |
1440 | if (_argo0) { | |
1441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p."); | |
1444 | return NULL; | |
1445 | } | |
1446 | } | |
137b5242 RD |
1447 | if (_obj3) |
1448 | { | |
1449 | _arg3 = wxString_in_helper(_obj3); | |
1450 | if (_arg3 == NULL) | |
1451 | return NULL; | |
1452 | } | |
ecc08ead | 1453 | { |
4268f798 | 1454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 1455 | _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,*_arg3); |
cf694132 | 1456 | |
4268f798 | 1457 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1458 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 1459 | }{ _resultobj = wxPyMake_wxObject(_result); } |
137b5242 RD |
1460 | { |
1461 | if (_obj3) | |
1462 | delete _arg3; | |
1463 | } | |
9c039d08 RD |
1464 | return _resultobj; |
1465 | } | |
1466 | ||
ecc08ead RD |
1467 | #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) |
1468 | static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1469 | PyObject * _resultobj; |
ecc08ead | 1470 | wxToolBar * _result; |
f6bcfd97 BP |
1471 | wxFrame * _arg0; |
1472 | PyObject * _argo0 = 0; | |
1473 | char *_kwnames[] = { "self", NULL }; | |
1474 | ||
1475 | self = self; | |
ecc08ead | 1476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
1477 | return NULL; |
1478 | if (_argo0) { | |
1479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
ecc08ead | 1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p."); |
f6bcfd97 BP |
1482 | return NULL; |
1483 | } | |
1484 | } | |
1485 | { | |
4268f798 | 1486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1487 | _result = (wxToolBar *)wxFrame_GetToolBar(_arg0); |
f6bcfd97 | 1488 | |
4268f798 | 1489 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1490 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 1491 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
1492 | return _resultobj; |
1493 | } | |
1494 | ||
ecc08ead RD |
1495 | #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) |
1496 | static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1497 | PyObject * _resultobj; |
1498 | wxFrame * _arg0; | |
ecc08ead | 1499 | wxToolBar * _arg1; |
f6bcfd97 | 1500 | PyObject * _argo0 = 0; |
ecc08ead RD |
1501 | PyObject * _argo1 = 0; |
1502 | char *_kwnames[] = { "self","toolbar", NULL }; | |
f6bcfd97 BP |
1503 | |
1504 | self = self; | |
ecc08ead | 1505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
1506 | return NULL; |
1507 | if (_argo0) { | |
1508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
ecc08ead RD |
1510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p."); |
1511 | return NULL; | |
1512 | } | |
1513 | } | |
1514 | if (_argo1) { | |
1515 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1516 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) { | |
1517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p."); | |
f6bcfd97 BP |
1518 | return NULL; |
1519 | } | |
1520 | } | |
1521 | { | |
4268f798 | 1522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1523 | wxFrame_SetToolBar(_arg0,_arg1); |
f6bcfd97 | 1524 | |
4268f798 | 1525 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1526 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1527 | } Py_INCREF(Py_None); |
1528 | _resultobj = Py_None; | |
1529 | return _resultobj; | |
1530 | } | |
1531 | ||
ecc08ead RD |
1532 | static void *SwigwxDialogTowxTopLevelWindow(void *ptr) { |
1533 | wxDialog *src; | |
1534 | wxTopLevelWindow *dest; | |
1535 | src = (wxDialog *) ptr; | |
1536 | dest = (wxTopLevelWindow *) src; | |
1537 | return (void *) dest; | |
1538 | } | |
1539 | ||
1540 | static void *SwigwxDialogTowxWindow(void *ptr) { | |
1541 | wxDialog *src; | |
1542 | wxWindow *dest; | |
1543 | src = (wxDialog *) ptr; | |
1544 | dest = (wxWindow *) src; | |
1545 | return (void *) dest; | |
1546 | } | |
1547 | ||
1548 | static void *SwigwxDialogTowxEvtHandler(void *ptr) { | |
1549 | wxDialog *src; | |
1550 | wxEvtHandler *dest; | |
1551 | src = (wxDialog *) ptr; | |
1552 | dest = (wxEvtHandler *) src; | |
1553 | return (void *) dest; | |
1554 | } | |
1555 | ||
1556 | static void *SwigwxDialogTowxObject(void *ptr) { | |
1557 | wxDialog *src; | |
1558 | wxObject *dest; | |
1559 | src = (wxDialog *) ptr; | |
1560 | dest = (wxObject *) src; | |
1561 | return (void *) dest; | |
1562 | } | |
1563 | ||
1564 | #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1565 | static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1566 | PyObject * _resultobj; | |
1567 | wxDialog * _result; | |
1568 | wxWindow * _arg0; | |
1569 | wxWindowID _arg1; | |
1570 | wxString * _arg2; | |
1571 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
1572 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1573 | long _arg5 = (long ) wxDEFAULT_DIALOG_STYLE; | |
137b5242 | 1574 | wxString * _arg6 = (wxString *) &wxPyDialogNameStr; |
ecc08ead RD |
1575 | PyObject * _argo0 = 0; |
1576 | PyObject * _obj2 = 0; | |
1577 | wxPoint temp; | |
1578 | PyObject * _obj3 = 0; | |
1579 | wxSize temp0; | |
1580 | PyObject * _obj4 = 0; | |
137b5242 | 1581 | PyObject * _obj6 = 0; |
ecc08ead RD |
1582 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
1583 | char _ptemp[128]; | |
1584 | ||
1585 | self = self; | |
137b5242 | 1586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxDialog",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
ecc08ead RD |
1587 | return NULL; |
1588 | if (_argo0) { | |
1589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p."); | |
9c039d08 RD |
1592 | return NULL; |
1593 | } | |
1594 | } | |
ecc08ead | 1595 | { |
c8bc7bb8 RD |
1596 | _arg2 = wxString_in_helper(_obj2); |
1597 | if (_arg2 == NULL) | |
ecc08ead | 1598 | return NULL; |
ecc08ead RD |
1599 | } |
1600 | if (_obj3) | |
1601 | { | |
1602 | _arg3 = &temp; | |
1603 | if (! wxPoint_helper(_obj3, &_arg3)) | |
1604 | return NULL; | |
1605 | } | |
1606 | if (_obj4) | |
1607 | { | |
1608 | _arg4 = &temp0; | |
1609 | if (! wxSize_helper(_obj4, &_arg4)) | |
1610 | return NULL; | |
137b5242 RD |
1611 | } |
1612 | if (_obj6) | |
1613 | { | |
1614 | _arg6 = wxString_in_helper(_obj6); | |
1615 | if (_arg6 == NULL) | |
1616 | return NULL; | |
ecc08ead | 1617 | } |
cf694132 | 1618 | { |
4268f798 | 1619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 1620 | _result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
cf694132 | 1621 | |
4268f798 | 1622 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1623 | if (PyErr_Occurred()) return NULL; |
ecc08ead RD |
1624 | } if (_result) { |
1625 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p"); | |
1626 | _resultobj = Py_BuildValue("s",_ptemp); | |
1627 | } else { | |
1628 | Py_INCREF(Py_None); | |
1629 | _resultobj = Py_None; | |
1630 | } | |
1631 | { | |
1632 | if (_obj2) | |
1633 | delete _arg2; | |
137b5242 RD |
1634 | } |
1635 | { | |
1636 | if (_obj6) | |
1637 | delete _arg6; | |
ecc08ead | 1638 | } |
9c039d08 RD |
1639 | return _resultobj; |
1640 | } | |
1641 | ||
ecc08ead RD |
1642 | #define new_wxPreDialog() (new wxDialog()) |
1643 | static PyObject *_wrap_new_wxPreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1644 | PyObject * _resultobj; |
ecc08ead RD |
1645 | wxDialog * _result; |
1646 | char *_kwnames[] = { NULL }; | |
1647 | char _ptemp[128]; | |
1648 | ||
1649 | self = self; | |
1650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDialog",_kwnames)) | |
1651 | return NULL; | |
1652 | { | |
4268f798 | 1653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1654 | _result = (wxDialog *)new_wxPreDialog(); |
ecc08ead | 1655 | |
4268f798 | 1656 | wxPyEndAllowThreads(__tstate); |
ecc08ead RD |
1657 | if (PyErr_Occurred()) return NULL; |
1658 | } if (_result) { | |
1659 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p"); | |
1660 | _resultobj = Py_BuildValue("s",_ptemp); | |
1661 | } else { | |
1662 | Py_INCREF(Py_None); | |
1663 | _resultobj = Py_None; | |
1664 | } | |
1665 | return _resultobj; | |
1666 | } | |
1667 | ||
1668 | #define wxDialog_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1669 | static PyObject *_wrap_wxDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1670 | PyObject * _resultobj; | |
1671 | bool _result; | |
1672 | wxDialog * _arg0; | |
1673 | wxWindow * _arg1; | |
1674 | wxWindowID _arg2; | |
1675 | wxString * _arg3; | |
1676 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
1677 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
1678 | long _arg6 = (long ) wxDEFAULT_DIALOG_STYLE; | |
137b5242 | 1679 | wxString * _arg7 = (wxString *) &wxPyDialogNameStr; |
1d99702e | 1680 | PyObject * _argo0 = 0; |
ecc08ead RD |
1681 | PyObject * _argo1 = 0; |
1682 | PyObject * _obj3 = 0; | |
1683 | wxPoint temp; | |
1684 | PyObject * _obj4 = 0; | |
1685 | wxSize temp0; | |
1686 | PyObject * _obj5 = 0; | |
137b5242 | 1687 | PyObject * _obj7 = 0; |
ecc08ead | 1688 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
1689 | |
1690 | self = self; | |
137b5242 | 1691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxDialog_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
9c039d08 | 1692 | return NULL; |
1d99702e RD |
1693 | if (_argo0) { |
1694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Create. Expected _wxDialog_p."); | |
1697 | return NULL; | |
1698 | } | |
1699 | } | |
1700 | if (_argo1) { | |
1701 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1702 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDialog_Create. Expected _wxWindow_p."); | |
9c039d08 RD |
1704 | return NULL; |
1705 | } | |
1706 | } | |
1707 | { | |
c8bc7bb8 RD |
1708 | _arg3 = wxString_in_helper(_obj3); |
1709 | if (_arg3 == NULL) | |
185d7c3e | 1710 | return NULL; |
ecc08ead RD |
1711 | } |
1712 | if (_obj4) | |
1713 | { | |
1714 | _arg4 = &temp; | |
1715 | if (! wxPoint_helper(_obj4, &_arg4)) | |
1716 | return NULL; | |
1717 | } | |
1718 | if (_obj5) | |
1719 | { | |
1720 | _arg5 = &temp0; | |
1721 | if (! wxSize_helper(_obj5, &_arg5)) | |
1722 | return NULL; | |
137b5242 RD |
1723 | } |
1724 | if (_obj7) | |
1725 | { | |
1726 | _arg7 = wxString_in_helper(_obj7); | |
1727 | if (_arg7 == NULL) | |
1728 | return NULL; | |
9c039d08 | 1729 | } |
cf694132 | 1730 | { |
4268f798 | 1731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 1732 | _result = (bool )wxDialog_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
cf694132 | 1733 | |
4268f798 | 1734 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1735 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 1736 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 | 1737 | { |
ecc08ead RD |
1738 | if (_obj3) |
1739 | delete _arg3; | |
137b5242 RD |
1740 | } |
1741 | { | |
1742 | if (_obj7) | |
1743 | delete _arg7; | |
9c039d08 RD |
1744 | } |
1745 | return _resultobj; | |
1746 | } | |
1747 | ||
ecc08ead RD |
1748 | #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) |
1749 | static PyObject *_wrap_wxDialog_Centre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1750 | PyObject * _resultobj; |
ecc08ead RD |
1751 | wxDialog * _arg0; |
1752 | int _arg1 = (int ) wxBOTH; | |
1d99702e | 1753 | PyObject * _argo0 = 0; |
ecc08ead | 1754 | char *_kwnames[] = { "self","direction", NULL }; |
9c039d08 RD |
1755 | |
1756 | self = self; | |
ecc08ead | 1757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxDialog_Centre",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 1758 | return NULL; |
1d99702e RD |
1759 | if (_argo0) { |
1760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p."); | |
9c039d08 RD |
1763 | return NULL; |
1764 | } | |
1765 | } | |
cf694132 | 1766 | { |
4268f798 | 1767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1768 | wxDialog_Centre(_arg0,_arg1); |
cf694132 | 1769 | |
4268f798 | 1770 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1771 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1772 | } Py_INCREF(Py_None); |
9c039d08 | 1773 | _resultobj = Py_None; |
9c039d08 RD |
1774 | return _resultobj; |
1775 | } | |
1776 | ||
ecc08ead RD |
1777 | #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0)) |
1778 | static PyObject *_wrap_wxDialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1779 | PyObject * _resultobj; |
ecc08ead RD |
1780 | wxDialog * _arg0; |
1781 | int _arg1; | |
1d99702e | 1782 | PyObject * _argo0 = 0; |
ecc08ead | 1783 | char *_kwnames[] = { "self","retCode", NULL }; |
9c039d08 RD |
1784 | |
1785 | self = self; | |
ecc08ead | 1786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_EndModal",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 1787 | return NULL; |
1d99702e RD |
1788 | if (_argo0) { |
1789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p."); | |
9c039d08 RD |
1792 | return NULL; |
1793 | } | |
1794 | } | |
cf694132 | 1795 | { |
4268f798 | 1796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1797 | wxDialog_EndModal(_arg0,_arg1); |
cf694132 | 1798 | |
4268f798 | 1799 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1800 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1801 | } Py_INCREF(Py_None); |
9c039d08 | 1802 | _resultobj = Py_None; |
9c039d08 RD |
1803 | return _resultobj; |
1804 | } | |
1805 | ||
ecc08ead RD |
1806 | #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0)) |
1807 | static PyObject *_wrap_wxDialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1808 | PyObject * _resultobj; |
ecc08ead RD |
1809 | wxDialog * _arg0; |
1810 | bool _arg1; | |
1d99702e | 1811 | PyObject * _argo0 = 0; |
ecc08ead RD |
1812 | int tempbool1; |
1813 | char *_kwnames[] = { "self","flag", NULL }; | |
9c039d08 RD |
1814 | |
1815 | self = self; | |
ecc08ead | 1816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetModal",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 1817 | return NULL; |
1d99702e RD |
1818 | if (_argo0) { |
1819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p."); | |
9c039d08 RD |
1822 | return NULL; |
1823 | } | |
1824 | } | |
ecc08ead | 1825 | _arg1 = (bool ) tempbool1; |
cf694132 | 1826 | { |
4268f798 | 1827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1828 | wxDialog_SetModal(_arg0,_arg1); |
cf694132 | 1829 | |
4268f798 | 1830 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1831 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1832 | } Py_INCREF(Py_None); |
9c039d08 RD |
1833 | _resultobj = Py_None; |
1834 | return _resultobj; | |
1835 | } | |
1836 | ||
ecc08ead RD |
1837 | #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal()) |
1838 | static PyObject *_wrap_wxDialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1839 | PyObject * _resultobj; |
ecc08ead RD |
1840 | bool _result; |
1841 | wxDialog * _arg0; | |
f6bcfd97 | 1842 | PyObject * _argo0 = 0; |
ecc08ead | 1843 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1844 | |
1845 | self = self; | |
ecc08ead | 1846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_IsModal",_kwnames,&_argo0)) |
f6bcfd97 BP |
1847 | return NULL; |
1848 | if (_argo0) { | |
1849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p."); | |
f6bcfd97 BP |
1852 | return NULL; |
1853 | } | |
1854 | } | |
f6bcfd97 | 1855 | { |
4268f798 | 1856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1857 | _result = (bool )wxDialog_IsModal(_arg0); |
f6bcfd97 | 1858 | |
4268f798 | 1859 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1860 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 1861 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1862 | return _resultobj; |
1863 | } | |
1864 | ||
ecc08ead RD |
1865 | #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal()) |
1866 | static PyObject *_wrap_wxDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1867 | PyObject * _resultobj; |
ecc08ead RD |
1868 | int _result; |
1869 | wxDialog * _arg0; | |
f6bcfd97 BP |
1870 | PyObject * _argo0 = 0; |
1871 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1872 | |
1873 | self = self; | |
ecc08ead | 1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_ShowModal",_kwnames,&_argo0)) |
f6bcfd97 BP |
1875 | return NULL; |
1876 | if (_argo0) { | |
1877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p."); | |
f6bcfd97 BP |
1880 | return NULL; |
1881 | } | |
1882 | } | |
1883 | { | |
4268f798 | 1884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1885 | _result = (int )wxDialog_ShowModal(_arg0); |
f6bcfd97 | 1886 | |
4268f798 | 1887 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1888 | if (PyErr_Occurred()) return NULL; |
ecc08ead | 1889 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1890 | return _resultobj; |
1891 | } | |
1892 | ||
ecc08ead RD |
1893 | #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode()) |
1894 | static PyObject *_wrap_wxDialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1895 | PyObject * _resultobj; |
ecc08ead RD |
1896 | int _result; |
1897 | wxDialog * _arg0; | |
f6bcfd97 | 1898 | PyObject * _argo0 = 0; |
ecc08ead | 1899 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1900 | |
1901 | self = self; | |
ecc08ead | 1902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDialog_GetReturnCode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1903 | return NULL; |
1904 | if (_argo0) { | |
1905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p."); | |
f6bcfd97 BP |
1908 | return NULL; |
1909 | } | |
1910 | } | |
1911 | { | |
4268f798 | 1912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1913 | _result = (int )wxDialog_GetReturnCode(_arg0); |
f6bcfd97 | 1914 | |
4268f798 | 1915 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1916 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1917 | } _resultobj = Py_BuildValue("i",_result); |
1918 | return _resultobj; | |
1919 | } | |
1920 | ||
ecc08ead RD |
1921 | #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0)) |
1922 | static PyObject *_wrap_wxDialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1923 | PyObject * _resultobj; |
ecc08ead | 1924 | wxDialog * _arg0; |
f6bcfd97 BP |
1925 | int _arg1; |
1926 | PyObject * _argo0 = 0; | |
ecc08ead | 1927 | char *_kwnames[] = { "self","retCode", NULL }; |
f6bcfd97 BP |
1928 | |
1929 | self = self; | |
ecc08ead | 1930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDialog_SetReturnCode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1931 | return NULL; |
1932 | if (_argo0) { | |
1933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p."); | |
f6bcfd97 BP |
1936 | return NULL; |
1937 | } | |
1938 | } | |
1939 | { | |
4268f798 | 1940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1941 | wxDialog_SetReturnCode(_arg0,_arg1); |
f6bcfd97 | 1942 | |
4268f798 | 1943 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1944 | if (PyErr_Occurred()) return NULL; |
ecc08ead RD |
1945 | } Py_INCREF(Py_None); |
1946 | _resultobj = Py_None; | |
f6bcfd97 BP |
1947 | return _resultobj; |
1948 | } | |
1949 | ||
ecc08ead RD |
1950 | #define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0)) |
1951 | static PyObject *_wrap_wxDialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1952 | PyObject * _resultobj; |
ecc08ead RD |
1953 | wxSizer * _result; |
1954 | wxDialog * _arg0; | |
1955 | wxString * _arg1; | |
f6bcfd97 | 1956 | PyObject * _argo0 = 0; |
ecc08ead RD |
1957 | PyObject * _obj1 = 0; |
1958 | char *_kwnames[] = { "self","message", NULL }; | |
f6bcfd97 BP |
1959 | |
1960 | self = self; | |
ecc08ead | 1961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_CreateTextSizer",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
1962 | return NULL; |
1963 | if (_argo0) { | |
1964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
1965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
1966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p."); | |
f6bcfd97 BP |
1967 | return NULL; |
1968 | } | |
1969 | } | |
ecc08ead | 1970 | { |
c8bc7bb8 RD |
1971 | _arg1 = wxString_in_helper(_obj1); |
1972 | if (_arg1 == NULL) | |
ecc08ead | 1973 | return NULL; |
ecc08ead | 1974 | } |
f6bcfd97 | 1975 | { |
4268f798 | 1976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1977 | _result = (wxSizer *)wxDialog_CreateTextSizer(_arg0,*_arg1); |
f6bcfd97 | 1978 | |
4268f798 | 1979 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1980 | if (PyErr_Occurred()) return NULL; |
2f4e9287 | 1981 | }{ _resultobj = wxPyMake_wxSizer(_result); } |
ecc08ead RD |
1982 | { |
1983 | if (_obj1) | |
1984 | delete _arg1; | |
1985 | } | |
f6bcfd97 BP |
1986 | return _resultobj; |
1987 | } | |
1988 | ||
ecc08ead RD |
1989 | #define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0)) |
1990 | static PyObject *_wrap_wxDialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
edf2f43e | 1991 | PyObject * _resultobj; |
ecc08ead RD |
1992 | wxSizer * _result; |
1993 | wxDialog * _arg0; | |
1994 | long _arg1; | |
edf2f43e | 1995 | PyObject * _argo0 = 0; |
ecc08ead | 1996 | char *_kwnames[] = { "self","flags", NULL }; |
edf2f43e RD |
1997 | |
1998 | self = self; | |
ecc08ead | 1999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDialog_CreateButtonSizer",_kwnames,&_argo0,&_arg1)) |
edf2f43e RD |
2000 | return NULL; |
2001 | if (_argo0) { | |
2002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ecc08ead RD |
2003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) { |
2004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p."); | |
edf2f43e RD |
2005 | return NULL; |
2006 | } | |
2007 | } | |
2008 | { | |
4268f798 | 2009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2010 | _result = (wxSizer *)wxDialog_CreateButtonSizer(_arg0,_arg1); |
edf2f43e | 2011 | |
4268f798 | 2012 | wxPyEndAllowThreads(__tstate); |
edf2f43e | 2013 | if (PyErr_Occurred()) return NULL; |
2f4e9287 | 2014 | }{ _resultobj = wxPyMake_wxSizer(_result); } |
edf2f43e RD |
2015 | return _resultobj; |
2016 | } | |
2017 | ||
9c039d08 RD |
2018 | static void *SwigwxMiniFrameTowxFrame(void *ptr) { |
2019 | wxMiniFrame *src; | |
2020 | wxFrame *dest; | |
2021 | src = (wxMiniFrame *) ptr; | |
2022 | dest = (wxFrame *) src; | |
2023 | return (void *) dest; | |
2024 | } | |
2025 | ||
ecc08ead RD |
2026 | static void *SwigwxMiniFrameTowxTopLevelWindow(void *ptr) { |
2027 | wxMiniFrame *src; | |
2028 | wxTopLevelWindow *dest; | |
2029 | src = (wxMiniFrame *) ptr; | |
2030 | dest = (wxTopLevelWindow *) src; | |
2031 | return (void *) dest; | |
2032 | } | |
2033 | ||
9c039d08 RD |
2034 | static void *SwigwxMiniFrameTowxWindow(void *ptr) { |
2035 | wxMiniFrame *src; | |
2036 | wxWindow *dest; | |
2037 | src = (wxMiniFrame *) ptr; | |
2038 | dest = (wxWindow *) src; | |
2039 | return (void *) dest; | |
2040 | } | |
2041 | ||
2042 | static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) { | |
2043 | wxMiniFrame *src; | |
2044 | wxEvtHandler *dest; | |
2045 | src = (wxMiniFrame *) ptr; | |
2046 | dest = (wxEvtHandler *) src; | |
2047 | return (void *) dest; | |
2048 | } | |
2049 | ||
9416aa89 RD |
2050 | static void *SwigwxMiniFrameTowxObject(void *ptr) { |
2051 | wxMiniFrame *src; | |
2052 | wxObject *dest; | |
2053 | src = (wxMiniFrame *) ptr; | |
2054 | dest = (wxObject *) src; | |
2055 | return (void *) dest; | |
2056 | } | |
2057 | ||
9c039d08 | 2058 | #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 2059 | static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2060 | PyObject * _resultobj; |
2061 | wxMiniFrame * _result; | |
2062 | wxWindow * _arg0; | |
2063 | wxWindowID _arg1; | |
2064 | wxString * _arg2; | |
e508a2b6 RD |
2065 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
2066 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e | 2067 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
137b5242 | 2068 | wxString * _arg6 = (wxString *) &wxPyFrameNameStr; |
1d99702e | 2069 | PyObject * _argo0 = 0; |
9c039d08 | 2070 | PyObject * _obj2 = 0; |
2f90df85 RD |
2071 | wxPoint temp; |
2072 | PyObject * _obj3 = 0; | |
2073 | wxSize temp0; | |
2074 | PyObject * _obj4 = 0; | |
137b5242 | 2075 | PyObject * _obj6 = 0; |
efc5f224 | 2076 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
2077 | char _ptemp[128]; |
2078 | ||
2079 | self = self; | |
137b5242 | 2080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
9c039d08 | 2081 | return NULL; |
1d99702e RD |
2082 | if (_argo0) { |
2083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
2085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p."); |
2086 | return NULL; | |
2087 | } | |
2088 | } | |
2089 | { | |
c8bc7bb8 RD |
2090 | _arg2 = wxString_in_helper(_obj2); |
2091 | if (_arg2 == NULL) | |
9c039d08 | 2092 | return NULL; |
9c039d08 | 2093 | } |
2f90df85 RD |
2094 | if (_obj3) |
2095 | { | |
2096 | _arg3 = &temp; | |
2097 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 2098 | return NULL; |
2f90df85 RD |
2099 | } |
2100 | if (_obj4) | |
2101 | { | |
2102 | _arg4 = &temp0; | |
2103 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 2104 | return NULL; |
137b5242 RD |
2105 | } |
2106 | if (_obj6) | |
2107 | { | |
2108 | _arg6 = wxString_in_helper(_obj6); | |
2109 | if (_arg6 == NULL) | |
2110 | return NULL; | |
2f90df85 | 2111 | } |
cf694132 | 2112 | { |
4268f798 | 2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 2114 | _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
cf694132 | 2115 | |
4268f798 | 2116 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2117 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
2118 | } if (_result) { |
2119 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
2120 | _resultobj = Py_BuildValue("s",_ptemp); | |
2121 | } else { | |
2122 | Py_INCREF(Py_None); | |
2123 | _resultobj = Py_None; | |
2124 | } | |
9c039d08 RD |
2125 | { |
2126 | if (_obj2) | |
2127 | delete _arg2; | |
137b5242 RD |
2128 | } |
2129 | { | |
2130 | if (_obj6) | |
2131 | delete _arg6; | |
9c039d08 RD |
2132 | } |
2133 | return _resultobj; | |
2134 | } | |
2135 | ||
09f3d4e6 RD |
2136 | #define new_wxPreMiniFrame() (new wxMiniFrame()) |
2137 | static PyObject *_wrap_new_wxPreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2138 | PyObject * _resultobj; | |
2139 | wxMiniFrame * _result; | |
2140 | char *_kwnames[] = { NULL }; | |
2141 | char _ptemp[128]; | |
2142 | ||
2143 | self = self; | |
2144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMiniFrame",_kwnames)) | |
2145 | return NULL; | |
2146 | { | |
4268f798 | 2147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2148 | _result = (wxMiniFrame *)new_wxPreMiniFrame(); |
09f3d4e6 | 2149 | |
4268f798 | 2150 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
2151 | if (PyErr_Occurred()) return NULL; |
2152 | } if (_result) { | |
2153 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
2154 | _resultobj = Py_BuildValue("s",_ptemp); | |
2155 | } else { | |
2156 | Py_INCREF(Py_None); | |
2157 | _resultobj = Py_None; | |
2158 | } | |
2159 | return _resultobj; | |
2160 | } | |
2161 | ||
2162 | #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2163 | static PyObject *_wrap_wxMiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2164 | PyObject * _resultobj; | |
2165 | bool _result; | |
2166 | wxMiniFrame * _arg0; | |
2167 | wxWindow * _arg1; | |
2168 | wxWindowID _arg2; | |
2169 | wxString * _arg3; | |
2170 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
2171 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
2172 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
137b5242 | 2173 | wxString * _arg7 = (wxString *) &wxPyFrameNameStr; |
09f3d4e6 RD |
2174 | PyObject * _argo0 = 0; |
2175 | PyObject * _argo1 = 0; | |
2176 | PyObject * _obj3 = 0; | |
2177 | wxPoint temp; | |
2178 | PyObject * _obj4 = 0; | |
2179 | wxSize temp0; | |
2180 | PyObject * _obj5 = 0; | |
137b5242 | 2181 | PyObject * _obj7 = 0; |
09f3d4e6 RD |
2182 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
2183 | ||
2184 | self = self; | |
137b5242 | 2185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxMiniFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
09f3d4e6 RD |
2186 | return NULL; |
2187 | if (_argo0) { | |
2188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMiniFrame_p")) { | |
2190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p."); | |
2191 | return NULL; | |
2192 | } | |
2193 | } | |
2194 | if (_argo1) { | |
2195 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2196 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p."); | |
2198 | return NULL; | |
2199 | } | |
2200 | } | |
2201 | { | |
c8bc7bb8 RD |
2202 | _arg3 = wxString_in_helper(_obj3); |
2203 | if (_arg3 == NULL) | |
09f3d4e6 | 2204 | return NULL; |
09f3d4e6 RD |
2205 | } |
2206 | if (_obj4) | |
2207 | { | |
2208 | _arg4 = &temp; | |
2209 | if (! wxPoint_helper(_obj4, &_arg4)) | |
2210 | return NULL; | |
2211 | } | |
2212 | if (_obj5) | |
2213 | { | |
2214 | _arg5 = &temp0; | |
2215 | if (! wxSize_helper(_obj5, &_arg5)) | |
2216 | return NULL; | |
137b5242 RD |
2217 | } |
2218 | if (_obj7) | |
2219 | { | |
2220 | _arg7 = wxString_in_helper(_obj7); | |
2221 | if (_arg7 == NULL) | |
2222 | return NULL; | |
09f3d4e6 RD |
2223 | } |
2224 | { | |
4268f798 | 2225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 2226 | _result = (bool )wxMiniFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
09f3d4e6 | 2227 | |
4268f798 | 2228 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
2229 | if (PyErr_Occurred()) return NULL; |
2230 | } _resultobj = Py_BuildValue("i",_result); | |
2231 | { | |
2232 | if (_obj3) | |
2233 | delete _arg3; | |
137b5242 RD |
2234 | } |
2235 | { | |
2236 | if (_obj7) | |
2237 | delete _arg7; | |
09f3d4e6 RD |
2238 | } |
2239 | return _resultobj; | |
2240 | } | |
2241 | ||
b5a5d647 RD |
2242 | static void *SwigwxSplashScreenWindowTowxWindow(void *ptr) { |
2243 | wxSplashScreenWindow *src; | |
2244 | wxWindow *dest; | |
2245 | src = (wxSplashScreenWindow *) ptr; | |
2246 | dest = (wxWindow *) src; | |
2247 | return (void *) dest; | |
2248 | } | |
2249 | ||
2250 | static void *SwigwxSplashScreenWindowTowxEvtHandler(void *ptr) { | |
2251 | wxSplashScreenWindow *src; | |
2252 | wxEvtHandler *dest; | |
2253 | src = (wxSplashScreenWindow *) ptr; | |
2254 | dest = (wxEvtHandler *) src; | |
2255 | return (void *) dest; | |
2256 | } | |
2257 | ||
2258 | static void *SwigwxSplashScreenWindowTowxObject(void *ptr) { | |
2259 | wxSplashScreenWindow *src; | |
2260 | wxObject *dest; | |
2261 | src = (wxSplashScreenWindow *) ptr; | |
2262 | dest = (wxObject *) src; | |
2263 | return (void *) dest; | |
2264 | } | |
2265 | ||
2266 | #define new_wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplashScreenWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2267 | static PyObject *_wrap_new_wxSplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2268 | PyObject * _resultobj; | |
2269 | wxSplashScreenWindow * _result; | |
2270 | wxBitmap * _arg0; | |
2271 | wxWindow * _arg1; | |
2272 | wxWindowID _arg2; | |
2273 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
2274 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2275 | long _arg5 = (long ) wxNO_BORDER; | |
2276 | PyObject * _argo0 = 0; | |
2277 | PyObject * _argo1 = 0; | |
2278 | wxPoint temp; | |
2279 | PyObject * _obj3 = 0; | |
2280 | wxSize temp0; | |
2281 | PyObject * _obj4 = 0; | |
2282 | char *_kwnames[] = { "bitmap","parent","id","pos","size","style", NULL }; | |
2283 | char _ptemp[128]; | |
2284 | ||
2285 | self = self; | |
2286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOl:new_wxSplashScreenWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5)) | |
2287 | return NULL; | |
2288 | if (_argo0) { | |
2289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) { | |
2291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreenWindow. Expected _wxBitmap_p."); | |
2292 | return NULL; | |
2293 | } | |
2294 | } | |
2295 | if (_argo1) { | |
2296 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2297 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplashScreenWindow. Expected _wxWindow_p."); | |
2299 | return NULL; | |
2300 | } | |
2301 | } | |
2302 | if (_obj3) | |
2303 | { | |
2304 | _arg3 = &temp; | |
2305 | if (! wxPoint_helper(_obj3, &_arg3)) | |
2306 | return NULL; | |
2307 | } | |
2308 | if (_obj4) | |
2309 | { | |
2310 | _arg4 = &temp0; | |
2311 | if (! wxSize_helper(_obj4, &_arg4)) | |
2312 | return NULL; | |
2313 | } | |
2314 | { | |
2315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2316 | _result = (wxSplashScreenWindow *)new_wxSplashScreenWindow(*_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5); |
b5a5d647 RD |
2317 | |
2318 | wxPyEndAllowThreads(__tstate); | |
2319 | if (PyErr_Occurred()) return NULL; | |
2320 | } if (_result) { | |
2321 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p"); | |
2322 | _resultobj = Py_BuildValue("s",_ptemp); | |
2323 | } else { | |
2324 | Py_INCREF(Py_None); | |
2325 | _resultobj = Py_None; | |
2326 | } | |
2327 | return _resultobj; | |
2328 | } | |
2329 | ||
2330 | #define wxSplashScreenWindow_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
2331 | static PyObject *_wrap_wxSplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2332 | PyObject * _resultobj; | |
2333 | wxSplashScreenWindow * _arg0; | |
2334 | wxBitmap * _arg1; | |
2335 | PyObject * _argo0 = 0; | |
2336 | PyObject * _argo1 = 0; | |
2337 | char *_kwnames[] = { "self","bitmap", NULL }; | |
2338 | ||
2339 | self = self; | |
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplashScreenWindow_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
2341 | return NULL; | |
2342 | if (_argo0) { | |
2343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreenWindow_p")) { | |
2345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreenWindow_SetBitmap. Expected _wxSplashScreenWindow_p."); | |
2346 | return NULL; | |
2347 | } | |
2348 | } | |
2349 | if (_argo1) { | |
2350 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplashScreenWindow_SetBitmap. Expected _wxBitmap_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | { | |
2357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2358 | wxSplashScreenWindow_SetBitmap(_arg0,*_arg1); |
b5a5d647 RD |
2359 | |
2360 | wxPyEndAllowThreads(__tstate); | |
2361 | if (PyErr_Occurred()) return NULL; | |
2362 | } Py_INCREF(Py_None); | |
2363 | _resultobj = Py_None; | |
2364 | return _resultobj; | |
2365 | } | |
2366 | ||
2367 | #define wxSplashScreenWindow_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
2368 | static PyObject *_wrap_wxSplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2369 | PyObject * _resultobj; | |
2370 | wxBitmap * _result; | |
2371 | wxSplashScreenWindow * _arg0; | |
2372 | PyObject * _argo0 = 0; | |
2373 | char *_kwnames[] = { "self", NULL }; | |
2374 | char _ptemp[128]; | |
2375 | ||
2376 | self = self; | |
2377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreenWindow_GetBitmap",_kwnames,&_argo0)) | |
2378 | return NULL; | |
2379 | if (_argo0) { | |
2380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreenWindow_p")) { | |
2382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreenWindow_GetBitmap. Expected _wxSplashScreenWindow_p."); | |
2383 | return NULL; | |
2384 | } | |
2385 | } | |
2386 | { | |
2387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2388 | wxBitmap & _result_ref = wxSplashScreenWindow_GetBitmap(_arg0); |
b5a5d647 RD |
2389 | _result = (wxBitmap *) &_result_ref; |
2390 | ||
2391 | wxPyEndAllowThreads(__tstate); | |
2392 | if (PyErr_Occurred()) return NULL; | |
2393 | } if (_result) { | |
2394 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
2395 | _resultobj = Py_BuildValue("s",_ptemp); | |
2396 | } else { | |
2397 | Py_INCREF(Py_None); | |
2398 | _resultobj = Py_None; | |
2399 | } | |
2400 | return _resultobj; | |
2401 | } | |
2402 | ||
2403 | static void *SwigwxSplashScreenTowxFrame(void *ptr) { | |
2404 | wxSplashScreen *src; | |
2405 | wxFrame *dest; | |
2406 | src = (wxSplashScreen *) ptr; | |
2407 | dest = (wxFrame *) src; | |
2408 | return (void *) dest; | |
2409 | } | |
2410 | ||
2411 | static void *SwigwxSplashScreenTowxTopLevelWindow(void *ptr) { | |
2412 | wxSplashScreen *src; | |
2413 | wxTopLevelWindow *dest; | |
2414 | src = (wxSplashScreen *) ptr; | |
2415 | dest = (wxTopLevelWindow *) src; | |
2416 | return (void *) dest; | |
2417 | } | |
2418 | ||
2419 | static void *SwigwxSplashScreenTowxWindow(void *ptr) { | |
2420 | wxSplashScreen *src; | |
2421 | wxWindow *dest; | |
2422 | src = (wxSplashScreen *) ptr; | |
2423 | dest = (wxWindow *) src; | |
2424 | return (void *) dest; | |
2425 | } | |
2426 | ||
2427 | static void *SwigwxSplashScreenTowxEvtHandler(void *ptr) { | |
2428 | wxSplashScreen *src; | |
2429 | wxEvtHandler *dest; | |
2430 | src = (wxSplashScreen *) ptr; | |
2431 | dest = (wxEvtHandler *) src; | |
2432 | return (void *) dest; | |
2433 | } | |
2434 | ||
2435 | static void *SwigwxSplashScreenTowxObject(void *ptr) { | |
2436 | wxSplashScreen *src; | |
2437 | wxObject *dest; | |
2438 | src = (wxSplashScreen *) ptr; | |
2439 | dest = (wxObject *) src; | |
2440 | return (void *) dest; | |
2441 | } | |
2442 | ||
2443 | #define new_wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxSplashScreen(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) | |
2444 | static PyObject *_wrap_new_wxSplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2445 | PyObject * _resultobj; | |
2446 | wxSplashScreen * _result; | |
2447 | wxBitmap * _arg0; | |
2448 | long _arg1; | |
2449 | int _arg2; | |
2450 | wxWindow * _arg3; | |
2451 | wxWindowID _arg4; | |
2452 | wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition; | |
2453 | wxSize * _arg6 = (wxSize *) &wxDefaultSize; | |
479101ca | 2454 | long _arg7 = (long ) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP; |
b5a5d647 RD |
2455 | PyObject * _argo0 = 0; |
2456 | PyObject * _argo3 = 0; | |
2457 | wxPoint temp; | |
2458 | PyObject * _obj5 = 0; | |
2459 | wxSize temp0; | |
2460 | PyObject * _obj6 = 0; | |
2461 | char *_kwnames[] = { "bitmap","splashStyle","milliseconds","parent","id","pos","size","style", NULL }; | |
2462 | char _ptemp[128]; | |
2463 | ||
2464 | self = self; | |
2465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliOi|OOl:new_wxSplashScreen",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_arg4,&_obj5,&_obj6,&_arg7)) | |
2466 | return NULL; | |
2467 | if (_argo0) { | |
2468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) { | |
2470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p."); | |
2471 | return NULL; | |
2472 | } | |
2473 | } | |
2474 | if (_argo3) { | |
2475 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2476 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
2477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplashScreen. Expected _wxWindow_p."); | |
2478 | return NULL; | |
2479 | } | |
2480 | } | |
2481 | if (_obj5) | |
2482 | { | |
2483 | _arg5 = &temp; | |
2484 | if (! wxPoint_helper(_obj5, &_arg5)) | |
2485 | return NULL; | |
2486 | } | |
2487 | if (_obj6) | |
2488 | { | |
2489 | _arg6 = &temp0; | |
2490 | if (! wxSize_helper(_obj6, &_arg6)) | |
2491 | return NULL; | |
2492 | } | |
2493 | { | |
2494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2495 | _result = (wxSplashScreen *)new_wxSplashScreen(*_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7); |
b5a5d647 RD |
2496 | |
2497 | wxPyEndAllowThreads(__tstate); | |
2498 | if (PyErr_Occurred()) return NULL; | |
2499 | } if (_result) { | |
2500 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreen_p"); | |
2501 | _resultobj = Py_BuildValue("s",_ptemp); | |
2502 | } else { | |
2503 | Py_INCREF(Py_None); | |
2504 | _resultobj = Py_None; | |
2505 | } | |
2506 | return _resultobj; | |
2507 | } | |
2508 | ||
2509 | #define wxSplashScreen_GetSplashStyle(_swigobj) (_swigobj->GetSplashStyle()) | |
2510 | static PyObject *_wrap_wxSplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2511 | PyObject * _resultobj; | |
2512 | long _result; | |
2513 | wxSplashScreen * _arg0; | |
2514 | PyObject * _argo0 = 0; | |
2515 | char *_kwnames[] = { "self", NULL }; | |
2516 | ||
2517 | self = self; | |
2518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashStyle",_kwnames,&_argo0)) | |
2519 | return NULL; | |
2520 | if (_argo0) { | |
2521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) { | |
2523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashStyle. Expected _wxSplashScreen_p."); | |
2524 | return NULL; | |
2525 | } | |
2526 | } | |
2527 | { | |
2528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2529 | _result = (long )wxSplashScreen_GetSplashStyle(_arg0); |
b5a5d647 RD |
2530 | |
2531 | wxPyEndAllowThreads(__tstate); | |
2532 | if (PyErr_Occurred()) return NULL; | |
2533 | } _resultobj = Py_BuildValue("l",_result); | |
2534 | return _resultobj; | |
2535 | } | |
2536 | ||
2537 | #define wxSplashScreen_GetSplashWindow(_swigobj) (_swigobj->GetSplashWindow()) | |
2538 | static PyObject *_wrap_wxSplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2539 | PyObject * _resultobj; | |
2540 | wxSplashScreenWindow * _result; | |
2541 | wxSplashScreen * _arg0; | |
2542 | PyObject * _argo0 = 0; | |
2543 | char *_kwnames[] = { "self", NULL }; | |
2544 | char _ptemp[128]; | |
2545 | ||
2546 | self = self; | |
2547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetSplashWindow",_kwnames,&_argo0)) | |
2548 | return NULL; | |
2549 | if (_argo0) { | |
2550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) { | |
2552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetSplashWindow. Expected _wxSplashScreen_p."); | |
2553 | return NULL; | |
2554 | } | |
2555 | } | |
2556 | { | |
2557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2558 | _result = (wxSplashScreenWindow *)wxSplashScreen_GetSplashWindow(_arg0); |
b5a5d647 RD |
2559 | |
2560 | wxPyEndAllowThreads(__tstate); | |
2561 | if (PyErr_Occurred()) return NULL; | |
2562 | } if (_result) { | |
2563 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplashScreenWindow_p"); | |
2564 | _resultobj = Py_BuildValue("s",_ptemp); | |
2565 | } else { | |
2566 | Py_INCREF(Py_None); | |
2567 | _resultobj = Py_None; | |
2568 | } | |
2569 | return _resultobj; | |
2570 | } | |
2571 | ||
2572 | #define wxSplashScreen_GetTimeout(_swigobj) (_swigobj->GetTimeout()) | |
2573 | static PyObject *_wrap_wxSplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2574 | PyObject * _resultobj; | |
2575 | int _result; | |
2576 | wxSplashScreen * _arg0; | |
2577 | PyObject * _argo0 = 0; | |
2578 | char *_kwnames[] = { "self", NULL }; | |
2579 | ||
2580 | self = self; | |
2581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplashScreen_GetTimeout",_kwnames,&_argo0)) | |
2582 | return NULL; | |
2583 | if (_argo0) { | |
2584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplashScreen_p")) { | |
2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplashScreen_GetTimeout. Expected _wxSplashScreen_p."); | |
2587 | return NULL; | |
2588 | } | |
2589 | } | |
2590 | { | |
2591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 2592 | _result = (int )wxSplashScreen_GetTimeout(_arg0); |
b5a5d647 RD |
2593 | |
2594 | wxPyEndAllowThreads(__tstate); | |
2595 | if (PyErr_Occurred()) return NULL; | |
2596 | } _resultobj = Py_BuildValue("i",_result); | |
2597 | return _resultobj; | |
2598 | } | |
2599 | ||
9c039d08 | 2600 | static PyMethodDef framescMethods[] = { |
b5a5d647 RD |
2601 | { "wxSplashScreen_GetTimeout", (PyCFunction) _wrap_wxSplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, |
2602 | { "wxSplashScreen_GetSplashWindow", (PyCFunction) _wrap_wxSplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
2603 | { "wxSplashScreen_GetSplashStyle", (PyCFunction) _wrap_wxSplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
2604 | { "new_wxSplashScreen", (PyCFunction) _wrap_new_wxSplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
2605 | { "wxSplashScreenWindow_GetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
2606 | { "wxSplashScreenWindow_SetBitmap", (PyCFunction) _wrap_wxSplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
2607 | { "new_wxSplashScreenWindow", (PyCFunction) _wrap_new_wxSplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
09f3d4e6 RD |
2608 | { "wxMiniFrame_Create", (PyCFunction) _wrap_wxMiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
2609 | { "new_wxPreMiniFrame", (PyCFunction) _wrap_new_wxPreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 2610 | { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS }, |
ecc08ead RD |
2611 | { "wxDialog_CreateButtonSizer", (PyCFunction) _wrap_wxDialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, |
2612 | { "wxDialog_CreateTextSizer", (PyCFunction) _wrap_wxDialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
2613 | { "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
2614 | { "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
2615 | { "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
2616 | { "wxDialog_IsModal", (PyCFunction) _wrap_wxDialog_IsModal, METH_VARARGS | METH_KEYWORDS }, | |
2617 | { "wxDialog_SetModal", (PyCFunction) _wrap_wxDialog_SetModal, METH_VARARGS | METH_KEYWORDS }, | |
2618 | { "wxDialog_EndModal", (PyCFunction) _wrap_wxDialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
2619 | { "wxDialog_Centre", (PyCFunction) _wrap_wxDialog_Centre, METH_VARARGS | METH_KEYWORDS }, | |
2620 | { "wxDialog_Create", (PyCFunction) _wrap_wxDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
2621 | { "new_wxPreDialog", (PyCFunction) _wrap_new_wxPreDialog, METH_VARARGS | METH_KEYWORDS }, | |
2622 | { "new_wxDialog", (PyCFunction) _wrap_new_wxDialog, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 2623 | { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, |
ecc08ead RD |
2624 | { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, |
2625 | { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
94e36a51 RD |
2626 | { "wxFrame_GetStatusBarPane", (PyCFunction) _wrap_wxFrame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, |
2627 | { "wxFrame_SetStatusBarPane", (PyCFunction) _wrap_wxFrame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
2628 | { "wxFrame_DoGiveHelp", (PyCFunction) _wrap_wxFrame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
2629 | { "wxFrame_PopStatusText", (PyCFunction) _wrap_wxFrame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
2630 | { "wxFrame_PushStatusText", (PyCFunction) _wrap_wxFrame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
2631 | { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, |
2632 | { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
2633 | { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 2634 | { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 2635 | { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, |
ecc08ead RD |
2636 | { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, |
2637 | { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS }, | |
2638 | { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
2639 | { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
2640 | { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
09f3d4e6 RD |
2641 | { "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
2642 | { "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 2643 | { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS }, |
ecc08ead RD |
2644 | { "wxTopLevelWindow_GetTitle", (PyCFunction) _wrap_wxTopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, |
2645 | { "wxTopLevelWindow_SetTitle", (PyCFunction) _wrap_wxTopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
900d9886 RD |
2646 | { "wxTopLevelWindow_IsFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, |
2647 | { "wxTopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_wxTopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
0e9b78ce | 2648 | { "wxTopLevelWindow_SetIcons", (PyCFunction) _wrap_wxTopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, |
ecc08ead RD |
2649 | { "wxTopLevelWindow_SetIcon", (PyCFunction) _wrap_wxTopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, |
2650 | { "wxTopLevelWindow_GetIcon", (PyCFunction) _wrap_wxTopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
2651 | { "wxTopLevelWindow_IsIconized", (PyCFunction) _wrap_wxTopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
2652 | { "wxTopLevelWindow_IsMaximized", (PyCFunction) _wrap_wxTopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
2653 | { "wxTopLevelWindow_Iconize", (PyCFunction) _wrap_wxTopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
2654 | { "wxTopLevelWindow_Restore", (PyCFunction) _wrap_wxTopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
2655 | { "wxTopLevelWindow_Maximize", (PyCFunction) _wrap_wxTopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
2656 | { "wxTopLevelWindow_Create", (PyCFunction) _wrap_wxTopLevelWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
2657 | { "new_wxPreTopLevelWindow", (PyCFunction) _wrap_new_wxPreTopLevelWindow, METH_VARARGS | METH_KEYWORDS }, | |
2658 | { "new_wxTopLevelWindow", (PyCFunction) _wrap_new_wxTopLevelWindow, METH_VARARGS | METH_KEYWORDS }, | |
9c039d08 RD |
2659 | { NULL, NULL } |
2660 | }; | |
1d99702e RD |
2661 | #ifdef __cplusplus |
2662 | } | |
2663 | #endif | |
2664 | /* | |
2665 | * This table is used by the pointer type-checker | |
2666 | */ | |
2667 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1d99702e | 2668 | { "_signed_long","_long",0}, |
b1462dfa | 2669 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
2670 | { "_wxPrintQuality","_int",0}, |
2671 | { "_wxPrintQuality","_signed_int",0}, | |
2672 | { "_wxPrintQuality","_unsigned_int",0}, | |
2673 | { "_wxPrintQuality","_wxWindowID",0}, | |
2674 | { "_wxPrintQuality","_uint",0}, | |
2675 | { "_wxPrintQuality","_EBool",0}, | |
2676 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 2677 | { "_wxPrintQuality","_time_t",0}, |
1d99702e | 2678 | { "_byte","_unsigned_char",0}, |
1d99702e RD |
2679 | { "_long","_unsigned_long",0}, |
2680 | { "_long","_signed_long",0}, | |
b1462dfa | 2681 | { "_size_t","_wxCoord",0}, |
1d99702e | 2682 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 2683 | { "_size_t","_time_t",0}, |
1d99702e RD |
2684 | { "_size_t","_unsigned_int",0}, |
2685 | { "_size_t","_int",0}, | |
2686 | { "_size_t","_wxWindowID",0}, | |
2687 | { "_size_t","_uint",0}, | |
b5a5d647 | 2688 | { "_wxTopLevelWindow","_wxSplashScreen",SwigwxSplashScreenTowxTopLevelWindow}, |
ecc08ead RD |
2689 | { "_wxTopLevelWindow","_wxMiniFrame",SwigwxMiniFrameTowxTopLevelWindow}, |
2690 | { "_wxTopLevelWindow","_wxDialog",SwigwxDialogTowxTopLevelWindow}, | |
2691 | { "_wxTopLevelWindow","_wxFrame",SwigwxFrameTowxTopLevelWindow}, | |
b1462dfa | 2692 | { "_uint","_wxCoord",0}, |
1d99702e | 2693 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 2694 | { "_uint","_time_t",0}, |
1d99702e RD |
2695 | { "_uint","_size_t",0}, |
2696 | { "_uint","_unsigned_int",0}, | |
2697 | { "_uint","_int",0}, | |
2698 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 2699 | { "_wxChar","_char",0}, |
f6bcfd97 | 2700 | { "_char","_wxChar",0}, |
cdf14688 | 2701 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
b1462dfa | 2702 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
2703 | { "_EBool","_wxPrintQuality",0}, |
2704 | { "_EBool","_signed_int",0}, | |
2705 | { "_EBool","_int",0}, | |
2706 | { "_EBool","_wxWindowID",0}, | |
1d99702e | 2707 | { "_unsigned_long","_long",0}, |
cdf14688 | 2708 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
b1462dfa | 2709 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
2710 | { "_signed_int","_wxPrintQuality",0}, |
2711 | { "_signed_int","_EBool",0}, | |
2712 | { "_signed_int","_wxWindowID",0}, | |
2713 | { "_signed_int","_int",0}, | |
1d99702e RD |
2714 | { "_WXTYPE","_short",0}, |
2715 | { "_WXTYPE","_signed_short",0}, | |
2716 | { "_WXTYPE","_unsigned_short",0}, | |
1d99702e RD |
2717 | { "_unsigned_short","_WXTYPE",0}, |
2718 | { "_unsigned_short","_short",0}, | |
b5a5d647 RD |
2719 | { "_wxObject","_wxSplashScreen",SwigwxSplashScreenTowxObject}, |
2720 | { "_wxObject","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxObject}, | |
9416aa89 | 2721 | { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject}, |
ecc08ead | 2722 | { "_wxObject","_wxDialog",SwigwxDialogTowxObject}, |
9416aa89 | 2723 | { "_wxObject","_wxFrame",SwigwxFrameTowxObject}, |
ecc08ead | 2724 | { "_wxObject","_wxTopLevelWindow",SwigwxTopLevelWindowTowxObject}, |
1d99702e RD |
2725 | { "_signed_short","_WXTYPE",0}, |
2726 | { "_signed_short","_short",0}, | |
1d99702e | 2727 | { "_unsigned_char","_byte",0}, |
b1462dfa | 2728 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 2729 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 2730 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
2731 | { "_unsigned_int","_size_t",0}, |
2732 | { "_unsigned_int","_uint",0}, | |
2733 | { "_unsigned_int","_wxWindowID",0}, | |
2734 | { "_unsigned_int","_int",0}, | |
1d99702e RD |
2735 | { "_short","_WXTYPE",0}, |
2736 | { "_short","_unsigned_short",0}, | |
2737 | { "_short","_signed_short",0}, | |
b5a5d647 | 2738 | { "_wxFrame","_wxSplashScreen",SwigwxSplashScreenTowxFrame}, |
1d99702e | 2739 | { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, |
b1462dfa | 2740 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 2741 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 2742 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
2743 | { "_wxWindowID","_size_t",0}, |
2744 | { "_wxWindowID","_EBool",0}, | |
2745 | { "_wxWindowID","_uint",0}, | |
2746 | { "_wxWindowID","_int",0}, | |
2747 | { "_wxWindowID","_signed_int",0}, | |
2748 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 2749 | { "_int","_wxCoord",0}, |
1d99702e | 2750 | { "_int","_wxPrintQuality",0}, |
c368d904 | 2751 | { "_int","_time_t",0}, |
1d99702e RD |
2752 | { "_int","_size_t",0}, |
2753 | { "_int","_EBool",0}, | |
2754 | { "_int","_uint",0}, | |
2755 | { "_int","_wxWindowID",0}, | |
2756 | { "_int","_unsigned_int",0}, | |
2757 | { "_int","_signed_int",0}, | |
c368d904 RD |
2758 | { "_time_t","_wxCoord",0}, |
2759 | { "_time_t","_wxPrintQuality",0}, | |
2760 | { "_time_t","_unsigned_int",0}, | |
2761 | { "_time_t","_int",0}, | |
2762 | { "_time_t","_wxWindowID",0}, | |
2763 | { "_time_t","_uint",0}, | |
2764 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
2765 | { "_wxCoord","_int",0}, |
2766 | { "_wxCoord","_signed_int",0}, | |
2767 | { "_wxCoord","_unsigned_int",0}, | |
2768 | { "_wxCoord","_wxWindowID",0}, | |
2769 | { "_wxCoord","_uint",0}, | |
2770 | { "_wxCoord","_EBool",0}, | |
2771 | { "_wxCoord","_size_t",0}, | |
c368d904 | 2772 | { "_wxCoord","_time_t",0}, |
b1462dfa | 2773 | { "_wxCoord","_wxPrintQuality",0}, |
b5a5d647 RD |
2774 | { "_wxEvtHandler","_wxSplashScreen",SwigwxSplashScreenTowxEvtHandler}, |
2775 | { "_wxEvtHandler","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxEvtHandler}, | |
1d99702e | 2776 | { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, |
ecc08ead | 2777 | { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler}, |
1d99702e | 2778 | { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, |
ecc08ead | 2779 | { "_wxEvtHandler","_wxTopLevelWindow",SwigwxTopLevelWindowTowxEvtHandler}, |
b5a5d647 RD |
2780 | { "_wxWindow","_wxSplashScreen",SwigwxSplashScreenTowxWindow}, |
2781 | { "_wxWindow","_wxSplashScreenWindow",SwigwxSplashScreenWindowTowxWindow}, | |
1d99702e | 2782 | { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, |
ecc08ead | 2783 | { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow}, |
1d99702e | 2784 | { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, |
ecc08ead | 2785 | { "_wxWindow","_wxTopLevelWindow",SwigwxTopLevelWindowTowxWindow}, |
1d99702e RD |
2786 | {0,0,0}}; |
2787 | ||
9c039d08 RD |
2788 | static PyObject *SWIG_globals; |
2789 | #ifdef __cplusplus | |
2790 | extern "C" | |
2791 | #endif | |
1d99702e | 2792 | SWIGEXPORT(void) initframesc() { |
9c039d08 RD |
2793 | PyObject *m, *d; |
2794 | SWIG_globals = SWIG_newvarlink(); | |
2795 | m = Py_InitModule("framesc", framescMethods); | |
2796 | d = PyModule_GetDict(m); | |
f6bcfd97 BP |
2797 | PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR)); |
2798 | PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR)); | |
2799 | PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR)); | |
2800 | PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER)); | |
2801 | PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION)); | |
2802 | PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL)); | |
ecc08ead | 2803 | PyDict_SetItemString(d,"wxTOPLEVEL_EX_DIALOG", PyInt_FromLong((long) wxTOPLEVEL_EX_DIALOG)); |
b5a5d647 RD |
2804 | PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_PARENT", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_PARENT)); |
2805 | PyDict_SetItemString(d,"wxSPLASH_CENTRE_ON_SCREEN", PyInt_FromLong((long) wxSPLASH_CENTRE_ON_SCREEN)); | |
2806 | PyDict_SetItemString(d,"wxSPLASH_NO_CENTRE", PyInt_FromLong((long) wxSPLASH_NO_CENTRE)); | |
2807 | PyDict_SetItemString(d,"wxSPLASH_TIMEOUT", PyInt_FromLong((long) wxSPLASH_TIMEOUT)); | |
2808 | PyDict_SetItemString(d,"wxSPLASH_NO_TIMEOUT", PyInt_FromLong((long) wxSPLASH_NO_TIMEOUT)); | |
1d99702e RD |
2809 | { |
2810 | int i; | |
2811 | for (i = 0; _swig_mapping[i].n1; i++) | |
2812 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2813 | } | |
9c039d08 | 2814 | } |