]>
Commit | Line | Data |
---|---|---|
9c039d08 RD |
1 | /* |
2 | * FILE : msw/frames.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
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) | |
27 | # define SWIGEXPORT(a,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initframesc | |
53 | ||
54 | #define SWIG_name "framesc" | |
55 | ||
56 | #include "helpers.h" | |
9c039d08 | 57 | #include <wx/minifram.h> |
9c039d08 RD |
58 | |
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | if (!target) { | |
62 | target = o; | |
63 | } else if (target == Py_None) { | |
64 | Py_DECREF(Py_None); | |
65 | target = o; | |
66 | } else { | |
67 | if (!PyList_Check(target)) { | |
68 | o2 = target; | |
69 | target = PyList_New(0); | |
70 | PyList_Append(target, o2); | |
71 | Py_XDECREF(o2); | |
72 | } | |
73 | PyList_Append(target,o); | |
74 | Py_XDECREF(o); | |
75 | } | |
76 | return target; | |
77 | } | |
78 | ||
79 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
80 | PyObject* o2; | |
81 | PyObject* o3; | |
82 | ||
83 | if (!target) { | |
84 | target = o; | |
85 | } else if (target == Py_None) { | |
86 | Py_DECREF(Py_None); | |
87 | target = o; | |
88 | } else { | |
89 | if (!PyTuple_Check(target)) { | |
90 | o2 = target; | |
91 | target = PyTuple_New(1); | |
92 | PyTuple_SetItem(target, 0, o2); | |
93 | } | |
94 | o3 = PyTuple_New(1); | |
95 | PyTuple_SetItem(o3, 0, o); | |
96 | ||
97 | o2 = target; | |
98 | target = PySequence_Concat(o2, o3); | |
99 | Py_DECREF(o2); | |
100 | Py_DECREF(o3); | |
101 | } | |
102 | return target; | |
103 | } | |
104 | ||
105 | ||
b639c3c5 | 106 | extern byte* byte_LIST_helper(PyObject* source); |
9c039d08 RD |
107 | extern int* int_LIST_helper(PyObject* source); |
108 | extern long* long_LIST_helper(PyObject* source); | |
109 | extern char** string_LIST_helper(PyObject* source); | |
110 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
111 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
112 | extern wxString* wxString_LIST_helper(PyObject* source); | |
9c039d08 | 113 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
9c039d08 RD |
114 | |
115 | ||
116 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
117 | static void *SwigwxFrameTowxWindow(void *ptr) { | |
118 | wxFrame *src; | |
119 | wxWindow *dest; | |
120 | src = (wxFrame *) ptr; | |
121 | dest = (wxWindow *) src; | |
122 | return (void *) dest; | |
123 | } | |
124 | ||
125 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
126 | wxFrame *src; | |
127 | wxEvtHandler *dest; | |
128 | src = (wxFrame *) ptr; | |
129 | dest = (wxEvtHandler *) src; | |
130 | return (void *) dest; | |
131 | } | |
132 | ||
133 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
134 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) { | |
135 | PyObject * _resultobj; | |
136 | wxFrame * _result; | |
137 | wxWindow * _arg0; | |
138 | wxWindowID _arg1; | |
139 | wxString * _arg2; | |
140 | wxPoint * _arg3 = &wxPyDefaultPosition; | |
141 | wxSize * _arg4 = &wxPyDefaultSize; | |
142 | long _arg5 = (wxDEFAULT_FRAME_STYLE); | |
143 | char * _arg6 = "frame"; | |
144 | char * _argc0 = 0; | |
145 | PyObject * _obj2 = 0; | |
146 | char * _argc3 = 0; | |
147 | char * _argc4 = 0; | |
148 | char _ptemp[128]; | |
149 | ||
150 | self = self; | |
151 | if(!PyArg_ParseTuple(args,"siO|ssls:new_wxFrame",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6)) | |
152 | return NULL; | |
153 | if (_argc0) { | |
154 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); | |
156 | return NULL; | |
157 | } | |
158 | } | |
159 | { | |
160 | if (!PyString_Check(_obj2)) { | |
161 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
162 | return NULL; | |
163 | } | |
cf694132 | 164 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 RD |
165 | } |
166 | if (_argc3) { | |
167 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) { | |
168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxFrame. Expected _wxPoint_p."); | |
169 | return NULL; | |
170 | } | |
171 | } | |
172 | if (_argc4) { | |
173 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) { | |
174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxFrame. Expected _wxSize_p."); | |
175 | return NULL; | |
176 | } | |
177 | } | |
cf694132 RD |
178 | { |
179 | wxPy_BEGIN_ALLOW_THREADS; | |
180 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
181 | ||
182 | wxPy_END_ALLOW_THREADS; | |
183 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
9c039d08 RD |
184 | _resultobj = Py_BuildValue("s",_ptemp); |
185 | { | |
186 | if (_obj2) | |
187 | delete _arg2; | |
188 | } | |
189 | return _resultobj; | |
190 | } | |
191 | ||
192 | #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
193 | static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) { | |
194 | PyObject * _resultobj; | |
195 | wxFrame * _arg0; | |
196 | int _arg1 = (wxBOTH); | |
197 | char * _argc0 = 0; | |
198 | ||
199 | self = self; | |
200 | if(!PyArg_ParseTuple(args,"s|i:wxFrame_Centre",&_argc0,&_arg1)) | |
201 | return NULL; | |
202 | if (_argc0) { | |
203 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p."); | |
205 | return NULL; | |
206 | } | |
207 | } | |
cf694132 RD |
208 | { |
209 | wxPy_BEGIN_ALLOW_THREADS; | |
210 | wxFrame_Centre(_arg0,_arg1); | |
211 | ||
212 | wxPy_END_ALLOW_THREADS; | |
213 | } Py_INCREF(Py_None); | |
9c039d08 RD |
214 | _resultobj = Py_None; |
215 | return _resultobj; | |
216 | } | |
217 | ||
218 | #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
219 | static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args) { | |
220 | PyObject * _resultobj; | |
221 | wxFrame * _arg0; | |
222 | int _arg1; | |
223 | char * _argc0 = 0; | |
224 | ||
225 | self = self; | |
226 | if(!PyArg_ParseTuple(args,"si:wxFrame_Command",&_argc0,&_arg1)) | |
227 | return NULL; | |
228 | if (_argc0) { | |
229 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p."); | |
231 | return NULL; | |
232 | } | |
233 | } | |
cf694132 RD |
234 | { |
235 | wxPy_BEGIN_ALLOW_THREADS; | |
236 | wxFrame_Command(_arg0,_arg1); | |
237 | ||
238 | wxPy_END_ALLOW_THREADS; | |
239 | } Py_INCREF(Py_None); | |
9c039d08 RD |
240 | _resultobj = Py_None; |
241 | return _resultobj; | |
242 | } | |
243 | ||
244 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
245 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) { | |
246 | PyObject * _resultobj; | |
247 | wxStatusBar * _result; | |
248 | wxFrame * _arg0; | |
249 | int _arg1 = 1; | |
cf694132 | 250 | long _arg2 = (wxST_SIZEGRIP); |
9c039d08 RD |
251 | wxWindowID _arg3 = -1; |
252 | char * _arg4 = "statusBar"; | |
253 | char * _argc0 = 0; | |
254 | char _ptemp[128]; | |
255 | ||
256 | self = self; | |
257 | if(!PyArg_ParseTuple(args,"s|ilis:wxFrame_CreateStatusBar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
258 | return NULL; | |
259 | if (_argc0) { | |
260 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); | |
262 | return NULL; | |
263 | } | |
264 | } | |
cf694132 RD |
265 | { |
266 | wxPy_BEGIN_ALLOW_THREADS; | |
267 | _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4); | |
268 | ||
269 | wxPy_END_ALLOW_THREADS; | |
270 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
9c039d08 RD |
271 | _resultobj = Py_BuildValue("s",_ptemp); |
272 | return _resultobj; | |
273 | } | |
274 | ||
275 | #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2)) | |
276 | static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) { | |
277 | PyObject * _resultobj; | |
278 | wxToolBar * _result; | |
279 | wxFrame * _arg0; | |
b8b8dda7 | 280 | long _arg1 = (wxNO_BORDER)|(wxTB_HORIZONTAL)|(wxTB_FLAT); |
9c039d08 RD |
281 | wxWindowID _arg2 = -1; |
282 | char * _arg3 = "toolBar"; | |
283 | char * _argc0 = 0; | |
284 | char _ptemp[128]; | |
285 | ||
286 | self = self; | |
287 | if(!PyArg_ParseTuple(args,"s|lis:wxFrame_CreateToolBar",&_argc0,&_arg1,&_arg2,&_arg3)) | |
288 | return NULL; | |
289 | if (_argc0) { | |
290 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p."); | |
292 | return NULL; | |
293 | } | |
294 | } | |
cf694132 RD |
295 | { |
296 | wxPy_BEGIN_ALLOW_THREADS; | |
297 | _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3); | |
298 | ||
299 | wxPy_END_ALLOW_THREADS; | |
300 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
9c039d08 RD |
301 | _resultobj = Py_BuildValue("s",_ptemp); |
302 | return _resultobj; | |
303 | } | |
304 | ||
305 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) | |
306 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) { | |
307 | PyObject * _resultobj; | |
308 | wxMenuBar * _result; | |
309 | wxFrame * _arg0; | |
310 | char * _argc0 = 0; | |
311 | char _ptemp[128]; | |
312 | ||
313 | self = self; | |
314 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetMenuBar",&_argc0)) | |
315 | return NULL; | |
316 | if (_argc0) { | |
317 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); | |
319 | return NULL; | |
320 | } | |
321 | } | |
cf694132 RD |
322 | { |
323 | wxPy_BEGIN_ALLOW_THREADS; | |
324 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); | |
325 | ||
326 | wxPy_END_ALLOW_THREADS; | |
327 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
9c039d08 RD |
328 | _resultobj = Py_BuildValue("s",_ptemp); |
329 | return _resultobj; | |
330 | } | |
331 | ||
332 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
333 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) { | |
334 | PyObject * _resultobj; | |
335 | wxStatusBar * _result; | |
336 | wxFrame * _arg0; | |
337 | char * _argc0 = 0; | |
338 | char _ptemp[128]; | |
339 | ||
340 | self = self; | |
341 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetStatusBar",&_argc0)) | |
342 | return NULL; | |
343 | if (_argc0) { | |
344 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); | |
346 | return NULL; | |
347 | } | |
348 | } | |
cf694132 RD |
349 | { |
350 | wxPy_BEGIN_ALLOW_THREADS; | |
351 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); | |
352 | ||
353 | wxPy_END_ALLOW_THREADS; | |
354 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
9c039d08 RD |
355 | _resultobj = Py_BuildValue("s",_ptemp); |
356 | return _resultobj; | |
357 | } | |
358 | ||
359 | #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
360 | static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) { | |
361 | PyObject * _resultobj; | |
362 | wxString * _result; | |
363 | wxFrame * _arg0; | |
364 | char * _argc0 = 0; | |
365 | ||
366 | self = self; | |
367 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetTitle",&_argc0)) | |
368 | return NULL; | |
369 | if (_argc0) { | |
370 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p."); | |
372 | return NULL; | |
373 | } | |
374 | } | |
9c039d08 | 375 | { |
cf694132 RD |
376 | wxPy_BEGIN_ALLOW_THREADS; |
377 | _result = new wxString (wxFrame_GetTitle(_arg0)); | |
378 | ||
379 | wxPy_END_ALLOW_THREADS; | |
380 | }{ | |
9c039d08 RD |
381 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
382 | } | |
383 | { | |
384 | delete _result; | |
385 | } | |
386 | return _resultobj; | |
387 | } | |
388 | ||
389 | #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) | |
390 | static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args) { | |
391 | PyObject * _resultobj; | |
392 | wxToolBar * _result; | |
393 | wxFrame * _arg0; | |
394 | char * _argc0 = 0; | |
395 | char _ptemp[128]; | |
396 | ||
397 | self = self; | |
398 | if(!PyArg_ParseTuple(args,"s:wxFrame_GetToolBar",&_argc0)) | |
399 | return NULL; | |
400 | if (_argc0) { | |
401 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p."); | |
403 | return NULL; | |
404 | } | |
405 | } | |
cf694132 RD |
406 | { |
407 | wxPy_BEGIN_ALLOW_THREADS; | |
408 | _result = (wxToolBar *)wxFrame_GetToolBar(_arg0); | |
409 | ||
410 | wxPy_END_ALLOW_THREADS; | |
411 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
9c039d08 RD |
412 | _resultobj = Py_BuildValue("s",_ptemp); |
413 | return _resultobj; | |
414 | } | |
415 | ||
416 | #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) | |
417 | static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) { | |
418 | PyObject * _resultobj; | |
419 | wxFrame * _arg0; | |
420 | bool _arg1; | |
421 | char * _argc0 = 0; | |
422 | int tempbool1; | |
423 | ||
424 | self = self; | |
425 | if(!PyArg_ParseTuple(args,"si:wxFrame_Iconize",&_argc0,&tempbool1)) | |
426 | return NULL; | |
427 | if (_argc0) { | |
428 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p."); | |
430 | return NULL; | |
431 | } | |
432 | } | |
433 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
434 | { |
435 | wxPy_BEGIN_ALLOW_THREADS; | |
436 | wxFrame_Iconize(_arg0,_arg1); | |
437 | ||
438 | wxPy_END_ALLOW_THREADS; | |
439 | } Py_INCREF(Py_None); | |
9c039d08 RD |
440 | _resultobj = Py_None; |
441 | return _resultobj; | |
442 | } | |
443 | ||
444 | #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized()) | |
445 | static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) { | |
446 | PyObject * _resultobj; | |
447 | bool _result; | |
448 | wxFrame * _arg0; | |
449 | char * _argc0 = 0; | |
450 | ||
451 | self = self; | |
452 | if(!PyArg_ParseTuple(args,"s:wxFrame_IsIconized",&_argc0)) | |
453 | return NULL; | |
454 | if (_argc0) { | |
455 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p."); | |
457 | return NULL; | |
458 | } | |
459 | } | |
cf694132 RD |
460 | { |
461 | wxPy_BEGIN_ALLOW_THREADS; | |
462 | _result = (bool )wxFrame_IsIconized(_arg0); | |
463 | ||
464 | wxPy_END_ALLOW_THREADS; | |
465 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
466 | return _resultobj; |
467 | } | |
468 | ||
469 | #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) | |
470 | static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) { | |
471 | PyObject * _resultobj; | |
472 | wxFrame * _arg0; | |
473 | bool _arg1; | |
474 | char * _argc0 = 0; | |
475 | int tempbool1; | |
476 | ||
477 | self = self; | |
478 | if(!PyArg_ParseTuple(args,"si:wxFrame_Maximize",&_argc0,&tempbool1)) | |
479 | return NULL; | |
480 | if (_argc0) { | |
481 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p."); | |
483 | return NULL; | |
484 | } | |
485 | } | |
486 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
487 | { |
488 | wxPy_BEGIN_ALLOW_THREADS; | |
489 | wxFrame_Maximize(_arg0,_arg1); | |
490 | ||
491 | wxPy_END_ALLOW_THREADS; | |
492 | } Py_INCREF(Py_None); | |
9c039d08 RD |
493 | _resultobj = Py_None; |
494 | return _resultobj; | |
495 | } | |
496 | ||
497 | #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0)) | |
498 | static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args) { | |
499 | PyObject * _resultobj; | |
500 | wxFrame * _arg0; | |
501 | wxAcceleratorTable * _arg1; | |
502 | char * _argc0 = 0; | |
503 | char * _argc1 = 0; | |
504 | ||
505 | self = self; | |
506 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetAcceleratorTable",&_argc0,&_argc1)) | |
507 | return NULL; | |
508 | if (_argc0) { | |
509 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p."); | |
511 | return NULL; | |
512 | } | |
513 | } | |
514 | if (_argc1) { | |
515 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxAcceleratorTable_p")) { | |
516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p."); | |
517 | return NULL; | |
518 | } | |
519 | } | |
cf694132 RD |
520 | { |
521 | wxPy_BEGIN_ALLOW_THREADS; | |
522 | wxFrame_SetAcceleratorTable(_arg0,*_arg1); | |
523 | ||
524 | wxPy_END_ALLOW_THREADS; | |
525 | } Py_INCREF(Py_None); | |
9c039d08 RD |
526 | _resultobj = Py_None; |
527 | return _resultobj; | |
528 | } | |
529 | ||
530 | #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) | |
531 | static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) { | |
532 | PyObject * _resultobj; | |
533 | wxFrame * _arg0; | |
534 | wxIcon * _arg1; | |
535 | char * _argc0 = 0; | |
536 | char * _argc1 = 0; | |
537 | ||
538 | self = self; | |
539 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetIcon",&_argc0,&_argc1)) | |
540 | return NULL; | |
541 | if (_argc0) { | |
542 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p."); | |
544 | return NULL; | |
545 | } | |
546 | } | |
547 | if (_argc1) { | |
548 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) { | |
549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p."); | |
550 | return NULL; | |
551 | } | |
552 | } | |
cf694132 RD |
553 | { |
554 | wxPy_BEGIN_ALLOW_THREADS; | |
555 | wxFrame_SetIcon(_arg0,*_arg1); | |
556 | ||
557 | wxPy_END_ALLOW_THREADS; | |
558 | } Py_INCREF(Py_None); | |
9c039d08 RD |
559 | _resultobj = Py_None; |
560 | return _resultobj; | |
561 | } | |
562 | ||
563 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
564 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) { | |
565 | PyObject * _resultobj; | |
566 | wxFrame * _arg0; | |
567 | wxMenuBar * _arg1; | |
568 | char * _argc0 = 0; | |
569 | char * _argc1 = 0; | |
570 | ||
571 | self = self; | |
572 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetMenuBar",&_argc0,&_argc1)) | |
573 | return NULL; | |
574 | if (_argc0) { | |
575 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); | |
577 | return NULL; | |
578 | } | |
579 | } | |
580 | if (_argc1) { | |
581 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenuBar_p")) { | |
582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); | |
583 | return NULL; | |
584 | } | |
585 | } | |
cf694132 RD |
586 | { |
587 | wxPy_BEGIN_ALLOW_THREADS; | |
588 | wxFrame_SetMenuBar(_arg0,_arg1); | |
589 | ||
590 | wxPy_END_ALLOW_THREADS; | |
591 | } Py_INCREF(Py_None); | |
9c039d08 RD |
592 | _resultobj = Py_None; |
593 | return _resultobj; | |
594 | } | |
595 | ||
596 | #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0)) | |
597 | static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args) { | |
598 | PyObject * _resultobj; | |
599 | wxFrame * _arg0; | |
600 | wxStatusBar * _arg1; | |
601 | char * _argc0 = 0; | |
602 | char * _argc1 = 0; | |
603 | ||
604 | self = self; | |
605 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetStatusBar",&_argc0,&_argc1)) | |
606 | return NULL; | |
607 | if (_argc0) { | |
608 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p."); | |
610 | return NULL; | |
611 | } | |
612 | } | |
613 | if (_argc1) { | |
614 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxStatusBar_p")) { | |
615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p."); | |
616 | return NULL; | |
617 | } | |
618 | } | |
cf694132 RD |
619 | { |
620 | wxPy_BEGIN_ALLOW_THREADS; | |
621 | wxFrame_SetStatusBar(_arg0,_arg1); | |
622 | ||
623 | wxPy_END_ALLOW_THREADS; | |
624 | } Py_INCREF(Py_None); | |
9c039d08 RD |
625 | _resultobj = Py_None; |
626 | return _resultobj; | |
627 | } | |
628 | ||
629 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
630 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) { | |
631 | PyObject * _resultobj; | |
632 | wxFrame * _arg0; | |
633 | wxString * _arg1; | |
634 | int _arg2 = 0; | |
635 | char * _argc0 = 0; | |
636 | PyObject * _obj1 = 0; | |
637 | ||
638 | self = self; | |
639 | if(!PyArg_ParseTuple(args,"sO|i:wxFrame_SetStatusText",&_argc0,&_obj1,&_arg2)) | |
640 | return NULL; | |
641 | if (_argc0) { | |
642 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); | |
644 | return NULL; | |
645 | } | |
646 | } | |
647 | { | |
648 | if (!PyString_Check(_obj1)) { | |
649 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
650 | return NULL; | |
651 | } | |
cf694132 | 652 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 653 | } |
cf694132 RD |
654 | { |
655 | wxPy_BEGIN_ALLOW_THREADS; | |
656 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); | |
657 | ||
658 | wxPy_END_ALLOW_THREADS; | |
659 | } Py_INCREF(Py_None); | |
9c039d08 RD |
660 | _resultobj = Py_None; |
661 | { | |
662 | if (_obj1) | |
663 | delete _arg1; | |
664 | } | |
665 | return _resultobj; | |
666 | } | |
667 | ||
668 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
669 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) { | |
670 | PyObject * _resultobj; | |
671 | wxFrame * _arg0; | |
672 | int _arg1; | |
673 | int * _arg2; | |
674 | char * _argc0 = 0; | |
675 | PyObject * _obj2 = 0; | |
676 | ||
677 | self = self; | |
678 | if(!PyArg_ParseTuple(args,"sO:wxFrame_SetStatusWidths",&_argc0,&_obj2)) | |
679 | return NULL; | |
680 | if (_argc0) { | |
681 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); | |
683 | return NULL; | |
684 | } | |
685 | } | |
686 | if (_obj2) | |
687 | { | |
688 | _arg2 = int_LIST_helper(_obj2); | |
689 | if (_arg2 == NULL) { | |
690 | return NULL; | |
691 | } | |
692 | } | |
693 | { | |
cf694132 RD |
694 | if (_obj2) { |
695 | _arg1 = PyList_Size(_obj2); | |
696 | } | |
697 | else { | |
698 | _arg1 = 0; | |
699 | } | |
9c039d08 | 700 | } |
cf694132 RD |
701 | { |
702 | wxPy_BEGIN_ALLOW_THREADS; | |
703 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); | |
704 | ||
705 | wxPy_END_ALLOW_THREADS; | |
706 | } Py_INCREF(Py_None); | |
9c039d08 RD |
707 | _resultobj = Py_None; |
708 | { | |
709 | delete [] _arg2; | |
710 | } | |
711 | return _resultobj; | |
712 | } | |
713 | ||
714 | #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
715 | static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) { | |
716 | PyObject * _resultobj; | |
717 | wxFrame * _arg0; | |
718 | wxString * _arg1; | |
719 | char * _argc0 = 0; | |
720 | PyObject * _obj1 = 0; | |
721 | ||
722 | self = self; | |
723 | if(!PyArg_ParseTuple(args,"sO:wxFrame_SetTitle",&_argc0,&_obj1)) | |
724 | return NULL; | |
725 | if (_argc0) { | |
726 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p."); | |
728 | return NULL; | |
729 | } | |
730 | } | |
731 | { | |
732 | if (!PyString_Check(_obj1)) { | |
733 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
734 | return NULL; | |
735 | } | |
cf694132 | 736 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 737 | } |
cf694132 RD |
738 | { |
739 | wxPy_BEGIN_ALLOW_THREADS; | |
740 | wxFrame_SetTitle(_arg0,*_arg1); | |
741 | ||
742 | wxPy_END_ALLOW_THREADS; | |
743 | } Py_INCREF(Py_None); | |
9c039d08 RD |
744 | _resultobj = Py_None; |
745 | { | |
746 | if (_obj1) | |
747 | delete _arg1; | |
748 | } | |
749 | return _resultobj; | |
750 | } | |
751 | ||
752 | #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) | |
753 | static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args) { | |
754 | PyObject * _resultobj; | |
755 | wxFrame * _arg0; | |
756 | wxToolBar * _arg1; | |
757 | char * _argc0 = 0; | |
758 | char * _argc1 = 0; | |
759 | ||
760 | self = self; | |
761 | if(!PyArg_ParseTuple(args,"ss:wxFrame_SetToolBar",&_argc0,&_argc1)) | |
762 | return NULL; | |
763 | if (_argc0) { | |
764 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFrame_p")) { | |
765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p."); | |
766 | return NULL; | |
767 | } | |
768 | } | |
769 | if (_argc1) { | |
770 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxToolBar_p")) { | |
771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p."); | |
772 | return NULL; | |
773 | } | |
774 | } | |
cf694132 RD |
775 | { |
776 | wxPy_BEGIN_ALLOW_THREADS; | |
777 | wxFrame_SetToolBar(_arg0,_arg1); | |
778 | ||
779 | wxPy_END_ALLOW_THREADS; | |
780 | } Py_INCREF(Py_None); | |
9c039d08 RD |
781 | _resultobj = Py_None; |
782 | return _resultobj; | |
783 | } | |
784 | ||
785 | static void *SwigwxMiniFrameTowxFrame(void *ptr) { | |
786 | wxMiniFrame *src; | |
787 | wxFrame *dest; | |
788 | src = (wxMiniFrame *) ptr; | |
789 | dest = (wxFrame *) src; | |
790 | return (void *) dest; | |
791 | } | |
792 | ||
793 | static void *SwigwxMiniFrameTowxWindow(void *ptr) { | |
794 | wxMiniFrame *src; | |
795 | wxWindow *dest; | |
796 | src = (wxMiniFrame *) ptr; | |
797 | dest = (wxWindow *) src; | |
798 | return (void *) dest; | |
799 | } | |
800 | ||
801 | static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) { | |
802 | wxMiniFrame *src; | |
803 | wxEvtHandler *dest; | |
804 | src = (wxMiniFrame *) ptr; | |
805 | dest = (wxEvtHandler *) src; | |
806 | return (void *) dest; | |
807 | } | |
808 | ||
809 | #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
810 | static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) { | |
811 | PyObject * _resultobj; | |
812 | wxMiniFrame * _result; | |
813 | wxWindow * _arg0; | |
814 | wxWindowID _arg1; | |
815 | wxString * _arg2; | |
816 | wxPoint * _arg3 = &wxPyDefaultPosition; | |
817 | wxSize * _arg4 = &wxPyDefaultSize; | |
818 | long _arg5 = (wxDEFAULT_FRAME_STYLE); | |
819 | char * _arg6 = "frame"; | |
820 | char * _argc0 = 0; | |
821 | PyObject * _obj2 = 0; | |
822 | char * _argc3 = 0; | |
823 | char * _argc4 = 0; | |
824 | char _ptemp[128]; | |
825 | ||
826 | self = self; | |
827 | if(!PyArg_ParseTuple(args,"siO|ssls:new_wxMiniFrame",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6)) | |
828 | return NULL; | |
829 | if (_argc0) { | |
830 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p."); | |
832 | return NULL; | |
833 | } | |
834 | } | |
835 | { | |
836 | if (!PyString_Check(_obj2)) { | |
837 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
838 | return NULL; | |
839 | } | |
cf694132 | 840 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 RD |
841 | } |
842 | if (_argc3) { | |
843 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) { | |
844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMiniFrame. Expected _wxPoint_p."); | |
845 | return NULL; | |
846 | } | |
847 | } | |
848 | if (_argc4) { | |
849 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) { | |
850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMiniFrame. Expected _wxSize_p."); | |
851 | return NULL; | |
852 | } | |
853 | } | |
cf694132 RD |
854 | { |
855 | wxPy_BEGIN_ALLOW_THREADS; | |
856 | _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
857 | ||
858 | wxPy_END_ALLOW_THREADS; | |
859 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
9c039d08 RD |
860 | _resultobj = Py_BuildValue("s",_ptemp); |
861 | { | |
862 | if (_obj2) | |
863 | delete _arg2; | |
864 | } | |
865 | return _resultobj; | |
866 | } | |
867 | ||
868 | static PyMethodDef framescMethods[] = { | |
869 | { "new_wxMiniFrame", _wrap_new_wxMiniFrame, 1 }, | |
870 | { "wxFrame_SetToolBar", _wrap_wxFrame_SetToolBar, 1 }, | |
871 | { "wxFrame_SetTitle", _wrap_wxFrame_SetTitle, 1 }, | |
872 | { "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths, 1 }, | |
873 | { "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText, 1 }, | |
874 | { "wxFrame_SetStatusBar", _wrap_wxFrame_SetStatusBar, 1 }, | |
875 | { "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar, 1 }, | |
876 | { "wxFrame_SetIcon", _wrap_wxFrame_SetIcon, 1 }, | |
877 | { "wxFrame_SetAcceleratorTable", _wrap_wxFrame_SetAcceleratorTable, 1 }, | |
878 | { "wxFrame_Maximize", _wrap_wxFrame_Maximize, 1 }, | |
879 | { "wxFrame_IsIconized", _wrap_wxFrame_IsIconized, 1 }, | |
880 | { "wxFrame_Iconize", _wrap_wxFrame_Iconize, 1 }, | |
881 | { "wxFrame_GetToolBar", _wrap_wxFrame_GetToolBar, 1 }, | |
882 | { "wxFrame_GetTitle", _wrap_wxFrame_GetTitle, 1 }, | |
883 | { "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar, 1 }, | |
884 | { "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar, 1 }, | |
885 | { "wxFrame_CreateToolBar", _wrap_wxFrame_CreateToolBar, 1 }, | |
886 | { "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar, 1 }, | |
887 | { "wxFrame_Command", _wrap_wxFrame_Command, 1 }, | |
888 | { "wxFrame_Centre", _wrap_wxFrame_Centre, 1 }, | |
889 | { "new_wxFrame", _wrap_new_wxFrame, 1 }, | |
890 | { NULL, NULL } | |
891 | }; | |
892 | static PyObject *SWIG_globals; | |
893 | #ifdef __cplusplus | |
894 | extern "C" | |
895 | #endif | |
896 | SWIGEXPORT(void,initframesc)() { | |
897 | PyObject *m, *d; | |
898 | SWIG_globals = SWIG_newvarlink(); | |
899 | m = Py_InitModule("framesc", framescMethods); | |
900 | d = PyModule_GetDict(m); | |
901 | /* | |
902 | * These are the pointer type-equivalency mappings. | |
903 | * (Used by the SWIG pointer type-checker). | |
904 | */ | |
905 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
906 | SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0); | |
907 | SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); | |
908 | SWIG_RegisterMapping("_signed_long","_long",0); | |
909 | SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); | |
bb0054cd RD |
910 | SWIG_RegisterMapping("_wxPrintQuality","_int",0); |
911 | SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0); | |
912 | SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0); | |
913 | SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0); | |
914 | SWIG_RegisterMapping("_wxPrintQuality","_uint",0); | |
915 | SWIG_RegisterMapping("_wxPrintQuality","_EBool",0); | |
916 | SWIG_RegisterMapping("_wxPrintQuality","_size_t",0); | |
b8b8dda7 | 917 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); |
9c039d08 RD |
918 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); |
919 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler); | |
920 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler); | |
921 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler); | |
922 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler); | |
923 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
924 | SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0); | |
925 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
926 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
bb0054cd | 927 | SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0); |
9c039d08 RD |
928 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); |
929 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
930 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
931 | SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0); | |
932 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
933 | SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0); | |
934 | SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0); | |
935 | SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0); | |
936 | SWIG_RegisterMapping("_long","_wxDash",0); | |
937 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
938 | SWIG_RegisterMapping("_long","_signed_long",0); | |
af309447 | 939 | SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0); |
9c039d08 RD |
940 | SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); |
941 | SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); | |
942 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
943 | SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); | |
944 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
b639c3c5 | 945 | SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0); |
bb0054cd | 946 | SWIG_RegisterMapping("_size_t","_wxPrintQuality",0); |
c127177f RD |
947 | SWIG_RegisterMapping("_size_t","_unsigned_int",0); |
948 | SWIG_RegisterMapping("_size_t","_int",0); | |
949 | SWIG_RegisterMapping("_size_t","_wxWindowID",0); | |
950 | SWIG_RegisterMapping("_size_t","_uint",0); | |
9c039d08 RD |
951 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); |
952 | SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0); | |
953 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
954 | SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0); | |
955 | SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0); | |
956 | SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0); | |
9c039d08 RD |
957 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); |
958 | SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); | |
959 | SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); | |
cf694132 | 960 | SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0); |
9c039d08 RD |
961 | SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); |
962 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
963 | SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); | |
964 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
965 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
966 | SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0); | |
967 | SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0); | |
968 | SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0); | |
969 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
970 | SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0); | |
971 | SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0); | |
bb0054cd | 972 | SWIG_RegisterMapping("_uint","_wxPrintQuality",0); |
c127177f | 973 | SWIG_RegisterMapping("_uint","_size_t",0); |
9c039d08 RD |
974 | SWIG_RegisterMapping("_uint","_unsigned_int",0); |
975 | SWIG_RegisterMapping("_uint","_int",0); | |
976 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
977 | SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0); | |
978 | SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0); | |
979 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
980 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0); | |
981 | SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0); | |
982 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
983 | SWIG_RegisterMapping("_class_wxButton","_wxButton",0); | |
984 | SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0); | |
985 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
986 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
b639c3c5 | 987 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); |
9c039d08 RD |
988 | SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); |
989 | SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); | |
990 | SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0); | |
991 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
bb0054cd | 992 | SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0); |
cf694132 | 993 | SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0); |
9c039d08 RD |
994 | SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0); |
995 | SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0); | |
9c039d08 RD |
996 | SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0); |
997 | SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0); | |
bb0054cd | 998 | SWIG_RegisterMapping("_EBool","_wxPrintQuality",0); |
9c039d08 RD |
999 | SWIG_RegisterMapping("_EBool","_signed_int",0); |
1000 | SWIG_RegisterMapping("_EBool","_int",0); | |
1001 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
b8b8dda7 | 1002 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); |
9c039d08 RD |
1003 | SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); |
1004 | SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); | |
1005 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
1006 | SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0); | |
1007 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
1008 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
1009 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
1010 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
1011 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
1012 | SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0); | |
1013 | SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0); | |
1014 | SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0); | |
1015 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
1016 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
1017 | SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0); | |
1018 | SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0); | |
1019 | SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0); | |
bb0054cd | 1020 | SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0); |
9c039d08 RD |
1021 | SWIG_RegisterMapping("_signed_int","_EBool",0); |
1022 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
1023 | SWIG_RegisterMapping("_signed_int","_int",0); | |
1024 | SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0); | |
1025 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
1026 | SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0); | |
1027 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
1028 | SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0); | |
1029 | SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0); | |
1030 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
9c039d08 RD |
1031 | SWIG_RegisterMapping("_WXTYPE","_short",0); |
1032 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
1033 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
1034 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
1035 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
1036 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
1037 | SWIG_RegisterMapping("_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow); | |
1038 | SWIG_RegisterMapping("_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow); | |
1039 | SWIG_RegisterMapping("_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow); | |
1040 | SWIG_RegisterMapping("_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow); | |
1041 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
1042 | SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0); | |
1043 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
1044 | SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0); | |
1045 | SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0); | |
1046 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
1047 | SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0); | |
1048 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
1049 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
1050 | SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0); | |
1051 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
1052 | SWIG_RegisterMapping("_signed_short","_short",0); | |
1053 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
1054 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
b639c3c5 | 1055 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); |
9c039d08 RD |
1056 | SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); |
1057 | SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); | |
1058 | SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0); | |
1059 | SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0); | |
1060 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
1061 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
9c039d08 RD |
1062 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); |
1063 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
1064 | SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0); | |
1065 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
1066 | SWIG_RegisterMapping("_wxControl","_class_wxControl",0); | |
1067 | SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0); | |
bb0054cd | 1068 | SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0); |
c127177f | 1069 | SWIG_RegisterMapping("_unsigned_int","_size_t",0); |
9c039d08 RD |
1070 | SWIG_RegisterMapping("_unsigned_int","_uint",0); |
1071 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
1072 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
1073 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
1074 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
1075 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
1076 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
1077 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
1078 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
1079 | SWIG_RegisterMapping("_short","_signed_short",0); | |
1080 | SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0); | |
1081 | SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0); | |
1082 | SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); | |
1083 | SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); | |
1084 | SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); | |
af309447 | 1085 | SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0); |
9c039d08 RD |
1086 | SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); |
1087 | SWIG_RegisterMapping("_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame); | |
1088 | SWIG_RegisterMapping("_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame); | |
1089 | SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0); | |
bb0054cd | 1090 | SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0); |
c127177f | 1091 | SWIG_RegisterMapping("_wxWindowID","_size_t",0); |
9c039d08 RD |
1092 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); |
1093 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
1094 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
1095 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
1096 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
bb0054cd | 1097 | SWIG_RegisterMapping("_int","_wxPrintQuality",0); |
c127177f | 1098 | SWIG_RegisterMapping("_int","_size_t",0); |
9c039d08 RD |
1099 | SWIG_RegisterMapping("_int","_EBool",0); |
1100 | SWIG_RegisterMapping("_int","_uint",0); | |
1101 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
1102 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
1103 | SWIG_RegisterMapping("_int","_signed_int",0); | |
1104 | SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); | |
b639c3c5 | 1105 | SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0); |
9c039d08 RD |
1106 | SWIG_RegisterMapping("_wxButton","_class_wxButton",0); |
1107 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
b8b8dda7 | 1108 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); |
9c039d08 RD |
1109 | SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0); |
1110 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
1111 | SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); | |
1112 | SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0); | |
1113 | SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0); | |
1114 | SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0); | |
9c039d08 RD |
1115 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); |
1116 | SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0); | |
1117 | SWIG_RegisterMapping("_class_wxControl","_wxControl",0); | |
1118 | SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0); | |
1119 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
1120 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
1121 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
b639c3c5 | 1122 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); |
9c039d08 RD |
1123 | SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); |
1124 | SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); | |
1125 | SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); | |
1126 | SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0); | |
b8b8dda7 | 1127 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); |
9c039d08 RD |
1128 | SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); |
1129 | SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); | |
1130 | SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); | |
1131 | SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0); | |
1132 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0); | |
1133 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
1134 | SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0); | |
1135 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
1136 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
1137 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
1138 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
1139 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler); | |
1140 | SWIG_RegisterMapping("_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler); | |
1141 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler); | |
1142 | SWIG_RegisterMapping("_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler); | |
1143 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
1144 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
1145 | SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0); | |
1146 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
1147 | SWIG_RegisterMapping("_wxDash","_long",0); | |
1148 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
1149 | SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); | |
1150 | SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); | |
b639c3c5 | 1151 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); |
9c039d08 RD |
1152 | SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); |
1153 | SWIG_RegisterMapping("_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow); | |
1154 | SWIG_RegisterMapping("_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow); | |
1155 | SWIG_RegisterMapping("_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow); | |
1156 | SWIG_RegisterMapping("_wxWindow","_wxFrame",SwigwxFrameTowxWindow); | |
1157 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
1158 | SWIG_RegisterMapping("_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame); | |
1159 | SWIG_RegisterMapping("_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame); | |
1160 | SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0); | |
1161 | } |