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