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