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