]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
c368d904 | 2 | * FILE : src/msw/mdi.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
8ab979d7 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 |
8ab979d7 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
8ab979d7 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
8ab979d7 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 *); |
8ab979d7 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
8ab979d7 RD |
54 | #define SWIG_init initmdic |
55 | ||
56 | #define SWIG_name "mdic" | |
57 | ||
58 | #include "helpers.h" | |
59 | ||
8ab979d7 RD |
60 | |
61 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
63 | PyObject* o3; | |
64 | ||
e0672e2f | 65 | if (!target) { |
8ab979d7 | 66 | target = o; |
e0672e2f | 67 | } else if (target == Py_None) { |
8ab979d7 RD |
68 | Py_DECREF(Py_None); |
69 | target = o; | |
e0672e2f | 70 | } else { |
8ab979d7 RD |
71 | if (!PyTuple_Check(target)) { |
72 | o2 = target; | |
73 | target = PyTuple_New(1); | |
74 | PyTuple_SetItem(target, 0, o2); | |
75 | } | |
e0672e2f RD |
76 | o3 = PyTuple_New(1); |
77 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
78 | |
79 | o2 = target; | |
e0672e2f RD |
80 | target = PySequence_Concat(o2, o3); |
81 | Py_DECREF(o2); | |
8ab979d7 RD |
82 | Py_DECREF(o3); |
83 | } | |
84 | return target; | |
85 | } | |
137b5242 RD |
86 | |
87 | // Put some wx default wxChar* values into wxStrings. | |
88 | DECLARE_DEF_STRING(FrameNameStr); | |
1d99702e RD |
89 | #ifdef __cplusplus |
90 | extern "C" { | |
91 | #endif | |
8ab979d7 RD |
92 | static void *SwigwxMDIParentFrameTowxFrame(void *ptr) { |
93 | wxMDIParentFrame *src; | |
94 | wxFrame *dest; | |
95 | src = (wxMDIParentFrame *) ptr; | |
96 | dest = (wxFrame *) src; | |
97 | return (void *) dest; | |
98 | } | |
99 | ||
65fe3842 RD |
100 | static void *SwigwxMDIParentFrameTowxTopLevelWindow(void *ptr) { |
101 | wxMDIParentFrame *src; | |
102 | wxTopLevelWindow *dest; | |
103 | src = (wxMDIParentFrame *) ptr; | |
104 | dest = (wxTopLevelWindow *) src; | |
105 | return (void *) dest; | |
106 | } | |
107 | ||
8ab979d7 RD |
108 | static void *SwigwxMDIParentFrameTowxWindow(void *ptr) { |
109 | wxMDIParentFrame *src; | |
110 | wxWindow *dest; | |
111 | src = (wxMDIParentFrame *) ptr; | |
112 | dest = (wxWindow *) src; | |
113 | return (void *) dest; | |
114 | } | |
115 | ||
116 | static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr) { | |
117 | wxMDIParentFrame *src; | |
118 | wxEvtHandler *dest; | |
119 | src = (wxMDIParentFrame *) ptr; | |
120 | dest = (wxEvtHandler *) src; | |
121 | return (void *) dest; | |
122 | } | |
123 | ||
9416aa89 RD |
124 | static void *SwigwxMDIParentFrameTowxObject(void *ptr) { |
125 | wxMDIParentFrame *src; | |
126 | wxObject *dest; | |
127 | src = (wxMDIParentFrame *) ptr; | |
128 | dest = (wxObject *) src; | |
129 | return (void *) dest; | |
130 | } | |
131 | ||
8ab979d7 | 132 | #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 133 | static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
134 | PyObject * _resultobj; |
135 | wxMDIParentFrame * _result; | |
136 | wxWindow * _arg0; | |
137 | wxWindowID _arg1; | |
138 | wxString * _arg2; | |
e508a2b6 RD |
139 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
140 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e | 141 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL; |
137b5242 | 142 | wxString * _arg6 = (wxString *) &wxPyFrameNameStr; |
1d99702e | 143 | PyObject * _argo0 = 0; |
8ab979d7 | 144 | PyObject * _obj2 = 0; |
2f90df85 RD |
145 | wxPoint temp; |
146 | PyObject * _obj3 = 0; | |
147 | wxSize temp0; | |
148 | PyObject * _obj4 = 0; | |
137b5242 | 149 | PyObject * _obj6 = 0; |
efc5f224 | 150 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
8ab979d7 RD |
151 | char _ptemp[128]; |
152 | ||
153 | self = self; | |
137b5242 | 154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
8ab979d7 | 155 | return NULL; |
1d99702e RD |
156 | if (_argo0) { |
157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p."); |
160 | return NULL; | |
161 | } | |
162 | } | |
163 | { | |
c8bc7bb8 RD |
164 | _arg2 = wxString_in_helper(_obj2); |
165 | if (_arg2 == NULL) | |
8ab979d7 | 166 | return NULL; |
8ab979d7 | 167 | } |
2f90df85 RD |
168 | if (_obj3) |
169 | { | |
170 | _arg3 = &temp; | |
171 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 172 | return NULL; |
2f90df85 RD |
173 | } |
174 | if (_obj4) | |
175 | { | |
176 | _arg4 = &temp0; | |
177 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 178 | return NULL; |
137b5242 RD |
179 | } |
180 | if (_obj6) | |
181 | { | |
182 | _arg6 = wxString_in_helper(_obj6); | |
183 | if (_arg6 == NULL) | |
184 | return NULL; | |
2f90df85 | 185 | } |
cf694132 | 186 | { |
4268f798 | 187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 188 | _result = (wxMDIParentFrame *)new_wxMDIParentFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
cf694132 | 189 | |
4268f798 | 190 | wxPyEndAllowThreads(__tstate); |
493f1553 | 191 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
192 | } if (_result) { |
193 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIParentFrame_p"); | |
194 | _resultobj = Py_BuildValue("s",_ptemp); | |
195 | } else { | |
196 | Py_INCREF(Py_None); | |
197 | _resultobj = Py_None; | |
198 | } | |
8ab979d7 RD |
199 | { |
200 | if (_obj2) | |
201 | delete _arg2; | |
137b5242 RD |
202 | } |
203 | { | |
204 | if (_obj6) | |
205 | delete _arg6; | |
8ab979d7 RD |
206 | } |
207 | return _resultobj; | |
208 | } | |
209 | ||
09f3d4e6 RD |
210 | #define new_wxPreMDIParentFrame() (new wxMDIParentFrame()) |
211 | static PyObject *_wrap_new_wxPreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
212 | PyObject * _resultobj; | |
213 | wxMDIParentFrame * _result; | |
214 | char *_kwnames[] = { NULL }; | |
215 | char _ptemp[128]; | |
216 | ||
217 | self = self; | |
218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIParentFrame",_kwnames)) | |
219 | return NULL; | |
220 | { | |
4268f798 | 221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 222 | _result = (wxMDIParentFrame *)new_wxPreMDIParentFrame(); |
09f3d4e6 | 223 | |
4268f798 | 224 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
225 | if (PyErr_Occurred()) return NULL; |
226 | } if (_result) { | |
227 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIParentFrame_p"); | |
228 | _resultobj = Py_BuildValue("s",_ptemp); | |
229 | } else { | |
230 | Py_INCREF(Py_None); | |
231 | _resultobj = Py_None; | |
232 | } | |
233 | return _resultobj; | |
234 | } | |
235 | ||
236 | #define wxMDIParentFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
237 | static PyObject *_wrap_wxMDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
238 | PyObject * _resultobj; | |
239 | bool _result; | |
240 | wxMDIParentFrame * _arg0; | |
241 | wxWindow * _arg1; | |
242 | wxWindowID _arg2; | |
243 | wxString * _arg3; | |
244 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
245 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
246 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL; | |
137b5242 | 247 | wxString * _arg7 = (wxString *) &wxPyFrameNameStr; |
09f3d4e6 RD |
248 | PyObject * _argo0 = 0; |
249 | PyObject * _argo1 = 0; | |
250 | PyObject * _obj3 = 0; | |
251 | wxPoint temp; | |
252 | PyObject * _obj4 = 0; | |
253 | wxSize temp0; | |
254 | PyObject * _obj5 = 0; | |
137b5242 | 255 | PyObject * _obj7 = 0; |
09f3d4e6 RD |
256 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
257 | ||
258 | self = self; | |
137b5242 | 259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxMDIParentFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
09f3d4e6 RD |
260 | return NULL; |
261 | if (_argo0) { | |
262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Create. Expected _wxMDIParentFrame_p."); | |
265 | return NULL; | |
266 | } | |
267 | } | |
268 | if (_argo1) { | |
269 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
270 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIParentFrame_Create. Expected _wxWindow_p."); | |
272 | return NULL; | |
273 | } | |
274 | } | |
275 | { | |
c8bc7bb8 RD |
276 | _arg3 = wxString_in_helper(_obj3); |
277 | if (_arg3 == NULL) | |
09f3d4e6 | 278 | return NULL; |
09f3d4e6 RD |
279 | } |
280 | if (_obj4) | |
281 | { | |
282 | _arg4 = &temp; | |
283 | if (! wxPoint_helper(_obj4, &_arg4)) | |
284 | return NULL; | |
285 | } | |
286 | if (_obj5) | |
287 | { | |
288 | _arg5 = &temp0; | |
289 | if (! wxSize_helper(_obj5, &_arg5)) | |
290 | return NULL; | |
137b5242 RD |
291 | } |
292 | if (_obj7) | |
293 | { | |
294 | _arg7 = wxString_in_helper(_obj7); | |
295 | if (_arg7 == NULL) | |
296 | return NULL; | |
09f3d4e6 RD |
297 | } |
298 | { | |
4268f798 | 299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 300 | _result = (bool )wxMDIParentFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
09f3d4e6 | 301 | |
4268f798 | 302 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
303 | if (PyErr_Occurred()) return NULL; |
304 | } _resultobj = Py_BuildValue("i",_result); | |
305 | { | |
306 | if (_obj3) | |
307 | delete _arg3; | |
137b5242 RD |
308 | } |
309 | { | |
310 | if (_obj7) | |
311 | delete _arg7; | |
09f3d4e6 RD |
312 | } |
313 | return _resultobj; | |
314 | } | |
315 | ||
8ab979d7 | 316 | #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext()) |
efc5f224 | 317 | static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
318 | PyObject * _resultobj; |
319 | wxMDIParentFrame * _arg0; | |
1d99702e | 320 | PyObject * _argo0 = 0; |
efc5f224 | 321 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
322 | |
323 | self = self; | |
efc5f224 | 324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivateNext",_kwnames,&_argo0)) |
8ab979d7 | 325 | return NULL; |
1d99702e RD |
326 | if (_argo0) { |
327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p."); |
330 | return NULL; | |
331 | } | |
332 | } | |
cf694132 | 333 | { |
4268f798 | 334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 335 | wxMDIParentFrame_ActivateNext(_arg0); |
cf694132 | 336 | |
4268f798 | 337 | wxPyEndAllowThreads(__tstate); |
493f1553 | 338 | if (PyErr_Occurred()) return NULL; |
cf694132 | 339 | } Py_INCREF(Py_None); |
8ab979d7 RD |
340 | _resultobj = Py_None; |
341 | return _resultobj; | |
342 | } | |
343 | ||
344 | #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious()) | |
efc5f224 | 345 | static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
346 | PyObject * _resultobj; |
347 | wxMDIParentFrame * _arg0; | |
1d99702e | 348 | PyObject * _argo0 = 0; |
efc5f224 | 349 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
350 | |
351 | self = self; | |
efc5f224 | 352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivatePrevious",_kwnames,&_argo0)) |
8ab979d7 | 353 | return NULL; |
1d99702e RD |
354 | if (_argo0) { |
355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p."); |
358 | return NULL; | |
359 | } | |
360 | } | |
cf694132 | 361 | { |
4268f798 | 362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 363 | wxMDIParentFrame_ActivatePrevious(_arg0); |
cf694132 | 364 | |
4268f798 | 365 | wxPyEndAllowThreads(__tstate); |
493f1553 | 366 | if (PyErr_Occurred()) return NULL; |
cf694132 | 367 | } Py_INCREF(Py_None); |
8ab979d7 RD |
368 | _resultobj = Py_None; |
369 | return _resultobj; | |
370 | } | |
371 | ||
372 | #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons()) | |
efc5f224 | 373 | static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
374 | PyObject * _resultobj; |
375 | wxMDIParentFrame * _arg0; | |
1d99702e | 376 | PyObject * _argo0 = 0; |
efc5f224 | 377 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
378 | |
379 | self = self; | |
efc5f224 | 380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ArrangeIcons",_kwnames,&_argo0)) |
8ab979d7 | 381 | return NULL; |
1d99702e RD |
382 | if (_argo0) { |
383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p."); |
386 | return NULL; | |
387 | } | |
388 | } | |
cf694132 | 389 | { |
4268f798 | 390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 391 | wxMDIParentFrame_ArrangeIcons(_arg0); |
cf694132 | 392 | |
4268f798 | 393 | wxPyEndAllowThreads(__tstate); |
493f1553 | 394 | if (PyErr_Occurred()) return NULL; |
cf694132 | 395 | } Py_INCREF(Py_None); |
8ab979d7 RD |
396 | _resultobj = Py_None; |
397 | return _resultobj; | |
398 | } | |
399 | ||
400 | #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade()) | |
efc5f224 | 401 | static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
402 | PyObject * _resultobj; |
403 | wxMDIParentFrame * _arg0; | |
1d99702e | 404 | PyObject * _argo0 = 0; |
efc5f224 | 405 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
406 | |
407 | self = self; | |
efc5f224 | 408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Cascade",_kwnames,&_argo0)) |
8ab979d7 | 409 | return NULL; |
1d99702e RD |
410 | if (_argo0) { |
411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p."); |
414 | return NULL; | |
415 | } | |
416 | } | |
cf694132 | 417 | { |
4268f798 | 418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 419 | wxMDIParentFrame_Cascade(_arg0); |
cf694132 | 420 | |
4268f798 | 421 | wxPyEndAllowThreads(__tstate); |
493f1553 | 422 | if (PyErr_Occurred()) return NULL; |
cf694132 | 423 | } Py_INCREF(Py_None); |
8ab979d7 RD |
424 | _resultobj = Py_None; |
425 | return _resultobj; | |
426 | } | |
427 | ||
8ab979d7 | 428 | #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild()) |
efc5f224 | 429 | static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
430 | PyObject * _resultobj; |
431 | wxMDIChildFrame * _result; | |
432 | wxMDIParentFrame * _arg0; | |
1d99702e | 433 | PyObject * _argo0 = 0; |
efc5f224 | 434 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
435 | |
436 | self = self; | |
efc5f224 | 437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetActiveChild",_kwnames,&_argo0)) |
8ab979d7 | 438 | return NULL; |
1d99702e RD |
439 | if (_argo0) { |
440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p."); |
443 | return NULL; | |
444 | } | |
445 | } | |
cf694132 | 446 | { |
4268f798 | 447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 448 | _result = (wxMDIChildFrame *)wxMDIParentFrame_GetActiveChild(_arg0); |
cf694132 | 449 | |
4268f798 | 450 | wxPyEndAllowThreads(__tstate); |
493f1553 | 451 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 452 | }{ _resultobj = wxPyMake_wxObject(_result); } |
8ab979d7 RD |
453 | return _resultobj; |
454 | } | |
455 | ||
456 | #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow()) | |
efc5f224 | 457 | static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
458 | PyObject * _resultobj; |
459 | wxMDIClientWindow * _result; | |
460 | wxMDIParentFrame * _arg0; | |
1d99702e | 461 | PyObject * _argo0 = 0; |
efc5f224 | 462 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
463 | |
464 | self = self; | |
efc5f224 | 465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetClientWindow",_kwnames,&_argo0)) |
8ab979d7 | 466 | return NULL; |
1d99702e RD |
467 | if (_argo0) { |
468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p."); |
471 | return NULL; | |
472 | } | |
473 | } | |
cf694132 | 474 | { |
4268f798 | 475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 476 | _result = (wxMDIClientWindow *)wxMDIParentFrame_GetClientWindow(_arg0); |
cf694132 | 477 | |
4268f798 | 478 | wxPyEndAllowThreads(__tstate); |
493f1553 | 479 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 480 | }{ _resultobj = wxPyMake_wxObject(_result); } |
8ab979d7 RD |
481 | return _resultobj; |
482 | } | |
483 | ||
484 | #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) | |
efc5f224 | 485 | static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
486 | PyObject * _resultobj; |
487 | wxWindow * _result; | |
488 | wxMDIParentFrame * _arg0; | |
1d99702e | 489 | PyObject * _argo0 = 0; |
efc5f224 | 490 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
491 | |
492 | self = self; | |
efc5f224 | 493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetToolBar",_kwnames,&_argo0)) |
8ab979d7 | 494 | return NULL; |
1d99702e RD |
495 | if (_argo0) { |
496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p."); |
499 | return NULL; | |
500 | } | |
501 | } | |
cf694132 | 502 | { |
4268f798 | 503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 504 | _result = (wxWindow *)wxMDIParentFrame_GetToolBar(_arg0); |
cf694132 | 505 | |
4268f798 | 506 | wxPyEndAllowThreads(__tstate); |
493f1553 | 507 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 508 | }{ _resultobj = wxPyMake_wxObject(_result); } |
8ab979d7 RD |
509 | return _resultobj; |
510 | } | |
511 | ||
3ca6a5f0 BP |
512 | #define wxMDIParentFrame_GetWindowMenu(_swigobj) (_swigobj->GetWindowMenu()) |
513 | static PyObject *_wrap_wxMDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
514 | PyObject * _resultobj; | |
515 | wxMenu * _result; | |
516 | wxMDIParentFrame * _arg0; | |
517 | PyObject * _argo0 = 0; | |
518 | char *_kwnames[] = { "self", NULL }; | |
3ca6a5f0 BP |
519 | |
520 | self = self; | |
521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetWindowMenu",_kwnames,&_argo0)) | |
522 | return NULL; | |
523 | if (_argo0) { | |
524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetWindowMenu. Expected _wxMDIParentFrame_p."); | |
527 | return NULL; | |
528 | } | |
529 | } | |
530 | { | |
4268f798 | 531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 532 | _result = (wxMenu *)wxMDIParentFrame_GetWindowMenu(_arg0); |
3ca6a5f0 | 533 | |
4268f798 | 534 | wxPyEndAllowThreads(__tstate); |
493f1553 | 535 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 536 | }{ _resultobj = wxPyMake_wxObject(_result); } |
3ca6a5f0 BP |
537 | return _resultobj; |
538 | } | |
539 | ||
540 | #define wxMDIParentFrame_SetWindowMenu(_swigobj,_swigarg0) (_swigobj->SetWindowMenu(_swigarg0)) | |
541 | static PyObject *_wrap_wxMDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
542 | PyObject * _resultobj; | |
543 | wxMDIParentFrame * _arg0; | |
544 | wxMenu * _arg1; | |
545 | PyObject * _argo0 = 0; | |
546 | PyObject * _argo1 = 0; | |
547 | char *_kwnames[] = { "self","menu", NULL }; | |
548 | ||
549 | self = self; | |
550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMDIParentFrame_SetWindowMenu",_kwnames,&_argo0,&_argo1)) | |
551 | return NULL; | |
552 | if (_argo0) { | |
553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_SetWindowMenu. Expected _wxMDIParentFrame_p."); | |
556 | return NULL; | |
557 | } | |
558 | } | |
559 | if (_argo1) { | |
560 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
561 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) { | |
562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIParentFrame_SetWindowMenu. Expected _wxMenu_p."); | |
563 | return NULL; | |
564 | } | |
565 | } | |
566 | { | |
4268f798 | 567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 568 | wxMDIParentFrame_SetWindowMenu(_arg0,_arg1); |
3ca6a5f0 | 569 | |
4268f798 | 570 | wxPyEndAllowThreads(__tstate); |
493f1553 | 571 | if (PyErr_Occurred()) return NULL; |
3ca6a5f0 BP |
572 | } Py_INCREF(Py_None); |
573 | _resultobj = Py_None; | |
574 | return _resultobj; | |
575 | } | |
576 | ||
8ab979d7 | 577 | #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) |
efc5f224 | 578 | static PyObject *_wrap_wxMDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
579 | PyObject * _resultobj; |
580 | wxMDIParentFrame * _arg0; | |
581 | wxToolBar * _arg1; | |
1d99702e RD |
582 | PyObject * _argo0 = 0; |
583 | PyObject * _argo1 = 0; | |
efc5f224 | 584 | char *_kwnames[] = { "self","toolbar", NULL }; |
8ab979d7 RD |
585 | |
586 | self = self; | |
efc5f224 | 587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMDIParentFrame_SetToolBar",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 588 | return NULL; |
1d99702e RD |
589 | if (_argo0) { |
590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p."); |
593 | return NULL; | |
594 | } | |
595 | } | |
1d99702e RD |
596 | if (_argo1) { |
597 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
598 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) { | |
8ab979d7 RD |
599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p."); |
600 | return NULL; | |
601 | } | |
602 | } | |
cf694132 | 603 | { |
4268f798 | 604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 605 | wxMDIParentFrame_SetToolBar(_arg0,_arg1); |
cf694132 | 606 | |
4268f798 | 607 | wxPyEndAllowThreads(__tstate); |
493f1553 | 608 | if (PyErr_Occurred()) return NULL; |
cf694132 | 609 | } Py_INCREF(Py_None); |
8ab979d7 RD |
610 | _resultobj = Py_None; |
611 | return _resultobj; | |
612 | } | |
613 | ||
614 | #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile()) | |
efc5f224 | 615 | static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
616 | PyObject * _resultobj; |
617 | wxMDIParentFrame * _arg0; | |
1d99702e | 618 | PyObject * _argo0 = 0; |
efc5f224 | 619 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
620 | |
621 | self = self; | |
efc5f224 | 622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Tile",_kwnames,&_argo0)) |
8ab979d7 | 623 | return NULL; |
1d99702e RD |
624 | if (_argo0) { |
625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p."); |
628 | return NULL; | |
629 | } | |
630 | } | |
cf694132 | 631 | { |
4268f798 | 632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 633 | wxMDIParentFrame_Tile(_arg0); |
cf694132 | 634 | |
4268f798 | 635 | wxPyEndAllowThreads(__tstate); |
493f1553 | 636 | if (PyErr_Occurred()) return NULL; |
cf694132 | 637 | } Py_INCREF(Py_None); |
8ab979d7 RD |
638 | _resultobj = Py_None; |
639 | return _resultobj; | |
640 | } | |
641 | ||
642 | static void *SwigwxMDIChildFrameTowxFrame(void *ptr) { | |
643 | wxMDIChildFrame *src; | |
644 | wxFrame *dest; | |
645 | src = (wxMDIChildFrame *) ptr; | |
646 | dest = (wxFrame *) src; | |
647 | return (void *) dest; | |
648 | } | |
649 | ||
65fe3842 RD |
650 | static void *SwigwxMDIChildFrameTowxTopLevelWindow(void *ptr) { |
651 | wxMDIChildFrame *src; | |
652 | wxTopLevelWindow *dest; | |
653 | src = (wxMDIChildFrame *) ptr; | |
654 | dest = (wxTopLevelWindow *) src; | |
655 | return (void *) dest; | |
656 | } | |
657 | ||
8ab979d7 RD |
658 | static void *SwigwxMDIChildFrameTowxWindow(void *ptr) { |
659 | wxMDIChildFrame *src; | |
660 | wxWindow *dest; | |
661 | src = (wxMDIChildFrame *) ptr; | |
662 | dest = (wxWindow *) src; | |
663 | return (void *) dest; | |
664 | } | |
665 | ||
666 | static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr) { | |
667 | wxMDIChildFrame *src; | |
668 | wxEvtHandler *dest; | |
669 | src = (wxMDIChildFrame *) ptr; | |
670 | dest = (wxEvtHandler *) src; | |
671 | return (void *) dest; | |
672 | } | |
673 | ||
9416aa89 RD |
674 | static void *SwigwxMDIChildFrameTowxObject(void *ptr) { |
675 | wxMDIChildFrame *src; | |
676 | wxObject *dest; | |
677 | src = (wxMDIChildFrame *) ptr; | |
678 | dest = (wxObject *) src; | |
679 | return (void *) dest; | |
680 | } | |
681 | ||
8ab979d7 | 682 | #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 683 | static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
684 | PyObject * _resultobj; |
685 | wxMDIChildFrame * _result; | |
686 | wxMDIParentFrame * _arg0; | |
687 | wxWindowID _arg1; | |
688 | wxString * _arg2; | |
e508a2b6 RD |
689 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
690 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
1d99702e | 691 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; |
137b5242 | 692 | wxString * _arg6 = (wxString *) &wxPyFrameNameStr; |
1d99702e | 693 | PyObject * _argo0 = 0; |
8ab979d7 | 694 | PyObject * _obj2 = 0; |
2f90df85 RD |
695 | wxPoint temp; |
696 | PyObject * _obj3 = 0; | |
697 | wxSize temp0; | |
698 | PyObject * _obj4 = 0; | |
137b5242 | 699 | PyObject * _obj6 = 0; |
efc5f224 | 700 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
8ab979d7 RD |
701 | char _ptemp[128]; |
702 | ||
703 | self = self; | |
137b5242 | 704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6)) |
8ab979d7 | 705 | return NULL; |
1d99702e RD |
706 | if (_argo0) { |
707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p."); |
710 | return NULL; | |
711 | } | |
712 | } | |
713 | { | |
c8bc7bb8 RD |
714 | _arg2 = wxString_in_helper(_obj2); |
715 | if (_arg2 == NULL) | |
185d7c3e | 716 | return NULL; |
8ab979d7 | 717 | } |
2f90df85 RD |
718 | if (_obj3) |
719 | { | |
720 | _arg3 = &temp; | |
721 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 722 | return NULL; |
2f90df85 RD |
723 | } |
724 | if (_obj4) | |
725 | { | |
726 | _arg4 = &temp0; | |
727 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 728 | return NULL; |
137b5242 RD |
729 | } |
730 | if (_obj6) | |
731 | { | |
732 | _arg6 = wxString_in_helper(_obj6); | |
733 | if (_arg6 == NULL) | |
734 | return NULL; | |
2f90df85 | 735 | } |
cf694132 | 736 | { |
4268f798 | 737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 738 | _result = (wxMDIChildFrame *)new_wxMDIChildFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
cf694132 | 739 | |
4268f798 | 740 | wxPyEndAllowThreads(__tstate); |
493f1553 | 741 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
742 | } if (_result) { |
743 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p"); | |
744 | _resultobj = Py_BuildValue("s",_ptemp); | |
745 | } else { | |
746 | Py_INCREF(Py_None); | |
747 | _resultobj = Py_None; | |
748 | } | |
8ab979d7 RD |
749 | { |
750 | if (_obj2) | |
751 | delete _arg2; | |
137b5242 RD |
752 | } |
753 | { | |
754 | if (_obj6) | |
755 | delete _arg6; | |
8ab979d7 RD |
756 | } |
757 | return _resultobj; | |
758 | } | |
759 | ||
09f3d4e6 RD |
760 | #define new_wxPreMDIChildFrame() (new wxMDIChildFrame()) |
761 | static PyObject *_wrap_new_wxPreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
762 | PyObject * _resultobj; | |
763 | wxMDIChildFrame * _result; | |
764 | char *_kwnames[] = { NULL }; | |
765 | char _ptemp[128]; | |
766 | ||
767 | self = self; | |
768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIChildFrame",_kwnames)) | |
769 | return NULL; | |
770 | { | |
4268f798 | 771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 772 | _result = (wxMDIChildFrame *)new_wxPreMDIChildFrame(); |
09f3d4e6 | 773 | |
4268f798 | 774 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
775 | if (PyErr_Occurred()) return NULL; |
776 | } if (_result) { | |
777 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p"); | |
778 | _resultobj = Py_BuildValue("s",_ptemp); | |
779 | } else { | |
780 | Py_INCREF(Py_None); | |
781 | _resultobj = Py_None; | |
782 | } | |
783 | return _resultobj; | |
784 | } | |
785 | ||
786 | #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
787 | static PyObject *_wrap_wxMDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
788 | PyObject * _resultobj; | |
789 | bool _result; | |
790 | wxMDIChildFrame * _arg0; | |
791 | wxMDIParentFrame * _arg1; | |
792 | wxWindowID _arg2; | |
793 | wxString * _arg3; | |
794 | wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition; | |
795 | wxSize * _arg5 = (wxSize *) &wxDefaultSize; | |
796 | long _arg6 = (long ) wxDEFAULT_FRAME_STYLE; | |
137b5242 | 797 | wxString * _arg7 = (wxString *) &wxPyFrameNameStr; |
09f3d4e6 RD |
798 | PyObject * _argo0 = 0; |
799 | PyObject * _argo1 = 0; | |
800 | PyObject * _obj3 = 0; | |
801 | wxPoint temp; | |
802 | PyObject * _obj4 = 0; | |
803 | wxSize temp0; | |
804 | PyObject * _obj5 = 0; | |
137b5242 | 805 | PyObject * _obj7 = 0; |
09f3d4e6 RD |
806 | char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL }; |
807 | ||
808 | self = self; | |
137b5242 | 809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxMDIChildFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7)) |
09f3d4e6 RD |
810 | return NULL; |
811 | if (_argo0) { | |
812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) { | |
814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p."); | |
815 | return NULL; | |
816 | } | |
817 | } | |
818 | if (_argo1) { | |
819 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
820 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) { | |
821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p."); | |
822 | return NULL; | |
823 | } | |
824 | } | |
825 | { | |
c8bc7bb8 RD |
826 | _arg3 = wxString_in_helper(_obj3); |
827 | if (_arg3 == NULL) | |
09f3d4e6 | 828 | return NULL; |
09f3d4e6 RD |
829 | } |
830 | if (_obj4) | |
831 | { | |
832 | _arg4 = &temp; | |
833 | if (! wxPoint_helper(_obj4, &_arg4)) | |
834 | return NULL; | |
835 | } | |
836 | if (_obj5) | |
837 | { | |
838 | _arg5 = &temp0; | |
839 | if (! wxSize_helper(_obj5, &_arg5)) | |
840 | return NULL; | |
137b5242 RD |
841 | } |
842 | if (_obj7) | |
843 | { | |
844 | _arg7 = wxString_in_helper(_obj7); | |
845 | if (_arg7 == NULL) | |
846 | return NULL; | |
09f3d4e6 RD |
847 | } |
848 | { | |
4268f798 | 849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 850 | _result = (bool )wxMDIChildFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7); |
09f3d4e6 | 851 | |
4268f798 | 852 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
853 | if (PyErr_Occurred()) return NULL; |
854 | } _resultobj = Py_BuildValue("i",_result); | |
855 | { | |
856 | if (_obj3) | |
857 | delete _arg3; | |
137b5242 RD |
858 | } |
859 | { | |
860 | if (_obj7) | |
861 | delete _arg7; | |
09f3d4e6 RD |
862 | } |
863 | return _resultobj; | |
864 | } | |
865 | ||
8ab979d7 | 866 | #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate()) |
efc5f224 | 867 | static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
868 | PyObject * _resultobj; |
869 | wxMDIChildFrame * _arg0; | |
1d99702e | 870 | PyObject * _argo0 = 0; |
efc5f224 | 871 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
872 | |
873 | self = self; | |
efc5f224 | 874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Activate",_kwnames,&_argo0)) |
8ab979d7 | 875 | return NULL; |
1d99702e RD |
876 | if (_argo0) { |
877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) { | |
8ab979d7 RD |
879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p."); |
880 | return NULL; | |
881 | } | |
882 | } | |
cf694132 | 883 | { |
4268f798 | 884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 885 | wxMDIChildFrame_Activate(_arg0); |
cf694132 | 886 | |
4268f798 | 887 | wxPyEndAllowThreads(__tstate); |
493f1553 | 888 | if (PyErr_Occurred()) return NULL; |
cf694132 | 889 | } Py_INCREF(Py_None); |
8ab979d7 RD |
890 | _resultobj = Py_None; |
891 | return _resultobj; | |
892 | } | |
893 | ||
8bf5d46e | 894 | #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) |
efc5f224 | 895 | static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
896 | PyObject * _resultobj; |
897 | wxMDIChildFrame * _arg0; | |
8bf5d46e | 898 | bool _arg1; |
1d99702e | 899 | PyObject * _argo0 = 0; |
8bf5d46e | 900 | int tempbool1; |
efc5f224 | 901 | char *_kwnames[] = { "self","maximize", NULL }; |
8ab979d7 RD |
902 | |
903 | self = self; | |
efc5f224 | 904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMDIChildFrame_Maximize",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 905 | return NULL; |
1d99702e RD |
906 | if (_argo0) { |
907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) { | |
8ab979d7 RD |
909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p."); |
910 | return NULL; | |
911 | } | |
912 | } | |
8bf5d46e | 913 | _arg1 = (bool ) tempbool1; |
cf694132 | 914 | { |
4268f798 | 915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 916 | wxMDIChildFrame_Maximize(_arg0,_arg1); |
cf694132 | 917 | |
4268f798 | 918 | wxPyEndAllowThreads(__tstate); |
493f1553 | 919 | if (PyErr_Occurred()) return NULL; |
cf694132 | 920 | } Py_INCREF(Py_None); |
8ab979d7 RD |
921 | _resultobj = Py_None; |
922 | return _resultobj; | |
923 | } | |
924 | ||
925 | #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore()) | |
efc5f224 | 926 | static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
927 | PyObject * _resultobj; |
928 | wxMDIChildFrame * _arg0; | |
1d99702e | 929 | PyObject * _argo0 = 0; |
efc5f224 | 930 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
931 | |
932 | self = self; | |
efc5f224 | 933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Restore",_kwnames,&_argo0)) |
8ab979d7 | 934 | return NULL; |
1d99702e RD |
935 | if (_argo0) { |
936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) { | |
8ab979d7 RD |
938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p."); |
939 | return NULL; | |
940 | } | |
941 | } | |
cf694132 | 942 | { |
4268f798 | 943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 944 | wxMDIChildFrame_Restore(_arg0); |
cf694132 | 945 | |
4268f798 | 946 | wxPyEndAllowThreads(__tstate); |
493f1553 | 947 | if (PyErr_Occurred()) return NULL; |
cf694132 | 948 | } Py_INCREF(Py_None); |
8ab979d7 RD |
949 | _resultobj = Py_None; |
950 | return _resultobj; | |
951 | } | |
952 | ||
8ab979d7 RD |
953 | static void *SwigwxMDIClientWindowTowxWindow(void *ptr) { |
954 | wxMDIClientWindow *src; | |
955 | wxWindow *dest; | |
956 | src = (wxMDIClientWindow *) ptr; | |
957 | dest = (wxWindow *) src; | |
958 | return (void *) dest; | |
959 | } | |
960 | ||
961 | static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr) { | |
962 | wxMDIClientWindow *src; | |
963 | wxEvtHandler *dest; | |
964 | src = (wxMDIClientWindow *) ptr; | |
965 | dest = (wxEvtHandler *) src; | |
966 | return (void *) dest; | |
967 | } | |
968 | ||
9416aa89 RD |
969 | static void *SwigwxMDIClientWindowTowxObject(void *ptr) { |
970 | wxMDIClientWindow *src; | |
971 | wxObject *dest; | |
972 | src = (wxMDIClientWindow *) ptr; | |
973 | dest = (wxObject *) src; | |
974 | return (void *) dest; | |
975 | } | |
976 | ||
8ab979d7 | 977 | #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1)) |
efc5f224 | 978 | static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
979 | PyObject * _resultobj; |
980 | wxMDIClientWindow * _result; | |
981 | wxMDIParentFrame * _arg0; | |
1d99702e RD |
982 | long _arg1 = (long ) 0; |
983 | PyObject * _argo0 = 0; | |
efc5f224 | 984 | char *_kwnames[] = { "parent","style", NULL }; |
8ab979d7 RD |
985 | char _ptemp[128]; |
986 | ||
987 | self = self; | |
efc5f224 | 988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:new_wxMDIClientWindow",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 989 | return NULL; |
1d99702e RD |
990 | if (_argo0) { |
991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) { | |
8ab979d7 RD |
993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p."); |
994 | return NULL; | |
995 | } | |
996 | } | |
cf694132 | 997 | { |
4268f798 | 998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 999 | _result = (wxMDIClientWindow *)new_wxMDIClientWindow(_arg0,_arg1); |
cf694132 | 1000 | |
4268f798 | 1001 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1002 | if (PyErr_Occurred()) return NULL; |
1d99702e RD |
1003 | } if (_result) { |
1004 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p"); | |
1005 | _resultobj = Py_BuildValue("s",_ptemp); | |
1006 | } else { | |
1007 | Py_INCREF(Py_None); | |
1008 | _resultobj = Py_None; | |
1009 | } | |
8ab979d7 RD |
1010 | return _resultobj; |
1011 | } | |
1012 | ||
09f3d4e6 RD |
1013 | #define new_wxPreMDIClientWindow() (new wxMDIClientWindow()) |
1014 | static PyObject *_wrap_new_wxPreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1015 | PyObject * _resultobj; | |
1016 | wxMDIClientWindow * _result; | |
1017 | char *_kwnames[] = { NULL }; | |
1018 | char _ptemp[128]; | |
1019 | ||
1020 | self = self; | |
1021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIClientWindow",_kwnames)) | |
1022 | return NULL; | |
1023 | { | |
4268f798 | 1024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1025 | _result = (wxMDIClientWindow *)new_wxPreMDIClientWindow(); |
09f3d4e6 | 1026 | |
4268f798 | 1027 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
1028 | if (PyErr_Occurred()) return NULL; |
1029 | } if (_result) { | |
1030 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p"); | |
1031 | _resultobj = Py_BuildValue("s",_ptemp); | |
1032 | } else { | |
1033 | Py_INCREF(Py_None); | |
1034 | _resultobj = Py_None; | |
1035 | } | |
1036 | return _resultobj; | |
1037 | } | |
1038 | ||
1039 | #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1)) | |
1040 | static PyObject *_wrap_wxMDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1041 | PyObject * _resultobj; | |
1042 | bool _result; | |
1043 | wxMDIClientWindow * _arg0; | |
1044 | wxMDIParentFrame * _arg1; | |
1045 | long _arg2 = (long ) 0; | |
1046 | PyObject * _argo0 = 0; | |
1047 | PyObject * _argo1 = 0; | |
1048 | char *_kwnames[] = { "self","parent","style", NULL }; | |
1049 | ||
1050 | self = self; | |
1051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|l:wxMDIClientWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2)) | |
1052 | return NULL; | |
1053 | if (_argo0) { | |
1054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIClientWindow_p")) { | |
1056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p."); | |
1057 | return NULL; | |
1058 | } | |
1059 | } | |
1060 | if (_argo1) { | |
1061 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1062 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) { | |
1063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p."); | |
1064 | return NULL; | |
1065 | } | |
1066 | } | |
1067 | { | |
4268f798 | 1068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1069 | _result = (bool )wxMDIClientWindow_Create(_arg0,_arg1,_arg2); |
09f3d4e6 | 1070 | |
4268f798 | 1071 | wxPyEndAllowThreads(__tstate); |
09f3d4e6 RD |
1072 | if (PyErr_Occurred()) return NULL; |
1073 | } _resultobj = Py_BuildValue("i",_result); | |
1074 | return _resultobj; | |
1075 | } | |
1076 | ||
8ab979d7 | 1077 | static PyMethodDef mdicMethods[] = { |
09f3d4e6 RD |
1078 | { "wxMDIClientWindow_Create", (PyCFunction) _wrap_wxMDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, |
1079 | { "new_wxPreMDIClientWindow", (PyCFunction) _wrap_new_wxPreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1080 | { "new_wxMDIClientWindow", (PyCFunction) _wrap_new_wxMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, |
1081 | { "wxMDIChildFrame_Restore", (PyCFunction) _wrap_wxMDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
1082 | { "wxMDIChildFrame_Maximize", (PyCFunction) _wrap_wxMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
1083 | { "wxMDIChildFrame_Activate", (PyCFunction) _wrap_wxMDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
09f3d4e6 RD |
1084 | { "wxMDIChildFrame_Create", (PyCFunction) _wrap_wxMDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
1085 | { "new_wxPreMDIChildFrame", (PyCFunction) _wrap_new_wxPreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1086 | { "new_wxMDIChildFrame", (PyCFunction) _wrap_new_wxMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, |
1087 | { "wxMDIParentFrame_Tile", (PyCFunction) _wrap_wxMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
1088 | { "wxMDIParentFrame_SetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
3ca6a5f0 BP |
1089 | { "wxMDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_wxMDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS }, |
1090 | { "wxMDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_wxMDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
1091 | { "wxMDIParentFrame_GetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, |
1092 | { "wxMDIParentFrame_GetClientWindow", (PyCFunction) _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
1093 | { "wxMDIParentFrame_GetActiveChild", (PyCFunction) _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
1094 | { "wxMDIParentFrame_Cascade", (PyCFunction) _wrap_wxMDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
1095 | { "wxMDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
1096 | { "wxMDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
1097 | { "wxMDIParentFrame_ActivateNext", (PyCFunction) _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
09f3d4e6 RD |
1098 | { "wxMDIParentFrame_Create", (PyCFunction) _wrap_wxMDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, |
1099 | { "new_wxPreMDIParentFrame", (PyCFunction) _wrap_new_wxPreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 1100 | { "new_wxMDIParentFrame", (PyCFunction) _wrap_new_wxMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, |
8ab979d7 RD |
1101 | { NULL, NULL } |
1102 | }; | |
1d99702e RD |
1103 | #ifdef __cplusplus |
1104 | } | |
1105 | #endif | |
1106 | /* | |
1107 | * This table is used by the pointer type-checker | |
1108 | */ | |
1109 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1d99702e | 1110 | { "_signed_long","_long",0}, |
b1462dfa | 1111 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
1112 | { "_wxPrintQuality","_int",0}, |
1113 | { "_wxPrintQuality","_signed_int",0}, | |
1114 | { "_wxPrintQuality","_unsigned_int",0}, | |
1115 | { "_wxPrintQuality","_wxWindowID",0}, | |
1116 | { "_wxPrintQuality","_uint",0}, | |
1117 | { "_wxPrintQuality","_EBool",0}, | |
1118 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 1119 | { "_wxPrintQuality","_time_t",0}, |
1d99702e | 1120 | { "_byte","_unsigned_char",0}, |
1d99702e RD |
1121 | { "_long","_unsigned_long",0}, |
1122 | { "_long","_signed_long",0}, | |
b1462dfa | 1123 | { "_size_t","_wxCoord",0}, |
1d99702e | 1124 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 1125 | { "_size_t","_time_t",0}, |
1d99702e RD |
1126 | { "_size_t","_unsigned_int",0}, |
1127 | { "_size_t","_int",0}, | |
1128 | { "_size_t","_wxWindowID",0}, | |
1129 | { "_size_t","_uint",0}, | |
65fe3842 RD |
1130 | { "_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow}, |
1131 | { "_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow}, | |
b1462dfa | 1132 | { "_uint","_wxCoord",0}, |
1d99702e | 1133 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 1134 | { "_uint","_time_t",0}, |
1d99702e RD |
1135 | { "_uint","_size_t",0}, |
1136 | { "_uint","_unsigned_int",0}, | |
1137 | { "_uint","_int",0}, | |
1138 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 1139 | { "_wxChar","_char",0}, |
f6bcfd97 | 1140 | { "_char","_wxChar",0}, |
cdf14688 | 1141 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
b1462dfa | 1142 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
1143 | { "_EBool","_wxPrintQuality",0}, |
1144 | { "_EBool","_signed_int",0}, | |
1145 | { "_EBool","_int",0}, | |
1146 | { "_EBool","_wxWindowID",0}, | |
1d99702e | 1147 | { "_unsigned_long","_long",0}, |
cdf14688 | 1148 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
b1462dfa | 1149 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
1150 | { "_signed_int","_wxPrintQuality",0}, |
1151 | { "_signed_int","_EBool",0}, | |
1152 | { "_signed_int","_wxWindowID",0}, | |
1153 | { "_signed_int","_int",0}, | |
1d99702e RD |
1154 | { "_WXTYPE","_short",0}, |
1155 | { "_WXTYPE","_signed_short",0}, | |
1156 | { "_WXTYPE","_unsigned_short",0}, | |
1d99702e RD |
1157 | { "_unsigned_short","_WXTYPE",0}, |
1158 | { "_unsigned_short","_short",0}, | |
9416aa89 | 1159 | { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject}, |
9416aa89 | 1160 | { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject}, |
9416aa89 | 1161 | { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject}, |
1d99702e RD |
1162 | { "_signed_short","_WXTYPE",0}, |
1163 | { "_signed_short","_short",0}, | |
1d99702e | 1164 | { "_unsigned_char","_byte",0}, |
b1462dfa | 1165 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 1166 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 1167 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
1168 | { "_unsigned_int","_size_t",0}, |
1169 | { "_unsigned_int","_uint",0}, | |
1170 | { "_unsigned_int","_wxWindowID",0}, | |
1171 | { "_unsigned_int","_int",0}, | |
1d99702e RD |
1172 | { "_short","_WXTYPE",0}, |
1173 | { "_short","_unsigned_short",0}, | |
1174 | { "_short","_signed_short",0}, | |
1d99702e | 1175 | { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame}, |
1d99702e | 1176 | { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame}, |
b1462dfa | 1177 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 1178 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 1179 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
1180 | { "_wxWindowID","_size_t",0}, |
1181 | { "_wxWindowID","_EBool",0}, | |
1182 | { "_wxWindowID","_uint",0}, | |
1183 | { "_wxWindowID","_int",0}, | |
1184 | { "_wxWindowID","_signed_int",0}, | |
1185 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 1186 | { "_int","_wxCoord",0}, |
1d99702e | 1187 | { "_int","_wxPrintQuality",0}, |
c368d904 | 1188 | { "_int","_time_t",0}, |
1d99702e RD |
1189 | { "_int","_size_t",0}, |
1190 | { "_int","_EBool",0}, | |
1191 | { "_int","_uint",0}, | |
1192 | { "_int","_wxWindowID",0}, | |
1193 | { "_int","_unsigned_int",0}, | |
1194 | { "_int","_signed_int",0}, | |
c368d904 RD |
1195 | { "_time_t","_wxCoord",0}, |
1196 | { "_time_t","_wxPrintQuality",0}, | |
1197 | { "_time_t","_unsigned_int",0}, | |
1198 | { "_time_t","_int",0}, | |
1199 | { "_time_t","_wxWindowID",0}, | |
1200 | { "_time_t","_uint",0}, | |
1201 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
1202 | { "_wxCoord","_int",0}, |
1203 | { "_wxCoord","_signed_int",0}, | |
1204 | { "_wxCoord","_unsigned_int",0}, | |
1205 | { "_wxCoord","_wxWindowID",0}, | |
1206 | { "_wxCoord","_uint",0}, | |
1207 | { "_wxCoord","_EBool",0}, | |
1208 | { "_wxCoord","_size_t",0}, | |
c368d904 | 1209 | { "_wxCoord","_time_t",0}, |
b1462dfa | 1210 | { "_wxCoord","_wxPrintQuality",0}, |
1d99702e | 1211 | { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler}, |
1d99702e | 1212 | { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler}, |
1d99702e | 1213 | { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler}, |
1d99702e | 1214 | { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow}, |
1d99702e | 1215 | { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow}, |
1d99702e | 1216 | { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow}, |
1d99702e RD |
1217 | {0,0,0}}; |
1218 | ||
8ab979d7 RD |
1219 | static PyObject *SWIG_globals; |
1220 | #ifdef __cplusplus | |
1221 | extern "C" | |
1222 | #endif | |
1d99702e | 1223 | SWIGEXPORT(void) initmdic() { |
8ab979d7 RD |
1224 | PyObject *m, *d; |
1225 | SWIG_globals = SWIG_newvarlink(); | |
1226 | m = Py_InitModule("mdic", mdicMethods); | |
1227 | d = PyModule_GetDict(m); | |
26e335b8 RD |
1228 | PyDict_SetItemString(d,"IDM_WINDOWTILE", PyInt_FromLong((long) 4001)); |
1229 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", PyInt_FromLong((long) 4001)); | |
1230 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", PyInt_FromLong((long) 4002)); | |
1231 | PyDict_SetItemString(d,"IDM_WINDOWICONS", PyInt_FromLong((long) 4003)); | |
1232 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", PyInt_FromLong((long) 4004)); | |
1233 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", PyInt_FromLong((long) 4005)); | |
1234 | PyDict_SetItemString(d,"wxFIRST_MDI_CHILD", PyInt_FromLong((long) 4100)); | |
1235 | PyDict_SetItemString(d,"wxLAST_MDI_CHILD", PyInt_FromLong((long) 4600)); | |
1d99702e RD |
1236 | { |
1237 | int i; | |
1238 | for (i = 0; _swig_mapping[i].n1; i++) | |
1239 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1240 | } | |
8ab979d7 | 1241 | } |