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