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