]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
9c039d08 | 2 | * FILE : msw/windows2.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
8ab979d7 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
8ab979d7 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
8ab979d7 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 *); |
8ab979d7 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
8ab979d7 RD |
52 | #define SWIG_init initwindows2c |
53 | ||
54 | #define SWIG_name "windows2c" | |
55 | ||
56 | #include "helpers.h" | |
f6bcfd97 | 57 | #ifdef OLD_GRID |
8ab979d7 | 58 | #include <wx/grid.h> |
f6bcfd97 | 59 | #endif |
8ab979d7 | 60 | #include <wx/notebook.h> |
9c039d08 | 61 | #include <wx/splitter.h> |
b639c3c5 RD |
62 | #ifdef __WXMSW__ |
63 | #include <wx/msw/taskbar.h> | |
64 | #endif | |
8ab979d7 RD |
65 | |
66 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
67 | PyObject* o2; | |
1d99702e RD |
68 | PyObject* o3; |
69 | if (!target) { | |
8ab979d7 | 70 | target = o; |
1d99702e | 71 | } else if (target == Py_None) { |
8ab979d7 RD |
72 | Py_DECREF(Py_None); |
73 | target = o; | |
1d99702e | 74 | } else { |
8ab979d7 RD |
75 | if (!PyList_Check(target)) { |
76 | o2 = target; | |
77 | target = PyList_New(0); | |
78 | PyList_Append(target, o2); | |
79 | Py_XDECREF(o2); | |
80 | } | |
81 | PyList_Append(target,o); | |
82 | Py_XDECREF(o); | |
83 | } | |
84 | return target; | |
85 | } | |
86 | ||
87 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
88 | PyObject* o2; | |
89 | PyObject* o3; | |
90 | ||
1d99702e | 91 | if (!target) { |
8ab979d7 | 92 | target = o; |
1d99702e | 93 | } else if (target == Py_None) { |
8ab979d7 RD |
94 | Py_DECREF(Py_None); |
95 | target = o; | |
1d99702e | 96 | } else { |
8ab979d7 RD |
97 | if (!PyTuple_Check(target)) { |
98 | o2 = target; | |
99 | target = PyTuple_New(1); | |
100 | PyTuple_SetItem(target, 0, o2); | |
101 | } | |
1d99702e RD |
102 | o3 = PyTuple_New(1); |
103 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
104 | |
105 | o2 = target; | |
1d99702e RD |
106 | target = PySequence_Concat(o2, o3); |
107 | Py_DECREF(o2); | |
8ab979d7 RD |
108 | Py_DECREF(o3); |
109 | } | |
110 | return target; | |
111 | } | |
112 | ||
8ab979d7 | 113 | static char* wxStringErrorMsg = "string type is required for parameter"; |
1d99702e RD |
114 | #ifdef __cplusplus |
115 | extern "C" { | |
116 | #endif | |
bb0054cd RD |
117 | static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) { |
118 | wxNotebookEvent *src; | |
119 | wxNotifyEvent *dest; | |
120 | src = (wxNotebookEvent *) ptr; | |
121 | dest = (wxNotifyEvent *) src; | |
122 | return (void *) dest; | |
123 | } | |
124 | ||
8ab979d7 RD |
125 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { |
126 | wxNotebookEvent *src; | |
127 | wxCommandEvent *dest; | |
128 | src = (wxNotebookEvent *) ptr; | |
129 | dest = (wxCommandEvent *) src; | |
130 | return (void *) dest; | |
131 | } | |
132 | ||
133 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
134 | wxNotebookEvent *src; | |
135 | wxEvent *dest; | |
136 | src = (wxNotebookEvent *) ptr; | |
137 | dest = (wxEvent *) src; | |
138 | return (void *) dest; | |
139 | } | |
140 | ||
141 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 142 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
143 | PyObject * _resultobj; |
144 | int _result; | |
145 | wxNotebookEvent * _arg0; | |
1d99702e | 146 | PyObject * _argo0 = 0; |
efc5f224 | 147 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
148 | |
149 | self = self; | |
efc5f224 | 150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 151 | return NULL; |
1d99702e RD |
152 | if (_argo0) { |
153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
8ab979d7 RD |
155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); |
156 | return NULL; | |
157 | } | |
158 | } | |
cf694132 RD |
159 | { |
160 | wxPy_BEGIN_ALLOW_THREADS; | |
161 | _result = (int )wxNotebookEvent_GetSelection(_arg0); | |
162 | ||
163 | wxPy_END_ALLOW_THREADS; | |
164 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
165 | return _resultobj; |
166 | } | |
167 | ||
168 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
efc5f224 | 169 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
170 | PyObject * _resultobj; |
171 | int _result; | |
172 | wxNotebookEvent * _arg0; | |
1d99702e | 173 | PyObject * _argo0 = 0; |
efc5f224 | 174 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
175 | |
176 | self = self; | |
efc5f224 | 177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0)) |
8ab979d7 | 178 | return NULL; |
1d99702e RD |
179 | if (_argo0) { |
180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
8ab979d7 RD |
182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); |
183 | return NULL; | |
184 | } | |
185 | } | |
cf694132 RD |
186 | { |
187 | wxPy_BEGIN_ALLOW_THREADS; | |
188 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); | |
189 | ||
190 | wxPy_END_ALLOW_THREADS; | |
191 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
192 | return _resultobj; |
193 | } | |
194 | ||
bb0054cd | 195 | #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0)) |
efc5f224 | 196 | static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
197 | PyObject * _resultobj; |
198 | wxNotebookEvent * _arg0; | |
199 | int _arg1; | |
1d99702e | 200 | PyObject * _argo0 = 0; |
efc5f224 | 201 | char *_kwnames[] = { "self","page", NULL }; |
bb0054cd RD |
202 | |
203 | self = self; | |
efc5f224 | 204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1)) |
bb0054cd | 205 | return NULL; |
1d99702e RD |
206 | if (_argo0) { |
207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
bb0054cd RD |
209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p."); |
210 | return NULL; | |
211 | } | |
212 | } | |
213 | { | |
214 | wxPy_BEGIN_ALLOW_THREADS; | |
215 | wxNotebookEvent_SetOldSelection(_arg0,_arg1); | |
216 | ||
217 | wxPy_END_ALLOW_THREADS; | |
218 | } Py_INCREF(Py_None); | |
219 | _resultobj = Py_None; | |
220 | return _resultobj; | |
221 | } | |
222 | ||
223 | #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
efc5f224 | 224 | static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
225 | PyObject * _resultobj; |
226 | wxNotebookEvent * _arg0; | |
227 | int _arg1; | |
1d99702e | 228 | PyObject * _argo0 = 0; |
efc5f224 | 229 | char *_kwnames[] = { "self","page", NULL }; |
bb0054cd RD |
230 | |
231 | self = self; | |
efc5f224 | 232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1)) |
bb0054cd | 233 | return NULL; |
1d99702e RD |
234 | if (_argo0) { |
235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
bb0054cd RD |
237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p."); |
238 | return NULL; | |
239 | } | |
240 | } | |
241 | { | |
242 | wxPy_BEGIN_ALLOW_THREADS; | |
243 | wxNotebookEvent_SetSelection(_arg0,_arg1); | |
244 | ||
245 | wxPy_END_ALLOW_THREADS; | |
246 | } Py_INCREF(Py_None); | |
247 | _resultobj = Py_None; | |
248 | return _resultobj; | |
249 | } | |
250 | ||
8ab979d7 RD |
251 | static void *SwigwxNotebookTowxControl(void *ptr) { |
252 | wxNotebook *src; | |
253 | wxControl *dest; | |
254 | src = (wxNotebook *) ptr; | |
255 | dest = (wxControl *) src; | |
256 | return (void *) dest; | |
257 | } | |
258 | ||
259 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
260 | wxNotebook *src; | |
261 | wxWindow *dest; | |
262 | src = (wxNotebook *) ptr; | |
263 | dest = (wxWindow *) src; | |
264 | return (void *) dest; | |
265 | } | |
266 | ||
267 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
268 | wxNotebook *src; | |
269 | wxEvtHandler *dest; | |
270 | src = (wxNotebook *) ptr; | |
271 | dest = (wxEvtHandler *) src; | |
272 | return (void *) dest; | |
273 | } | |
274 | ||
275 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
efc5f224 | 276 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
277 | PyObject * _resultobj; |
278 | wxNotebook * _result; | |
279 | wxWindow * _arg0; | |
280 | wxWindowID _arg1; | |
1d99702e RD |
281 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
282 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
283 | long _arg4 = (long ) 0; | |
284 | char * _arg5 = (char *) "notebook"; | |
285 | PyObject * _argo0 = 0; | |
2f90df85 RD |
286 | wxPoint temp; |
287 | PyObject * _obj2 = 0; | |
288 | wxSize temp0; | |
289 | PyObject * _obj3 = 0; | |
efc5f224 | 290 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
8ab979d7 RD |
291 | char _ptemp[128]; |
292 | ||
293 | self = self; | |
2f90df85 | 294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
8ab979d7 | 295 | return NULL; |
1d99702e RD |
296 | if (_argo0) { |
297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); |
300 | return NULL; | |
301 | } | |
302 | } | |
2f90df85 RD |
303 | if (_obj2) |
304 | { | |
305 | _arg2 = &temp; | |
306 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 307 | return NULL; |
2f90df85 RD |
308 | } |
309 | if (_obj3) | |
310 | { | |
311 | _arg3 = &temp0; | |
312 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 313 | return NULL; |
2f90df85 | 314 | } |
cf694132 RD |
315 | { |
316 | wxPy_BEGIN_ALLOW_THREADS; | |
317 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
318 | ||
319 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
320 | } if (_result) { |
321 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
322 | _resultobj = Py_BuildValue("s",_ptemp); | |
323 | } else { | |
324 | Py_INCREF(Py_None); | |
325 | _resultobj = Py_None; | |
326 | } | |
8ab979d7 RD |
327 | return _resultobj; |
328 | } | |
329 | ||
330 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
efc5f224 | 331 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
332 | PyObject * _resultobj; |
333 | int _result; | |
334 | wxNotebook * _arg0; | |
1d99702e | 335 | PyObject * _argo0 = 0; |
efc5f224 | 336 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
337 | |
338 | self = self; | |
efc5f224 | 339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0)) |
8ab979d7 | 340 | return NULL; |
1d99702e RD |
341 | if (_argo0) { |
342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); |
345 | return NULL; | |
346 | } | |
347 | } | |
cf694132 RD |
348 | { |
349 | wxPy_BEGIN_ALLOW_THREADS; | |
350 | _result = (int )wxNotebook_GetPageCount(_arg0); | |
351 | ||
352 | wxPy_END_ALLOW_THREADS; | |
353 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
354 | return _resultobj; |
355 | } | |
356 | ||
357 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
efc5f224 | 358 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
359 | PyObject * _resultobj; |
360 | int _result; | |
361 | wxNotebook * _arg0; | |
362 | int _arg1; | |
1d99702e | 363 | PyObject * _argo0 = 0; |
efc5f224 | 364 | char *_kwnames[] = { "self","nPage", NULL }; |
8ab979d7 RD |
365 | |
366 | self = self; | |
efc5f224 | 367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 368 | return NULL; |
1d99702e RD |
369 | if (_argo0) { |
370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); |
373 | return NULL; | |
374 | } | |
375 | } | |
cf694132 RD |
376 | { |
377 | wxPy_BEGIN_ALLOW_THREADS; | |
378 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); | |
379 | ||
380 | wxPy_END_ALLOW_THREADS; | |
381 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
382 | return _resultobj; |
383 | } | |
384 | ||
385 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
efc5f224 | 386 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
387 | PyObject * _resultobj; |
388 | wxNotebook * _arg0; | |
1d99702e RD |
389 | bool _arg1 = (bool ) TRUE; |
390 | PyObject * _argo0 = 0; | |
391 | int tempbool1 = (int) TRUE; | |
efc5f224 | 392 | char *_kwnames[] = { "self","bForward", NULL }; |
8ab979d7 RD |
393 | |
394 | self = self; | |
efc5f224 | 395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 396 | return NULL; |
1d99702e RD |
397 | if (_argo0) { |
398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); |
401 | return NULL; | |
402 | } | |
403 | } | |
404 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
405 | { |
406 | wxPy_BEGIN_ALLOW_THREADS; | |
407 | wxNotebook_AdvanceSelection(_arg0,_arg1); | |
408 | ||
409 | wxPy_END_ALLOW_THREADS; | |
410 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
411 | _resultobj = Py_None; |
412 | return _resultobj; | |
413 | } | |
414 | ||
415 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 416 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
417 | PyObject * _resultobj; |
418 | int _result; | |
419 | wxNotebook * _arg0; | |
1d99702e | 420 | PyObject * _argo0 = 0; |
efc5f224 | 421 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
422 | |
423 | self = self; | |
efc5f224 | 424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 425 | return NULL; |
1d99702e RD |
426 | if (_argo0) { |
427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); |
430 | return NULL; | |
431 | } | |
432 | } | |
cf694132 RD |
433 | { |
434 | wxPy_BEGIN_ALLOW_THREADS; | |
435 | _result = (int )wxNotebook_GetSelection(_arg0); | |
436 | ||
437 | wxPy_END_ALLOW_THREADS; | |
438 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
439 | return _resultobj; |
440 | } | |
441 | ||
442 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
efc5f224 | 443 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
444 | PyObject * _resultobj; |
445 | bool _result; | |
446 | wxNotebook * _arg0; | |
447 | int _arg1; | |
448 | wxString * _arg2; | |
1d99702e | 449 | PyObject * _argo0 = 0; |
8ab979d7 | 450 | PyObject * _obj2 = 0; |
efc5f224 | 451 | char *_kwnames[] = { "self","nPage","strText", NULL }; |
8ab979d7 RD |
452 | |
453 | self = self; | |
efc5f224 | 454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 455 | return NULL; |
1d99702e RD |
456 | if (_argo0) { |
457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); |
460 | return NULL; | |
461 | } | |
462 | } | |
463 | { | |
464 | if (!PyString_Check(_obj2)) { | |
465 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
466 | return NULL; | |
467 | } | |
cf694132 | 468 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 469 | } |
cf694132 RD |
470 | { |
471 | wxPy_BEGIN_ALLOW_THREADS; | |
472 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); | |
473 | ||
474 | wxPy_END_ALLOW_THREADS; | |
475 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
476 | { |
477 | if (_obj2) | |
478 | delete _arg2; | |
479 | } | |
480 | return _resultobj; | |
481 | } | |
482 | ||
483 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
efc5f224 | 484 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
485 | PyObject * _resultobj; |
486 | wxString * _result; | |
487 | wxNotebook * _arg0; | |
488 | int _arg1; | |
1d99702e | 489 | PyObject * _argo0 = 0; |
efc5f224 | 490 | char *_kwnames[] = { "self","nPage", NULL }; |
8ab979d7 RD |
491 | |
492 | self = self; | |
efc5f224 | 493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 494 | return NULL; |
1d99702e RD |
495 | if (_argo0) { |
496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); |
499 | return NULL; | |
500 | } | |
501 | } | |
8ab979d7 | 502 | { |
cf694132 RD |
503 | wxPy_BEGIN_ALLOW_THREADS; |
504 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); | |
505 | ||
506 | wxPy_END_ALLOW_THREADS; | |
507 | }{ | |
eec92d76 | 508 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8ab979d7 RD |
509 | } |
510 | { | |
511 | delete _result; | |
512 | } | |
513 | return _resultobj; | |
514 | } | |
515 | ||
516 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
efc5f224 | 517 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
518 | PyObject * _resultobj; |
519 | wxNotebook * _arg0; | |
520 | wxImageList * _arg1; | |
1d99702e RD |
521 | PyObject * _argo0 = 0; |
522 | PyObject * _argo1 = 0; | |
efc5f224 | 523 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
524 | |
525 | self = self; | |
efc5f224 | 526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 527 | return NULL; |
1d99702e RD |
528 | if (_argo0) { |
529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); |
532 | return NULL; | |
533 | } | |
534 | } | |
1d99702e RD |
535 | if (_argo1) { |
536 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
537 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
8ab979d7 RD |
538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); |
539 | return NULL; | |
540 | } | |
541 | } | |
cf694132 RD |
542 | { |
543 | wxPy_BEGIN_ALLOW_THREADS; | |
544 | wxNotebook_SetImageList(_arg0,_arg1); | |
545 | ||
546 | wxPy_END_ALLOW_THREADS; | |
547 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
548 | _resultobj = Py_None; |
549 | return _resultobj; | |
550 | } | |
551 | ||
552 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
efc5f224 | 553 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
554 | PyObject * _resultobj; |
555 | wxImageList * _result; | |
556 | wxNotebook * _arg0; | |
1d99702e | 557 | PyObject * _argo0 = 0; |
efc5f224 | 558 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
559 | char _ptemp[128]; |
560 | ||
561 | self = self; | |
efc5f224 | 562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0)) |
8ab979d7 | 563 | return NULL; |
1d99702e RD |
564 | if (_argo0) { |
565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); |
568 | return NULL; | |
569 | } | |
570 | } | |
cf694132 RD |
571 | { |
572 | wxPy_BEGIN_ALLOW_THREADS; | |
573 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); | |
574 | ||
575 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
576 | } if (_result) { |
577 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
578 | _resultobj = Py_BuildValue("s",_ptemp); | |
579 | } else { | |
580 | Py_INCREF(Py_None); | |
581 | _resultobj = Py_None; | |
582 | } | |
8ab979d7 RD |
583 | return _resultobj; |
584 | } | |
585 | ||
586 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
efc5f224 | 587 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
588 | PyObject * _resultobj; |
589 | int _result; | |
590 | wxNotebook * _arg0; | |
591 | int _arg1; | |
1d99702e | 592 | PyObject * _argo0 = 0; |
efc5f224 | 593 | char *_kwnames[] = { "self","nPage", NULL }; |
8ab979d7 RD |
594 | |
595 | self = self; | |
efc5f224 | 596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 597 | return NULL; |
1d99702e RD |
598 | if (_argo0) { |
599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); |
602 | return NULL; | |
603 | } | |
604 | } | |
cf694132 RD |
605 | { |
606 | wxPy_BEGIN_ALLOW_THREADS; | |
607 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); | |
608 | ||
609 | wxPy_END_ALLOW_THREADS; | |
610 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
611 | return _resultobj; |
612 | } | |
613 | ||
614 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
efc5f224 | 615 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
616 | PyObject * _resultobj; |
617 | bool _result; | |
618 | wxNotebook * _arg0; | |
619 | int _arg1; | |
620 | int _arg2; | |
1d99702e | 621 | PyObject * _argo0 = 0; |
efc5f224 | 622 | char *_kwnames[] = { "self","nPage","nImage", NULL }; |
8ab979d7 RD |
623 | |
624 | self = self; | |
efc5f224 | 625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 626 | return NULL; |
1d99702e RD |
627 | if (_argo0) { |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); |
631 | return NULL; | |
632 | } | |
633 | } | |
cf694132 RD |
634 | { |
635 | wxPy_BEGIN_ALLOW_THREADS; | |
636 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); | |
637 | ||
638 | wxPy_END_ALLOW_THREADS; | |
639 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
640 | return _resultobj; |
641 | } | |
642 | ||
643 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
efc5f224 | 644 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
645 | PyObject * _resultobj; |
646 | int _result; | |
647 | wxNotebook * _arg0; | |
1d99702e | 648 | PyObject * _argo0 = 0; |
efc5f224 | 649 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
650 | |
651 | self = self; | |
efc5f224 | 652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0)) |
8ab979d7 | 653 | return NULL; |
1d99702e RD |
654 | if (_argo0) { |
655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); |
658 | return NULL; | |
659 | } | |
660 | } | |
cf694132 RD |
661 | { |
662 | wxPy_BEGIN_ALLOW_THREADS; | |
663 | _result = (int )wxNotebook_GetRowCount(_arg0); | |
664 | ||
665 | wxPy_END_ALLOW_THREADS; | |
666 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
667 | return _resultobj; |
668 | } | |
669 | ||
670 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) | |
efc5f224 | 671 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
672 | PyObject * _resultobj; |
673 | bool _result; | |
674 | wxNotebook * _arg0; | |
675 | int _arg1; | |
1d99702e | 676 | PyObject * _argo0 = 0; |
efc5f224 | 677 | char *_kwnames[] = { "self","nPage", NULL }; |
8ab979d7 RD |
678 | |
679 | self = self; | |
efc5f224 | 680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 681 | return NULL; |
1d99702e RD |
682 | if (_argo0) { |
683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); |
686 | return NULL; | |
687 | } | |
688 | } | |
cf694132 RD |
689 | { |
690 | wxPy_BEGIN_ALLOW_THREADS; | |
691 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); | |
692 | ||
693 | wxPy_END_ALLOW_THREADS; | |
694 | } _resultobj = Py_BuildValue("i",_result); | |
695 | return _resultobj; | |
696 | } | |
697 | ||
698 | #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0)) | |
efc5f224 | 699 | static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
700 | PyObject * _resultobj; |
701 | bool _result; | |
702 | wxNotebook * _arg0; | |
703 | int _arg1; | |
1d99702e | 704 | PyObject * _argo0 = 0; |
efc5f224 | 705 | char *_kwnames[] = { "self","nPage", NULL }; |
cf694132 RD |
706 | |
707 | self = self; | |
efc5f224 | 708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1)) |
cf694132 | 709 | return NULL; |
1d99702e RD |
710 | if (_argo0) { |
711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
cf694132 RD |
713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p."); |
714 | return NULL; | |
715 | } | |
716 | } | |
717 | { | |
718 | wxPy_BEGIN_ALLOW_THREADS; | |
719 | _result = (bool )wxNotebook_RemovePage(_arg0,_arg1); | |
720 | ||
721 | wxPy_END_ALLOW_THREADS; | |
722 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
723 | return _resultobj; |
724 | } | |
725 | ||
726 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
efc5f224 | 727 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
728 | PyObject * _resultobj; |
729 | bool _result; | |
730 | wxNotebook * _arg0; | |
1d99702e | 731 | PyObject * _argo0 = 0; |
efc5f224 | 732 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
733 | |
734 | self = self; | |
efc5f224 | 735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0)) |
8ab979d7 | 736 | return NULL; |
1d99702e RD |
737 | if (_argo0) { |
738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); |
741 | return NULL; | |
742 | } | |
743 | } | |
cf694132 RD |
744 | { |
745 | wxPy_BEGIN_ALLOW_THREADS; | |
746 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); | |
747 | ||
748 | wxPy_END_ALLOW_THREADS; | |
749 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
750 | return _resultobj; |
751 | } | |
752 | ||
753 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
efc5f224 | 754 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
755 | PyObject * _resultobj; |
756 | bool _result; | |
757 | wxNotebook * _arg0; | |
758 | wxWindow * _arg1; | |
759 | wxString * _arg2; | |
1d99702e RD |
760 | int _arg3 = (int ) FALSE; |
761 | int _arg4 = (int ) -1; | |
762 | PyObject * _argo0 = 0; | |
763 | PyObject * _argo1 = 0; | |
8ab979d7 | 764 | PyObject * _obj2 = 0; |
efc5f224 | 765 | char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL }; |
8ab979d7 RD |
766 | |
767 | self = self; | |
efc5f224 | 768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4)) |
8ab979d7 | 769 | return NULL; |
1d99702e RD |
770 | if (_argo0) { |
771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); |
774 | return NULL; | |
775 | } | |
776 | } | |
1d99702e RD |
777 | if (_argo1) { |
778 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
779 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
8ab979d7 RD |
780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); |
781 | return NULL; | |
782 | } | |
783 | } | |
784 | { | |
785 | if (!PyString_Check(_obj2)) { | |
786 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
787 | return NULL; | |
788 | } | |
cf694132 | 789 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 790 | } |
cf694132 RD |
791 | { |
792 | wxPy_BEGIN_ALLOW_THREADS; | |
793 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
794 | ||
795 | wxPy_END_ALLOW_THREADS; | |
796 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
797 | { |
798 | if (_obj2) | |
799 | delete _arg2; | |
800 | } | |
801 | return _resultobj; | |
802 | } | |
803 | ||
804 | #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
efc5f224 | 805 | static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
806 | PyObject * _resultobj; |
807 | bool _result; | |
808 | wxNotebook * _arg0; | |
809 | int _arg1; | |
810 | wxWindow * _arg2; | |
811 | wxString * _arg3; | |
1d99702e RD |
812 | bool _arg4 = (bool ) FALSE; |
813 | int _arg5 = (int ) -1; | |
814 | PyObject * _argo0 = 0; | |
815 | PyObject * _argo2 = 0; | |
8ab979d7 | 816 | PyObject * _obj3 = 0; |
1d99702e | 817 | int tempbool4 = (int) FALSE; |
efc5f224 | 818 | char *_kwnames[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL }; |
8ab979d7 RD |
819 | |
820 | self = self; | |
efc5f224 | 821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5)) |
8ab979d7 | 822 | return NULL; |
1d99702e RD |
823 | if (_argo0) { |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p."); |
827 | return NULL; | |
828 | } | |
829 | } | |
1d99702e RD |
830 | if (_argo2) { |
831 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
832 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
8ab979d7 RD |
833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p."); |
834 | return NULL; | |
835 | } | |
836 | } | |
837 | { | |
838 | if (!PyString_Check(_obj3)) { | |
839 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
840 | return NULL; | |
841 | } | |
cf694132 | 842 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
8ab979d7 RD |
843 | } |
844 | _arg4 = (bool ) tempbool4; | |
cf694132 RD |
845 | { |
846 | wxPy_BEGIN_ALLOW_THREADS; | |
847 | _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); | |
848 | ||
849 | wxPy_END_ALLOW_THREADS; | |
850 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
851 | { |
852 | if (_obj3) | |
853 | delete _arg3; | |
854 | } | |
855 | return _resultobj; | |
856 | } | |
857 | ||
858 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) | |
efc5f224 | 859 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 860 | PyObject * _resultobj; |
bb0054cd | 861 | wxWindow * _result; |
8ab979d7 RD |
862 | wxNotebook * _arg0; |
863 | int _arg1; | |
1d99702e | 864 | PyObject * _argo0 = 0; |
efc5f224 | 865 | char *_kwnames[] = { "self","nPage", NULL }; |
8ab979d7 RD |
866 | char _ptemp[128]; |
867 | ||
868 | self = self; | |
efc5f224 | 869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 870 | return NULL; |
1d99702e RD |
871 | if (_argo0) { |
872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
8ab979d7 RD |
874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); |
875 | return NULL; | |
876 | } | |
877 | } | |
cf694132 RD |
878 | { |
879 | wxPy_BEGIN_ALLOW_THREADS; | |
bb0054cd | 880 | _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1); |
cf694132 RD |
881 | |
882 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
883 | } if (_result) { |
884 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
885 | _resultobj = Py_BuildValue("s",_ptemp); | |
886 | } else { | |
887 | Py_INCREF(Py_None); | |
888 | _resultobj = Py_None; | |
889 | } | |
8ab979d7 RD |
890 | return _resultobj; |
891 | } | |
892 | ||
cf694132 RD |
893 | static void wxNotebook_ResizeChildren(wxNotebook *self) { |
894 | wxSizeEvent evt(self->GetClientSize()); | |
bb0054cd | 895 | self->GetEventHandler()->ProcessEvent(evt); |
cf694132 | 896 | } |
efc5f224 | 897 | static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
898 | PyObject * _resultobj; |
899 | wxNotebook * _arg0; | |
1d99702e | 900 | PyObject * _argo0 = 0; |
efc5f224 | 901 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
902 | |
903 | self = self; | |
efc5f224 | 904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0)) |
cf694132 | 905 | return NULL; |
1d99702e RD |
906 | if (_argo0) { |
907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
cf694132 RD |
909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p."); |
910 | return NULL; | |
911 | } | |
912 | } | |
913 | { | |
914 | wxPy_BEGIN_ALLOW_THREADS; | |
915 | wxNotebook_ResizeChildren(_arg0); | |
916 | ||
917 | wxPy_END_ALLOW_THREADS; | |
918 | } Py_INCREF(Py_None); | |
919 | _resultobj = Py_None; | |
920 | return _resultobj; | |
921 | } | |
922 | ||
bb0054cd RD |
923 | static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) { |
924 | wxSplitterEvent *src; | |
925 | wxCommandEvent *dest; | |
926 | src = (wxSplitterEvent *) ptr; | |
927 | dest = (wxCommandEvent *) src; | |
928 | return (void *) dest; | |
929 | } | |
930 | ||
931 | static void *SwigwxSplitterEventTowxEvent(void *ptr) { | |
932 | wxSplitterEvent *src; | |
933 | wxEvent *dest; | |
934 | src = (wxSplitterEvent *) ptr; | |
935 | dest = (wxEvent *) src; | |
936 | return (void *) dest; | |
937 | } | |
938 | ||
939 | #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
efc5f224 | 940 | static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
941 | PyObject * _resultobj; |
942 | int _result; | |
943 | wxSplitterEvent * _arg0; | |
1d99702e | 944 | PyObject * _argo0 = 0; |
efc5f224 | 945 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
946 | |
947 | self = self; | |
efc5f224 | 948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0)) |
bb0054cd | 949 | return NULL; |
1d99702e RD |
950 | if (_argo0) { |
951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
bb0054cd RD |
953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p."); |
954 | return NULL; | |
955 | } | |
956 | } | |
957 | { | |
958 | wxPy_BEGIN_ALLOW_THREADS; | |
959 | _result = (int )wxSplitterEvent_GetSashPosition(_arg0); | |
960 | ||
961 | wxPy_END_ALLOW_THREADS; | |
962 | } _resultobj = Py_BuildValue("i",_result); | |
963 | return _resultobj; | |
964 | } | |
965 | ||
966 | #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX()) | |
efc5f224 | 967 | static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
968 | PyObject * _resultobj; |
969 | int _result; | |
970 | wxSplitterEvent * _arg0; | |
1d99702e | 971 | PyObject * _argo0 = 0; |
efc5f224 | 972 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
973 | |
974 | self = self; | |
efc5f224 | 975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0)) |
bb0054cd | 976 | return NULL; |
1d99702e RD |
977 | if (_argo0) { |
978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
bb0054cd RD |
980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p."); |
981 | return NULL; | |
982 | } | |
983 | } | |
984 | { | |
985 | wxPy_BEGIN_ALLOW_THREADS; | |
986 | _result = (int )wxSplitterEvent_GetX(_arg0); | |
987 | ||
988 | wxPy_END_ALLOW_THREADS; | |
989 | } _resultobj = Py_BuildValue("i",_result); | |
990 | return _resultobj; | |
991 | } | |
992 | ||
993 | #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY()) | |
efc5f224 | 994 | static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
995 | PyObject * _resultobj; |
996 | int _result; | |
997 | wxSplitterEvent * _arg0; | |
1d99702e | 998 | PyObject * _argo0 = 0; |
efc5f224 | 999 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
1000 | |
1001 | self = self; | |
efc5f224 | 1002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0)) |
bb0054cd | 1003 | return NULL; |
1d99702e RD |
1004 | if (_argo0) { |
1005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
bb0054cd RD |
1007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p."); |
1008 | return NULL; | |
1009 | } | |
1010 | } | |
1011 | { | |
1012 | wxPy_BEGIN_ALLOW_THREADS; | |
1013 | _result = (int )wxSplitterEvent_GetY(_arg0); | |
1014 | ||
1015 | wxPy_END_ALLOW_THREADS; | |
1016 | } _resultobj = Py_BuildValue("i",_result); | |
1017 | return _resultobj; | |
1018 | } | |
1019 | ||
1020 | #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved()) | |
efc5f224 | 1021 | static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
1022 | PyObject * _resultobj; |
1023 | wxWindow * _result; | |
1024 | wxSplitterEvent * _arg0; | |
1d99702e | 1025 | PyObject * _argo0 = 0; |
efc5f224 | 1026 | char *_kwnames[] = { "self", NULL }; |
bb0054cd RD |
1027 | char _ptemp[128]; |
1028 | ||
1029 | self = self; | |
efc5f224 | 1030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0)) |
bb0054cd | 1031 | return NULL; |
1d99702e RD |
1032 | if (_argo0) { |
1033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
bb0054cd RD |
1035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p."); |
1036 | return NULL; | |
1037 | } | |
1038 | } | |
1039 | { | |
1040 | wxPy_BEGIN_ALLOW_THREADS; | |
1041 | _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0); | |
1042 | ||
1043 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1044 | } if (_result) { |
1045 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1046 | _resultobj = Py_BuildValue("s",_ptemp); | |
1047 | } else { | |
1048 | Py_INCREF(Py_None); | |
1049 | _resultobj = Py_None; | |
1050 | } | |
bb0054cd RD |
1051 | return _resultobj; |
1052 | } | |
1053 | ||
1054 | #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0)) | |
efc5f224 | 1055 | static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
1056 | PyObject * _resultobj; |
1057 | wxSplitterEvent * _arg0; | |
1058 | int _arg1; | |
1d99702e | 1059 | PyObject * _argo0 = 0; |
efc5f224 | 1060 | char *_kwnames[] = { "self","pos", NULL }; |
bb0054cd RD |
1061 | |
1062 | self = self; | |
efc5f224 | 1063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1)) |
bb0054cd | 1064 | return NULL; |
1d99702e RD |
1065 | if (_argo0) { |
1066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) { | |
bb0054cd RD |
1068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p."); |
1069 | return NULL; | |
1070 | } | |
1071 | } | |
1072 | { | |
1073 | wxPy_BEGIN_ALLOW_THREADS; | |
1074 | wxSplitterEvent_SetSashPosition(_arg0,_arg1); | |
1075 | ||
1076 | wxPy_END_ALLOW_THREADS; | |
1077 | } Py_INCREF(Py_None); | |
1078 | _resultobj = Py_None; | |
1079 | return _resultobj; | |
1080 | } | |
1081 | ||
9c039d08 RD |
1082 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { |
1083 | wxSplitterWindow *src; | |
1084 | wxWindow *dest; | |
1085 | src = (wxSplitterWindow *) ptr; | |
1086 | dest = (wxWindow *) src; | |
1087 | return (void *) dest; | |
1088 | } | |
1089 | ||
1090 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
1091 | wxSplitterWindow *src; | |
1092 | wxEvtHandler *dest; | |
1093 | src = (wxSplitterWindow *) ptr; | |
1094 | dest = (wxEvtHandler *) src; | |
1095 | return (void *) dest; | |
1096 | } | |
1097 | ||
1098 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
efc5f224 | 1099 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1100 | PyObject * _resultobj; |
1101 | wxSplitterWindow * _result; | |
1102 | wxWindow * _arg0; | |
1103 | wxWindowID _arg1; | |
1d99702e RD |
1104 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
1105 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
1106 | long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN; | |
1107 | char * _arg5 = (char *) "splitterWindow"; | |
1108 | PyObject * _argo0 = 0; | |
2f90df85 RD |
1109 | wxPoint temp; |
1110 | PyObject * _obj2 = 0; | |
1111 | wxSize temp0; | |
1112 | PyObject * _obj3 = 0; | |
efc5f224 | 1113 | char *_kwnames[] = { "parent","id","point","size","style","name", NULL }; |
9c039d08 RD |
1114 | char _ptemp[128]; |
1115 | ||
1116 | self = self; | |
2f90df85 | 1117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
9c039d08 | 1118 | return NULL; |
1d99702e RD |
1119 | if (_argo0) { |
1120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
1122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); |
1123 | return NULL; | |
1124 | } | |
1125 | } | |
2f90df85 RD |
1126 | if (_obj2) |
1127 | { | |
1128 | _arg2 = &temp; | |
1129 | if (! wxPoint_helper(_obj2, &_arg2)) | |
9c039d08 | 1130 | return NULL; |
2f90df85 RD |
1131 | } |
1132 | if (_obj3) | |
1133 | { | |
1134 | _arg3 = &temp0; | |
1135 | if (! wxSize_helper(_obj3, &_arg3)) | |
9c039d08 | 1136 | return NULL; |
2f90df85 | 1137 | } |
cf694132 RD |
1138 | { |
1139 | wxPy_BEGIN_ALLOW_THREADS; | |
1140 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
1141 | ||
1142 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1143 | } if (_result) { |
1144 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
1145 | _resultobj = Py_BuildValue("s",_ptemp); | |
1146 | } else { | |
1147 | Py_INCREF(Py_None); | |
1148 | _resultobj = Py_None; | |
1149 | } | |
9c039d08 RD |
1150 | return _resultobj; |
1151 | } | |
1152 | ||
b639c3c5 | 1153 | #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize()) |
efc5f224 | 1154 | static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1155 | PyObject * _resultobj; |
1156 | int _result; | |
1157 | wxSplitterWindow * _arg0; | |
1d99702e | 1158 | PyObject * _argo0 = 0; |
efc5f224 | 1159 | char *_kwnames[] = { "self", NULL }; |
b639c3c5 RD |
1160 | |
1161 | self = self; | |
efc5f224 | 1162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0)) |
b639c3c5 | 1163 | return NULL; |
1d99702e RD |
1164 | if (_argo0) { |
1165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b639c3c5 RD |
1167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p."); |
1168 | return NULL; | |
1169 | } | |
1170 | } | |
cf694132 RD |
1171 | { |
1172 | wxPy_BEGIN_ALLOW_THREADS; | |
1173 | _result = (int )wxSplitterWindow_GetBorderSize(_arg0); | |
1174 | ||
1175 | wxPy_END_ALLOW_THREADS; | |
1176 | } _resultobj = Py_BuildValue("i",_result); | |
b639c3c5 RD |
1177 | return _resultobj; |
1178 | } | |
1179 | ||
9c039d08 | 1180 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) |
efc5f224 | 1181 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1182 | PyObject * _resultobj; |
1183 | int _result; | |
1184 | wxSplitterWindow * _arg0; | |
1d99702e | 1185 | PyObject * _argo0 = 0; |
efc5f224 | 1186 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1187 | |
1188 | self = self; | |
efc5f224 | 1189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0)) |
9c039d08 | 1190 | return NULL; |
1d99702e RD |
1191 | if (_argo0) { |
1192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); |
1195 | return NULL; | |
1196 | } | |
1197 | } | |
cf694132 RD |
1198 | { |
1199 | wxPy_BEGIN_ALLOW_THREADS; | |
1200 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); | |
1201 | ||
1202 | wxPy_END_ALLOW_THREADS; | |
1203 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1204 | return _resultobj; |
1205 | } | |
1206 | ||
1207 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
efc5f224 | 1208 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1209 | PyObject * _resultobj; |
1210 | int _result; | |
1211 | wxSplitterWindow * _arg0; | |
1d99702e | 1212 | PyObject * _argo0 = 0; |
efc5f224 | 1213 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1214 | |
1215 | self = self; | |
efc5f224 | 1216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0)) |
9c039d08 | 1217 | return NULL; |
1d99702e RD |
1218 | if (_argo0) { |
1219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); |
1222 | return NULL; | |
1223 | } | |
1224 | } | |
cf694132 RD |
1225 | { |
1226 | wxPy_BEGIN_ALLOW_THREADS; | |
1227 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); | |
1228 | ||
1229 | wxPy_END_ALLOW_THREADS; | |
1230 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1231 | return _resultobj; |
1232 | } | |
1233 | ||
b639c3c5 | 1234 | #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize()) |
efc5f224 | 1235 | static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1236 | PyObject * _resultobj; |
1237 | int _result; | |
1238 | wxSplitterWindow * _arg0; | |
1d99702e | 1239 | PyObject * _argo0 = 0; |
efc5f224 | 1240 | char *_kwnames[] = { "self", NULL }; |
b639c3c5 RD |
1241 | |
1242 | self = self; | |
efc5f224 | 1243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0)) |
b639c3c5 | 1244 | return NULL; |
1d99702e RD |
1245 | if (_argo0) { |
1246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b639c3c5 RD |
1248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p."); |
1249 | return NULL; | |
1250 | } | |
1251 | } | |
cf694132 RD |
1252 | { |
1253 | wxPy_BEGIN_ALLOW_THREADS; | |
1254 | _result = (int )wxSplitterWindow_GetSashSize(_arg0); | |
1255 | ||
1256 | wxPy_END_ALLOW_THREADS; | |
1257 | } _resultobj = Py_BuildValue("i",_result); | |
b639c3c5 RD |
1258 | return _resultobj; |
1259 | } | |
1260 | ||
9c039d08 | 1261 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) |
efc5f224 | 1262 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1263 | PyObject * _resultobj; |
1264 | int _result; | |
1265 | wxSplitterWindow * _arg0; | |
1d99702e | 1266 | PyObject * _argo0 = 0; |
efc5f224 | 1267 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1268 | |
1269 | self = self; | |
efc5f224 | 1270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0)) |
9c039d08 | 1271 | return NULL; |
1d99702e RD |
1272 | if (_argo0) { |
1273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); |
1276 | return NULL; | |
1277 | } | |
1278 | } | |
cf694132 RD |
1279 | { |
1280 | wxPy_BEGIN_ALLOW_THREADS; | |
1281 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); | |
1282 | ||
1283 | wxPy_END_ALLOW_THREADS; | |
1284 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1285 | return _resultobj; |
1286 | } | |
1287 | ||
1288 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
efc5f224 | 1289 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1290 | PyObject * _resultobj; |
1291 | wxWindow * _result; | |
1292 | wxSplitterWindow * _arg0; | |
1d99702e | 1293 | PyObject * _argo0 = 0; |
efc5f224 | 1294 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1295 | char _ptemp[128]; |
1296 | ||
1297 | self = self; | |
efc5f224 | 1298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0)) |
9c039d08 | 1299 | return NULL; |
1d99702e RD |
1300 | if (_argo0) { |
1301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); |
1304 | return NULL; | |
1305 | } | |
1306 | } | |
cf694132 RD |
1307 | { |
1308 | wxPy_BEGIN_ALLOW_THREADS; | |
1309 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); | |
1310 | ||
1311 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1312 | } if (_result) { |
1313 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1314 | _resultobj = Py_BuildValue("s",_ptemp); | |
1315 | } else { | |
1316 | Py_INCREF(Py_None); | |
1317 | _resultobj = Py_None; | |
1318 | } | |
9c039d08 RD |
1319 | return _resultobj; |
1320 | } | |
1321 | ||
1322 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
efc5f224 | 1323 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1324 | PyObject * _resultobj; |
1325 | wxWindow * _result; | |
1326 | wxSplitterWindow * _arg0; | |
1d99702e | 1327 | PyObject * _argo0 = 0; |
efc5f224 | 1328 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1329 | char _ptemp[128]; |
1330 | ||
1331 | self = self; | |
efc5f224 | 1332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0)) |
9c039d08 | 1333 | return NULL; |
1d99702e RD |
1334 | if (_argo0) { |
1335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
cf694132 RD |
1341 | { |
1342 | wxPy_BEGIN_ALLOW_THREADS; | |
1343 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); | |
1344 | ||
1345 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1346 | } if (_result) { |
1347 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1348 | _resultobj = Py_BuildValue("s",_ptemp); | |
1349 | } else { | |
1350 | Py_INCREF(Py_None); | |
1351 | _resultobj = Py_None; | |
1352 | } | |
9c039d08 RD |
1353 | return _resultobj; |
1354 | } | |
1355 | ||
1356 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
efc5f224 | 1357 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1358 | PyObject * _resultobj; |
1359 | wxSplitterWindow * _arg0; | |
1360 | wxWindow * _arg1; | |
1d99702e RD |
1361 | PyObject * _argo0 = 0; |
1362 | PyObject * _argo1 = 0; | |
efc5f224 | 1363 | char *_kwnames[] = { "self","window", NULL }; |
9c039d08 RD |
1364 | |
1365 | self = self; | |
efc5f224 | 1366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 1367 | return NULL; |
1d99702e RD |
1368 | if (_argo0) { |
1369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); |
1372 | return NULL; | |
1373 | } | |
1374 | } | |
1d99702e RD |
1375 | if (_argo1) { |
1376 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1377 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
9c039d08 RD |
1378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); |
1379 | return NULL; | |
1380 | } | |
1381 | } | |
cf694132 RD |
1382 | { |
1383 | wxPy_BEGIN_ALLOW_THREADS; | |
1384 | wxSplitterWindow_Initialize(_arg0,_arg1); | |
1385 | ||
1386 | wxPy_END_ALLOW_THREADS; | |
1387 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1388 | _resultobj = Py_None; |
1389 | return _resultobj; | |
1390 | } | |
1391 | ||
1392 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
efc5f224 | 1393 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1394 | PyObject * _resultobj; |
1395 | bool _result; | |
1396 | wxSplitterWindow * _arg0; | |
1d99702e | 1397 | PyObject * _argo0 = 0; |
efc5f224 | 1398 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1399 | |
1400 | self = self; | |
efc5f224 | 1401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0)) |
9c039d08 | 1402 | return NULL; |
1d99702e RD |
1403 | if (_argo0) { |
1404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); |
1407 | return NULL; | |
1408 | } | |
1409 | } | |
cf694132 RD |
1410 | { |
1411 | wxPy_BEGIN_ALLOW_THREADS; | |
1412 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); | |
1413 | ||
1414 | wxPy_END_ALLOW_THREADS; | |
1415 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1416 | return _resultobj; |
1417 | } | |
1418 | ||
9d8bd15f RD |
1419 | #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1)) |
1420 | static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1421 | PyObject * _resultobj; | |
1422 | bool _result; | |
1423 | wxSplitterWindow * _arg0; | |
1424 | wxWindow * _arg1; | |
1425 | wxWindow * _arg2; | |
1426 | PyObject * _argo0 = 0; | |
1427 | PyObject * _argo1 = 0; | |
1428 | PyObject * _argo2 = 0; | |
1429 | char *_kwnames[] = { "self","winOld","winNew", NULL }; | |
1430 | ||
1431 | self = self; | |
1432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2)) | |
1433 | return NULL; | |
1434 | if (_argo0) { | |
1435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
1437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p."); | |
1438 | return NULL; | |
1439 | } | |
1440 | } | |
1441 | if (_argo1) { | |
1442 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1443 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
1445 | return NULL; | |
1446 | } | |
1447 | } | |
1448 | if (_argo2) { | |
1449 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1450 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p."); | |
1452 | return NULL; | |
1453 | } | |
1454 | } | |
1455 | { | |
1456 | wxPy_BEGIN_ALLOW_THREADS; | |
1457 | _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2); | |
1458 | ||
1459 | wxPy_END_ALLOW_THREADS; | |
1460 | } _resultobj = Py_BuildValue("i",_result); | |
1461 | return _resultobj; | |
1462 | } | |
1463 | ||
b639c3c5 | 1464 | #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0)) |
efc5f224 | 1465 | static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1466 | PyObject * _resultobj; |
1467 | wxSplitterWindow * _arg0; | |
1468 | int _arg1; | |
1d99702e | 1469 | PyObject * _argo0 = 0; |
efc5f224 | 1470 | char *_kwnames[] = { "self","width", NULL }; |
b639c3c5 RD |
1471 | |
1472 | self = self; | |
efc5f224 | 1473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1)) |
b639c3c5 | 1474 | return NULL; |
1d99702e RD |
1475 | if (_argo0) { |
1476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b639c3c5 RD |
1478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p."); |
1479 | return NULL; | |
1480 | } | |
1481 | } | |
cf694132 RD |
1482 | { |
1483 | wxPy_BEGIN_ALLOW_THREADS; | |
1484 | wxSplitterWindow_SetBorderSize(_arg0,_arg1); | |
1485 | ||
1486 | wxPy_END_ALLOW_THREADS; | |
1487 | } Py_INCREF(Py_None); | |
b639c3c5 RD |
1488 | _resultobj = Py_None; |
1489 | return _resultobj; | |
1490 | } | |
1491 | ||
9c039d08 | 1492 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) |
efc5f224 | 1493 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1494 | PyObject * _resultobj; |
1495 | wxSplitterWindow * _arg0; | |
1496 | int _arg1; | |
1d99702e RD |
1497 | int _arg2 = (int ) TRUE; |
1498 | PyObject * _argo0 = 0; | |
efc5f224 | 1499 | char *_kwnames[] = { "self","position","redraw", NULL }; |
9c039d08 RD |
1500 | |
1501 | self = self; | |
efc5f224 | 1502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 1503 | return NULL; |
1d99702e RD |
1504 | if (_argo0) { |
1505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); |
1508 | return NULL; | |
1509 | } | |
1510 | } | |
cf694132 RD |
1511 | { |
1512 | wxPy_BEGIN_ALLOW_THREADS; | |
1513 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); | |
1514 | ||
1515 | wxPy_END_ALLOW_THREADS; | |
1516 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1517 | _resultobj = Py_None; |
1518 | return _resultobj; | |
1519 | } | |
1520 | ||
b639c3c5 | 1521 | #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0)) |
efc5f224 | 1522 | static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1523 | PyObject * _resultobj; |
1524 | wxSplitterWindow * _arg0; | |
1525 | int _arg1; | |
1d99702e | 1526 | PyObject * _argo0 = 0; |
efc5f224 | 1527 | char *_kwnames[] = { "self","width", NULL }; |
b639c3c5 RD |
1528 | |
1529 | self = self; | |
efc5f224 | 1530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1)) |
b639c3c5 | 1531 | return NULL; |
1d99702e RD |
1532 | if (_argo0) { |
1533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
b639c3c5 RD |
1535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p."); |
1536 | return NULL; | |
1537 | } | |
1538 | } | |
cf694132 RD |
1539 | { |
1540 | wxPy_BEGIN_ALLOW_THREADS; | |
1541 | wxSplitterWindow_SetSashSize(_arg0,_arg1); | |
1542 | ||
1543 | wxPy_END_ALLOW_THREADS; | |
1544 | } Py_INCREF(Py_None); | |
b639c3c5 RD |
1545 | _resultobj = Py_None; |
1546 | return _resultobj; | |
1547 | } | |
1548 | ||
9c039d08 | 1549 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) |
efc5f224 | 1550 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1551 | PyObject * _resultobj; |
1552 | wxSplitterWindow * _arg0; | |
1553 | int _arg1; | |
1d99702e | 1554 | PyObject * _argo0 = 0; |
efc5f224 | 1555 | char *_kwnames[] = { "self","paneSize", NULL }; |
9c039d08 RD |
1556 | |
1557 | self = self; | |
efc5f224 | 1558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 1559 | return NULL; |
1d99702e RD |
1560 | if (_argo0) { |
1561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); |
1564 | return NULL; | |
1565 | } | |
1566 | } | |
cf694132 RD |
1567 | { |
1568 | wxPy_BEGIN_ALLOW_THREADS; | |
1569 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); | |
1570 | ||
1571 | wxPy_END_ALLOW_THREADS; | |
1572 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1573 | _resultobj = Py_None; |
1574 | return _resultobj; | |
1575 | } | |
1576 | ||
1577 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
efc5f224 | 1578 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1579 | PyObject * _resultobj; |
1580 | wxSplitterWindow * _arg0; | |
1581 | int _arg1; | |
1d99702e | 1582 | PyObject * _argo0 = 0; |
efc5f224 | 1583 | char *_kwnames[] = { "self","mode", NULL }; |
9c039d08 RD |
1584 | |
1585 | self = self; | |
efc5f224 | 1586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 1587 | return NULL; |
1d99702e RD |
1588 | if (_argo0) { |
1589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); |
1592 | return NULL; | |
1593 | } | |
1594 | } | |
cf694132 RD |
1595 | { |
1596 | wxPy_BEGIN_ALLOW_THREADS; | |
1597 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); | |
1598 | ||
1599 | wxPy_END_ALLOW_THREADS; | |
1600 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1601 | _resultobj = Py_None; |
1602 | return _resultobj; | |
1603 | } | |
1604 | ||
1605 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 1606 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1607 | PyObject * _resultobj; |
1608 | bool _result; | |
1609 | wxSplitterWindow * _arg0; | |
1610 | wxWindow * _arg1; | |
1611 | wxWindow * _arg2; | |
1d99702e RD |
1612 | int _arg3 = (int ) 0; |
1613 | PyObject * _argo0 = 0; | |
1614 | PyObject * _argo1 = 0; | |
1615 | PyObject * _argo2 = 0; | |
efc5f224 | 1616 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; |
9c039d08 RD |
1617 | |
1618 | self = self; | |
efc5f224 | 1619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
9c039d08 | 1620 | return NULL; |
1d99702e RD |
1621 | if (_argo0) { |
1622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); |
1625 | return NULL; | |
1626 | } | |
1627 | } | |
1d99702e RD |
1628 | if (_argo1) { |
1629 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1630 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
9c039d08 RD |
1631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); |
1632 | return NULL; | |
1633 | } | |
1634 | } | |
1d99702e RD |
1635 | if (_argo2) { |
1636 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1637 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
9c039d08 RD |
1638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); |
1639 | return NULL; | |
1640 | } | |
1641 | } | |
cf694132 RD |
1642 | { |
1643 | wxPy_BEGIN_ALLOW_THREADS; | |
1644 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); | |
1645 | ||
1646 | wxPy_END_ALLOW_THREADS; | |
1647 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1648 | return _resultobj; |
1649 | } | |
1650 | ||
1651 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 1652 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1653 | PyObject * _resultobj; |
1654 | bool _result; | |
1655 | wxSplitterWindow * _arg0; | |
1656 | wxWindow * _arg1; | |
1657 | wxWindow * _arg2; | |
1d99702e RD |
1658 | int _arg3 = (int ) 0; |
1659 | PyObject * _argo0 = 0; | |
1660 | PyObject * _argo1 = 0; | |
1661 | PyObject * _argo2 = 0; | |
efc5f224 | 1662 | char *_kwnames[] = { "self","window1","window2","sashPosition", NULL }; |
9c039d08 RD |
1663 | |
1664 | self = self; | |
efc5f224 | 1665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3)) |
9c039d08 | 1666 | return NULL; |
1d99702e RD |
1667 | if (_argo0) { |
1668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); |
1671 | return NULL; | |
1672 | } | |
1673 | } | |
1d99702e RD |
1674 | if (_argo1) { |
1675 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1676 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
9c039d08 RD |
1677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); |
1678 | return NULL; | |
1679 | } | |
1680 | } | |
1d99702e RD |
1681 | if (_argo2) { |
1682 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1683 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
9c039d08 RD |
1684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); |
1685 | return NULL; | |
1686 | } | |
1687 | } | |
cf694132 RD |
1688 | { |
1689 | wxPy_BEGIN_ALLOW_THREADS; | |
1690 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); | |
1691 | ||
1692 | wxPy_END_ALLOW_THREADS; | |
1693 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1694 | return _resultobj; |
1695 | } | |
1696 | ||
1697 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
efc5f224 | 1698 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1699 | PyObject * _resultobj; |
1700 | bool _result; | |
1701 | wxSplitterWindow * _arg0; | |
1d99702e RD |
1702 | wxWindow * _arg1 = (wxWindow *) NULL; |
1703 | PyObject * _argo0 = 0; | |
1704 | PyObject * _argo1 = 0; | |
efc5f224 | 1705 | char *_kwnames[] = { "self","toRemove", NULL }; |
9c039d08 RD |
1706 | |
1707 | self = self; | |
efc5f224 | 1708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 1709 | return NULL; |
1d99702e RD |
1710 | if (_argo0) { |
1711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
9c039d08 RD |
1713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); |
1714 | return NULL; | |
1715 | } | |
1716 | } | |
1d99702e RD |
1717 | if (_argo1) { |
1718 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1719 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
9c039d08 RD |
1720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); |
1721 | return NULL; | |
1722 | } | |
1723 | } | |
cf694132 RD |
1724 | { |
1725 | wxPy_BEGIN_ALLOW_THREADS; | |
1726 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); | |
1727 | ||
1728 | wxPy_END_ALLOW_THREADS; | |
1729 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1730 | return _resultobj; |
1731 | } | |
1732 | ||
b639c3c5 RD |
1733 | static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) { |
1734 | wxTaskBarIcon *src; | |
1735 | wxEvtHandler *dest; | |
1736 | src = (wxTaskBarIcon *) ptr; | |
1737 | dest = (wxEvtHandler *) src; | |
1738 | return (void *) dest; | |
1739 | } | |
1740 | ||
1741 | #define new_wxTaskBarIcon() (new wxTaskBarIcon()) | |
efc5f224 | 1742 | static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1743 | PyObject * _resultobj; |
1744 | wxTaskBarIcon * _result; | |
efc5f224 | 1745 | char *_kwnames[] = { NULL }; |
b639c3c5 RD |
1746 | char _ptemp[128]; |
1747 | ||
1748 | self = self; | |
efc5f224 | 1749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames)) |
b639c3c5 | 1750 | return NULL; |
cf694132 RD |
1751 | { |
1752 | wxPy_BEGIN_ALLOW_THREADS; | |
1753 | _result = (wxTaskBarIcon *)new_wxTaskBarIcon(); | |
1754 | ||
1755 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1756 | } if (_result) { |
1757 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p"); | |
1758 | _resultobj = Py_BuildValue("s",_ptemp); | |
1759 | } else { | |
1760 | Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | } | |
b639c3c5 RD |
1763 | return _resultobj; |
1764 | } | |
1765 | ||
1766 | #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj) | |
efc5f224 | 1767 | static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1768 | PyObject * _resultobj; |
1769 | wxTaskBarIcon * _arg0; | |
1d99702e | 1770 | PyObject * _argo0 = 0; |
efc5f224 | 1771 | char *_kwnames[] = { "self", NULL }; |
b639c3c5 RD |
1772 | |
1773 | self = self; | |
efc5f224 | 1774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0)) |
b639c3c5 | 1775 | return NULL; |
1d99702e RD |
1776 | if (_argo0) { |
1777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) { | |
b639c3c5 RD |
1779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p."); |
1780 | return NULL; | |
1781 | } | |
1782 | } | |
cf694132 RD |
1783 | { |
1784 | wxPy_BEGIN_ALLOW_THREADS; | |
1785 | delete_wxTaskBarIcon(_arg0); | |
1786 | ||
1787 | wxPy_END_ALLOW_THREADS; | |
1788 | } Py_INCREF(Py_None); | |
b639c3c5 RD |
1789 | _resultobj = Py_None; |
1790 | return _resultobj; | |
1791 | } | |
1792 | ||
1793 | #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1)) | |
efc5f224 | 1794 | static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1795 | PyObject * _resultobj; |
1796 | bool _result; | |
1797 | wxTaskBarIcon * _arg0; | |
1798 | wxIcon * _arg1; | |
1d99702e RD |
1799 | char * _arg2 = (char *) ""; |
1800 | PyObject * _argo0 = 0; | |
1801 | PyObject * _argo1 = 0; | |
efc5f224 | 1802 | char *_kwnames[] = { "self","icon","tooltip", NULL }; |
b639c3c5 RD |
1803 | |
1804 | self = self; | |
efc5f224 | 1805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_arg2)) |
b639c3c5 | 1806 | return NULL; |
1d99702e RD |
1807 | if (_argo0) { |
1808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) { | |
b639c3c5 RD |
1810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p."); |
1811 | return NULL; | |
1812 | } | |
1813 | } | |
1d99702e RD |
1814 | if (_argo1) { |
1815 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1816 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
b639c3c5 RD |
1817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p."); |
1818 | return NULL; | |
1819 | } | |
1820 | } | |
cf694132 RD |
1821 | { |
1822 | wxPy_BEGIN_ALLOW_THREADS; | |
1823 | _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2); | |
1824 | ||
1825 | wxPy_END_ALLOW_THREADS; | |
1826 | } _resultobj = Py_BuildValue("i",_result); | |
b639c3c5 RD |
1827 | return _resultobj; |
1828 | } | |
1829 | ||
1830 | #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon()) | |
efc5f224 | 1831 | static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
b639c3c5 RD |
1832 | PyObject * _resultobj; |
1833 | bool _result; | |
1834 | wxTaskBarIcon * _arg0; | |
1d99702e | 1835 | PyObject * _argo0 = 0; |
efc5f224 | 1836 | char *_kwnames[] = { "self", NULL }; |
b639c3c5 RD |
1837 | |
1838 | self = self; | |
efc5f224 | 1839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0)) |
b639c3c5 | 1840 | return NULL; |
1d99702e RD |
1841 | if (_argo0) { |
1842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) { | |
b639c3c5 RD |
1844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p."); |
1845 | return NULL; | |
1846 | } | |
1847 | } | |
cf694132 RD |
1848 | { |
1849 | wxPy_BEGIN_ALLOW_THREADS; | |
1850 | _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0); | |
1851 | ||
1852 | wxPy_END_ALLOW_THREADS; | |
1853 | } _resultobj = Py_BuildValue("i",_result); | |
b639c3c5 RD |
1854 | return _resultobj; |
1855 | } | |
1856 | ||
be4d9c1f | 1857 | #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0)) |
efc5f224 | 1858 | static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
1859 | PyObject * _resultobj; |
1860 | bool _result; | |
1861 | wxTaskBarIcon * _arg0; | |
1862 | wxMenu * _arg1; | |
1d99702e RD |
1863 | PyObject * _argo0 = 0; |
1864 | PyObject * _argo1 = 0; | |
efc5f224 | 1865 | char *_kwnames[] = { "self","menu", NULL }; |
be4d9c1f RD |
1866 | |
1867 | self = self; | |
efc5f224 | 1868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1)) |
be4d9c1f | 1869 | return NULL; |
1d99702e RD |
1870 | if (_argo0) { |
1871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) { | |
be4d9c1f RD |
1873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p."); |
1874 | return NULL; | |
1875 | } | |
1876 | } | |
1d99702e RD |
1877 | if (_argo1) { |
1878 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1879 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) { | |
be4d9c1f RD |
1880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p."); |
1881 | return NULL; | |
1882 | } | |
1883 | } | |
cf694132 RD |
1884 | { |
1885 | wxPy_BEGIN_ALLOW_THREADS; | |
1886 | _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1); | |
1887 | ||
1888 | wxPy_END_ALLOW_THREADS; | |
1889 | } _resultobj = Py_BuildValue("i",_result); | |
be4d9c1f RD |
1890 | return _resultobj; |
1891 | } | |
1892 | ||
8ab979d7 | 1893 | static PyMethodDef windows2cMethods[] = { |
efc5f224 RD |
1894 | { "wxTaskBarIcon_PopupMenu", (PyCFunction) _wrap_wxTaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, |
1895 | { "wxTaskBarIcon_RemoveIcon", (PyCFunction) _wrap_wxTaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
1896 | { "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
1897 | { "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
1898 | { "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
1899 | { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
1900 | { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
1901 | { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
1902 | { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
1903 | { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
1904 | { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
1905 | { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1906 | { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
9d8bd15f | 1907 | { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
1908 | { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, |
1909 | { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
1910 | { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
1911 | { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
1912 | { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
1913 | { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
1914 | { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1915 | { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
1916 | { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
1917 | { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
1918 | { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1919 | { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
1920 | { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
1921 | { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
1922 | { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
1923 | { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS }, | |
1924 | { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
1925 | { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS }, | |
1926 | { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS }, | |
1927 | { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS }, | |
1928 | { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS }, | |
1929 | { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS }, | |
1930 | { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS }, | |
1931 | { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
1932 | { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS }, | |
1933 | { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
1934 | { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
1935 | { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS }, | |
1936 | { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS }, | |
1937 | { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1938 | { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS }, | |
1939 | { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1940 | { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS }, | |
1941 | { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS }, | |
1942 | { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
1943 | { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
1944 | { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS }, | |
1945 | { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
1946 | { NULL, NULL } |
1947 | }; | |
1d99702e RD |
1948 | #ifdef __cplusplus |
1949 | } | |
1950 | #endif | |
1951 | /* | |
1952 | * This table is used by the pointer type-checker | |
1953 | */ | |
1954 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1955 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
1956 | { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1957 | { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
1958 | { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1959 | { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1d99702e RD |
1960 | { "_wxEvent","_class_wxEvent",0}, |
1961 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
1962 | { "_signed_long","_long",0}, | |
1963 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 1964 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 1965 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 1966 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 1967 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
1968 | { "_wxPrintQuality","_int",0}, |
1969 | { "_wxPrintQuality","_signed_int",0}, | |
1970 | { "_wxPrintQuality","_unsigned_int",0}, | |
1971 | { "_wxPrintQuality","_wxWindowID",0}, | |
1972 | { "_wxPrintQuality","_uint",0}, | |
1973 | { "_wxPrintQuality","_EBool",0}, | |
1974 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 1975 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
f6bcfd97 | 1976 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
1d99702e | 1977 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
65dd82cb | 1978 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
1979 | { "_class_wxMenuBar","_wxMenuBar",0}, |
1980 | { "_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler}, | |
1981 | { "_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler}, | |
1982 | { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
1983 | { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
1984 | { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
1985 | { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
1d99702e RD |
1986 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
1987 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1988 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1989 | { "_wxCursor","_class_wxCursor",0}, | |
1990 | { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1991 | { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
1992 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
1993 | { "_wxMask","_class_wxMask",0}, | |
1d99702e RD |
1994 | { "_wxPen","_class_wxPen",0}, |
1995 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1996 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 1997 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 1998 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
1999 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
2000 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
2001 | { "_wxChoice","_class_wxChoice",0}, |
2002 | { "_wxSlider","_class_wxSlider",0}, | |
2003 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
1d99702e RD |
2004 | { "_long","_unsigned_long",0}, |
2005 | { "_long","_signed_long",0}, | |
2006 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 2007 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
2008 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
2009 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
2010 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 2011 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
2012 | { "_class_wxGauge","_wxGauge",0}, |
2013 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 2014 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e | 2015 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 2016 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
2017 | { "_size_t","_wxPrintQuality",0}, |
2018 | { "_size_t","_unsigned_int",0}, | |
2019 | { "_size_t","_int",0}, | |
2020 | { "_size_t","_wxWindowID",0}, | |
2021 | { "_size_t","_uint",0}, | |
2022 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 2023 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 2024 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 2025 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
2026 | { "_class_wxMenuItem","_wxMenuItem",0}, |
2027 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
2028 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1d99702e RD |
2029 | { "_wxPanel","_class_wxPanel",0}, |
2030 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
2031 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
2032 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
2033 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
2034 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 2035 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e | 2036 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
1d99702e RD |
2037 | { "_wxColour","_class_wxColour",0}, |
2038 | { "_class_wxDialog","_wxDialog",0}, | |
65dd82cb | 2039 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
2040 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
2041 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
b1462dfa | 2042 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
2043 | { "_wxStaticLine","_class_wxStaticLine",0}, |
2044 | { "_wxBrush","_class_wxBrush",0}, | |
2045 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
b1462dfa RD |
2046 | { "_wxDataFormat","_class_wxDataFormat",0}, |
2047 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 2048 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 2049 | { "_uint","_wxCoord",0}, |
1d99702e RD |
2050 | { "_uint","_wxPrintQuality",0}, |
2051 | { "_uint","_size_t",0}, | |
2052 | { "_uint","_unsigned_int",0}, | |
2053 | { "_uint","_int",0}, | |
2054 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 2055 | { "_wxChar","_char",0}, |
2f90df85 | 2056 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
2057 | { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, |
2058 | { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent}, | |
2059 | { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
2060 | { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent}, | |
1d99702e RD |
2061 | { "_class_wxEvent","_wxEvent",0}, |
2062 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
2063 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
1d99702e RD |
2064 | { "_wxRect","_class_wxRect",0}, |
2065 | { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
2066 | { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
2067 | { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2068 | { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2069 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
2070 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
2071 | { "_wxPoint","_class_wxPoint",0}, | |
2072 | { "_class_wxButton","_wxButton",0}, | |
2073 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
f6bcfd97 BP |
2074 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
2075 | { "_char","_wxChar",0}, | |
1d99702e RD |
2076 | { "_wxBitmap","_class_wxBitmap",0}, |
2077 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, | |
1d99702e | 2078 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 2079 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
1d99702e RD |
2080 | { "_wxScrollBar","_class_wxScrollBar",0}, |
2081 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
2082 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
2083 | { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
2084 | { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent}, | |
2085 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 2086 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
2087 | { "_class_wxPyEvent","_wxPyEvent",0}, |
2088 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
2089 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
65dd82cb | 2090 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
2091 | { "_class_wxStaticLine","_wxStaticLine",0}, |
2092 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 2093 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
2094 | { "_EBool","_wxPrintQuality",0}, |
2095 | { "_EBool","_signed_int",0}, | |
2096 | { "_EBool","_int",0}, | |
2097 | { "_EBool","_wxWindowID",0}, | |
2098 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 2099 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 2100 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 2101 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
2102 | { "_wxStaticText","_class_wxStaticText",0}, |
2103 | { "_wxFont","_class_wxFont",0}, | |
65dd82cb | 2104 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e RD |
2105 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
2106 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
2107 | { "_wxNotebook","_class_wxNotebook",0}, | |
1d99702e RD |
2108 | { "_unsigned_long","_long",0}, |
2109 | { "_class_wxRect","_wxRect",0}, | |
2110 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 2111 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
2112 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
2113 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
2114 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
2115 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 2116 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
1d99702e RD |
2117 | { "_class_wxSpinButton","_wxSpinButton",0}, |
2118 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1d99702e RD |
2119 | { "_class_wxPanel","_wxPanel",0}, |
2120 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
2121 | { "_wxComboBox","_class_wxComboBox",0}, | |
2122 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 2123 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
2124 | { "_signed_int","_wxPrintQuality",0}, |
2125 | { "_signed_int","_EBool",0}, | |
2126 | { "_signed_int","_wxWindowID",0}, | |
2127 | { "_signed_int","_int",0}, | |
2128 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
2129 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
2130 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 2131 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
2132 | { "_wxMenu","_class_wxMenu",0}, |
2133 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
2134 | { "_wxListBox","_class_wxListBox",0}, | |
2135 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
2136 | { "_WXTYPE","_short",0}, | |
2137 | { "_WXTYPE","_signed_short",0}, | |
2138 | { "_WXTYPE","_unsigned_short",0}, | |
65dd82cb | 2139 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
2140 | { "_class_wxBrush","_wxBrush",0}, |
2141 | { "_unsigned_short","_WXTYPE",0}, | |
2142 | { "_unsigned_short","_short",0}, | |
2143 | { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
2144 | { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
2145 | { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
2146 | { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
1d99702e RD |
2147 | { "_class_wxWindow","_wxWindow",0}, |
2148 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
2149 | { "_class_wxStaticText","_wxStaticText",0}, | |
2150 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 2151 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 2152 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 2153 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 2154 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 2155 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 2156 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 2157 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
2158 | { "_wxClientDC","_class_wxClientDC",0}, |
2159 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
2160 | { "_class_wxPoint","_wxPoint",0}, | |
2161 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
2162 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1d99702e RD |
2163 | { "_signed_short","_WXTYPE",0}, |
2164 | { "_signed_short","_short",0}, | |
2165 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 2166 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
2167 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
2168 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
2169 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
2170 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
2171 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
2172 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
2173 | { "_class_wxCursor","_wxCursor",0}, | |
65dd82cb | 2174 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
2175 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
2176 | { "_unsigned_char","_byte",0}, | |
2177 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
2178 | { "_class_wxMenu","_wxMenu",0}, | |
2179 | { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
2180 | { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
2181 | { "_wxControl","_class_wxControl",0}, | |
2182 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 2183 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
2184 | { "_unsigned_int","_wxPrintQuality",0}, |
2185 | { "_unsigned_int","_size_t",0}, | |
2186 | { "_unsigned_int","_uint",0}, | |
2187 | { "_unsigned_int","_wxWindowID",0}, | |
2188 | { "_unsigned_int","_int",0}, | |
2189 | { "_wxIcon","_class_wxIcon",0}, | |
2190 | { "_wxDialog","_class_wxDialog",0}, | |
2191 | { "_class_wxPen","_wxPen",0}, | |
2192 | { "_short","_WXTYPE",0}, | |
2193 | { "_short","_unsigned_short",0}, | |
2194 | { "_short","_signed_short",0}, | |
2195 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
2196 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
2197 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
2198 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
2199 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
2200 | { "_class_wxChoice","_wxChoice",0}, | |
2201 | { "_class_wxSlider","_wxSlider",0}, | |
2202 | { "_class_wxImageList","_wxImageList",0}, | |
2203 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 2204 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
1d99702e | 2205 | { "_class_wxNotebook","_wxNotebook",0}, |
b1462dfa | 2206 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
2207 | { "_wxWindowID","_wxPrintQuality",0}, |
2208 | { "_wxWindowID","_size_t",0}, | |
2209 | { "_wxWindowID","_EBool",0}, | |
2210 | { "_wxWindowID","_uint",0}, | |
2211 | { "_wxWindowID","_int",0}, | |
2212 | { "_wxWindowID","_signed_int",0}, | |
2213 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 2214 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 2215 | { "_int","_wxCoord",0}, |
1d99702e RD |
2216 | { "_int","_wxPrintQuality",0}, |
2217 | { "_int","_size_t",0}, | |
2218 | { "_int","_EBool",0}, | |
2219 | { "_int","_uint",0}, | |
2220 | { "_int","_wxWindowID",0}, | |
2221 | { "_int","_unsigned_int",0}, | |
2222 | { "_int","_signed_int",0}, | |
2223 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 2224 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 2225 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
2226 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
2227 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
2228 | { "_wxButton","_class_wxButton",0}, |
2229 | { "_wxSize","_class_wxSize",0}, | |
2230 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
2231 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 2232 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
2233 | { "_class_wxPaintDC","_wxPaintDC",0}, |
2234 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
65dd82cb | 2235 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
2236 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
2237 | { "_class_wxComboBox","_wxComboBox",0}, | |
2238 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 2239 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e RD |
2240 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
2241 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
2242 | { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl}, | |
2243 | { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl}, | |
2244 | { "_class_wxControl","_wxControl",0}, | |
2245 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
2246 | { "_class_wxIcon","_wxIcon",0}, | |
2247 | { "_class_wxColour","_wxColour",0}, | |
2248 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
2249 | { "_wxPalette","_class_wxPalette",0}, | |
2250 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
2251 | { "_wxCoord","_int",0}, |
2252 | { "_wxCoord","_signed_int",0}, | |
2253 | { "_wxCoord","_unsigned_int",0}, | |
2254 | { "_wxCoord","_wxWindowID",0}, | |
2255 | { "_wxCoord","_uint",0}, | |
2256 | { "_wxCoord","_EBool",0}, | |
2257 | { "_wxCoord","_size_t",0}, | |
2258 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 2259 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 2260 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
2261 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
2262 | { "_wxRegion","_class_wxRegion",0}, | |
2263 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
2264 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
65dd82cb | 2265 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
2266 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
2267 | { "_wxGauge","_class_wxGauge",0}, | |
2268 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 2269 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
2270 | { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, |
2271 | { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent}, | |
2272 | { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2273 | { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent}, | |
2274 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
2275 | { "_class_wxClientDC","_wxClientDC",0}, | |
2276 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
b1462dfa | 2277 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
2278 | { "_class_wxSize","_wxSize",0}, |
2279 | { "_class_wxBitmap","_wxBitmap",0}, | |
2280 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
65dd82cb | 2281 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
2282 | { "_wxMenuBar","_class_wxMenuBar",0}, |
2283 | { "_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler}, | |
2284 | { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler}, | |
2285 | { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
2286 | { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler}, | |
2287 | { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
2288 | { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler}, | |
1d99702e RD |
2289 | { "_wxEvtHandler","_class_wxEvtHandler",0}, |
2290 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2291 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1d99702e RD |
2292 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
2293 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
2294 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2295 | { "_class_wxPalette","_wxPalette",0}, | |
65dd82cb | 2296 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 2297 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 2298 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
1d99702e RD |
2299 | { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, |
2300 | { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow}, | |
2301 | { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow}, | |
2302 | { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow}, | |
1d99702e | 2303 | { "_wxWindow","_class_wxWindow",0}, |
48115f4a | 2304 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
2305 | {0,0,0}}; |
2306 | ||
8ab979d7 RD |
2307 | static PyObject *SWIG_globals; |
2308 | #ifdef __cplusplus | |
2309 | extern "C" | |
2310 | #endif | |
1d99702e | 2311 | SWIGEXPORT(void) initwindows2c() { |
8ab979d7 RD |
2312 | PyObject *m, *d; |
2313 | SWIG_globals = SWIG_newvarlink(); | |
2314 | m = Py_InitModule("windows2c", windows2cMethods); | |
2315 | d = PyModule_GetDict(m); | |
f6bcfd97 BP |
2316 | PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL)); |
2317 | PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL)); | |
2318 | PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE)); | |
2319 | PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING)); | |
2320 | PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN)); | |
b639c3c5 RD |
2321 | PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE)); |
2322 | PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN)); | |
2323 | PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP)); | |
2324 | PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN)); | |
2325 | PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP)); | |
2326 | PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK)); | |
2327 | PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK)); | |
1d99702e RD |
2328 | { |
2329 | int i; | |
2330 | for (i = 0; _swig_mapping[i].n1; i++) | |
2331 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2332 | } | |
8ab979d7 | 2333 | } |