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