]>
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) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
9c039d08 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
9c039d08 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
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 *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
9c039d08 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
9c039d08 RD |
52 | #define SWIG_init initframesc |
53 | ||
54 | #define SWIG_name "framesc" | |
55 | ||
56 | #include "helpers.h" | |
9c039d08 | 57 | #include <wx/minifram.h> |
9c039d08 RD |
58 | |
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
1d99702e RD |
61 | PyObject* o3; |
62 | if (!target) { | |
9c039d08 | 63 | target = o; |
1d99702e | 64 | } else if (target == Py_None) { |
9c039d08 RD |
65 | Py_DECREF(Py_None); |
66 | target = o; | |
1d99702e | 67 | } else { |
9c039d08 RD |
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 | ||
1d99702e | 84 | if (!target) { |
9c039d08 | 85 | target = o; |
1d99702e | 86 | } else if (target == Py_None) { |
9c039d08 RD |
87 | Py_DECREF(Py_None); |
88 | target = o; | |
1d99702e | 89 | } else { |
9c039d08 RD |
90 | if (!PyTuple_Check(target)) { |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
1d99702e RD |
95 | o3 = PyTuple_New(1); |
96 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
97 | |
98 | o2 = target; | |
1d99702e RD |
99 | target = PySequence_Concat(o2, o3); |
100 | Py_DECREF(o2); | |
9c039d08 RD |
101 | Py_DECREF(o3); |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
9c039d08 | 106 | static char* wxStringErrorMsg = "string type is required for parameter"; |
1d99702e RD |
107 | #ifdef __cplusplus |
108 | extern "C" { | |
109 | #endif | |
9c039d08 RD |
110 | static void *SwigwxFrameTowxWindow(void *ptr) { |
111 | wxFrame *src; | |
112 | wxWindow *dest; | |
113 | src = (wxFrame *) ptr; | |
114 | dest = (wxWindow *) src; | |
115 | return (void *) dest; | |
116 | } | |
117 | ||
118 | static void *SwigwxFrameTowxEvtHandler(void *ptr) { | |
119 | wxFrame *src; | |
120 | wxEvtHandler *dest; | |
121 | src = (wxFrame *) ptr; | |
122 | dest = (wxEvtHandler *) src; | |
123 | return (void *) dest; | |
124 | } | |
125 | ||
126 | #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 127 | static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
128 | PyObject * _resultobj; |
129 | wxFrame * _result; | |
130 | wxWindow * _arg0; | |
131 | wxWindowID _arg1; | |
132 | wxString * _arg2; | |
1d99702e RD |
133 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; |
134 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
135 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; | |
136 | char * _arg6 = (char *) "frame"; | |
137 | PyObject * _argo0 = 0; | |
9c039d08 | 138 | PyObject * _obj2 = 0; |
2f90df85 RD |
139 | wxPoint temp; |
140 | PyObject * _obj3 = 0; | |
141 | wxSize temp0; | |
142 | PyObject * _obj4 = 0; | |
efc5f224 | 143 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
144 | char _ptemp[128]; |
145 | ||
146 | self = self; | |
2f90df85 | 147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 148 | return NULL; |
1d99702e RD |
149 | if (_argo0) { |
150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p."); |
153 | return NULL; | |
154 | } | |
155 | } | |
156 | { | |
157 | if (!PyString_Check(_obj2)) { | |
158 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
159 | return NULL; | |
160 | } | |
cf694132 | 161 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 | 162 | } |
2f90df85 RD |
163 | if (_obj3) |
164 | { | |
165 | _arg3 = &temp; | |
166 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 167 | return NULL; |
2f90df85 RD |
168 | } |
169 | if (_obj4) | |
170 | { | |
171 | _arg4 = &temp0; | |
172 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 173 | return NULL; |
2f90df85 | 174 | } |
cf694132 RD |
175 | { |
176 | wxPy_BEGIN_ALLOW_THREADS; | |
177 | _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
178 | ||
179 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
180 | } if (_result) { |
181 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
182 | _resultobj = Py_BuildValue("s",_ptemp); | |
183 | } else { | |
184 | Py_INCREF(Py_None); | |
185 | _resultobj = Py_None; | |
186 | } | |
9c039d08 RD |
187 | { |
188 | if (_obj2) | |
189 | delete _arg2; | |
190 | } | |
191 | return _resultobj; | |
192 | } | |
193 | ||
194 | #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0)) | |
efc5f224 | 195 | static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
196 | PyObject * _resultobj; |
197 | wxFrame * _arg0; | |
1d99702e RD |
198 | int _arg1 = (int ) wxBOTH; |
199 | PyObject * _argo0 = 0; | |
efc5f224 | 200 | char *_kwnames[] = { "self","direction", NULL }; |
9c039d08 RD |
201 | |
202 | self = self; | |
efc5f224 | 203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 204 | return NULL; |
1d99702e RD |
205 | if (_argo0) { |
206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p."); |
209 | return NULL; | |
210 | } | |
211 | } | |
cf694132 RD |
212 | { |
213 | wxPy_BEGIN_ALLOW_THREADS; | |
214 | wxFrame_Centre(_arg0,_arg1); | |
215 | ||
216 | wxPy_END_ALLOW_THREADS; | |
217 | } Py_INCREF(Py_None); | |
9c039d08 RD |
218 | _resultobj = Py_None; |
219 | return _resultobj; | |
220 | } | |
221 | ||
222 | #define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
efc5f224 | 223 | static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
224 | PyObject * _resultobj; |
225 | wxFrame * _arg0; | |
226 | int _arg1; | |
1d99702e | 227 | PyObject * _argo0 = 0; |
efc5f224 | 228 | char *_kwnames[] = { "self","id", NULL }; |
9c039d08 RD |
229 | |
230 | self = self; | |
efc5f224 | 231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 232 | return NULL; |
1d99702e RD |
233 | if (_argo0) { |
234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Command. Expected _wxFrame_p."); |
237 | return NULL; | |
238 | } | |
239 | } | |
cf694132 RD |
240 | { |
241 | wxPy_BEGIN_ALLOW_THREADS; | |
242 | wxFrame_Command(_arg0,_arg1); | |
243 | ||
244 | wxPy_END_ALLOW_THREADS; | |
245 | } Py_INCREF(Py_None); | |
9c039d08 RD |
246 | _resultobj = Py_None; |
247 | return _resultobj; | |
248 | } | |
249 | ||
250 | #define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
efc5f224 | 251 | static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
252 | PyObject * _resultobj; |
253 | wxStatusBar * _result; | |
254 | wxFrame * _arg0; | |
1d99702e RD |
255 | int _arg1 = (int ) 1; |
256 | long _arg2 = (long ) wxST_SIZEGRIP; | |
257 | wxWindowID _arg3 = (wxWindowID ) -1; | |
258 | char * _arg4 = (char *) "statusBar"; | |
259 | PyObject * _argo0 = 0; | |
efc5f224 | 260 | char *_kwnames[] = { "self","number","style","id","name", NULL }; |
9c039d08 RD |
261 | char _ptemp[128]; |
262 | ||
263 | self = self; | |
efc5f224 | 264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) |
9c039d08 | 265 | return NULL; |
1d99702e RD |
266 | if (_argo0) { |
267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p."); |
270 | return NULL; | |
271 | } | |
272 | } | |
cf694132 RD |
273 | { |
274 | wxPy_BEGIN_ALLOW_THREADS; | |
275 | _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4); | |
276 | ||
277 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
278 | } if (_result) { |
279 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
280 | _resultobj = Py_BuildValue("s",_ptemp); | |
281 | } else { | |
282 | Py_INCREF(Py_None); | |
283 | _resultobj = Py_None; | |
284 | } | |
9c039d08 RD |
285 | return _resultobj; |
286 | } | |
287 | ||
288 | #define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 289 | static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
290 | PyObject * _resultobj; |
291 | wxToolBar * _result; | |
292 | wxFrame * _arg0; | |
1d99702e RD |
293 | long _arg1 = (long ) wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT; |
294 | wxWindowID _arg2 = (wxWindowID ) -1; | |
295 | char * _arg3 = (char *) "toolBar"; | |
296 | PyObject * _argo0 = 0; | |
efc5f224 | 297 | char *_kwnames[] = { "self","style","id","name", NULL }; |
9c039d08 RD |
298 | char _ptemp[128]; |
299 | ||
300 | self = self; | |
efc5f224 | 301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
9c039d08 | 302 | return NULL; |
1d99702e RD |
303 | if (_argo0) { |
304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_CreateToolBar. Expected _wxFrame_p."); |
307 | return NULL; | |
308 | } | |
309 | } | |
cf694132 RD |
310 | { |
311 | wxPy_BEGIN_ALLOW_THREADS; | |
312 | _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3); | |
313 | ||
314 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
315 | } if (_result) { |
316 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
317 | _resultobj = Py_BuildValue("s",_ptemp); | |
318 | } else { | |
319 | Py_INCREF(Py_None); | |
320 | _resultobj = Py_None; | |
321 | } | |
9c039d08 RD |
322 | return _resultobj; |
323 | } | |
324 | ||
325 | #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar()) | |
efc5f224 | 326 | static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
327 | PyObject * _resultobj; |
328 | wxMenuBar * _result; | |
329 | wxFrame * _arg0; | |
1d99702e | 330 | PyObject * _argo0 = 0; |
efc5f224 | 331 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
332 | char _ptemp[128]; |
333 | ||
334 | self = self; | |
efc5f224 | 335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0)) |
9c039d08 | 336 | return NULL; |
1d99702e RD |
337 | if (_argo0) { |
338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p."); |
341 | return NULL; | |
342 | } | |
343 | } | |
cf694132 RD |
344 | { |
345 | wxPy_BEGIN_ALLOW_THREADS; | |
346 | _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0); | |
347 | ||
348 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
349 | } if (_result) { |
350 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
351 | _resultobj = Py_BuildValue("s",_ptemp); | |
352 | } else { | |
353 | Py_INCREF(Py_None); | |
354 | _resultobj = Py_None; | |
355 | } | |
9c039d08 RD |
356 | return _resultobj; |
357 | } | |
358 | ||
359 | #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar()) | |
efc5f224 | 360 | static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
361 | PyObject * _resultobj; |
362 | wxStatusBar * _result; | |
363 | wxFrame * _arg0; | |
1d99702e | 364 | PyObject * _argo0 = 0; |
efc5f224 | 365 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
366 | char _ptemp[128]; |
367 | ||
368 | self = self; | |
efc5f224 | 369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0)) |
9c039d08 | 370 | return NULL; |
1d99702e RD |
371 | if (_argo0) { |
372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p."); |
375 | return NULL; | |
376 | } | |
377 | } | |
cf694132 RD |
378 | { |
379 | wxPy_BEGIN_ALLOW_THREADS; | |
380 | _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0); | |
381 | ||
382 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
383 | } if (_result) { |
384 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
385 | _resultobj = Py_BuildValue("s",_ptemp); | |
386 | } else { | |
387 | Py_INCREF(Py_None); | |
388 | _resultobj = Py_None; | |
389 | } | |
9c039d08 RD |
390 | return _resultobj; |
391 | } | |
392 | ||
393 | #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle()) | |
efc5f224 | 394 | static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
395 | PyObject * _resultobj; |
396 | wxString * _result; | |
397 | wxFrame * _arg0; | |
1d99702e | 398 | PyObject * _argo0 = 0; |
efc5f224 | 399 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
400 | |
401 | self = self; | |
efc5f224 | 402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0)) |
9c039d08 | 403 | return NULL; |
1d99702e RD |
404 | if (_argo0) { |
405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p."); |
408 | return NULL; | |
409 | } | |
410 | } | |
9c039d08 | 411 | { |
cf694132 RD |
412 | wxPy_BEGIN_ALLOW_THREADS; |
413 | _result = new wxString (wxFrame_GetTitle(_arg0)); | |
414 | ||
415 | wxPy_END_ALLOW_THREADS; | |
416 | }{ | |
eec92d76 | 417 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
9c039d08 RD |
418 | } |
419 | { | |
420 | delete _result; | |
421 | } | |
422 | return _resultobj; | |
423 | } | |
424 | ||
425 | #define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar()) | |
efc5f224 | 426 | static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
427 | PyObject * _resultobj; |
428 | wxToolBar * _result; | |
429 | wxFrame * _arg0; | |
1d99702e | 430 | PyObject * _argo0 = 0; |
efc5f224 | 431 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
432 | char _ptemp[128]; |
433 | ||
434 | self = self; | |
efc5f224 | 435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0)) |
9c039d08 | 436 | return NULL; |
1d99702e RD |
437 | if (_argo0) { |
438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_GetToolBar. Expected _wxFrame_p."); |
441 | return NULL; | |
442 | } | |
443 | } | |
cf694132 RD |
444 | { |
445 | wxPy_BEGIN_ALLOW_THREADS; | |
446 | _result = (wxToolBar *)wxFrame_GetToolBar(_arg0); | |
447 | ||
448 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
449 | } if (_result) { |
450 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
451 | _resultobj = Py_BuildValue("s",_ptemp); | |
452 | } else { | |
453 | Py_INCREF(Py_None); | |
454 | _resultobj = Py_None; | |
455 | } | |
9c039d08 RD |
456 | return _resultobj; |
457 | } | |
458 | ||
459 | #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0)) | |
efc5f224 | 460 | static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
461 | PyObject * _resultobj; |
462 | wxFrame * _arg0; | |
463 | bool _arg1; | |
1d99702e | 464 | PyObject * _argo0 = 0; |
9c039d08 | 465 | int tempbool1; |
efc5f224 | 466 | char *_kwnames[] = { "self","iconize", NULL }; |
9c039d08 RD |
467 | |
468 | self = self; | |
efc5f224 | 469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 470 | return NULL; |
1d99702e RD |
471 | if (_argo0) { |
472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p."); |
475 | return NULL; | |
476 | } | |
477 | } | |
478 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
479 | { |
480 | wxPy_BEGIN_ALLOW_THREADS; | |
481 | wxFrame_Iconize(_arg0,_arg1); | |
482 | ||
483 | wxPy_END_ALLOW_THREADS; | |
484 | } Py_INCREF(Py_None); | |
9c039d08 RD |
485 | _resultobj = Py_None; |
486 | return _resultobj; | |
487 | } | |
488 | ||
489 | #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized()) | |
efc5f224 | 490 | static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
491 | PyObject * _resultobj; |
492 | bool _result; | |
493 | wxFrame * _arg0; | |
1d99702e | 494 | PyObject * _argo0 = 0; |
efc5f224 | 495 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
496 | |
497 | self = self; | |
efc5f224 | 498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0)) |
9c039d08 | 499 | return NULL; |
1d99702e RD |
500 | if (_argo0) { |
501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p."); |
504 | return NULL; | |
505 | } | |
506 | } | |
cf694132 RD |
507 | { |
508 | wxPy_BEGIN_ALLOW_THREADS; | |
509 | _result = (bool )wxFrame_IsIconized(_arg0); | |
510 | ||
511 | wxPy_END_ALLOW_THREADS; | |
512 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
513 | return _resultobj; |
514 | } | |
515 | ||
516 | #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0)) | |
efc5f224 | 517 | static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
518 | PyObject * _resultobj; |
519 | wxFrame * _arg0; | |
520 | bool _arg1; | |
1d99702e | 521 | PyObject * _argo0 = 0; |
9c039d08 | 522 | int tempbool1; |
efc5f224 | 523 | char *_kwnames[] = { "self","maximize", NULL }; |
9c039d08 RD |
524 | |
525 | self = self; | |
efc5f224 | 526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 527 | return NULL; |
1d99702e RD |
528 | if (_argo0) { |
529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p."); |
532 | return NULL; | |
533 | } | |
534 | } | |
535 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
536 | { |
537 | wxPy_BEGIN_ALLOW_THREADS; | |
538 | wxFrame_Maximize(_arg0,_arg1); | |
539 | ||
540 | wxPy_END_ALLOW_THREADS; | |
541 | } Py_INCREF(Py_None); | |
9c039d08 RD |
542 | _resultobj = Py_None; |
543 | return _resultobj; | |
544 | } | |
545 | ||
546 | #define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0)) | |
efc5f224 | 547 | static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
548 | PyObject * _resultobj; |
549 | wxFrame * _arg0; | |
550 | wxAcceleratorTable * _arg1; | |
1d99702e RD |
551 | PyObject * _argo0 = 0; |
552 | PyObject * _argo1 = 0; | |
efc5f224 | 553 | char *_kwnames[] = { "self","accel", NULL }; |
9c039d08 RD |
554 | |
555 | self = self; | |
efc5f224 | 556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 557 | return NULL; |
1d99702e RD |
558 | if (_argo0) { |
559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetAcceleratorTable. Expected _wxFrame_p."); |
562 | return NULL; | |
563 | } | |
564 | } | |
1d99702e RD |
565 | if (_argo1) { |
566 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
567 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxAcceleratorTable_p")) { | |
9c039d08 RD |
568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetAcceleratorTable. Expected _wxAcceleratorTable_p."); |
569 | return NULL; | |
570 | } | |
571 | } | |
cf694132 RD |
572 | { |
573 | wxPy_BEGIN_ALLOW_THREADS; | |
574 | wxFrame_SetAcceleratorTable(_arg0,*_arg1); | |
575 | ||
576 | wxPy_END_ALLOW_THREADS; | |
577 | } Py_INCREF(Py_None); | |
9c039d08 RD |
578 | _resultobj = Py_None; |
579 | return _resultobj; | |
580 | } | |
581 | ||
582 | #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) | |
efc5f224 | 583 | static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
584 | PyObject * _resultobj; |
585 | wxFrame * _arg0; | |
586 | wxIcon * _arg1; | |
1d99702e RD |
587 | PyObject * _argo0 = 0; |
588 | PyObject * _argo1 = 0; | |
efc5f224 | 589 | char *_kwnames[] = { "self","icon", NULL }; |
9c039d08 RD |
590 | |
591 | self = self; | |
efc5f224 | 592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 593 | return NULL; |
1d99702e RD |
594 | if (_argo0) { |
595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p."); |
598 | return NULL; | |
599 | } | |
600 | } | |
1d99702e RD |
601 | if (_argo1) { |
602 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
603 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
9c039d08 RD |
604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p."); |
605 | return NULL; | |
606 | } | |
607 | } | |
cf694132 RD |
608 | { |
609 | wxPy_BEGIN_ALLOW_THREADS; | |
610 | wxFrame_SetIcon(_arg0,*_arg1); | |
611 | ||
612 | wxPy_END_ALLOW_THREADS; | |
613 | } Py_INCREF(Py_None); | |
9c039d08 RD |
614 | _resultobj = Py_None; |
615 | return _resultobj; | |
616 | } | |
617 | ||
618 | #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0)) | |
efc5f224 | 619 | static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
620 | PyObject * _resultobj; |
621 | wxFrame * _arg0; | |
622 | wxMenuBar * _arg1; | |
1d99702e RD |
623 | PyObject * _argo0 = 0; |
624 | PyObject * _argo1 = 0; | |
efc5f224 | 625 | char *_kwnames[] = { "self","menuBar", NULL }; |
9c039d08 RD |
626 | |
627 | self = self; | |
efc5f224 | 628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 629 | return NULL; |
1d99702e RD |
630 | if (_argo0) { |
631 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
632 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p."); |
634 | return NULL; | |
635 | } | |
636 | } | |
1d99702e RD |
637 | if (_argo1) { |
638 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
639 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenuBar_p")) { | |
9c039d08 RD |
640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p."); |
641 | return NULL; | |
642 | } | |
643 | } | |
cf694132 RD |
644 | { |
645 | wxPy_BEGIN_ALLOW_THREADS; | |
646 | wxFrame_SetMenuBar(_arg0,_arg1); | |
647 | ||
648 | wxPy_END_ALLOW_THREADS; | |
649 | } Py_INCREF(Py_None); | |
9c039d08 RD |
650 | _resultobj = Py_None; |
651 | return _resultobj; | |
652 | } | |
653 | ||
654 | #define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0)) | |
efc5f224 | 655 | static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
656 | PyObject * _resultobj; |
657 | wxFrame * _arg0; | |
658 | wxStatusBar * _arg1; | |
1d99702e RD |
659 | PyObject * _argo0 = 0; |
660 | PyObject * _argo1 = 0; | |
efc5f224 | 661 | char *_kwnames[] = { "self","statusBar", NULL }; |
9c039d08 RD |
662 | |
663 | self = self; | |
efc5f224 | 664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 665 | return NULL; |
1d99702e RD |
666 | if (_argo0) { |
667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusBar. Expected _wxFrame_p."); |
670 | return NULL; | |
671 | } | |
672 | } | |
1d99702e RD |
673 | if (_argo1) { |
674 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
675 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStatusBar_p")) { | |
9c039d08 RD |
676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetStatusBar. Expected _wxStatusBar_p."); |
677 | return NULL; | |
678 | } | |
679 | } | |
cf694132 RD |
680 | { |
681 | wxPy_BEGIN_ALLOW_THREADS; | |
682 | wxFrame_SetStatusBar(_arg0,_arg1); | |
683 | ||
684 | wxPy_END_ALLOW_THREADS; | |
685 | } Py_INCREF(Py_None); | |
9c039d08 RD |
686 | _resultobj = Py_None; |
687 | return _resultobj; | |
688 | } | |
689 | ||
690 | #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
efc5f224 | 691 | static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
692 | PyObject * _resultobj; |
693 | wxFrame * _arg0; | |
694 | wxString * _arg1; | |
1d99702e RD |
695 | int _arg2 = (int ) 0; |
696 | PyObject * _argo0 = 0; | |
9c039d08 | 697 | PyObject * _obj1 = 0; |
efc5f224 | 698 | char *_kwnames[] = { "self","text","number", NULL }; |
9c039d08 RD |
699 | |
700 | self = self; | |
efc5f224 | 701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) |
9c039d08 | 702 | return NULL; |
1d99702e RD |
703 | if (_argo0) { |
704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p."); |
707 | return NULL; | |
708 | } | |
709 | } | |
710 | { | |
711 | if (!PyString_Check(_obj1)) { | |
712 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
713 | return NULL; | |
714 | } | |
cf694132 | 715 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 716 | } |
cf694132 RD |
717 | { |
718 | wxPy_BEGIN_ALLOW_THREADS; | |
719 | wxFrame_SetStatusText(_arg0,*_arg1,_arg2); | |
720 | ||
721 | wxPy_END_ALLOW_THREADS; | |
722 | } Py_INCREF(Py_None); | |
9c039d08 RD |
723 | _resultobj = Py_None; |
724 | { | |
725 | if (_obj1) | |
726 | delete _arg1; | |
727 | } | |
728 | return _resultobj; | |
729 | } | |
730 | ||
731 | #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
efc5f224 | 732 | static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
733 | PyObject * _resultobj; |
734 | wxFrame * _arg0; | |
735 | int _arg1; | |
736 | int * _arg2; | |
1d99702e | 737 | PyObject * _argo0 = 0; |
9c039d08 | 738 | PyObject * _obj2 = 0; |
eec92d76 | 739 | char *_kwnames[] = { "self","choices", NULL }; |
9c039d08 RD |
740 | |
741 | self = self; | |
efc5f224 | 742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2)) |
9c039d08 | 743 | return NULL; |
1d99702e RD |
744 | if (_argo0) { |
745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p."); |
748 | return NULL; | |
749 | } | |
750 | } | |
751 | if (_obj2) | |
752 | { | |
753 | _arg2 = int_LIST_helper(_obj2); | |
754 | if (_arg2 == NULL) { | |
755 | return NULL; | |
756 | } | |
757 | } | |
758 | { | |
cf694132 RD |
759 | if (_obj2) { |
760 | _arg1 = PyList_Size(_obj2); | |
761 | } | |
762 | else { | |
763 | _arg1 = 0; | |
764 | } | |
9c039d08 | 765 | } |
cf694132 RD |
766 | { |
767 | wxPy_BEGIN_ALLOW_THREADS; | |
768 | wxFrame_SetStatusWidths(_arg0,_arg1,_arg2); | |
769 | ||
770 | wxPy_END_ALLOW_THREADS; | |
771 | } Py_INCREF(Py_None); | |
9c039d08 RD |
772 | _resultobj = Py_None; |
773 | { | |
774 | delete [] _arg2; | |
775 | } | |
776 | return _resultobj; | |
777 | } | |
778 | ||
779 | #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
efc5f224 | 780 | static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
781 | PyObject * _resultobj; |
782 | wxFrame * _arg0; | |
783 | wxString * _arg1; | |
1d99702e | 784 | PyObject * _argo0 = 0; |
9c039d08 | 785 | PyObject * _obj1 = 0; |
efc5f224 | 786 | char *_kwnames[] = { "self","title", NULL }; |
9c039d08 RD |
787 | |
788 | self = self; | |
efc5f224 | 789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 790 | return NULL; |
1d99702e RD |
791 | if (_argo0) { |
792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p."); |
795 | return NULL; | |
796 | } | |
797 | } | |
798 | { | |
799 | if (!PyString_Check(_obj1)) { | |
800 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
801 | return NULL; | |
802 | } | |
cf694132 | 803 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 804 | } |
cf694132 RD |
805 | { |
806 | wxPy_BEGIN_ALLOW_THREADS; | |
807 | wxFrame_SetTitle(_arg0,*_arg1); | |
808 | ||
809 | wxPy_END_ALLOW_THREADS; | |
810 | } Py_INCREF(Py_None); | |
9c039d08 RD |
811 | _resultobj = Py_None; |
812 | { | |
813 | if (_obj1) | |
814 | delete _arg1; | |
815 | } | |
816 | return _resultobj; | |
817 | } | |
818 | ||
819 | #define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0)) | |
efc5f224 | 820 | static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
821 | PyObject * _resultobj; |
822 | wxFrame * _arg0; | |
823 | wxToolBar * _arg1; | |
1d99702e RD |
824 | PyObject * _argo0 = 0; |
825 | PyObject * _argo1 = 0; | |
efc5f224 | 826 | char *_kwnames[] = { "self","toolbar", NULL }; |
9c039d08 RD |
827 | |
828 | self = self; | |
efc5f224 | 829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 830 | return NULL; |
1d99702e RD |
831 | if (_argo0) { |
832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
9c039d08 RD |
834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFrame_SetToolBar. Expected _wxFrame_p."); |
835 | return NULL; | |
836 | } | |
837 | } | |
1d99702e RD |
838 | if (_argo1) { |
839 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
840 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBar_p")) { | |
9c039d08 RD |
841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFrame_SetToolBar. Expected _wxToolBar_p."); |
842 | return NULL; | |
843 | } | |
844 | } | |
cf694132 RD |
845 | { |
846 | wxPy_BEGIN_ALLOW_THREADS; | |
847 | wxFrame_SetToolBar(_arg0,_arg1); | |
848 | ||
849 | wxPy_END_ALLOW_THREADS; | |
850 | } Py_INCREF(Py_None); | |
9c039d08 RD |
851 | _resultobj = Py_None; |
852 | return _resultobj; | |
853 | } | |
854 | ||
855 | static void *SwigwxMiniFrameTowxFrame(void *ptr) { | |
856 | wxMiniFrame *src; | |
857 | wxFrame *dest; | |
858 | src = (wxMiniFrame *) ptr; | |
859 | dest = (wxFrame *) src; | |
860 | return (void *) dest; | |
861 | } | |
862 | ||
863 | static void *SwigwxMiniFrameTowxWindow(void *ptr) { | |
864 | wxMiniFrame *src; | |
865 | wxWindow *dest; | |
866 | src = (wxMiniFrame *) ptr; | |
867 | dest = (wxWindow *) src; | |
868 | return (void *) dest; | |
869 | } | |
870 | ||
871 | static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) { | |
872 | wxMiniFrame *src; | |
873 | wxEvtHandler *dest; | |
874 | src = (wxMiniFrame *) ptr; | |
875 | dest = (wxEvtHandler *) src; | |
876 | return (void *) dest; | |
877 | } | |
878 | ||
879 | #define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 880 | static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
881 | PyObject * _resultobj; |
882 | wxMiniFrame * _result; | |
883 | wxWindow * _arg0; | |
884 | wxWindowID _arg1; | |
885 | wxString * _arg2; | |
1d99702e RD |
886 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; |
887 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
888 | long _arg5 = (long ) wxDEFAULT_FRAME_STYLE; | |
889 | char * _arg6 = (char *) "frame"; | |
890 | PyObject * _argo0 = 0; | |
9c039d08 | 891 | PyObject * _obj2 = 0; |
2f90df85 RD |
892 | wxPoint temp; |
893 | PyObject * _obj3 = 0; | |
894 | wxSize temp0; | |
895 | PyObject * _obj4 = 0; | |
efc5f224 | 896 | char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL }; |
9c039d08 RD |
897 | char _ptemp[128]; |
898 | ||
899 | self = self; | |
2f90df85 | 900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
9c039d08 | 901 | return NULL; |
1d99702e RD |
902 | if (_argo0) { |
903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMiniFrame. Expected _wxWindow_p."); |
906 | return NULL; | |
907 | } | |
908 | } | |
909 | { | |
910 | if (!PyString_Check(_obj2)) { | |
911 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
912 | return NULL; | |
913 | } | |
cf694132 | 914 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 | 915 | } |
2f90df85 RD |
916 | if (_obj3) |
917 | { | |
918 | _arg3 = &temp; | |
919 | if (! wxPoint_helper(_obj3, &_arg3)) | |
9c039d08 | 920 | return NULL; |
2f90df85 RD |
921 | } |
922 | if (_obj4) | |
923 | { | |
924 | _arg4 = &temp0; | |
925 | if (! wxSize_helper(_obj4, &_arg4)) | |
9c039d08 | 926 | return NULL; |
2f90df85 | 927 | } |
cf694132 RD |
928 | { |
929 | wxPy_BEGIN_ALLOW_THREADS; | |
930 | _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
931 | ||
932 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
933 | } if (_result) { |
934 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p"); | |
935 | _resultobj = Py_BuildValue("s",_ptemp); | |
936 | } else { | |
937 | Py_INCREF(Py_None); | |
938 | _resultobj = Py_None; | |
939 | } | |
9c039d08 RD |
940 | { |
941 | if (_obj2) | |
942 | delete _arg2; | |
943 | } | |
944 | return _resultobj; | |
945 | } | |
946 | ||
947 | static PyMethodDef framescMethods[] = { | |
efc5f224 RD |
948 | { "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS }, |
949 | { "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
950 | { "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
951 | { "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
952 | { "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
953 | { "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
954 | { "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
955 | { "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
956 | { "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS }, | |
957 | { "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
958 | { "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
959 | { "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
960 | { "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
961 | { "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
962 | { "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
963 | { "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
964 | { "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
965 | { "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
966 | { "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS }, | |
967 | { "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS }, | |
968 | { "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS }, | |
9c039d08 RD |
969 | { NULL, NULL } |
970 | }; | |
1d99702e RD |
971 | #ifdef __cplusplus |
972 | } | |
973 | #endif | |
974 | /* | |
975 | * This table is used by the pointer type-checker | |
976 | */ | |
977 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
978 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
979 | { "_wxEvent","_class_wxEvent",0}, | |
980 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
981 | { "_signed_long","_long",0}, | |
982 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 983 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 984 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 985 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 986 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
987 | { "_wxPrintQuality","_int",0}, |
988 | { "_wxPrintQuality","_signed_int",0}, | |
989 | { "_wxPrintQuality","_unsigned_int",0}, | |
990 | { "_wxPrintQuality","_wxWindowID",0}, | |
991 | { "_wxPrintQuality","_uint",0}, | |
992 | { "_wxPrintQuality","_EBool",0}, | |
993 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 994 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
1d99702e | 995 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
65dd82cb | 996 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
997 | { "_class_wxMenuBar","_wxMenuBar",0}, |
998 | { "_class_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
999 | { "_class_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1000 | { "_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1001 | { "_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1002 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
1003 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1004 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1005 | { "_wxCursor","_class_wxCursor",0}, | |
1006 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
9b3d3bc4 | 1007 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
1d99702e RD |
1008 | { "_wxMask","_class_wxMask",0}, |
1009 | { "_wxPen","_class_wxPen",0}, | |
1010 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1011 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 1012 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 1013 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
1014 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
1015 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
1016 | { "_wxChoice","_class_wxChoice",0}, |
1017 | { "_wxSlider","_class_wxSlider",0}, | |
1018 | { "_long","_wxDash",0}, | |
1019 | { "_long","_unsigned_long",0}, | |
1020 | { "_long","_signed_long",0}, | |
1021 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 1022 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
1023 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
1024 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
1025 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 1026 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
1027 | { "_class_wxGauge","_wxGauge",0}, |
1028 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 1029 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e | 1030 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 1031 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
1032 | { "_size_t","_wxPrintQuality",0}, |
1033 | { "_size_t","_unsigned_int",0}, | |
1034 | { "_size_t","_int",0}, | |
1035 | { "_size_t","_wxWindowID",0}, | |
1036 | { "_size_t","_uint",0}, | |
1037 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 1038 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 1039 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 1040 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
1041 | { "_class_wxMenuItem","_wxMenuItem",0}, |
1042 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
1043 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1044 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
1045 | { "_wxPanel","_class_wxPanel",0}, | |
1046 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
1047 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
1048 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
1049 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
1050 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 1051 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
1052 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
1053 | { "_wxColour","_class_wxColour",0}, | |
1054 | { "_class_wxDialog","_wxDialog",0}, | |
65dd82cb | 1055 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
1056 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
1057 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
1058 | { "_wxToolBar","_class_wxToolBar",0}, | |
b1462dfa | 1059 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
1060 | { "_wxStaticLine","_class_wxStaticLine",0}, |
1061 | { "_wxBrush","_class_wxBrush",0}, | |
1062 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
b1462dfa RD |
1063 | { "_wxDataFormat","_class_wxDataFormat",0}, |
1064 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 1065 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 1066 | { "_uint","_wxCoord",0}, |
1d99702e RD |
1067 | { "_uint","_wxPrintQuality",0}, |
1068 | { "_uint","_size_t",0}, | |
1069 | { "_uint","_unsigned_int",0}, | |
1070 | { "_uint","_int",0}, | |
1071 | { "_uint","_wxWindowID",0}, | |
2f90df85 | 1072 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
1073 | { "_class_wxEvent","_wxEvent",0}, |
1074 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
1075 | { "_wxRect","_class_wxRect",0}, | |
1076 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
1077 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
1078 | { "_wxPoint","_class_wxPoint",0}, | |
1079 | { "_class_wxButton","_wxButton",0}, | |
1080 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
1081 | { "_wxBitmap","_class_wxBitmap",0}, | |
1082 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
1083 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
1084 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
1085 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1d99702e RD |
1086 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
1087 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 1088 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
1089 | { "_class_wxPyEvent","_wxPyEvent",0}, |
1090 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
1091 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
9b3d3bc4 | 1092 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, |
1d99702e | 1093 | { "_class_wxToolBar","_wxToolBar",0}, |
65dd82cb | 1094 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
1095 | { "_class_wxStaticLine","_wxStaticLine",0}, |
1096 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
9b3d3bc4 | 1097 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
b1462dfa | 1098 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
1099 | { "_EBool","_wxPrintQuality",0}, |
1100 | { "_EBool","_signed_int",0}, | |
1101 | { "_EBool","_int",0}, | |
1102 | { "_EBool","_wxWindowID",0}, | |
1103 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 1104 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 1105 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 1106 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
1107 | { "_wxStaticText","_class_wxStaticText",0}, |
1108 | { "_wxFont","_class_wxFont",0}, | |
65dd82cb | 1109 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e RD |
1110 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
1111 | { "_unsigned_long","_wxDash",0}, | |
1112 | { "_unsigned_long","_long",0}, | |
1113 | { "_class_wxRect","_wxRect",0}, | |
1114 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 1115 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
1116 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
1117 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
1118 | { "_class_wxPyTimer","_wxPyTimer",0}, |
1119 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
1120 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
1121 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
1122 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1123 | { "_class_wxPanel","_wxPanel",0}, | |
1124 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
1125 | { "_wxComboBox","_class_wxComboBox",0}, | |
1126 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 1127 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
1128 | { "_signed_int","_wxPrintQuality",0}, |
1129 | { "_signed_int","_EBool",0}, | |
1130 | { "_signed_int","_wxWindowID",0}, | |
1131 | { "_signed_int","_int",0}, | |
1132 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
1133 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
1134 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 1135 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
1136 | { "_wxMenu","_class_wxMenu",0}, |
1137 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
1138 | { "_wxListBox","_class_wxListBox",0}, | |
1139 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
9b3d3bc4 | 1140 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
1d99702e RD |
1141 | { "_WXTYPE","_short",0}, |
1142 | { "_WXTYPE","_signed_short",0}, | |
1143 | { "_WXTYPE","_unsigned_short",0}, | |
65dd82cb | 1144 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
1145 | { "_class_wxBrush","_wxBrush",0}, |
1146 | { "_unsigned_short","_WXTYPE",0}, | |
1147 | { "_unsigned_short","_short",0}, | |
1148 | { "_class_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1149 | { "_class_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1150 | { "_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1151 | { "_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
1152 | { "_class_wxWindow","_wxWindow",0}, | |
1153 | { "_class_wxStaticText","_wxStaticText",0}, | |
1154 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 1155 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 1156 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 1157 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 1158 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 1159 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 1160 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 1161 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
1162 | { "_wxClientDC","_class_wxClientDC",0}, |
1163 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
1164 | { "_class_wxPoint","_wxPoint",0}, | |
1165 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
1166 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1167 | { "_signed_short","_WXTYPE",0}, | |
1168 | { "_signed_short","_short",0}, | |
1169 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 1170 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
1171 | { "_wxPaintDC","_class_wxPaintDC",0}, |
1172 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1173 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
1174 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
1175 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
1d99702e RD |
1176 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
1177 | { "_class_wxCursor","_wxCursor",0}, | |
65dd82cb | 1178 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
1179 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
1180 | { "_unsigned_char","_byte",0}, | |
1181 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
1182 | { "_class_wxMenu","_wxMenu",0}, | |
1183 | { "_wxControl","_class_wxControl",0}, | |
1184 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 1185 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
1186 | { "_unsigned_int","_wxPrintQuality",0}, |
1187 | { "_unsigned_int","_size_t",0}, | |
1188 | { "_unsigned_int","_uint",0}, | |
1189 | { "_unsigned_int","_wxWindowID",0}, | |
1190 | { "_unsigned_int","_int",0}, | |
1191 | { "_wxIcon","_class_wxIcon",0}, | |
1192 | { "_wxDialog","_class_wxDialog",0}, | |
1193 | { "_class_wxPen","_wxPen",0}, | |
1194 | { "_short","_WXTYPE",0}, | |
1195 | { "_short","_unsigned_short",0}, | |
1196 | { "_short","_signed_short",0}, | |
1197 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
1198 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
1199 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
1200 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
1201 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
1202 | { "_class_wxChoice","_wxChoice",0}, | |
1203 | { "_class_wxSlider","_wxSlider",0}, | |
1204 | { "_class_wxImageList","_wxImageList",0}, | |
1205 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
1206 | { "_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1207 | { "_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1208 | { "_wxFrame","_class_wxFrame",0}, | |
48115f4a | 1209 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 1210 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
1211 | { "_wxWindowID","_wxPrintQuality",0}, |
1212 | { "_wxWindowID","_size_t",0}, | |
1213 | { "_wxWindowID","_EBool",0}, | |
1214 | { "_wxWindowID","_uint",0}, | |
1215 | { "_wxWindowID","_int",0}, | |
1216 | { "_wxWindowID","_signed_int",0}, | |
1217 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 1218 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 1219 | { "_int","_wxCoord",0}, |
1d99702e RD |
1220 | { "_int","_wxPrintQuality",0}, |
1221 | { "_int","_size_t",0}, | |
1222 | { "_int","_EBool",0}, | |
1223 | { "_int","_uint",0}, | |
1224 | { "_int","_wxWindowID",0}, | |
1225 | { "_int","_unsigned_int",0}, | |
1226 | { "_int","_signed_int",0}, | |
1227 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 1228 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 1229 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
1230 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
1231 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
1232 | { "_wxButton","_class_wxButton",0}, |
1233 | { "_wxSize","_class_wxSize",0}, | |
1234 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
1235 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 1236 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
1237 | { "_class_wxPaintDC","_wxPaintDC",0}, |
1238 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
65dd82cb | 1239 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
1240 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
1241 | { "_class_wxComboBox","_wxComboBox",0}, | |
1242 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 1243 | { "_wxValidator","_class_wxValidator",0}, |
9b3d3bc4 | 1244 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
1d99702e RD |
1245 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
1246 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
1247 | { "_class_wxControl","_wxControl",0}, | |
1248 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
1249 | { "_class_wxIcon","_wxIcon",0}, | |
1250 | { "_class_wxColour","_wxColour",0}, | |
1251 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
1252 | { "_wxPalette","_class_wxPalette",0}, | |
1253 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
1254 | { "_wxCoord","_int",0}, |
1255 | { "_wxCoord","_signed_int",0}, | |
1256 | { "_wxCoord","_unsigned_int",0}, | |
1257 | { "_wxCoord","_wxWindowID",0}, | |
1258 | { "_wxCoord","_uint",0}, | |
1259 | { "_wxCoord","_EBool",0}, | |
1260 | { "_wxCoord","_size_t",0}, | |
1261 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 1262 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 1263 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
1264 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
1265 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
1266 | { "_wxRegion","_class_wxRegion",0}, | |
1267 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
65dd82cb | 1268 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
1269 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
1270 | { "_wxGauge","_class_wxGauge",0}, | |
1271 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 1272 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
1273 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
1274 | { "_class_wxClientDC","_wxClientDC",0}, | |
1275 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
b1462dfa | 1276 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
1277 | { "_class_wxSize","_wxSize",0}, |
1278 | { "_class_wxBitmap","_wxBitmap",0}, | |
1279 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
65dd82cb | 1280 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
1281 | { "_wxMenuBar","_class_wxMenuBar",0}, |
1282 | { "_wxEvtHandler","_class_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1283 | { "_wxEvtHandler","_wxMiniFrame",SwigwxMiniFrameTowxEvtHandler}, | |
1284 | { "_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1285 | { "_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler}, | |
1286 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
1287 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
1288 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1289 | { "_wxDash","_unsigned_long",0}, | |
1290 | { "_wxDash","_long",0}, | |
1291 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
1292 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
1293 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
1294 | { "_class_wxPalette","_wxPalette",0}, | |
65dd82cb | 1295 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 1296 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 1297 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
9b3d3bc4 | 1298 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, |
1d99702e RD |
1299 | { "_wxWindow","_class_wxMiniFrame",SwigwxMiniFrameTowxWindow}, |
1300 | { "_wxWindow","_wxMiniFrame",SwigwxMiniFrameTowxWindow}, | |
1301 | { "_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow}, | |
1302 | { "_wxWindow","_wxFrame",SwigwxFrameTowxWindow}, | |
1303 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 1304 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
1305 | { "_class_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame}, |
1306 | { "_class_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame}, | |
1307 | { "_class_wxFrame","_wxFrame",0}, | |
1308 | {0,0,0}}; | |
1309 | ||
9c039d08 RD |
1310 | static PyObject *SWIG_globals; |
1311 | #ifdef __cplusplus | |
1312 | extern "C" | |
1313 | #endif | |
1d99702e | 1314 | SWIGEXPORT(void) initframesc() { |
9c039d08 RD |
1315 | PyObject *m, *d; |
1316 | SWIG_globals = SWIG_newvarlink(); | |
1317 | m = Py_InitModule("framesc", framescMethods); | |
1318 | d = PyModule_GetDict(m); | |
1d99702e RD |
1319 | { |
1320 | int i; | |
1321 | for (i = 0; _swig_mapping[i].n1; i++) | |
1322 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1323 | } | |
9c039d08 | 1324 | } |