]>
Commit | Line | Data |
---|---|---|
9c039d08 | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/frames.cpp |
9c039d08 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 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__) | |
1c09ae54 | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
1c09ae54 | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1c09ae54 | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
37 | #endif |
38 | ||
1c09ae54 RD |
39 | #include "Python.h" |
40 | ||
9c039d08 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
1c09ae54 | 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> |
cd096152 | 60 | #include <wx/tipwin.h> |
9c039d08 | 61 | |
9c039d08 RD |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
1c09ae54 | 67 | if (!target) { |
9c039d08 | 68 | target = o; |
1c09ae54 | 69 | } else if (target == Py_None) { |
9c039d08 RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
1c09ae54 | 72 | } else { |
9c039d08 RD |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
1c09ae54 RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
80 | |
81 | o2 = target; | |
1c09ae54 RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
9c039d08 RD |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
7a446686 RD |
89 | #if PYTHON_API_VERSION >= 1009 |
90 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
91 | #else | |
92 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
93 | #endif | |
1d99702e RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
9c039d08 RD |
97 | static void *SwigwxFrameTowxWindow(void *ptr) { |
98 | wxFrame *src; | |
99 | wxWindow *dest; | |
100 | src = (wxFrame *) ptr; | |
101 | dest = (wxWindow *) src; | |
102 | return (void *) dest; | |
103 | } | |
104 | ||
105 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
106 | wxFrame *src; | |
107 | wxEvtHandler *dest; | |
108 | src = (wxFrame *) ptr; | |
109 | dest = (wxEvtHandler *) src; | |
110 | return (void *) dest; | |
111 | } | |
112 | ||
9df61a29 RD |
113 | static void *SwigwxFrameTowxObject(void *ptr) { |
114 | wxFrame *src; | |
115 | wxObject *dest; | |
116 | src = (wxFrame *) ptr; | |
117 | dest = (wxObject *) src; | |
118 | return (void *) dest; | |
119 | } | |
120 | ||
9c039d08 | 121 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 122 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
123 | PyObject * _resultobj; |
124 | wxFrame * _result; | |
125 | wxWindow * _arg0; | |
126 | wxWindowID _arg1; | |
127 | wxString * _arg2; | |
b68dc582 RD |
128 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
129 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
130 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
131 | char * _arg6 = (char *) "frame"; | |
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; | |
efc5f224 | 138 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
139 | char _ptemp[128]; |
140 | ||
141 | self = self; | |
2f90df85 | 142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 143 | return NULL; |
1d99702e RD |
144 | if (_argo0) { |
145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); |
148 | return NULL; | |
149 | } | |
150 | } | |
151 | { | |
2cd2fac8 RD |
152 | #if PYTHON_API_VERSION >= 1009 |
153 | char* tmpPtr; int tmpSize; | |
154 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 155 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
156 | return NULL; |
157 | } | |
158 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
159 | return NULL; | |
160 | _arg2 = new wxString(tmpPtr, tmpSize); | |
161 | #else | |
9c039d08 RD |
162 | if (!PyString_Check(_obj2)) { |
163 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
164 | return NULL; | |
165 | } | |
2cd2fac8 RD |
166 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
167 | #endif | |
9c039d08 | 168 | } |
2f90df85 RD |
169 | if (_obj3) |
170 | { | |
171 | _arg3 = &temp; | |
172 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 173 | return NULL; |
2f90df85 RD |
174 | } |
175 | if (_obj4) | |
176 | { | |
177 | _arg4 = &temp0; | |
178 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 179 | return NULL; |
2f90df85 | 180 | } |
cf694132 RD |
181 | { |
182 | wxPy_BEGIN_ALLOW_THREADS; | |
183 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
184 | ||
185 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 186 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
187 | } if (_result) { |
188 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
189 | _resultobj = Py_BuildValue("s",_ptemp); | |
190 | } else { | |
191 | Py_INCREF(Py_None); | |
192 | _resultobj = Py_None; | |
193 | } | |
9c039d08 RD |
194 | { |
195 | if (_obj2) | |
196 | delete _arg2; | |
197 | } | |
198 | return _resultobj; | |
199 | } | |
200 | ||
aa2a5b86 RD |
201 | #define new_wxPreFrame() (new wxFrame()) |
202 | static PyObject *_wrap_new_wxPreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
203 | PyObject * _resultobj; | |
204 | wxFrame * _result; | |
205 | char *_kwnames[] = { NULL }; | |
206 | char _ptemp[128]; | |
207 | ||
208 | self = self; | |
209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreFrame",_kwnames)) | |
210 | return NULL; | |
211 | { | |
212 | wxPy_BEGIN_ALLOW_THREADS; | |
213 | _result = (wxFrame *)new_wxPreFrame(); | |
214 | ||
215 | wxPy_END_ALLOW_THREADS; | |
216 | if (PyErr_Occurred()) return NULL; | |
217 | } if (_result) { | |
218 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
219 | _resultobj = Py_BuildValue("s",_ptemp); | |
220 | } else { | |
221 | Py_INCREF(Py_None); | |
222 | _resultobj = Py_None; | |
223 | } | |
224 | return _resultobj; | |
225 | } | |
226 | ||
227 | #define wxFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
228 | static PyObject *_wrap_wxFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
229 | PyObject * _resultobj; | |
230 | bool _result; | |
231 | wxFrame * _arg0; | |
232 | wxWindow * _arg1; | |
233 | wxWindowID _arg2; | |
234 | wxString * _arg3; | |
235 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
236 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
237 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
238 | char * _arg7 = (char *) "frame"; | |
239 | PyObject * _argo0 = 0; | |
240 | PyObject * _argo1 = 0; | |
241 | PyObject * _obj3 = 0; | |
242 | wxPoint temp; | |
243 | PyObject * _obj4 = 0; | |
244 | wxSize temp0; | |
245 | PyObject * _obj5 = 0; | |
246 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; | |
247 | ||
248 | self = self; | |
249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7)) | |
250 | return NULL; | |
251 | if (_argo0) { | |
252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Create. Expected _wxFrame_p."); | |
255 | return NULL; | |
256 | } | |
257 | } | |
258 | if (_argo1) { | |
259 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
260 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_Create. Expected _wxWindow_p."); | |
262 | return NULL; | |
263 | } | |
264 | } | |
265 | { | |
266 | #if PYTHON_API_VERSION >= 1009 | |
267 | char* tmpPtr; int tmpSize; | |
268 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
269 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
270 | return NULL; | |
271 | } | |
272 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
273 | return NULL; | |
274 | _arg3 = new wxString(tmpPtr, tmpSize); | |
275 | #else | |
276 | if (!PyString_Check(_obj3)) { | |
277 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
278 | return NULL; | |
279 | } | |
280 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); | |
281 | #endif | |
282 | } | |
283 | if (_obj4) | |
284 | { | |
285 | _arg4 = &temp; | |
286 | if (! wxPoint_helper(_obj4, &_arg4)) | |
287 | return NULL; | |
288 | } | |
289 | if (_obj5) | |
290 | { | |
291 | _arg5 = &temp0; | |
292 | if (! wxSize_helper(_obj5, &_arg5)) | |
293 | return NULL; | |
294 | } | |
295 | { | |
296 | wxPy_BEGIN_ALLOW_THREADS; | |
297 | _result = (bool )wxFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7); | |
298 | ||
299 | wxPy_END_ALLOW_THREADS; | |
300 | if (PyErr_Occurred()) return NULL; | |
301 | } _resultobj = Py_BuildValue("i",_result); | |
302 | { | |
303 | if (_obj3) | |
304 | delete _arg3; | |
305 | } | |
306 | return _resultobj; | |
307 | } | |
308 | ||
9c039d08 | 309 | #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) |
efc5f224 | 310 | static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
311 | PyObject * _resultobj; |
312 | wxFrame * _arg0; | |
1d99702e RD |
313 | int _arg1 = (int ) wxBOTH; |
314 | PyObject * _argo0 = 0; | |
efc5f224 | 315 | char *_kwnames[] = { "self","direction", NULL }; |
9c039d08 RD |
316 | |
317 | self = self; | |
efc5f224 | 318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 319 | return NULL; |
1d99702e RD |
320 | if (_argo0) { |
321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p."); |
324 | return NULL; | |
325 | } | |
326 | } | |
cf694132 RD |
327 | { |
328 | wxPy_BEGIN_ALLOW_THREADS; | |
329 | wxFrame_Centre(_arg0,_arg1); | |
330 | ||
331 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 332 | if (PyErr_Occurred()) return NULL; |
cf694132 | 333 | } Py_INCREF(Py_None); |
9c039d08 RD |
334 | _resultobj = Py_None; |
335 | return _resultobj; | |
336 | } | |
337 | ||
9c039d08 | 338 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 339 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
340 | PyObject * _resultobj; |
341 | wxStatusBar * _result; | |
342 | wxFrame * _arg0; | |
1d99702e RD |
343 | int _arg1 = (int ) 1; |
344 | long _arg2 = (long ) wxST_SIZEGRIP; | |
345 | wxWindowID _arg3 = (wxWindowID ) -1; | |
346 | char * _arg4 = (char *) "statusBar"; | |
347 | PyObject * _argo0 = 0; | |
efc5f224 | 348 | char *_kwnames[] = { "self","number","style","id","name", NULL }; |
9c039d08 RD |
349 | |
350 | self = self; | |
efc5f224 | 351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) |
9c039d08 | 352 | return NULL; |
1d99702e RD |
353 | if (_argo0) { |
354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); |
357 | return NULL; | |
358 | } | |
359 | } | |
cf694132 RD |
360 | { |
361 | wxPy_BEGIN_ALLOW_THREADS; | |
362 | _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4); | |
363 | ||
364 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 365 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 366 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
367 | return _resultobj; |
368 | } | |
369 | ||
370 | #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 371 | static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
372 | PyObject * _resultobj; |
373 | wxToolBar * _result; | |
374 | wxFrame * _arg0; | |
1d99702e RD |
375 | long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT; |
376 | wxWindowID _arg2 = (wxWindowID ) -1; | |
377 | char * _arg3 = (char *) "toolBar"; | |
378 | PyObject * _argo0 = 0; | |
efc5f224 | 379 | char *_kwnames[] = { "self","style","id","name", NULL }; |
9c039d08 RD |
380 | |
381 | self = self; | |
efc5f224 | 382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
9c039d08 | 383 | return NULL; |
1d99702e RD |
384 | if (_argo0) { |
385 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
386 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p."); |
388 | return NULL; | |
389 | } | |
390 | } | |
cf694132 RD |
391 | { |
392 | wxPy_BEGIN_ALLOW_THREADS; | |
393 | _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3); | |
394 | ||
395 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 396 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 397 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
398 | return _resultobj; |
399 | } | |
400 | ||
f6bcfd97 BP |
401 | #define wxFrame_GetIcon(_swigobj) (_swigobj->GetIcon()) |
402 | static PyObject *_wrap_wxFrame_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
403 | PyObject * _resultobj; | |
404 | wxIcon * _result; | |
405 | wxFrame * _arg0; | |
406 | PyObject * _argo0 = 0; | |
407 | char *_kwnames[] = { "self", NULL }; | |
408 | char _ptemp[128]; | |
409 | ||
410 | self = self; | |
411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetIcon",_kwnames,&_argo0)) | |
412 | return NULL; | |
413 | if (_argo0) { | |
414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetIcon. Expected _wxFrame_p."); | |
417 | return NULL; | |
418 | } | |
419 | } | |
420 | { | |
421 | wxPy_BEGIN_ALLOW_THREADS; | |
422 | const wxIcon & _result_ref = wxFrame_GetIcon(_arg0); | |
423 | _result = (wxIcon *) &_result_ref; | |
424 | ||
425 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 426 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
427 | } if (_result) { |
428 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p"); | |
429 | _resultobj = Py_BuildValue("s",_ptemp); | |
430 | } else { | |
431 | Py_INCREF(Py_None); | |
432 | _resultobj = Py_None; | |
433 | } | |
434 | return _resultobj; | |
435 | } | |
436 | ||
9c039d08 | 437 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) |
efc5f224 | 438 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
439 | PyObject * _resultobj; |
440 | wxMenuBar * _result; | |
441 | wxFrame * _arg0; | |
1d99702e | 442 | PyObject * _argo0 = 0; |
efc5f224 | 443 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
444 | |
445 | self = self; | |
efc5f224 | 446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0)) |
9c039d08 | 447 | return NULL; |
1d99702e RD |
448 | if (_argo0) { |
449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); |
452 | return NULL; | |
453 | } | |
454 | } | |
cf694132 RD |
455 | { |
456 | wxPy_BEGIN_ALLOW_THREADS; | |
457 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); | |
458 | ||
459 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 460 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 461 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
462 | return _resultobj; |
463 | } | |
464 | ||
465 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
efc5f224 | 466 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
467 | PyObject * _resultobj; |
468 | wxStatusBar * _result; | |
469 | wxFrame * _arg0; | |
1d99702e | 470 | PyObject * _argo0 = 0; |
efc5f224 | 471 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
472 | |
473 | self = self; | |
efc5f224 | 474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0)) |
9c039d08 | 475 | return NULL; |
1d99702e RD |
476 | if (_argo0) { |
477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); |
480 | return NULL; | |
481 | } | |
482 | } | |
cf694132 RD |
483 | { |
484 | wxPy_BEGIN_ALLOW_THREADS; | |
485 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); | |
486 | ||
487 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 488 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 489 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
490 | return _resultobj; |
491 | } | |
492 | ||
493 | #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
efc5f224 | 494 | static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
495 | PyObject * _resultobj; |
496 | wxString * _result; | |
497 | wxFrame * _arg0; | |
1d99702e | 498 | PyObject * _argo0 = 0; |
efc5f224 | 499 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
500 | |
501 | self = self; | |
efc5f224 | 502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0)) |
9c039d08 | 503 | return NULL; |
1d99702e RD |
504 | if (_argo0) { |
505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p."); |
508 | return NULL; | |
509 | } | |
510 | } | |
9c039d08 | 511 | { |
cf694132 RD |
512 | wxPy_BEGIN_ALLOW_THREADS; |
513 | _result = new wxString (wxFrame_GetTitle(_arg0)); | |
514 | ||
515 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 516 | if (PyErr_Occurred()) return NULL; |
cf694132 | 517 | }{ |
eec92d76 | 518 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
9c039d08 RD |
519 | } |
520 | { | |
521 | delete _result; | |
522 | } | |
523 | return _resultobj; | |
524 | } | |
525 | ||
526 | #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) | |
efc5f224 | 527 | static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
528 | PyObject * _resultobj; |
529 | wxToolBar * _result; | |
530 | wxFrame * _arg0; | |
1d99702e | 531 | PyObject * _argo0 = 0; |
efc5f224 | 532 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
533 | |
534 | self = self; | |
efc5f224 | 535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0)) |
9c039d08 | 536 | return NULL; |
1d99702e RD |
537 | if (_argo0) { |
538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p."); |
541 | return NULL; | |
542 | } | |
543 | } | |
cf694132 RD |
544 | { |
545 | wxPy_BEGIN_ALLOW_THREADS; | |
546 | _result = (wxToolBar *)wxFrame_GetToolBar(_arg0); | |
547 | ||
548 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 549 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 550 | }{ _resultobj = wxPyMake_wxObject(_result); } |
9c039d08 RD |
551 | return _resultobj; |
552 | } | |
553 | ||
554 | #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) | |
efc5f224 | 555 | static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
556 | PyObject * _resultobj; |
557 | wxFrame * _arg0; | |
558 | bool _arg1; | |
1d99702e | 559 | PyObject * _argo0 = 0; |
9c039d08 | 560 | int tempbool1; |
efc5f224 | 561 | char *_kwnames[] = { "self","iconize", NULL }; |
9c039d08 RD |
562 | |
563 | self = self; | |
efc5f224 | 564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 565 | return NULL; |
1d99702e RD |
566 | if (_argo0) { |
567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p."); |
570 | return NULL; | |
571 | } | |
572 | } | |
573 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
574 | { |
575 | wxPy_BEGIN_ALLOW_THREADS; | |
576 | wxFrame_Iconize(_arg0,_arg1); | |
577 | ||
578 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 579 | if (PyErr_Occurred()) return NULL; |
cf694132 | 580 | } Py_INCREF(Py_None); |
9c039d08 RD |
581 | _resultobj = Py_None; |
582 | return _resultobj; | |
583 | } | |
584 | ||
585 | #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized()) | |
efc5f224 | 586 | static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
587 | PyObject * _resultobj; |
588 | bool _result; | |
589 | wxFrame * _arg0; | |
1d99702e | 590 | PyObject * _argo0 = 0; |
efc5f224 | 591 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
592 | |
593 | self = self; | |
efc5f224 | 594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0)) |
9c039d08 | 595 | return NULL; |
1d99702e RD |
596 | if (_argo0) { |
597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p."); |
600 | return NULL; | |
601 | } | |
602 | } | |
cf694132 RD |
603 | { |
604 | wxPy_BEGIN_ALLOW_THREADS; | |
605 | _result = (bool )wxFrame_IsIconized(_arg0); | |
606 | ||
607 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 608 | if (PyErr_Occurred()) return NULL; |
cf694132 | 609 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
610 | return _resultobj; |
611 | } | |
612 | ||
613 | #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) | |
efc5f224 | 614 | static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
615 | PyObject * _resultobj; |
616 | wxFrame * _arg0; | |
617 | bool _arg1; | |
1d99702e | 618 | PyObject * _argo0 = 0; |
9c039d08 | 619 | int tempbool1; |
efc5f224 | 620 | char *_kwnames[] = { "self","maximize", NULL }; |
9c039d08 RD |
621 | |
622 | self = self; | |
efc5f224 | 623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 624 | return NULL; |
1d99702e RD |
625 | if (_argo0) { |
626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p."); |
629 | return NULL; | |
630 | } | |
631 | } | |
632 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
633 | { |
634 | wxPy_BEGIN_ALLOW_THREADS; | |
635 | wxFrame_Maximize(_arg0,_arg1); | |
636 | ||
637 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 638 | if (PyErr_Occurred()) return NULL; |
cf694132 | 639 | } Py_INCREF(Py_None); |
9c039d08 RD |
640 | _resultobj = Py_None; |
641 | return _resultobj; | |
642 | } | |
643 | ||
f6bcfd97 BP |
644 | #define wxFrame_IsMaximized(_swigobj) (_swigobj->IsMaximized()) |
645 | static PyObject *_wrap_wxFrame_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
646 | PyObject * _resultobj; | |
647 | bool _result; | |
648 | wxFrame * _arg0; | |
649 | PyObject * _argo0 = 0; | |
650 | char *_kwnames[] = { "self", NULL }; | |
651 | ||
652 | self = self; | |
653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsMaximized",_kwnames,&_argo0)) | |
654 | return NULL; | |
655 | if (_argo0) { | |
656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsMaximized. Expected _wxFrame_p."); | |
659 | return NULL; | |
660 | } | |
661 | } | |
662 | { | |
663 | wxPy_BEGIN_ALLOW_THREADS; | |
664 | _result = (bool )wxFrame_IsMaximized(_arg0); | |
665 | ||
666 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 667 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
668 | } _resultobj = Py_BuildValue("i",_result); |
669 | return _resultobj; | |
670 | } | |
671 | ||
672 | #define wxFrame_Restore(_swigobj) (_swigobj->Restore()) | |
673 | static PyObject *_wrap_wxFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
674 | PyObject * _resultobj; | |
675 | wxFrame * _arg0; | |
676 | PyObject * _argo0 = 0; | |
677 | char *_kwnames[] = { "self", NULL }; | |
678 | ||
679 | self = self; | |
680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_Restore",_kwnames,&_argo0)) | |
681 | return NULL; | |
682 | if (_argo0) { | |
683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Restore. Expected _wxFrame_p."); | |
686 | return NULL; | |
687 | } | |
688 | } | |
689 | { | |
690 | wxPy_BEGIN_ALLOW_THREADS; | |
691 | wxFrame_Restore(_arg0); | |
692 | ||
693 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 694 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
695 | } Py_INCREF(Py_None); |
696 | _resultobj = Py_None; | |
697 | return _resultobj; | |
698 | } | |
699 | ||
9c039d08 | 700 | #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0)) |
efc5f224 | 701 | static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
702 | PyObject * _resultobj; |
703 | wxFrame * _arg0; | |
704 | wxAcceleratorTable * _arg1; | |
1d99702e RD |
705 | PyObject * _argo0 = 0; |
706 | PyObject * _argo1 = 0; | |
efc5f224 | 707 | char *_kwnames[] = { "self","accel", NULL }; |
9c039d08 RD |
708 | |
709 | self = self; | |
efc5f224 | 710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 711 | return NULL; |
1d99702e RD |
712 | if (_argo0) { |
713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p."); |
716 | return NULL; | |
717 | } | |
718 | } | |
1d99702e RD |
719 | if (_argo1) { |
720 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
721 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) { | |
9c039d08 RD |
722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p."); |
723 | return NULL; | |
724 | } | |
725 | } | |
cf694132 RD |
726 | { |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
728 | wxFrame_SetAcceleratorTable(_arg0,*_arg1); | |
729 | ||
730 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 731 | if (PyErr_Occurred()) return NULL; |
cf694132 | 732 | } Py_INCREF(Py_None); |
9c039d08 RD |
733 | _resultobj = Py_None; |
734 | return _resultobj; | |
735 | } | |
736 | ||
737 | #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) | |
efc5f224 | 738 | static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
739 | PyObject * _resultobj; |
740 | wxFrame * _arg0; | |
741 | wxIcon * _arg1; | |
1d99702e RD |
742 | PyObject * _argo0 = 0; |
743 | PyObject * _argo1 = 0; | |
efc5f224 | 744 | char *_kwnames[] = { "self","icon", NULL }; |
9c039d08 RD |
745 | |
746 | self = self; | |
efc5f224 | 747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 748 | return NULL; |
1d99702e RD |
749 | if (_argo0) { |
750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p."); |
753 | return NULL; | |
754 | } | |
755 | } | |
1d99702e RD |
756 | if (_argo1) { |
757 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
758 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
9c039d08 RD |
759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p."); |
760 | return NULL; | |
761 | } | |
762 | } | |
cf694132 RD |
763 | { |
764 | wxPy_BEGIN_ALLOW_THREADS; | |
765 | wxFrame_SetIcon(_arg0,*_arg1); | |
766 | ||
767 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 768 | if (PyErr_Occurred()) return NULL; |
cf694132 | 769 | } Py_INCREF(Py_None); |
9c039d08 RD |
770 | _resultobj = Py_None; |
771 | return _resultobj; | |
772 | } | |
773 | ||
774 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
efc5f224 | 775 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
776 | PyObject * _resultobj; |
777 | wxFrame * _arg0; | |
778 | wxMenuBar * _arg1; | |
1d99702e RD |
779 | PyObject * _argo0 = 0; |
780 | PyObject * _argo1 = 0; | |
efc5f224 | 781 | char *_kwnames[] = { "self","menuBar", NULL }; |
9c039d08 RD |
782 | |
783 | self = self; | |
efc5f224 | 784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 785 | return NULL; |
1d99702e RD |
786 | if (_argo0) { |
787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); |
790 | return NULL; | |
791 | } | |
792 | } | |
1d99702e RD |
793 | if (_argo1) { |
794 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
795 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) { | |
9c039d08 RD |
796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); |
797 | return NULL; | |
798 | } | |
799 | } | |
cf694132 RD |
800 | { |
801 | wxPy_BEGIN_ALLOW_THREADS; | |
802 | wxFrame_SetMenuBar(_arg0,_arg1); | |
803 | ||
804 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 805 | if (PyErr_Occurred()) return NULL; |
cf694132 | 806 | } Py_INCREF(Py_None); |
9c039d08 RD |
807 | _resultobj = Py_None; |
808 | return _resultobj; | |
809 | } | |
810 | ||
811 | #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0)) | |
efc5f224 | 812 | static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
813 | PyObject * _resultobj; |
814 | wxFrame * _arg0; | |
815 | wxStatusBar * _arg1; | |
1d99702e RD |
816 | PyObject * _argo0 = 0; |
817 | PyObject * _argo1 = 0; | |
efc5f224 | 818 | char *_kwnames[] = { "self","statusBar", NULL }; |
9c039d08 RD |
819 | |
820 | self = self; | |
efc5f224 | 821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 822 | return NULL; |
1d99702e RD |
823 | if (_argo0) { |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p."); |
827 | return NULL; | |
828 | } | |
829 | } | |
1d99702e RD |
830 | if (_argo1) { |
831 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
832 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) { | |
9c039d08 RD |
833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p."); |
834 | return NULL; | |
835 | } | |
836 | } | |
cf694132 RD |
837 | { |
838 | wxPy_BEGIN_ALLOW_THREADS; | |
839 | wxFrame_SetStatusBar(_arg0,_arg1); | |
840 | ||
841 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 842 | if (PyErr_Occurred()) return NULL; |
cf694132 | 843 | } Py_INCREF(Py_None); |
9c039d08 RD |
844 | _resultobj = Py_None; |
845 | return _resultobj; | |
846 | } | |
847 | ||
848 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
efc5f224 | 849 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
850 | PyObject * _resultobj; |
851 | wxFrame * _arg0; | |
852 | wxString * _arg1; | |
1d99702e RD |
853 | int _arg2 = (int ) 0; |
854 | PyObject * _argo0 = 0; | |
9c039d08 | 855 | PyObject * _obj1 = 0; |
efc5f224 | 856 | char *_kwnames[] = { "self","text","number", NULL }; |
9c039d08 RD |
857 | |
858 | self = self; | |
efc5f224 | 859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) |
9c039d08 | 860 | return NULL; |
1d99702e RD |
861 | if (_argo0) { |
862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); |
865 | return NULL; | |
866 | } | |
867 | } | |
868 | { | |
2cd2fac8 RD |
869 | #if PYTHON_API_VERSION >= 1009 |
870 | char* tmpPtr; int tmpSize; | |
871 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 872 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
873 | return NULL; |
874 | } | |
875 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
876 | return NULL; | |
877 | _arg1 = new wxString(tmpPtr, tmpSize); | |
878 | #else | |
9c039d08 RD |
879 | if (!PyString_Check(_obj1)) { |
880 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
881 | return NULL; | |
882 | } | |
2cd2fac8 RD |
883 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
884 | #endif | |
9c039d08 | 885 | } |
cf694132 RD |
886 | { |
887 | wxPy_BEGIN_ALLOW_THREADS; | |
888 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); | |
889 | ||
890 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 891 | if (PyErr_Occurred()) return NULL; |
cf694132 | 892 | } Py_INCREF(Py_None); |
9c039d08 RD |
893 | _resultobj = Py_None; |
894 | { | |
895 | if (_obj1) | |
896 | delete _arg1; | |
897 | } | |
898 | return _resultobj; | |
899 | } | |
900 | ||
901 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
efc5f224 | 902 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
903 | PyObject * _resultobj; |
904 | wxFrame * _arg0; | |
905 | int _arg1; | |
906 | int * _arg2; | |
1d99702e | 907 | PyObject * _argo0 = 0; |
9c039d08 | 908 | PyObject * _obj2 = 0; |
eec92d76 | 909 | char *_kwnames[] = { "self","choices", NULL }; |
9c039d08 RD |
910 | |
911 | self = self; | |
efc5f224 | 912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2)) |
9c039d08 | 913 | return NULL; |
1d99702e RD |
914 | if (_argo0) { |
915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); |
918 | return NULL; | |
919 | } | |
920 | } | |
921 | if (_obj2) | |
922 | { | |
923 | _arg2 = int_LIST_helper(_obj2); | |
924 | if (_arg2 == NULL) { | |
925 | return NULL; | |
926 | } | |
927 | } | |
928 | { | |
cf694132 RD |
929 | if (_obj2) { |
930 | _arg1 = PyList_Size(_obj2); | |
931 | } | |
932 | else { | |
933 | _arg1 = 0; | |
934 | } | |
9c039d08 | 935 | } |
cf694132 RD |
936 | { |
937 | wxPy_BEGIN_ALLOW_THREADS; | |
938 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); | |
939 | ||
940 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 941 | if (PyErr_Occurred()) return NULL; |
cf694132 | 942 | } Py_INCREF(Py_None); |
9c039d08 RD |
943 | _resultobj = Py_None; |
944 | { | |
945 | delete [] _arg2; | |
946 | } | |
947 | return _resultobj; | |
948 | } | |
949 | ||
950 | #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
efc5f224 | 951 | static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
952 | PyObject * _resultobj; |
953 | wxFrame * _arg0; | |
954 | wxString * _arg1; | |
1d99702e | 955 | PyObject * _argo0 = 0; |
9c039d08 | 956 | PyObject * _obj1 = 0; |
efc5f224 | 957 | char *_kwnames[] = { "self","title", NULL }; |
9c039d08 RD |
958 | |
959 | self = self; | |
efc5f224 | 960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 961 | return NULL; |
1d99702e RD |
962 | if (_argo0) { |
963 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
964 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p."); |
966 | return NULL; | |
967 | } | |
968 | } | |
969 | { | |
2cd2fac8 RD |
970 | #if PYTHON_API_VERSION >= 1009 |
971 | char* tmpPtr; int tmpSize; | |
972 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 973 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
974 | return NULL; |
975 | } | |
976 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
977 | return NULL; | |
978 | _arg1 = new wxString(tmpPtr, tmpSize); | |
979 | #else | |
9c039d08 RD |
980 | if (!PyString_Check(_obj1)) { |
981 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
982 | return NULL; | |
983 | } | |
2cd2fac8 RD |
984 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
985 | #endif | |
9c039d08 | 986 | } |
cf694132 RD |
987 | { |
988 | wxPy_BEGIN_ALLOW_THREADS; | |
989 | wxFrame_SetTitle(_arg0,*_arg1); | |
990 | ||
991 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 992 | if (PyErr_Occurred()) return NULL; |
cf694132 | 993 | } Py_INCREF(Py_None); |
9c039d08 RD |
994 | _resultobj = Py_None; |
995 | { | |
996 | if (_obj1) | |
997 | delete _arg1; | |
998 | } | |
999 | return _resultobj; | |
1000 | } | |
1001 | ||
1002 | #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) | |
efc5f224 | 1003 | static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1004 | PyObject * _resultobj; |
1005 | wxFrame * _arg0; | |
1006 | wxToolBar * _arg1; | |
1d99702e RD |
1007 | PyObject * _argo0 = 0; |
1008 | PyObject * _argo1 = 0; | |
efc5f224 | 1009 | char *_kwnames[] = { "self","toolbar", NULL }; |
9c039d08 RD |
1010 | |
1011 | self = self; | |
efc5f224 | 1012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 1013 | return NULL; |
1d99702e RD |
1014 | if (_argo0) { |
1015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p."); |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
1d99702e RD |
1021 | if (_argo1) { |
1022 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1023 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) { | |
9c039d08 RD |
1024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p."); |
1025 | return NULL; | |
1026 | } | |
1027 | } | |
cf694132 RD |
1028 | { |
1029 | wxPy_BEGIN_ALLOW_THREADS; | |
1030 | wxFrame_SetToolBar(_arg0,_arg1); | |
1031 | ||
1032 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1033 | if (PyErr_Occurred()) return NULL; |
cf694132 | 1034 | } Py_INCREF(Py_None); |
9c039d08 RD |
1035 | _resultobj = Py_None; |
1036 | return _resultobj; | |
1037 | } | |
1038 | ||
f6bcfd97 BP |
1039 | #define wxFrame_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0)) |
1040 | static PyObject *_wrap_wxFrame_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1041 | PyObject * _resultobj; | |
1042 | wxFrame * _arg0; | |
1043 | bool _arg1 = (bool ) TRUE; | |
1044 | PyObject * _argo0 = 0; | |
1045 | int tempbool1 = (int) TRUE; | |
1046 | char *_kwnames[] = { "self","modal", NULL }; | |
1047 | ||
1048 | self = self; | |
1049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_MakeModal",_kwnames,&_argo0,&tempbool1)) | |
1050 | return NULL; | |
1051 | if (_argo0) { | |
1052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_MakeModal. Expected _wxFrame_p."); | |
1055 | return NULL; | |
1056 | } | |
1057 | } | |
1058 | _arg1 = (bool ) tempbool1; | |
1059 | { | |
1060 | wxPy_BEGIN_ALLOW_THREADS; | |
1061 | wxFrame_MakeModal(_arg0,_arg1); | |
1062 | ||
1063 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1064 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1065 | } Py_INCREF(Py_None); |
1066 | _resultobj = Py_None; | |
1067 | return _resultobj; | |
1068 | } | |
1069 | ||
1070 | #define wxFrame_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin()) | |
1071 | static PyObject *_wrap_wxFrame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1072 | PyObject * _resultobj; | |
1073 | wxPoint * _result; | |
1074 | wxFrame * _arg0; | |
1075 | PyObject * _argo0 = 0; | |
1076 | char *_kwnames[] = { "self", NULL }; | |
1077 | char _ptemp[128]; | |
1078 | ||
1079 | self = self; | |
1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetClientAreaOrigin",_kwnames,&_argo0)) | |
1081 | return NULL; | |
1082 | if (_argo0) { | |
1083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetClientAreaOrigin. Expected _wxFrame_p."); | |
1086 | return NULL; | |
1087 | } | |
1088 | } | |
1089 | { | |
1090 | wxPy_BEGIN_ALLOW_THREADS; | |
1091 | _result = new wxPoint (wxFrame_GetClientAreaOrigin(_arg0)); | |
1092 | ||
1093 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1094 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1095 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
1096 | _resultobj = Py_BuildValue("s",_ptemp); | |
1097 | return _resultobj; | |
1098 | } | |
1099 | ||
1100 | #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
1101 | static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1102 | PyObject * _resultobj; | |
1103 | bool _result; | |
1104 | wxFrame * _arg0; | |
1105 | int _arg1; | |
1106 | PyObject * _argo0 = 0; | |
1107 | char *_kwnames[] = { "self","id", NULL }; | |
1108 | ||
1109 | self = self; | |
1110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1)) | |
1111 | return NULL; | |
1112 | if (_argo0) { | |
1113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p."); | |
1116 | return NULL; | |
1117 | } | |
1118 | } | |
1119 | { | |
1120 | wxPy_BEGIN_ALLOW_THREADS; | |
1121 | _result = (bool )wxFrame_Command(_arg0,_arg1); | |
1122 | ||
1123 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1124 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1125 | } _resultobj = Py_BuildValue("i",_result); |
1126 | return _resultobj; | |
1127 | } | |
1128 | ||
1129 | #define wxFrame_ProcessCommand(_swigobj,_swigarg0) (_swigobj->ProcessCommand(_swigarg0)) | |
1130 | static PyObject *_wrap_wxFrame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1131 | PyObject * _resultobj; | |
1132 | bool _result; | |
1133 | wxFrame * _arg0; | |
1134 | int _arg1; | |
1135 | PyObject * _argo0 = 0; | |
1136 | char *_kwnames[] = { "self","id", NULL }; | |
1137 | ||
1138 | self = self; | |
1139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_ProcessCommand",_kwnames,&_argo0,&_arg1)) | |
1140 | return NULL; | |
1141 | if (_argo0) { | |
1142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ProcessCommand. Expected _wxFrame_p."); | |
1145 | return NULL; | |
1146 | } | |
1147 | } | |
1148 | { | |
1149 | wxPy_BEGIN_ALLOW_THREADS; | |
1150 | _result = (bool )wxFrame_ProcessCommand(_arg0,_arg1); | |
1151 | ||
1152 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1153 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1154 | } _resultobj = Py_BuildValue("i",_result); |
1155 | return _resultobj; | |
1156 | } | |
1157 | ||
9df61a29 RD |
1158 | #define wxFrame_ShowFullScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowFullScreen(_swigarg0,_swigarg1)) |
1159 | static PyObject *_wrap_wxFrame_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1160 | PyObject * _resultobj; | |
1161 | bool _result; | |
1162 | wxFrame * _arg0; | |
1163 | bool _arg1; | |
1164 | long _arg2 = (long ) (wxFULLSCREEN_ALL); | |
1165 | PyObject * _argo0 = 0; | |
1166 | int tempbool1; | |
1167 | char *_kwnames[] = { "self","show","style", NULL }; | |
1168 | ||
1169 | self = self; | |
1170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|l:wxFrame_ShowFullScreen",_kwnames,&_argo0,&tempbool1,&_arg2)) | |
1171 | return NULL; | |
1172 | if (_argo0) { | |
1173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_ShowFullScreen. Expected _wxFrame_p."); | |
1176 | return NULL; | |
1177 | } | |
1178 | } | |
1179 | _arg1 = (bool ) tempbool1; | |
1180 | { | |
1181 | wxPy_BEGIN_ALLOW_THREADS; | |
1182 | _result = (bool )wxFrame_ShowFullScreen(_arg0,_arg1,_arg2); | |
1183 | ||
1184 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1185 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
1186 | } _resultobj = Py_BuildValue("i",_result); |
1187 | return _resultobj; | |
1188 | } | |
1189 | ||
9a08cd12 RD |
1190 | #define wxFrame_IsFullScreen(_swigobj) (_swigobj->IsFullScreen()) |
1191 | static PyObject *_wrap_wxFrame_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1192 | PyObject * _resultobj; | |
1193 | bool _result; | |
1194 | wxFrame * _arg0; | |
1195 | PyObject * _argo0 = 0; | |
1196 | char *_kwnames[] = { "self", NULL }; | |
1197 | ||
1198 | self = self; | |
1199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsFullScreen",_kwnames,&_argo0)) | |
1200 | return NULL; | |
1201 | if (_argo0) { | |
1202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
1204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsFullScreen. Expected _wxFrame_p."); | |
1205 | return NULL; | |
1206 | } | |
1207 | } | |
1208 | { | |
1209 | wxPy_BEGIN_ALLOW_THREADS; | |
1210 | _result = (bool )wxFrame_IsFullScreen(_arg0); | |
1211 | ||
1212 | wxPy_END_ALLOW_THREADS; | |
1213 | if (PyErr_Occurred()) return NULL; | |
1214 | } _resultobj = Py_BuildValue("i",_result); | |
1215 | return _resultobj; | |
1216 | } | |
1217 | ||
9c039d08 RD |
1218 | static void *SwigwxMiniFrameTowxFrame(void *ptr) { |
1219 | wxMiniFrame *src; | |
1220 | wxFrame *dest; | |
1221 | src = (wxMiniFrame *) ptr; | |
1222 | dest = (wxFrame *) src; | |
1223 | return (void *) dest; | |
1224 | } | |
1225 | ||
1226 | static void *SwigwxMiniFrameTowxWindow(void *ptr) { | |
1227 | wxMiniFrame *src; | |
1228 | wxWindow *dest; | |
1229 | src = (wxMiniFrame *) ptr; | |
1230 | dest = (wxWindow *) src; | |
1231 | return (void *) dest; | |
1232 | } | |
1233 | ||
1234 | static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) { | |
1235 | wxMiniFrame *src; | |
1236 | wxEvtHandler *dest; | |
1237 | src = (wxMiniFrame *) ptr; | |
1238 | dest = (wxEvtHandler *) src; | |
1239 | return (void *) dest; | |
1240 | } | |
1241 | ||
9df61a29 RD |
1242 | static void *SwigwxMiniFrameTowxObject(void *ptr) { |
1243 | wxMiniFrame *src; | |
1244 | wxObject *dest; | |
1245 | src = (wxMiniFrame *) ptr; | |
1246 | dest = (wxObject *) src; | |
1247 | return (void *) dest; | |
1248 | } | |
1249 | ||
9c039d08 | 1250 | #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 1251 | static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1252 | PyObject * _resultobj; |
1253 | wxMiniFrame * _result; | |
1254 | wxWindow * _arg0; | |
1255 | wxWindowID _arg1; | |
1256 | wxString * _arg2; | |
b68dc582 RD |
1257 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
1258 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e RD |
1259 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
1260 | char * _arg6 = (char *) "frame"; | |
1261 | PyObject * _argo0 = 0; | |
9c039d08 | 1262 | PyObject * _obj2 = 0; |
2f90df85 RD |
1263 | wxPoint temp; |
1264 | PyObject * _obj3 = 0; | |
1265 | wxSize temp0; | |
1266 | PyObject * _obj4 = 0; | |
efc5f224 | 1267 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
1268 | char _ptemp[128]; |
1269 | ||
1270 | self = self; | |
2f90df85 | 1271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 1272 | return NULL; |
1d99702e RD |
1273 | if (_argo0) { |
1274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
1276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p."); |
1277 | return NULL; | |
1278 | } | |
1279 | } | |
1280 | { | |
2cd2fac8 RD |
1281 | #if PYTHON_API_VERSION >= 1009 |
1282 | char* tmpPtr; int tmpSize; | |
1283 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 1284 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1285 | return NULL; |
1286 | } | |
1287 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
1288 | return NULL; | |
1289 | _arg2 = new wxString(tmpPtr, tmpSize); | |
1290 | #else | |
9c039d08 RD |
1291 | if (!PyString_Check(_obj2)) { |
1292 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1293 | return NULL; | |
1294 | } | |
2cd2fac8 RD |
1295 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
1296 | #endif | |
9c039d08 | 1297 | } |
2f90df85 RD |
1298 | if (_obj3) |
1299 | { | |
1300 | _arg3 = &temp; | |
1301 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 1302 | return NULL; |
2f90df85 RD |
1303 | } |
1304 | if (_obj4) | |
1305 | { | |
1306 | _arg4 = &temp0; | |
1307 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 1308 | return NULL; |
2f90df85 | 1309 | } |
cf694132 RD |
1310 | { |
1311 | wxPy_BEGIN_ALLOW_THREADS; | |
1312 | _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
1313 | ||
1314 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1315 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
1316 | } if (_result) { |
1317 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
1318 | _resultobj = Py_BuildValue("s",_ptemp); | |
1319 | } else { | |
1320 | Py_INCREF(Py_None); | |
1321 | _resultobj = Py_None; | |
1322 | } | |
9c039d08 RD |
1323 | { |
1324 | if (_obj2) | |
1325 | delete _arg2; | |
1326 | } | |
1327 | return _resultobj; | |
1328 | } | |
1329 | ||
aa2a5b86 RD |
1330 | #define new_wxPreMiniFrame() (new wxMiniFrame()) |
1331 | static PyObject *_wrap_new_wxPreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1332 | PyObject * _resultobj; | |
1333 | wxMiniFrame * _result; | |
1334 | char *_kwnames[] = { NULL }; | |
1335 | char _ptemp[128]; | |
1336 | ||
1337 | self = self; | |
1338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMiniFrame",_kwnames)) | |
1339 | return NULL; | |
1340 | { | |
1341 | wxPy_BEGIN_ALLOW_THREADS; | |
1342 | _result = (wxMiniFrame *)new_wxPreMiniFrame(); | |
1343 | ||
1344 | wxPy_END_ALLOW_THREADS; | |
1345 | if (PyErr_Occurred()) return NULL; | |
1346 | } if (_result) { | |
1347 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
1348 | _resultobj = Py_BuildValue("s",_ptemp); | |
1349 | } else { | |
1350 | Py_INCREF(Py_None); | |
1351 | _resultobj = Py_None; | |
1352 | } | |
1353 | return _resultobj; | |
1354 | } | |
1355 | ||
1356 | #define wxMiniFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1357 | static PyObject *_wrap_wxMiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1358 | PyObject * _resultobj; | |
1359 | bool _result; | |
1360 | wxMiniFrame * _arg0; | |
1361 | wxWindow * _arg1; | |
1362 | wxWindowID _arg2; | |
1363 | wxString * _arg3; | |
1364 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
1365 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
1366 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
1367 | char * _arg7 = (char *) "frame"; | |
1368 | PyObject * _argo0 = 0; | |
1369 | PyObject * _argo1 = 0; | |
1370 | PyObject * _obj3 = 0; | |
1371 | wxPoint temp; | |
1372 | PyObject * _obj4 = 0; | |
1373 | wxSize temp0; | |
1374 | PyObject * _obj5 = 0; | |
1375 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; | |
1376 | ||
1377 | self = self; | |
1378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxMiniFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7)) | |
1379 | return NULL; | |
1380 | if (_argo0) { | |
1381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMiniFrame_p")) { | |
1383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMiniFrame_Create. Expected _wxMiniFrame_p."); | |
1384 | return NULL; | |
1385 | } | |
1386 | } | |
1387 | if (_argo1) { | |
1388 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1389 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMiniFrame_Create. Expected _wxWindow_p."); | |
1391 | return NULL; | |
1392 | } | |
1393 | } | |
1394 | { | |
1395 | #if PYTHON_API_VERSION >= 1009 | |
1396 | char* tmpPtr; int tmpSize; | |
1397 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
1398 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1399 | return NULL; | |
1400 | } | |
1401 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
1402 | return NULL; | |
1403 | _arg3 = new wxString(tmpPtr, tmpSize); | |
1404 | #else | |
1405 | if (!PyString_Check(_obj3)) { | |
1406 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1407 | return NULL; | |
1408 | } | |
1409 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); | |
1410 | #endif | |
1411 | } | |
1412 | if (_obj4) | |
1413 | { | |
1414 | _arg4 = &temp; | |
1415 | if (! wxPoint_helper(_obj4, &_arg4)) | |
1416 | return NULL; | |
1417 | } | |
1418 | if (_obj5) | |
1419 | { | |
1420 | _arg5 = &temp0; | |
1421 | if (! wxSize_helper(_obj5, &_arg5)) | |
1422 | return NULL; | |
1423 | } | |
1424 | { | |
1425 | wxPy_BEGIN_ALLOW_THREADS; | |
1426 | _result = (bool )wxMiniFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7); | |
1427 | ||
1428 | wxPy_END_ALLOW_THREADS; | |
1429 | if (PyErr_Occurred()) return NULL; | |
1430 | } _resultobj = Py_BuildValue("i",_result); | |
1431 | { | |
1432 | if (_obj3) | |
1433 | delete _arg3; | |
1434 | } | |
1435 | return _resultobj; | |
1436 | } | |
1437 | ||
cd096152 RD |
1438 | static void *SwigwxTipWindowTowxFrame(void *ptr) { |
1439 | wxTipWindow *src; | |
1440 | wxFrame *dest; | |
1441 | src = (wxTipWindow *) ptr; | |
1442 | dest = (wxFrame *) src; | |
1443 | return (void *) dest; | |
1444 | } | |
1445 | ||
1446 | static void *SwigwxTipWindowTowxWindow(void *ptr) { | |
1447 | wxTipWindow *src; | |
1448 | wxWindow *dest; | |
1449 | src = (wxTipWindow *) ptr; | |
1450 | dest = (wxWindow *) src; | |
1451 | return (void *) dest; | |
1452 | } | |
1453 | ||
1454 | static void *SwigwxTipWindowTowxEvtHandler(void *ptr) { | |
1455 | wxTipWindow *src; | |
1456 | wxEvtHandler *dest; | |
1457 | src = (wxTipWindow *) ptr; | |
1458 | dest = (wxEvtHandler *) src; | |
1459 | return (void *) dest; | |
1460 | } | |
1461 | ||
1462 | static void *SwigwxTipWindowTowxObject(void *ptr) { | |
1463 | wxTipWindow *src; | |
1464 | wxObject *dest; | |
1465 | src = (wxTipWindow *) ptr; | |
1466 | dest = (wxObject *) src; | |
1467 | return (void *) dest; | |
1468 | } | |
1469 | ||
1470 | #define new_wxTipWindow(_swigarg0,_swigarg1,_swigarg2) (new wxTipWindow(_swigarg0,_swigarg1,_swigarg2)) | |
1471 | static PyObject *_wrap_new_wxTipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1472 | PyObject * _resultobj; | |
1473 | wxTipWindow * _result; | |
1474 | wxWindow * _arg0; | |
1475 | wxString * _arg1; | |
1476 | wxCoord _arg2 = (wxCoord ) 100; | |
1477 | PyObject * _argo0 = 0; | |
1478 | PyObject * _obj1 = 0; | |
1479 | char *_kwnames[] = { "parent","text","maxLength", NULL }; | |
1480 | char _ptemp[128]; | |
1481 | ||
1482 | self = self; | |
1483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:new_wxTipWindow",_kwnames,&_argo0,&_obj1,&_arg2)) | |
1484 | return NULL; | |
1485 | if (_argo0) { | |
1486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTipWindow. Expected _wxWindow_p."); | |
1489 | return NULL; | |
1490 | } | |
1491 | } | |
1492 | { | |
1493 | #if PYTHON_API_VERSION >= 1009 | |
1494 | char* tmpPtr; int tmpSize; | |
1495 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1496 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1497 | return NULL; | |
1498 | } | |
1499 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1500 | return NULL; | |
1501 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1502 | #else | |
1503 | if (!PyString_Check(_obj1)) { | |
1504 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1505 | return NULL; | |
1506 | } | |
1507 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1508 | #endif | |
1509 | } | |
1510 | { | |
1511 | wxPy_BEGIN_ALLOW_THREADS; | |
1512 | _result = (wxTipWindow *)new_wxTipWindow(_arg0,*_arg1,_arg2); | |
1513 | ||
1514 | wxPy_END_ALLOW_THREADS; | |
1515 | if (PyErr_Occurred()) return NULL; | |
1516 | } if (_result) { | |
1517 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipWindow_p"); | |
1518 | _resultobj = Py_BuildValue("s",_ptemp); | |
1519 | } else { | |
1520 | Py_INCREF(Py_None); | |
1521 | _resultobj = Py_None; | |
1522 | } | |
1523 | { | |
1524 | if (_obj1) | |
1525 | delete _arg1; | |
1526 | } | |
1527 | return _resultobj; | |
1528 | } | |
1529 | ||
9c039d08 | 1530 | static PyMethodDef framescMethods[] = { |
cd096152 | 1531 | { "new_wxTipWindow", (PyCFunction) _wrap_new_wxTipWindow, METH_VARARGS | METH_KEYWORDS }, |
aa2a5b86 RD |
1532 | { "wxMiniFrame_Create", (PyCFunction) _wrap_wxMiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
1533 | { "new_wxPreMiniFrame", (PyCFunction) _wrap_new_wxPreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 1534 | { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS }, |
9a08cd12 | 1535 | { "wxFrame_IsFullScreen", (PyCFunction) _wrap_wxFrame_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, |
9df61a29 | 1536 | { "wxFrame_ShowFullScreen", (PyCFunction) _wrap_wxFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
1537 | { "wxFrame_ProcessCommand", (PyCFunction) _wrap_wxFrame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, |
1538 | { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS }, | |
1539 | { "wxFrame_GetClientAreaOrigin", (PyCFunction) _wrap_wxFrame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
1540 | { "wxFrame_MakeModal", (PyCFunction) _wrap_wxFrame_MakeModal, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1541 | { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, |
1542 | { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
1543 | { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
1544 | { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
1545 | { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
1546 | { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
1547 | { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
1548 | { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
1549 | { "wxFrame_Restore", (PyCFunction) _wrap_wxFrame_Restore, METH_VARARGS | METH_KEYWORDS }, |
1550 | { "wxFrame_IsMaximized", (PyCFunction) _wrap_wxFrame_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1551 | { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, |
1552 | { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
1553 | { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
1554 | { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
1555 | { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
1556 | { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
1557 | { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 1558 | { "wxFrame_GetIcon", (PyCFunction) _wrap_wxFrame_GetIcon, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
1559 | { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, |
1560 | { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 1561 | { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS }, |
aa2a5b86 RD |
1562 | { "wxFrame_Create", (PyCFunction) _wrap_wxFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
1563 | { "new_wxPreFrame", (PyCFunction) _wrap_new_wxPreFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 1564 | { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS }, |
9c039d08 RD |
1565 | { NULL, NULL } |
1566 | }; | |
1d99702e RD |
1567 | #ifdef __cplusplus |
1568 | } | |
1569 | #endif | |
1570 | /* | |
1571 | * This table is used by the pointer type-checker | |
1572 | */ | |
1573 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1d99702e | 1574 | { "_signed_long","_long",0}, |
b1462dfa | 1575 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
1576 | { "_wxPrintQuality","_int",0}, |
1577 | { "_wxPrintQuality","_signed_int",0}, | |
1578 | { "_wxPrintQuality","_unsigned_int",0}, | |
1579 | { "_wxPrintQuality","_wxWindowID",0}, | |
1580 | { "_wxPrintQuality","_uint",0}, | |
1581 | { "_wxPrintQuality","_EBool",0}, | |
1582 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 1583 | { "_wxPrintQuality","_time_t",0}, |
cd096152 RD |
1584 | { "_class_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler}, |
1585 | { "_class_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler}, | |
1d99702e RD |
1586 | { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, |
1587 | { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1588 | { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1589 | { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1d99702e | 1590 | { "_byte","_unsigned_char",0}, |
1d99702e RD |
1591 | { "_long","_unsigned_long",0}, |
1592 | { "_long","_signed_long",0}, | |
cd096152 RD |
1593 | { "_class_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject}, |
1594 | { "_class_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject}, | |
9df61a29 RD |
1595 | { "_class_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject}, |
1596 | { "_class_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject}, | |
1597 | { "_class_wxObject","_class_wxFrame",SwigwxFrameTowxObject}, | |
1598 | { "_class_wxObject","_wxFrame",SwigwxFrameTowxObject}, | |
b1462dfa | 1599 | { "_size_t","_wxCoord",0}, |
1d99702e | 1600 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 1601 | { "_size_t","_time_t",0}, |
1d99702e RD |
1602 | { "_size_t","_unsigned_int",0}, |
1603 | { "_size_t","_int",0}, | |
1604 | { "_size_t","_wxWindowID",0}, | |
1605 | { "_size_t","_uint",0}, | |
b1462dfa | 1606 | { "_uint","_wxCoord",0}, |
1d99702e | 1607 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 1608 | { "_uint","_time_t",0}, |
1d99702e RD |
1609 | { "_uint","_size_t",0}, |
1610 | { "_uint","_unsigned_int",0}, | |
1611 | { "_uint","_int",0}, | |
1612 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 1613 | { "_wxChar","_char",0}, |
f6bcfd97 | 1614 | { "_char","_wxChar",0}, |
b1462dfa | 1615 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
1616 | { "_EBool","_wxPrintQuality",0}, |
1617 | { "_EBool","_signed_int",0}, | |
1618 | { "_EBool","_int",0}, | |
1619 | { "_EBool","_wxWindowID",0}, | |
1d99702e | 1620 | { "_unsigned_long","_long",0}, |
b1462dfa | 1621 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
1622 | { "_signed_int","_wxPrintQuality",0}, |
1623 | { "_signed_int","_EBool",0}, | |
1624 | { "_signed_int","_wxWindowID",0}, | |
1625 | { "_signed_int","_int",0}, | |
1d99702e RD |
1626 | { "_WXTYPE","_short",0}, |
1627 | { "_WXTYPE","_signed_short",0}, | |
1628 | { "_WXTYPE","_unsigned_short",0}, | |
1d99702e RD |
1629 | { "_unsigned_short","_WXTYPE",0}, |
1630 | { "_unsigned_short","_short",0}, | |
cd096152 RD |
1631 | { "_class_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow}, |
1632 | { "_class_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow}, | |
1d99702e RD |
1633 | { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, |
1634 | { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1635 | { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1636 | { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
cd096152 RD |
1637 | { "_wxObject","_class_wxTipWindow",SwigwxTipWindowTowxObject}, |
1638 | { "_wxObject","_wxTipWindow",SwigwxTipWindowTowxObject}, | |
9df61a29 RD |
1639 | { "_wxObject","_class_wxMiniFrame",SwigwxMiniFrameTowxObject}, |
1640 | { "_wxObject","_wxMiniFrame",SwigwxMiniFrameTowxObject}, | |
1641 | { "_wxObject","_class_wxFrame",SwigwxFrameTowxObject}, | |
1642 | { "_wxObject","_wxFrame",SwigwxFrameTowxObject}, | |
1d99702e RD |
1643 | { "_signed_short","_WXTYPE",0}, |
1644 | { "_signed_short","_short",0}, | |
1d99702e | 1645 | { "_unsigned_char","_byte",0}, |
b1462dfa | 1646 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 1647 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 1648 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
1649 | { "_unsigned_int","_size_t",0}, |
1650 | { "_unsigned_int","_uint",0}, | |
1651 | { "_unsigned_int","_wxWindowID",0}, | |
1652 | { "_unsigned_int","_int",0}, | |
1d99702e RD |
1653 | { "_short","_WXTYPE",0}, |
1654 | { "_short","_unsigned_short",0}, | |
1655 | { "_short","_signed_short",0}, | |
cd096152 RD |
1656 | { "_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame}, |
1657 | { "_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame}, | |
1d99702e RD |
1658 | { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, |
1659 | { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
b1462dfa | 1660 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 1661 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 1662 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
1663 | { "_wxWindowID","_size_t",0}, |
1664 | { "_wxWindowID","_EBool",0}, | |
1665 | { "_wxWindowID","_uint",0}, | |
1666 | { "_wxWindowID","_int",0}, | |
1667 | { "_wxWindowID","_signed_int",0}, | |
1668 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 1669 | { "_int","_wxCoord",0}, |
1d99702e | 1670 | { "_int","_wxPrintQuality",0}, |
c368d904 | 1671 | { "_int","_time_t",0}, |
1d99702e RD |
1672 | { "_int","_size_t",0}, |
1673 | { "_int","_EBool",0}, | |
1674 | { "_int","_uint",0}, | |
1675 | { "_int","_wxWindowID",0}, | |
1676 | { "_int","_unsigned_int",0}, | |
1677 | { "_int","_signed_int",0}, | |
c368d904 RD |
1678 | { "_time_t","_wxCoord",0}, |
1679 | { "_time_t","_wxPrintQuality",0}, | |
1680 | { "_time_t","_unsigned_int",0}, | |
1681 | { "_time_t","_int",0}, | |
1682 | { "_time_t","_wxWindowID",0}, | |
1683 | { "_time_t","_uint",0}, | |
1684 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
1685 | { "_wxCoord","_int",0}, |
1686 | { "_wxCoord","_signed_int",0}, | |
1687 | { "_wxCoord","_unsigned_int",0}, | |
1688 | { "_wxCoord","_wxWindowID",0}, | |
1689 | { "_wxCoord","_uint",0}, | |
1690 | { "_wxCoord","_EBool",0}, | |
1691 | { "_wxCoord","_size_t",0}, | |
c368d904 | 1692 | { "_wxCoord","_time_t",0}, |
b1462dfa | 1693 | { "_wxCoord","_wxPrintQuality",0}, |
cd096152 RD |
1694 | { "_wxEvtHandler","_class_wxTipWindow",SwigwxTipWindowTowxEvtHandler}, |
1695 | { "_wxEvtHandler","_wxTipWindow",SwigwxTipWindowTowxEvtHandler}, | |
1d99702e RD |
1696 | { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, |
1697 | { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1698 | { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1699 | { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
cd096152 RD |
1700 | { "_wxWindow","_class_wxTipWindow",SwigwxTipWindowTowxWindow}, |
1701 | { "_wxWindow","_wxTipWindow",SwigwxTipWindowTowxWindow}, | |
1d99702e RD |
1702 | { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, |
1703 | { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1704 | { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1705 | { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
cd096152 RD |
1706 | { "_class_wxFrame","_class_wxTipWindow",SwigwxTipWindowTowxFrame}, |
1707 | { "_class_wxFrame","_wxTipWindow",SwigwxTipWindowTowxFrame}, | |
1d99702e RD |
1708 | { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, |
1709 | { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1d99702e RD |
1710 | {0,0,0}}; |
1711 | ||
9c039d08 RD |
1712 | static PyObject *SWIG_globals; |
1713 | #ifdef __cplusplus | |
1714 | extern "C" | |
1715 | #endif | |
1d99702e | 1716 | SWIGEXPORT(void) initframesc() { |
9c039d08 RD |
1717 | PyObject *m, *d; |
1718 | SWIG_globals = SWIG_newvarlink(); | |
1719 | m = Py_InitModule("framesc", framescMethods); | |
1720 | d = PyModule_GetDict(m); | |
f6bcfd97 BP |
1721 | PyDict_SetItemString(d,"wxFULLSCREEN_NOMENUBAR", PyInt_FromLong((long) wxFULLSCREEN_NOMENUBAR)); |
1722 | PyDict_SetItemString(d,"wxFULLSCREEN_NOTOOLBAR", PyInt_FromLong((long) wxFULLSCREEN_NOTOOLBAR)); | |
1723 | PyDict_SetItemString(d,"wxFULLSCREEN_NOSTATUSBAR", PyInt_FromLong((long) wxFULLSCREEN_NOSTATUSBAR)); | |
1724 | PyDict_SetItemString(d,"wxFULLSCREEN_NOBORDER", PyInt_FromLong((long) wxFULLSCREEN_NOBORDER)); | |
1725 | PyDict_SetItemString(d,"wxFULLSCREEN_NOCAPTION", PyInt_FromLong((long) wxFULLSCREEN_NOCAPTION)); | |
1726 | PyDict_SetItemString(d,"wxFULLSCREEN_ALL", PyInt_FromLong((long) wxFULLSCREEN_ALL)); | |
1d99702e RD |
1727 | { |
1728 | int i; | |
1729 | for (i = 0; _swig_mapping[i].n1; i++) | |
1730 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1731 | } | |
9c039d08 | 1732 | } |