]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows2.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / msw / windows2.cpp
1 /*
2 * FILE : src/msw/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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 *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initwindows2c
55
56 #define SWIG_name "windows2c"
57
58 #include "helpers.h"
59 #ifdef OLD_GRID
60 #include <wx/grid.h>
61 #endif
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
65 #ifdef __WXMSW__
66 #include <wx/msw/taskbar.h>
67 #endif
68
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME);
71 DECLARE_DEF_STRING(PanelNameStr);
72 DECLARE_DEF_STRING(ControlNameStr);
73
74 static const wxChar* wxSplitterNameStr = wxT("splitter");
75 DECLARE_DEF_STRING(SplitterNameStr);
76 static const wxString wxPyEmptyString(wxT(""));
77
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104 // C++ version of Python aware wxWindow
105 class wxPyWindow : public wxWindow
106 {
107 DECLARE_DYNAMIC_CLASS(wxPyWindow)
108 public:
109 wxPyWindow() : wxWindow() {}
110 wxPyWindow(wxWindow* parent, const wxWindowID id,
111 const wxPoint& pos = wxDefaultPosition,
112 const wxSize& size = wxDefaultSize,
113 long style = 0,
114 const wxString& name = wxPyPanelNameStr)
115 : wxWindow(parent, id, pos, size, style, name) {}
116
117
118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
119 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
122
123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
126
127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
129
130 DEC_PYCALLBACK__(InitDialog);
131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
133 DEC_PYCALLBACK_BOOL_(Validate);
134
135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
137 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
138
139 PYPRIVATE;
140 };
141
142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
143
144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
148
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
152
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
154 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
155
156 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
160
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
162 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
163 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
164
165 // C++ version of Python aware wxControl
166 class wxPyControl : public wxControl
167 {
168 DECLARE_DYNAMIC_CLASS(wxPyControl)
169 public:
170 wxPyControl() : wxControl() {}
171 wxPyControl(wxWindow* parent, const wxWindowID id,
172 const wxPoint& pos = wxDefaultPosition,
173 const wxSize& size = wxDefaultSize,
174 long style = 0,
175 const wxValidator& validator=wxDefaultValidator,
176 const wxString& name = wxPyControlNameStr)
177 : wxControl(parent, id, pos, size, style, validator, name) {}
178
179
180 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
181 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
182 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
183 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
184
185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
188
189 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
190 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
191
192 DEC_PYCALLBACK__(InitDialog);
193 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
194 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
195 DEC_PYCALLBACK_BOOL_(Validate);
196
197 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
198 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
199 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
200
201 PYPRIVATE;
202 };
203
204 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
205
206 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
207 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
209 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
210
211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
213 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
214
215 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
216 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
217
218 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
219 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
220 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
221 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
222
223 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
224 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
225 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
226
227 #ifdef __cplusplus
228 extern "C" {
229 #endif
230 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
231 wxNotebookEvent *src;
232 wxNotifyEvent *dest;
233 src = (wxNotebookEvent *) ptr;
234 dest = (wxNotifyEvent *) src;
235 return (void *) dest;
236 }
237
238 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
239 wxNotebookEvent *src;
240 wxCommandEvent *dest;
241 src = (wxNotebookEvent *) ptr;
242 dest = (wxCommandEvent *) src;
243 return (void *) dest;
244 }
245
246 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
247 wxNotebookEvent *src;
248 wxEvent *dest;
249 src = (wxNotebookEvent *) ptr;
250 dest = (wxEvent *) src;
251 return (void *) dest;
252 }
253
254 static void *SwigwxNotebookEventTowxObject(void *ptr) {
255 wxNotebookEvent *src;
256 wxObject *dest;
257 src = (wxNotebookEvent *) ptr;
258 dest = (wxObject *) src;
259 return (void *) dest;
260 }
261
262 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
263 static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
264 PyObject * _resultobj;
265 wxNotebookEvent * _result;
266 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
267 int _arg1 = (int ) 0;
268 int _arg2 = (int ) -1;
269 int _arg3 = (int ) -1;
270 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
271 char _ptemp[128];
272
273 self = self;
274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
275 return NULL;
276 {
277 PyThreadState* __tstate = wxPyBeginAllowThreads();
278 _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3);
279
280 wxPyEndAllowThreads(__tstate);
281 if (PyErr_Occurred()) return NULL;
282 } if (_result) {
283 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookEvent_p");
284 _resultobj = Py_BuildValue("s",_ptemp);
285 } else {
286 Py_INCREF(Py_None);
287 _resultobj = Py_None;
288 }
289 return _resultobj;
290 }
291
292 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
293 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
294 PyObject * _resultobj;
295 int _result;
296 wxNotebookEvent * _arg0;
297 PyObject * _argo0 = 0;
298 char *_kwnames[] = { "self", NULL };
299
300 self = self;
301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
302 return NULL;
303 if (_argo0) {
304 if (_argo0 == Py_None) { _arg0 = NULL; }
305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
307 return NULL;
308 }
309 }
310 {
311 PyThreadState* __tstate = wxPyBeginAllowThreads();
312 _result = (int )wxNotebookEvent_GetSelection(_arg0);
313
314 wxPyEndAllowThreads(__tstate);
315 if (PyErr_Occurred()) return NULL;
316 } _resultobj = Py_BuildValue("i",_result);
317 return _resultobj;
318 }
319
320 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
321 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 int _result;
324 wxNotebookEvent * _arg0;
325 PyObject * _argo0 = 0;
326 char *_kwnames[] = { "self", NULL };
327
328 self = self;
329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
330 return NULL;
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
335 return NULL;
336 }
337 }
338 {
339 PyThreadState* __tstate = wxPyBeginAllowThreads();
340 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
341
342 wxPyEndAllowThreads(__tstate);
343 if (PyErr_Occurred()) return NULL;
344 } _resultobj = Py_BuildValue("i",_result);
345 return _resultobj;
346 }
347
348 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
349 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
350 PyObject * _resultobj;
351 wxNotebookEvent * _arg0;
352 int _arg1;
353 PyObject * _argo0 = 0;
354 char *_kwnames[] = { "self","page", NULL };
355
356 self = self;
357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
358 return NULL;
359 if (_argo0) {
360 if (_argo0 == Py_None) { _arg0 = NULL; }
361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
363 return NULL;
364 }
365 }
366 {
367 PyThreadState* __tstate = wxPyBeginAllowThreads();
368 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
369
370 wxPyEndAllowThreads(__tstate);
371 if (PyErr_Occurred()) return NULL;
372 } Py_INCREF(Py_None);
373 _resultobj = Py_None;
374 return _resultobj;
375 }
376
377 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
378 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
379 PyObject * _resultobj;
380 wxNotebookEvent * _arg0;
381 int _arg1;
382 PyObject * _argo0 = 0;
383 char *_kwnames[] = { "self","page", NULL };
384
385 self = self;
386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
387 return NULL;
388 if (_argo0) {
389 if (_argo0 == Py_None) { _arg0 = NULL; }
390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
392 return NULL;
393 }
394 }
395 {
396 PyThreadState* __tstate = wxPyBeginAllowThreads();
397 wxNotebookEvent_SetSelection(_arg0,_arg1);
398
399 wxPyEndAllowThreads(__tstate);
400 if (PyErr_Occurred()) return NULL;
401 } Py_INCREF(Py_None);
402 _resultobj = Py_None;
403 return _resultobj;
404 }
405
406 static void *SwigwxNotebookTowxControl(void *ptr) {
407 wxNotebook *src;
408 wxControl *dest;
409 src = (wxNotebook *) ptr;
410 dest = (wxControl *) src;
411 return (void *) dest;
412 }
413
414 static void *SwigwxNotebookTowxWindow(void *ptr) {
415 wxNotebook *src;
416 wxWindow *dest;
417 src = (wxNotebook *) ptr;
418 dest = (wxWindow *) src;
419 return (void *) dest;
420 }
421
422 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
423 wxNotebook *src;
424 wxEvtHandler *dest;
425 src = (wxNotebook *) ptr;
426 dest = (wxEvtHandler *) src;
427 return (void *) dest;
428 }
429
430 static void *SwigwxNotebookTowxObject(void *ptr) {
431 wxNotebook *src;
432 wxObject *dest;
433 src = (wxNotebook *) ptr;
434 dest = (wxObject *) src;
435 return (void *) dest;
436 }
437
438 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
439 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
440 PyObject * _resultobj;
441 wxNotebook * _result;
442 wxWindow * _arg0;
443 wxWindowID _arg1;
444 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
445 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
446 long _arg4 = (long ) 0;
447 wxString * _arg5 = (wxString *) &wxPyNOTEBOOK_NAME;
448 PyObject * _argo0 = 0;
449 wxPoint temp;
450 PyObject * _obj2 = 0;
451 wxSize temp0;
452 PyObject * _obj3 = 0;
453 PyObject * _obj5 = 0;
454 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
455 char _ptemp[128];
456
457 self = self;
458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
459 return NULL;
460 if (_argo0) {
461 if (_argo0 == Py_None) { _arg0 = NULL; }
462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
464 return NULL;
465 }
466 }
467 if (_obj2)
468 {
469 _arg2 = &temp;
470 if (! wxPoint_helper(_obj2, &_arg2))
471 return NULL;
472 }
473 if (_obj3)
474 {
475 _arg3 = &temp0;
476 if (! wxSize_helper(_obj3, &_arg3))
477 return NULL;
478 }
479 if (_obj5)
480 {
481 _arg5 = wxString_in_helper(_obj5);
482 if (_arg5 == NULL)
483 return NULL;
484 }
485 {
486 PyThreadState* __tstate = wxPyBeginAllowThreads();
487 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
488
489 wxPyEndAllowThreads(__tstate);
490 if (PyErr_Occurred()) return NULL;
491 } if (_result) {
492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
493 _resultobj = Py_BuildValue("s",_ptemp);
494 } else {
495 Py_INCREF(Py_None);
496 _resultobj = Py_None;
497 }
498 {
499 if (_obj5)
500 delete _arg5;
501 }
502 return _resultobj;
503 }
504
505 #define new_wxPreNotebook() (new wxNotebook())
506 static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
507 PyObject * _resultobj;
508 wxNotebook * _result;
509 char *_kwnames[] = { NULL };
510 char _ptemp[128];
511
512 self = self;
513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
514 return NULL;
515 {
516 PyThreadState* __tstate = wxPyBeginAllowThreads();
517 _result = (wxNotebook *)new_wxPreNotebook();
518
519 wxPyEndAllowThreads(__tstate);
520 if (PyErr_Occurred()) return NULL;
521 } if (_result) {
522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
523 _resultobj = Py_BuildValue("s",_ptemp);
524 } else {
525 Py_INCREF(Py_None);
526 _resultobj = Py_None;
527 }
528 return _resultobj;
529 }
530
531 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
532 static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
533 PyObject * _resultobj;
534 bool _result;
535 wxNotebook * _arg0;
536 wxWindow * _arg1;
537 wxWindowID _arg2;
538 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
539 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
540 long _arg5 = (long ) 0;
541 wxString * _arg6 = (wxString *) &wxPyNOTEBOOK_NAME;
542 PyObject * _argo0 = 0;
543 PyObject * _argo1 = 0;
544 wxPoint temp;
545 PyObject * _obj3 = 0;
546 wxSize temp0;
547 PyObject * _obj4 = 0;
548 PyObject * _obj6 = 0;
549 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
550
551 self = self;
552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
553 return NULL;
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
558 return NULL;
559 }
560 }
561 if (_argo1) {
562 if (_argo1 == Py_None) { _arg1 = NULL; }
563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
565 return NULL;
566 }
567 }
568 if (_obj3)
569 {
570 _arg3 = &temp;
571 if (! wxPoint_helper(_obj3, &_arg3))
572 return NULL;
573 }
574 if (_obj4)
575 {
576 _arg4 = &temp0;
577 if (! wxSize_helper(_obj4, &_arg4))
578 return NULL;
579 }
580 if (_obj6)
581 {
582 _arg6 = wxString_in_helper(_obj6);
583 if (_arg6 == NULL)
584 return NULL;
585 }
586 {
587 PyThreadState* __tstate = wxPyBeginAllowThreads();
588 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
589
590 wxPyEndAllowThreads(__tstate);
591 if (PyErr_Occurred()) return NULL;
592 } _resultobj = Py_BuildValue("i",_result);
593 {
594 if (_obj6)
595 delete _arg6;
596 }
597 return _resultobj;
598 }
599
600 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
601 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject * _resultobj;
603 int _result;
604 wxNotebook * _arg0;
605 PyObject * _argo0 = 0;
606 char *_kwnames[] = { "self", NULL };
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
610 return NULL;
611 if (_argo0) {
612 if (_argo0 == Py_None) { _arg0 = NULL; }
613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
615 return NULL;
616 }
617 }
618 {
619 PyThreadState* __tstate = wxPyBeginAllowThreads();
620 _result = (int )wxNotebook_GetPageCount(_arg0);
621
622 wxPyEndAllowThreads(__tstate);
623 if (PyErr_Occurred()) return NULL;
624 } _resultobj = Py_BuildValue("i",_result);
625 return _resultobj;
626 }
627
628 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
629 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
630 PyObject * _resultobj;
631 int _result;
632 wxNotebook * _arg0;
633 int _arg1;
634 PyObject * _argo0 = 0;
635 char *_kwnames[] = { "self","nPage", NULL };
636
637 self = self;
638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
644 return NULL;
645 }
646 }
647 {
648 PyThreadState* __tstate = wxPyBeginAllowThreads();
649 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
650
651 wxPyEndAllowThreads(__tstate);
652 if (PyErr_Occurred()) return NULL;
653 } _resultobj = Py_BuildValue("i",_result);
654 return _resultobj;
655 }
656
657 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
658 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
659 PyObject * _resultobj;
660 wxNotebook * _arg0;
661 bool _arg1 = (bool ) TRUE;
662 PyObject * _argo0 = 0;
663 int tempbool1 = (int) TRUE;
664 char *_kwnames[] = { "self","bForward", NULL };
665
666 self = self;
667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
668 return NULL;
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
673 return NULL;
674 }
675 }
676 _arg1 = (bool ) tempbool1;
677 {
678 PyThreadState* __tstate = wxPyBeginAllowThreads();
679 wxNotebook_AdvanceSelection(_arg0,_arg1);
680
681 wxPyEndAllowThreads(__tstate);
682 if (PyErr_Occurred()) return NULL;
683 } Py_INCREF(Py_None);
684 _resultobj = Py_None;
685 return _resultobj;
686 }
687
688 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
690 PyObject * _resultobj;
691 int _result;
692 wxNotebook * _arg0;
693 PyObject * _argo0 = 0;
694 char *_kwnames[] = { "self", NULL };
695
696 self = self;
697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
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_GetSelection. Expected _wxNotebook_p.");
703 return NULL;
704 }
705 }
706 {
707 PyThreadState* __tstate = wxPyBeginAllowThreads();
708 _result = (int )wxNotebook_GetSelection(_arg0);
709
710 wxPyEndAllowThreads(__tstate);
711 if (PyErr_Occurred()) return NULL;
712 } _resultobj = Py_BuildValue("i",_result);
713 return _resultobj;
714 }
715
716 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
717 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 bool _result;
720 wxNotebook * _arg0;
721 int _arg1;
722 wxString * _arg2;
723 PyObject * _argo0 = 0;
724 PyObject * _obj2 = 0;
725 char *_kwnames[] = { "self","nPage","strText", NULL };
726
727 self = self;
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
729 return NULL;
730 if (_argo0) {
731 if (_argo0 == Py_None) { _arg0 = NULL; }
732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
734 return NULL;
735 }
736 }
737 {
738 _arg2 = wxString_in_helper(_obj2);
739 if (_arg2 == NULL)
740 return NULL;
741 }
742 {
743 PyThreadState* __tstate = wxPyBeginAllowThreads();
744 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
745
746 wxPyEndAllowThreads(__tstate);
747 if (PyErr_Occurred()) return NULL;
748 } _resultobj = Py_BuildValue("i",_result);
749 {
750 if (_obj2)
751 delete _arg2;
752 }
753 return _resultobj;
754 }
755
756 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
757 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
758 PyObject * _resultobj;
759 wxString * _result;
760 wxNotebook * _arg0;
761 int _arg1;
762 PyObject * _argo0 = 0;
763 char *_kwnames[] = { "self","nPage", NULL };
764
765 self = self;
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
767 return NULL;
768 if (_argo0) {
769 if (_argo0 == Py_None) { _arg0 = NULL; }
770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
772 return NULL;
773 }
774 }
775 {
776 PyThreadState* __tstate = wxPyBeginAllowThreads();
777 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
778
779 wxPyEndAllowThreads(__tstate);
780 if (PyErr_Occurred()) return NULL;
781 }{
782 #if wxUSE_UNICODE
783 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
784 #else
785 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
786 #endif
787 }
788 {
789 delete _result;
790 }
791 return _resultobj;
792 }
793
794 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
795 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 wxNotebook * _arg0;
798 wxImageList * _arg1;
799 PyObject * _argo0 = 0;
800 PyObject * _argo1 = 0;
801 char *_kwnames[] = { "self","imageList", NULL };
802
803 self = self;
804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
805 return NULL;
806 if (_argo0) {
807 if (_argo0 == Py_None) { _arg0 = NULL; }
808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
810 return NULL;
811 }
812 }
813 if (_argo1) {
814 if (_argo1 == Py_None) { _arg1 = NULL; }
815 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
817 return NULL;
818 }
819 }
820 {
821 PyThreadState* __tstate = wxPyBeginAllowThreads();
822 wxNotebook_SetImageList(_arg0,_arg1);
823
824 wxPyEndAllowThreads(__tstate);
825 if (PyErr_Occurred()) return NULL;
826 } Py_INCREF(Py_None);
827 _resultobj = Py_None;
828 return _resultobj;
829 }
830
831 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
832 static PyObject *_wrap_wxNotebook_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
833 PyObject * _resultobj;
834 wxNotebook * _arg0;
835 wxImageList * _arg1;
836 PyObject * _argo0 = 0;
837 PyObject * _argo1 = 0;
838 char *_kwnames[] = { "self","imageList", NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_AssignImageList",_kwnames,&_argo0,&_argo1))
842 return NULL;
843 if (_argo0) {
844 if (_argo0 == Py_None) { _arg0 = NULL; }
845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
847 return NULL;
848 }
849 }
850 if (_argo1) {
851 if (_argo1 == Py_None) { _arg1 = NULL; }
852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
854 return NULL;
855 }
856 }
857 {
858 PyThreadState* __tstate = wxPyBeginAllowThreads();
859 wxNotebook_AssignImageList(_arg0,_arg1);
860
861 wxPyEndAllowThreads(__tstate);
862 if (PyErr_Occurred()) return NULL;
863 } Py_INCREF(Py_None);
864 _resultobj = Py_None;
865 return _resultobj;
866 }
867
868 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
869 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
870 PyObject * _resultobj;
871 wxImageList * _result;
872 wxNotebook * _arg0;
873 PyObject * _argo0 = 0;
874 char *_kwnames[] = { "self", NULL };
875
876 self = self;
877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
878 return NULL;
879 if (_argo0) {
880 if (_argo0 == Py_None) { _arg0 = NULL; }
881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
883 return NULL;
884 }
885 }
886 {
887 PyThreadState* __tstate = wxPyBeginAllowThreads();
888 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
889
890 wxPyEndAllowThreads(__tstate);
891 if (PyErr_Occurred()) return NULL;
892 }{ _resultobj = wxPyMake_wxObject(_result); }
893 return _resultobj;
894 }
895
896 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
897 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject * _resultobj;
899 int _result;
900 wxNotebook * _arg0;
901 int _arg1;
902 PyObject * _argo0 = 0;
903 char *_kwnames[] = { "self","nPage", NULL };
904
905 self = self;
906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
907 return NULL;
908 if (_argo0) {
909 if (_argo0 == Py_None) { _arg0 = NULL; }
910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
912 return NULL;
913 }
914 }
915 {
916 PyThreadState* __tstate = wxPyBeginAllowThreads();
917 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
918
919 wxPyEndAllowThreads(__tstate);
920 if (PyErr_Occurred()) return NULL;
921 } _resultobj = Py_BuildValue("i",_result);
922 return _resultobj;
923 }
924
925 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
926 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject * _resultobj;
928 bool _result;
929 wxNotebook * _arg0;
930 int _arg1;
931 int _arg2;
932 PyObject * _argo0 = 0;
933 char *_kwnames[] = { "self","nPage","nImage", NULL };
934
935 self = self;
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
937 return NULL;
938 if (_argo0) {
939 if (_argo0 == Py_None) { _arg0 = NULL; }
940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
942 return NULL;
943 }
944 }
945 {
946 PyThreadState* __tstate = wxPyBeginAllowThreads();
947 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
948
949 wxPyEndAllowThreads(__tstate);
950 if (PyErr_Occurred()) return NULL;
951 } _resultobj = Py_BuildValue("i",_result);
952 return _resultobj;
953 }
954
955 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
956 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject * _resultobj;
958 int _result;
959 wxNotebook * _arg0;
960 PyObject * _argo0 = 0;
961 char *_kwnames[] = { "self", NULL };
962
963 self = self;
964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
965 return NULL;
966 if (_argo0) {
967 if (_argo0 == Py_None) { _arg0 = NULL; }
968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
970 return NULL;
971 }
972 }
973 {
974 PyThreadState* __tstate = wxPyBeginAllowThreads();
975 _result = (int )wxNotebook_GetRowCount(_arg0);
976
977 wxPyEndAllowThreads(__tstate);
978 if (PyErr_Occurred()) return NULL;
979 } _resultobj = Py_BuildValue("i",_result);
980 return _resultobj;
981 }
982
983 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
984 static PyObject *_wrap_wxNotebook_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
985 PyObject * _resultobj;
986 wxNotebook * _arg0;
987 wxSize * _arg1;
988 PyObject * _argo0 = 0;
989 wxSize temp;
990 PyObject * _obj1 = 0;
991 char *_kwnames[] = { "self","size", NULL };
992
993 self = self;
994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPageSize",_kwnames,&_argo0,&_obj1))
995 return NULL;
996 if (_argo0) {
997 if (_argo0 == Py_None) { _arg0 = NULL; }
998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
1000 return NULL;
1001 }
1002 }
1003 {
1004 _arg1 = &temp;
1005 if (! wxSize_helper(_obj1, &_arg1))
1006 return NULL;
1007 }
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 wxNotebook_SetPageSize(_arg0,*_arg1);
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) return NULL;
1014 } Py_INCREF(Py_None);
1015 _resultobj = Py_None;
1016 return _resultobj;
1017 }
1018
1019 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1020 static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject * _resultobj;
1022 wxNotebook * _arg0;
1023 wxSize * _arg1;
1024 PyObject * _argo0 = 0;
1025 wxSize temp;
1026 PyObject * _obj1 = 0;
1027 char *_kwnames[] = { "self","padding", NULL };
1028
1029 self = self;
1030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1))
1031 return NULL;
1032 if (_argo0) {
1033 if (_argo0 == Py_None) { _arg0 = NULL; }
1034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1036 return NULL;
1037 }
1038 }
1039 {
1040 _arg1 = &temp;
1041 if (! wxSize_helper(_obj1, &_arg1))
1042 return NULL;
1043 }
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 wxNotebook_SetPadding(_arg0,*_arg1);
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) return NULL;
1050 } Py_INCREF(Py_None);
1051 _resultobj = Py_None;
1052 return _resultobj;
1053 }
1054
1055 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
1056 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1057 PyObject * _resultobj;
1058 bool _result;
1059 wxNotebook * _arg0;
1060 int _arg1;
1061 PyObject * _argo0 = 0;
1062 char *_kwnames[] = { "self","nPage", NULL };
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
1066 return NULL;
1067 if (_argo0) {
1068 if (_argo0 == Py_None) { _arg0 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
1071 return NULL;
1072 }
1073 }
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) return NULL;
1080 } _resultobj = Py_BuildValue("i",_result);
1081 return _resultobj;
1082 }
1083
1084 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
1085 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject * _resultobj;
1087 bool _result;
1088 wxNotebook * _arg0;
1089 int _arg1;
1090 PyObject * _argo0 = 0;
1091 char *_kwnames[] = { "self","nPage", NULL };
1092
1093 self = self;
1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
1095 return NULL;
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
1100 return NULL;
1101 }
1102 }
1103 {
1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
1105 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
1106
1107 wxPyEndAllowThreads(__tstate);
1108 if (PyErr_Occurred()) return NULL;
1109 } _resultobj = Py_BuildValue("i",_result);
1110 return _resultobj;
1111 }
1112
1113 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
1114 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 bool _result;
1117 wxNotebook * _arg0;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self", NULL };
1120
1121 self = self;
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
1123 return NULL;
1124 if (_argo0) {
1125 if (_argo0 == Py_None) { _arg0 = NULL; }
1126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1128 return NULL;
1129 }
1130 }
1131 {
1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
1133 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
1134
1135 wxPyEndAllowThreads(__tstate);
1136 if (PyErr_Occurred()) return NULL;
1137 } _resultobj = Py_BuildValue("i",_result);
1138 return _resultobj;
1139 }
1140
1141 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1142 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 bool _result;
1145 wxNotebook * _arg0;
1146 wxWindow * _arg1;
1147 wxString * _arg2;
1148 int _arg3 = (int ) FALSE;
1149 int _arg4 = (int ) -1;
1150 PyObject * _argo0 = 0;
1151 PyObject * _argo1 = 0;
1152 PyObject * _obj2 = 0;
1153 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
1154
1155 self = self;
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
1157 return NULL;
1158 if (_argo0) {
1159 if (_argo0 == Py_None) { _arg0 = NULL; }
1160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1162 return NULL;
1163 }
1164 }
1165 if (_argo1) {
1166 if (_argo1 == Py_None) { _arg1 = NULL; }
1167 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1168 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1169 return NULL;
1170 }
1171 }
1172 {
1173 _arg2 = wxString_in_helper(_obj2);
1174 if (_arg2 == NULL)
1175 return NULL;
1176 }
1177 {
1178 PyThreadState* __tstate = wxPyBeginAllowThreads();
1179 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
1180
1181 wxPyEndAllowThreads(__tstate);
1182 if (PyErr_Occurred()) return NULL;
1183 } _resultobj = Py_BuildValue("i",_result);
1184 {
1185 if (_obj2)
1186 delete _arg2;
1187 }
1188 return _resultobj;
1189 }
1190
1191 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1192 static PyObject *_wrap_wxNotebook_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1193 PyObject * _resultobj;
1194 bool _result;
1195 wxNotebook * _arg0;
1196 int _arg1;
1197 wxWindow * _arg2;
1198 wxString * _arg3;
1199 bool _arg4 = (bool ) FALSE;
1200 int _arg5 = (int ) -1;
1201 PyObject * _argo0 = 0;
1202 PyObject * _argo2 = 0;
1203 PyObject * _obj3 = 0;
1204 int tempbool4 = (int) FALSE;
1205 char *_kwnames[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL };
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxNotebook_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1214 return NULL;
1215 }
1216 }
1217 if (_argo2) {
1218 if (_argo2 == Py_None) { _arg2 = NULL; }
1219 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1220 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1221 return NULL;
1222 }
1223 }
1224 {
1225 _arg3 = wxString_in_helper(_obj3);
1226 if (_arg3 == NULL)
1227 return NULL;
1228 }
1229 _arg4 = (bool ) tempbool4;
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) return NULL;
1236 } _resultobj = Py_BuildValue("i",_result);
1237 {
1238 if (_obj3)
1239 delete _arg3;
1240 }
1241 return _resultobj;
1242 }
1243
1244 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1245 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject * _resultobj;
1247 wxWindow * _result;
1248 wxNotebook * _arg0;
1249 int _arg1;
1250 PyObject * _argo0 = 0;
1251 char *_kwnames[] = { "self","nPage", NULL };
1252
1253 self = self;
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
1255 return NULL;
1256 if (_argo0) {
1257 if (_argo0 == Py_None) { _arg0 = NULL; }
1258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1260 return NULL;
1261 }
1262 }
1263 {
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
1266
1267 wxPyEndAllowThreads(__tstate);
1268 if (PyErr_Occurred()) return NULL;
1269 }{ _resultobj = wxPyMake_wxObject(_result); }
1270 return _resultobj;
1271 }
1272
1273 static void wxNotebook_ResizeChildren(wxNotebook *self) {
1274 wxSizeEvent evt(self->GetClientSize());
1275 self->GetEventHandler()->ProcessEvent(evt);
1276 }
1277 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1278 PyObject * _resultobj;
1279 wxNotebook * _arg0;
1280 PyObject * _argo0 = 0;
1281 char *_kwnames[] = { "self", NULL };
1282
1283 self = self;
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
1285 return NULL;
1286 if (_argo0) {
1287 if (_argo0 == Py_None) { _arg0 = NULL; }
1288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1290 return NULL;
1291 }
1292 }
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 wxNotebook_ResizeChildren(_arg0);
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) return NULL;
1299 } Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 return _resultobj;
1302 }
1303
1304 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) {
1305 wxSplitterEvent *src;
1306 wxNotifyEvent *dest;
1307 src = (wxSplitterEvent *) ptr;
1308 dest = (wxNotifyEvent *) src;
1309 return (void *) dest;
1310 }
1311
1312 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
1313 wxSplitterEvent *src;
1314 wxCommandEvent *dest;
1315 src = (wxSplitterEvent *) ptr;
1316 dest = (wxCommandEvent *) src;
1317 return (void *) dest;
1318 }
1319
1320 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
1321 wxSplitterEvent *src;
1322 wxEvent *dest;
1323 src = (wxSplitterEvent *) ptr;
1324 dest = (wxEvent *) src;
1325 return (void *) dest;
1326 }
1327
1328 static void *SwigwxSplitterEventTowxObject(void *ptr) {
1329 wxSplitterEvent *src;
1330 wxObject *dest;
1331 src = (wxSplitterEvent *) ptr;
1332 dest = (wxObject *) src;
1333 return (void *) dest;
1334 }
1335
1336 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1337 static PyObject *_wrap_new_wxSplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject * _resultobj;
1339 wxSplitterEvent * _result;
1340 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1341 wxSplitterWindow * _arg1 = (wxSplitterWindow *) NULL;
1342 PyObject * _argo1 = 0;
1343 char *_kwnames[] = { "type","splitter", NULL };
1344 char _ptemp[128];
1345
1346 self = self;
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxSplitterEvent",_kwnames,&_arg0,&_argo1))
1348 return NULL;
1349 if (_argo1) {
1350 if (_argo1 == Py_None) { _arg1 = NULL; }
1351 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSplitterWindow_p")) {
1352 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1353 return NULL;
1354 }
1355 }
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) return NULL;
1362 } if (_result) {
1363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterEvent_p");
1364 _resultobj = Py_BuildValue("s",_ptemp);
1365 } else {
1366 Py_INCREF(Py_None);
1367 _resultobj = Py_None;
1368 }
1369 return _resultobj;
1370 }
1371
1372 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1373 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1374 PyObject * _resultobj;
1375 int _result;
1376 wxSplitterEvent * _arg0;
1377 PyObject * _argo0 = 0;
1378 char *_kwnames[] = { "self", NULL };
1379
1380 self = self;
1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
1382 return NULL;
1383 if (_argo0) {
1384 if (_argo0 == Py_None) { _arg0 = NULL; }
1385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1387 return NULL;
1388 }
1389 }
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) return NULL;
1396 } _resultobj = Py_BuildValue("i",_result);
1397 return _resultobj;
1398 }
1399
1400 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1401 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1402 PyObject * _resultobj;
1403 int _result;
1404 wxSplitterEvent * _arg0;
1405 PyObject * _argo0 = 0;
1406 char *_kwnames[] = { "self", NULL };
1407
1408 self = self;
1409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
1410 return NULL;
1411 if (_argo0) {
1412 if (_argo0 == Py_None) { _arg0 = NULL; }
1413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1415 return NULL;
1416 }
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 _result = (int )wxSplitterEvent_GetX(_arg0);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) return NULL;
1424 } _resultobj = Py_BuildValue("i",_result);
1425 return _resultobj;
1426 }
1427
1428 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1429 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1430 PyObject * _resultobj;
1431 int _result;
1432 wxSplitterEvent * _arg0;
1433 PyObject * _argo0 = 0;
1434 char *_kwnames[] = { "self", NULL };
1435
1436 self = self;
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
1438 return NULL;
1439 if (_argo0) {
1440 if (_argo0 == Py_None) { _arg0 = NULL; }
1441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1443 return NULL;
1444 }
1445 }
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 _result = (int )wxSplitterEvent_GetY(_arg0);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) return NULL;
1452 } _resultobj = Py_BuildValue("i",_result);
1453 return _resultobj;
1454 }
1455
1456 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1457 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject * _resultobj;
1459 wxWindow * _result;
1460 wxSplitterEvent * _arg0;
1461 PyObject * _argo0 = 0;
1462 char *_kwnames[] = { "self", NULL };
1463
1464 self = self;
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1471 return NULL;
1472 }
1473 }
1474 {
1475 PyThreadState* __tstate = wxPyBeginAllowThreads();
1476 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
1477
1478 wxPyEndAllowThreads(__tstate);
1479 if (PyErr_Occurred()) return NULL;
1480 }{ _resultobj = wxPyMake_wxObject(_result); }
1481 return _resultobj;
1482 }
1483
1484 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1485 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject * _resultobj;
1487 wxSplitterEvent * _arg0;
1488 int _arg1;
1489 PyObject * _argo0 = 0;
1490 char *_kwnames[] = { "self","pos", NULL };
1491
1492 self = self;
1493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
1494 return NULL;
1495 if (_argo0) {
1496 if (_argo0 == Py_None) { _arg0 = NULL; }
1497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
1498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1499 return NULL;
1500 }
1501 }
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) return NULL;
1508 } Py_INCREF(Py_None);
1509 _resultobj = Py_None;
1510 return _resultobj;
1511 }
1512
1513 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
1514 wxSplitterWindow *src;
1515 wxWindow *dest;
1516 src = (wxSplitterWindow *) ptr;
1517 dest = (wxWindow *) src;
1518 return (void *) dest;
1519 }
1520
1521 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
1522 wxSplitterWindow *src;
1523 wxEvtHandler *dest;
1524 src = (wxSplitterWindow *) ptr;
1525 dest = (wxEvtHandler *) src;
1526 return (void *) dest;
1527 }
1528
1529 static void *SwigwxSplitterWindowTowxObject(void *ptr) {
1530 wxSplitterWindow *src;
1531 wxObject *dest;
1532 src = (wxSplitterWindow *) ptr;
1533 dest = (wxObject *) src;
1534 return (void *) dest;
1535 }
1536
1537 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1538 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject * _resultobj;
1540 wxSplitterWindow * _result;
1541 wxWindow * _arg0;
1542 wxWindowID _arg1;
1543 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1544 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1545 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1546 wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
1547 PyObject * _argo0 = 0;
1548 wxPoint temp;
1549 PyObject * _obj2 = 0;
1550 wxSize temp0;
1551 PyObject * _obj3 = 0;
1552 PyObject * _obj5 = 0;
1553 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
1554 char _ptemp[128];
1555
1556 self = self;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1558 return NULL;
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1563 return NULL;
1564 }
1565 }
1566 if (_obj2)
1567 {
1568 _arg2 = &temp;
1569 if (! wxPoint_helper(_obj2, &_arg2))
1570 return NULL;
1571 }
1572 if (_obj3)
1573 {
1574 _arg3 = &temp0;
1575 if (! wxSize_helper(_obj3, &_arg3))
1576 return NULL;
1577 }
1578 if (_obj5)
1579 {
1580 _arg5 = wxString_in_helper(_obj5);
1581 if (_arg5 == NULL)
1582 return NULL;
1583 }
1584 {
1585 PyThreadState* __tstate = wxPyBeginAllowThreads();
1586 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1587
1588 wxPyEndAllowThreads(__tstate);
1589 if (PyErr_Occurred()) return NULL;
1590 } if (_result) {
1591 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
1592 _resultobj = Py_BuildValue("s",_ptemp);
1593 } else {
1594 Py_INCREF(Py_None);
1595 _resultobj = Py_None;
1596 }
1597 {
1598 if (_obj5)
1599 delete _arg5;
1600 }
1601 return _resultobj;
1602 }
1603
1604 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1605 static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject * _resultobj;
1607 wxSplitterWindow * _result;
1608 char *_kwnames[] = { NULL };
1609 char _ptemp[128];
1610
1611 self = self;
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSplitterWindow",_kwnames))
1613 return NULL;
1614 {
1615 PyThreadState* __tstate = wxPyBeginAllowThreads();
1616 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
1617
1618 wxPyEndAllowThreads(__tstate);
1619 if (PyErr_Occurred()) return NULL;
1620 } if (_result) {
1621 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
1622 _resultobj = Py_BuildValue("s",_ptemp);
1623 } else {
1624 Py_INCREF(Py_None);
1625 _resultobj = Py_None;
1626 }
1627 return _resultobj;
1628 }
1629
1630 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1631 static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1632 PyObject * _resultobj;
1633 bool _result;
1634 wxSplitterWindow * _arg0;
1635 wxWindow * _arg1;
1636 wxWindowID _arg2;
1637 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1638 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1639 long _arg5 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1640 wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
1641 PyObject * _argo0 = 0;
1642 PyObject * _argo1 = 0;
1643 wxPoint temp;
1644 PyObject * _obj3 = 0;
1645 wxSize temp0;
1646 PyObject * _obj4 = 0;
1647 PyObject * _obj6 = 0;
1648 char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL };
1649
1650 self = self;
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1657 return NULL;
1658 }
1659 }
1660 if (_argo1) {
1661 if (_argo1 == Py_None) { _arg1 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1664 return NULL;
1665 }
1666 }
1667 if (_obj3)
1668 {
1669 _arg3 = &temp;
1670 if (! wxPoint_helper(_obj3, &_arg3))
1671 return NULL;
1672 }
1673 if (_obj4)
1674 {
1675 _arg4 = &temp0;
1676 if (! wxSize_helper(_obj4, &_arg4))
1677 return NULL;
1678 }
1679 if (_obj6)
1680 {
1681 _arg6 = wxString_in_helper(_obj6);
1682 if (_arg6 == NULL)
1683 return NULL;
1684 }
1685 {
1686 PyThreadState* __tstate = wxPyBeginAllowThreads();
1687 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1688
1689 wxPyEndAllowThreads(__tstate);
1690 if (PyErr_Occurred()) return NULL;
1691 } _resultobj = Py_BuildValue("i",_result);
1692 {
1693 if (_obj6)
1694 delete _arg6;
1695 }
1696 return _resultobj;
1697 }
1698
1699 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1700 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject * _resultobj;
1702 wxWindow * _result;
1703 wxSplitterWindow * _arg0;
1704 PyObject * _argo0 = 0;
1705 char *_kwnames[] = { "self", NULL };
1706
1707 self = self;
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
1709 return NULL;
1710 if (_argo0) {
1711 if (_argo0 == Py_None) { _arg0 = NULL; }
1712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1714 return NULL;
1715 }
1716 }
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) return NULL;
1723 }{ _resultobj = wxPyMake_wxObject(_result); }
1724 return _resultobj;
1725 }
1726
1727 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1728 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
1729 PyObject * _resultobj;
1730 wxWindow * _result;
1731 wxSplitterWindow * _arg0;
1732 PyObject * _argo0 = 0;
1733 char *_kwnames[] = { "self", NULL };
1734
1735 self = self;
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
1737 return NULL;
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1742 return NULL;
1743 }
1744 }
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) return NULL;
1751 }{ _resultobj = wxPyMake_wxObject(_result); }
1752 return _resultobj;
1753 }
1754
1755 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1756 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject * _resultobj;
1758 wxSplitterWindow * _arg0;
1759 int _arg1;
1760 PyObject * _argo0 = 0;
1761 char *_kwnames[] = { "self","mode", NULL };
1762
1763 self = self;
1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
1765 return NULL;
1766 if (_argo0) {
1767 if (_argo0 == Py_None) { _arg0 = NULL; }
1768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1770 return NULL;
1771 }
1772 }
1773 {
1774 PyThreadState* __tstate = wxPyBeginAllowThreads();
1775 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
1776
1777 wxPyEndAllowThreads(__tstate);
1778 if (PyErr_Occurred()) return NULL;
1779 } Py_INCREF(Py_None);
1780 _resultobj = Py_None;
1781 return _resultobj;
1782 }
1783
1784 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1785 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject * _resultobj;
1787 int _result;
1788 wxSplitterWindow * _arg0;
1789 PyObject * _argo0 = 0;
1790 char *_kwnames[] = { "self", NULL };
1791
1792 self = self;
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1799 return NULL;
1800 }
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) return NULL;
1808 } _resultobj = Py_BuildValue("i",_result);
1809 return _resultobj;
1810 }
1811
1812 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1813 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject * _resultobj;
1815 wxSplitterWindow * _arg0;
1816 wxWindow * _arg1;
1817 PyObject * _argo0 = 0;
1818 PyObject * _argo1 = 0;
1819 char *_kwnames[] = { "self","window", NULL };
1820
1821 self = self;
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
1823 return NULL;
1824 if (_argo0) {
1825 if (_argo0 == Py_None) { _arg0 = NULL; }
1826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1828 return NULL;
1829 }
1830 }
1831 if (_argo1) {
1832 if (_argo1 == Py_None) { _arg1 = NULL; }
1833 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1835 return NULL;
1836 }
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 wxSplitterWindow_Initialize(_arg0,_arg1);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) return NULL;
1844 } Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 return _resultobj;
1847 }
1848
1849 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1850 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 bool _result;
1853 wxSplitterWindow * _arg0;
1854 wxWindow * _arg1;
1855 wxWindow * _arg2;
1856 int _arg3 = (int ) 0;
1857 PyObject * _argo0 = 0;
1858 PyObject * _argo1 = 0;
1859 PyObject * _argo2 = 0;
1860 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1861
1862 self = self;
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1864 return NULL;
1865 if (_argo0) {
1866 if (_argo0 == Py_None) { _arg0 = NULL; }
1867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1869 return NULL;
1870 }
1871 }
1872 if (_argo1) {
1873 if (_argo1 == Py_None) { _arg1 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1876 return NULL;
1877 }
1878 }
1879 if (_argo2) {
1880 if (_argo2 == Py_None) { _arg2 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1883 return NULL;
1884 }
1885 }
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) return NULL;
1892 } _resultobj = Py_BuildValue("i",_result);
1893 return _resultobj;
1894 }
1895
1896 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1897 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 bool _result;
1900 wxSplitterWindow * _arg0;
1901 wxWindow * _arg1;
1902 wxWindow * _arg2;
1903 int _arg3 = (int ) 0;
1904 PyObject * _argo0 = 0;
1905 PyObject * _argo1 = 0;
1906 PyObject * _argo2 = 0;
1907 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
1908
1909 self = self;
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
1911 return NULL;
1912 if (_argo0) {
1913 if (_argo0 == Py_None) { _arg0 = NULL; }
1914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1916 return NULL;
1917 }
1918 }
1919 if (_argo1) {
1920 if (_argo1 == Py_None) { _arg1 = NULL; }
1921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1923 return NULL;
1924 }
1925 }
1926 if (_argo2) {
1927 if (_argo2 == Py_None) { _arg2 = NULL; }
1928 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1929 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1930 return NULL;
1931 }
1932 }
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) return NULL;
1939 } _resultobj = Py_BuildValue("i",_result);
1940 return _resultobj;
1941 }
1942
1943 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1944 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject * _resultobj;
1946 bool _result;
1947 wxSplitterWindow * _arg0;
1948 wxWindow * _arg1 = (wxWindow *) NULL;
1949 PyObject * _argo0 = 0;
1950 PyObject * _argo1 = 0;
1951 char *_kwnames[] = { "self","toRemove", NULL };
1952
1953 self = self;
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
1955 return NULL;
1956 if (_argo0) {
1957 if (_argo0 == Py_None) { _arg0 = NULL; }
1958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1960 return NULL;
1961 }
1962 }
1963 if (_argo1) {
1964 if (_argo1 == Py_None) { _arg1 = NULL; }
1965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1967 return NULL;
1968 }
1969 }
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) return NULL;
1976 } _resultobj = Py_BuildValue("i",_result);
1977 return _resultobj;
1978 }
1979
1980 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1981 static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject * _resultobj;
1983 bool _result;
1984 wxSplitterWindow * _arg0;
1985 wxWindow * _arg1;
1986 wxWindow * _arg2;
1987 PyObject * _argo0 = 0;
1988 PyObject * _argo1 = 0;
1989 PyObject * _argo2 = 0;
1990 char *_kwnames[] = { "self","winOld","winNew", NULL };
1991
1992 self = self;
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
1994 return NULL;
1995 if (_argo0) {
1996 if (_argo0 == Py_None) { _arg0 = NULL; }
1997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1999 return NULL;
2000 }
2001 }
2002 if (_argo1) {
2003 if (_argo1 == Py_None) { _arg1 = NULL; }
2004 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2006 return NULL;
2007 }
2008 }
2009 if (_argo2) {
2010 if (_argo2 == Py_None) { _arg2 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2013 return NULL;
2014 }
2015 }
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) return NULL;
2022 } _resultobj = Py_BuildValue("i",_result);
2023 return _resultobj;
2024 }
2025
2026 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2027 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject * _resultobj;
2029 bool _result;
2030 wxSplitterWindow * _arg0;
2031 PyObject * _argo0 = 0;
2032 char *_kwnames[] = { "self", NULL };
2033
2034 self = self;
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
2036 return NULL;
2037 if (_argo0) {
2038 if (_argo0 == Py_None) { _arg0 = NULL; }
2039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2041 return NULL;
2042 }
2043 }
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) return NULL;
2050 } _resultobj = Py_BuildValue("i",_result);
2051 return _resultobj;
2052 }
2053
2054 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2055 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxSplitterWindow * _arg0;
2058 int _arg1;
2059 PyObject * _argo0 = 0;
2060 char *_kwnames[] = { "self","width", NULL };
2061
2062 self = self;
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
2064 return NULL;
2065 if (_argo0) {
2066 if (_argo0 == Py_None) { _arg0 = NULL; }
2067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2069 return NULL;
2070 }
2071 }
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 wxSplitterWindow_SetSashSize(_arg0,_arg1);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) return NULL;
2078 } Py_INCREF(Py_None);
2079 _resultobj = Py_None;
2080 return _resultobj;
2081 }
2082
2083 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2084 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject * _resultobj;
2086 wxSplitterWindow * _arg0;
2087 int _arg1;
2088 PyObject * _argo0 = 0;
2089 char *_kwnames[] = { "self","width", NULL };
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2098 return NULL;
2099 }
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) return NULL;
2107 } Py_INCREF(Py_None);
2108 _resultobj = Py_None;
2109 return _resultobj;
2110 }
2111
2112 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2113 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2114 PyObject * _resultobj;
2115 int _result;
2116 wxSplitterWindow * _arg0;
2117 PyObject * _argo0 = 0;
2118 char *_kwnames[] = { "self", NULL };
2119
2120 self = self;
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
2122 return NULL;
2123 if (_argo0) {
2124 if (_argo0 == Py_None) { _arg0 = NULL; }
2125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2127 return NULL;
2128 }
2129 }
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) return NULL;
2136 } _resultobj = Py_BuildValue("i",_result);
2137 return _resultobj;
2138 }
2139
2140 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2141 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject * _resultobj;
2143 int _result;
2144 wxSplitterWindow * _arg0;
2145 PyObject * _argo0 = 0;
2146 char *_kwnames[] = { "self", NULL };
2147
2148 self = self;
2149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
2150 return NULL;
2151 if (_argo0) {
2152 if (_argo0 == Py_None) { _arg0 = NULL; }
2153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2155 return NULL;
2156 }
2157 }
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) return NULL;
2164 } _resultobj = Py_BuildValue("i",_result);
2165 return _resultobj;
2166 }
2167
2168 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2169 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2170 PyObject * _resultobj;
2171 wxSplitterWindow * _arg0;
2172 int _arg1;
2173 bool _arg2 = (bool ) TRUE;
2174 PyObject * _argo0 = 0;
2175 int tempbool2 = (int) TRUE;
2176 char *_kwnames[] = { "self","position","redraw", NULL };
2177
2178 self = self;
2179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
2180 return NULL;
2181 if (_argo0) {
2182 if (_argo0 == Py_None) { _arg0 = NULL; }
2183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2185 return NULL;
2186 }
2187 }
2188 _arg2 = (bool ) tempbool2;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) return NULL;
2195 } Py_INCREF(Py_None);
2196 _resultobj = Py_None;
2197 return _resultobj;
2198 }
2199
2200 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2201 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject * _resultobj;
2203 int _result;
2204 wxSplitterWindow * _arg0;
2205 PyObject * _argo0 = 0;
2206 char *_kwnames[] = { "self", NULL };
2207
2208 self = self;
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
2210 return NULL;
2211 if (_argo0) {
2212 if (_argo0 == Py_None) { _arg0 = NULL; }
2213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2215 return NULL;
2216 }
2217 }
2218 {
2219 PyThreadState* __tstate = wxPyBeginAllowThreads();
2220 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2221
2222 wxPyEndAllowThreads(__tstate);
2223 if (PyErr_Occurred()) return NULL;
2224 } _resultobj = Py_BuildValue("i",_result);
2225 return _resultobj;
2226 }
2227
2228 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2229 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject * _resultobj;
2231 wxSplitterWindow * _arg0;
2232 int _arg1;
2233 PyObject * _argo0 = 0;
2234 char *_kwnames[] = { "self","min", NULL };
2235
2236 self = self;
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
2238 return NULL;
2239 if (_argo0) {
2240 if (_argo0 == Py_None) { _arg0 = NULL; }
2241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2243 return NULL;
2244 }
2245 }
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) return NULL;
2252 } Py_INCREF(Py_None);
2253 _resultobj = Py_None;
2254 return _resultobj;
2255 }
2256
2257 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2258 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject * _resultobj;
2260 int _result;
2261 wxSplitterWindow * _arg0;
2262 PyObject * _argo0 = 0;
2263 char *_kwnames[] = { "self", NULL };
2264
2265 self = self;
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
2267 return NULL;
2268 if (_argo0) {
2269 if (_argo0 == Py_None) { _arg0 = NULL; }
2270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2272 return NULL;
2273 }
2274 }
2275 {
2276 PyThreadState* __tstate = wxPyBeginAllowThreads();
2277 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2278
2279 wxPyEndAllowThreads(__tstate);
2280 if (PyErr_Occurred()) return NULL;
2281 } _resultobj = Py_BuildValue("i",_result);
2282 return _resultobj;
2283 }
2284
2285 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
2286 static PyObject *_wrap_wxSplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject * _resultobj;
2288 wxSplitterWindow * _arg0;
2289 PyObject * _argo0 = 0;
2290 char *_kwnames[] = { "self", NULL };
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_SizeWindows",_kwnames,&_argo0))
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
2299 return NULL;
2300 }
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 wxSplitterWindow_SizeWindows(_arg0);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) return NULL;
2308 } Py_INCREF(Py_None);
2309 _resultobj = Py_None;
2310 return _resultobj;
2311 }
2312
2313 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
2314 static PyObject *_wrap_wxSplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
2315 PyObject * _resultobj;
2316 wxSplitterWindow * _arg0;
2317 bool _arg1;
2318 PyObject * _argo0 = 0;
2319 int tempbool1;
2320 char *_kwnames[] = { "self","needUpdating", NULL };
2321
2322 self = self;
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames,&_argo0,&tempbool1))
2324 return NULL;
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
2329 return NULL;
2330 }
2331 }
2332 _arg1 = (bool ) tempbool1;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 wxSplitterWindow_SetNeedUpdating(_arg0,_arg1);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) return NULL;
2339 } Py_INCREF(Py_None);
2340 _resultobj = Py_None;
2341 return _resultobj;
2342 }
2343
2344 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
2345 static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject * _resultobj;
2347 bool _result;
2348 wxSplitterWindow * _arg0;
2349 PyObject * _argo0 = 0;
2350 char *_kwnames[] = { "self", NULL };
2351
2352 self = self;
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetNeedUpdating",_kwnames,&_argo0))
2354 return NULL;
2355 if (_argo0) {
2356 if (_argo0 == Py_None) { _arg0 = NULL; }
2357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
2359 return NULL;
2360 }
2361 }
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 _result = (bool )wxSplitterWindow_GetNeedUpdating(_arg0);
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) return NULL;
2368 } _resultobj = Py_BuildValue("i",_result);
2369 return _resultobj;
2370 }
2371
2372 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
2373 wxTaskBarIcon *src;
2374 wxEvtHandler *dest;
2375 src = (wxTaskBarIcon *) ptr;
2376 dest = (wxEvtHandler *) src;
2377 return (void *) dest;
2378 }
2379
2380 static void *SwigwxTaskBarIconTowxObject(void *ptr) {
2381 wxTaskBarIcon *src;
2382 wxObject *dest;
2383 src = (wxTaskBarIcon *) ptr;
2384 dest = (wxObject *) src;
2385 return (void *) dest;
2386 }
2387
2388 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2389 static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject * _resultobj;
2391 wxTaskBarIcon * _result;
2392 char *_kwnames[] = { NULL };
2393 char _ptemp[128];
2394
2395 self = self;
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames))
2397 return NULL;
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) return NULL;
2404 } if (_result) {
2405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
2406 _resultobj = Py_BuildValue("s",_ptemp);
2407 } else {
2408 Py_INCREF(Py_None);
2409 _resultobj = Py_None;
2410 }
2411 return _resultobj;
2412 }
2413
2414 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2415 static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject * _resultobj;
2417 wxTaskBarIcon * _arg0;
2418 PyObject * _argo0 = 0;
2419 char *_kwnames[] = { "self", NULL };
2420
2421 self = self;
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0))
2423 return NULL;
2424 if (_argo0) {
2425 if (_argo0 == Py_None) { _arg0 = NULL; }
2426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2428 return NULL;
2429 }
2430 }
2431 {
2432 PyThreadState* __tstate = wxPyBeginAllowThreads();
2433 delete_wxTaskBarIcon(_arg0);
2434
2435 wxPyEndAllowThreads(__tstate);
2436 if (PyErr_Occurred()) return NULL;
2437 } Py_INCREF(Py_None);
2438 _resultobj = Py_None;
2439 return _resultobj;
2440 }
2441
2442 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2443 static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject * _resultobj;
2445 bool _result;
2446 wxTaskBarIcon * _arg0;
2447 wxIcon * _arg1;
2448 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2449 PyObject * _argo0 = 0;
2450 PyObject * _argo1 = 0;
2451 PyObject * _obj2 = 0;
2452 char *_kwnames[] = { "self","icon","tooltip", NULL };
2453
2454 self = self;
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_obj2))
2456 return NULL;
2457 if (_argo0) {
2458 if (_argo0 == Py_None) { _arg0 = NULL; }
2459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2461 return NULL;
2462 }
2463 }
2464 if (_argo1) {
2465 if (_argo1 == Py_None) { _arg1 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2468 return NULL;
2469 }
2470 }
2471 if (_obj2)
2472 {
2473 _arg2 = wxString_in_helper(_obj2);
2474 if (_arg2 == NULL)
2475 return NULL;
2476 }
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,*_arg2);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) return NULL;
2483 } _resultobj = Py_BuildValue("i",_result);
2484 {
2485 if (_obj2)
2486 delete _arg2;
2487 }
2488 return _resultobj;
2489 }
2490
2491 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2492 static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject * _resultobj;
2494 bool _result;
2495 wxTaskBarIcon * _arg0;
2496 PyObject * _argo0 = 0;
2497 char *_kwnames[] = { "self", NULL };
2498
2499 self = self;
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0))
2501 return NULL;
2502 if (_argo0) {
2503 if (_argo0 == Py_None) { _arg0 = NULL; }
2504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2506 return NULL;
2507 }
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) return NULL;
2515 } _resultobj = Py_BuildValue("i",_result);
2516 return _resultobj;
2517 }
2518
2519 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2520 static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
2521 PyObject * _resultobj;
2522 bool _result;
2523 wxTaskBarIcon * _arg0;
2524 wxMenu * _arg1;
2525 PyObject * _argo0 = 0;
2526 PyObject * _argo1 = 0;
2527 char *_kwnames[] = { "self","menu", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1))
2531 return NULL;
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2536 return NULL;
2537 }
2538 }
2539 if (_argo1) {
2540 if (_argo1 == Py_None) { _arg1 = NULL; }
2541 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
2542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2543 return NULL;
2544 }
2545 }
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) return NULL;
2552 } _resultobj = Py_BuildValue("i",_result);
2553 return _resultobj;
2554 }
2555
2556 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2557 static PyObject *_wrap_wxTaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject * _resultobj;
2559 bool _result;
2560 wxTaskBarIcon * _arg0;
2561 PyObject * _argo0 = 0;
2562 char *_kwnames[] = { "self", NULL };
2563
2564 self = self;
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsIconInstalled",_kwnames,&_argo0))
2566 return NULL;
2567 if (_argo0) {
2568 if (_argo0 == Py_None) { _arg0 = NULL; }
2569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2571 return NULL;
2572 }
2573 }
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 _result = (bool )wxTaskBarIcon_IsIconInstalled(_arg0);
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) return NULL;
2580 } _resultobj = Py_BuildValue("i",_result);
2581 return _resultobj;
2582 }
2583
2584 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2585 static PyObject *_wrap_wxTaskBarIcon_IsOK(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject * _resultobj;
2587 bool _result;
2588 wxTaskBarIcon * _arg0;
2589 PyObject * _argo0 = 0;
2590 char *_kwnames[] = { "self", NULL };
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsOK",_kwnames,&_argo0))
2594 return NULL;
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2599 return NULL;
2600 }
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 _result = (bool )wxTaskBarIcon_IsOK(_arg0);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) return NULL;
2608 } _resultobj = Py_BuildValue("i",_result);
2609 return _resultobj;
2610 }
2611
2612 static void *SwigwxPyWindowTowxWindow(void *ptr) {
2613 wxPyWindow *src;
2614 wxWindow *dest;
2615 src = (wxPyWindow *) ptr;
2616 dest = (wxWindow *) src;
2617 return (void *) dest;
2618 }
2619
2620 static void *SwigwxPyWindowTowxEvtHandler(void *ptr) {
2621 wxPyWindow *src;
2622 wxEvtHandler *dest;
2623 src = (wxPyWindow *) ptr;
2624 dest = (wxEvtHandler *) src;
2625 return (void *) dest;
2626 }
2627
2628 static void *SwigwxPyWindowTowxObject(void *ptr) {
2629 wxPyWindow *src;
2630 wxObject *dest;
2631 src = (wxPyWindow *) ptr;
2632 dest = (wxObject *) src;
2633 return (void *) dest;
2634 }
2635
2636 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2637 static PyObject *_wrap_new_wxPyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject * _resultobj;
2639 wxPyWindow * _result;
2640 wxWindow * _arg0;
2641 wxWindowID _arg1;
2642 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2643 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2644 long _arg4 = (long ) 0;
2645 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
2646 PyObject * _argo0 = 0;
2647 wxPoint temp;
2648 PyObject * _obj2 = 0;
2649 wxSize temp0;
2650 PyObject * _obj3 = 0;
2651 PyObject * _obj5 = 0;
2652 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
2653 char _ptemp[128];
2654
2655 self = self;
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
2657 return NULL;
2658 if (_argo0) {
2659 if (_argo0 == Py_None) { _arg0 = NULL; }
2660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
2662 return NULL;
2663 }
2664 }
2665 if (_obj2)
2666 {
2667 _arg2 = &temp;
2668 if (! wxPoint_helper(_obj2, &_arg2))
2669 return NULL;
2670 }
2671 if (_obj3)
2672 {
2673 _arg3 = &temp0;
2674 if (! wxSize_helper(_obj3, &_arg3))
2675 return NULL;
2676 }
2677 if (_obj5)
2678 {
2679 _arg5 = wxString_in_helper(_obj5);
2680 if (_arg5 == NULL)
2681 return NULL;
2682 }
2683 {
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
2685 _result = (wxPyWindow *)new_wxPyWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) return NULL;
2689 } if (_result) {
2690 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWindow_p");
2691 _resultobj = Py_BuildValue("s",_ptemp);
2692 } else {
2693 Py_INCREF(Py_None);
2694 _resultobj = Py_None;
2695 }
2696 {
2697 if (_obj5)
2698 delete _arg5;
2699 }
2700 return _resultobj;
2701 }
2702
2703 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2704 static PyObject *_wrap_wxPyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject * _resultobj;
2706 wxPyWindow * _arg0;
2707 PyObject * _arg1;
2708 PyObject * _arg2;
2709 PyObject * _argo0 = 0;
2710 PyObject * _obj1 = 0;
2711 PyObject * _obj2 = 0;
2712 char *_kwnames[] = { "self","self","_class", NULL };
2713
2714 self = self;
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2716 return NULL;
2717 if (_argo0) {
2718 if (_argo0 == Py_None) { _arg0 = NULL; }
2719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
2721 return NULL;
2722 }
2723 }
2724 {
2725 _arg1 = _obj1;
2726 }
2727 {
2728 _arg2 = _obj2;
2729 }
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 wxPyWindow__setCallbackInfo(_arg0,_arg1,_arg2);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) return NULL;
2736 } Py_INCREF(Py_None);
2737 _resultobj = Py_None;
2738 return _resultobj;
2739 }
2740
2741 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2742 static PyObject *_wrap_wxPyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject * _resultobj;
2744 wxPyWindow * _arg0;
2745 int _arg1;
2746 int _arg2;
2747 int _arg3;
2748 int _arg4;
2749 PyObject * _argo0 = 0;
2750 char *_kwnames[] = { "self","x","y","width","height", NULL };
2751
2752 self = self;
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2754 return NULL;
2755 if (_argo0) {
2756 if (_argo0 == Py_None) { _arg0 = NULL; }
2757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
2759 return NULL;
2760 }
2761 }
2762 {
2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
2764 wxPyWindow_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
2765
2766 wxPyEndAllowThreads(__tstate);
2767 if (PyErr_Occurred()) return NULL;
2768 } Py_INCREF(Py_None);
2769 _resultobj = Py_None;
2770 return _resultobj;
2771 }
2772
2773 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2774 static PyObject *_wrap_wxPyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject * _resultobj;
2776 wxPyWindow * _arg0;
2777 int _arg1;
2778 int _arg2;
2779 int _arg3;
2780 int _arg4;
2781 int _arg5 = (int ) wxSIZE_AUTO;
2782 PyObject * _argo0 = 0;
2783 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
2784
2785 self = self;
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2787 return NULL;
2788 if (_argo0) {
2789 if (_argo0 == Py_None) { _arg0 = NULL; }
2790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
2792 return NULL;
2793 }
2794 }
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 wxPyWindow_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) return NULL;
2801 } Py_INCREF(Py_None);
2802 _resultobj = Py_None;
2803 return _resultobj;
2804 }
2805
2806 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
2807 static PyObject *_wrap_wxPyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject * _resultobj;
2809 wxPyWindow * _arg0;
2810 int _arg1;
2811 int _arg2;
2812 PyObject * _argo0 = 0;
2813 char *_kwnames[] = { "self","width","height", NULL };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
2817 return NULL;
2818 if (_argo0) {
2819 if (_argo0 == Py_None) { _arg0 = NULL; }
2820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
2822 return NULL;
2823 }
2824 }
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 wxPyWindow_base_DoSetClientSize(_arg0,_arg1,_arg2);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) return NULL;
2831 } Py_INCREF(Py_None);
2832 _resultobj = Py_None;
2833 return _resultobj;
2834 }
2835
2836 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
2837 static PyObject *_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject * _resultobj;
2839 wxPyWindow * _arg0;
2840 int _arg1;
2841 int _arg2;
2842 PyObject * _argo0 = 0;
2843 char *_kwnames[] = { "self","x","y", NULL };
2844
2845 self = self;
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
2847 return NULL;
2848 if (_argo0) {
2849 if (_argo0 == Py_None) { _arg0 = NULL; }
2850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
2852 return NULL;
2853 }
2854 }
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 wxPyWindow_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) return NULL;
2861 } Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863 return _resultobj;
2864 }
2865
2866 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
2867 static PyObject *_wrap_wxPyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject * _resultobj;
2869 wxPyWindow * _arg0;
2870 int * _arg1;
2871 int temp;
2872 int * _arg2;
2873 int temp0;
2874 PyObject * _argo0 = 0;
2875 char *_kwnames[] = { "self", NULL };
2876
2877 self = self;
2878 {
2879 _arg1 = &temp;
2880 }
2881 {
2882 _arg2 = &temp0;
2883 }
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetSize",_kwnames,&_argo0))
2885 return NULL;
2886 if (_argo0) {
2887 if (_argo0 == Py_None) { _arg0 = NULL; }
2888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
2890 return NULL;
2891 }
2892 }
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 wxPyWindow_base_DoGetSize(_arg0,_arg1,_arg2);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) return NULL;
2899 } Py_INCREF(Py_None);
2900 _resultobj = Py_None;
2901 {
2902 PyObject *o;
2903 o = PyInt_FromLong((long) (*_arg1));
2904 _resultobj = t_output_helper(_resultobj, o);
2905 }
2906 {
2907 PyObject *o;
2908 o = PyInt_FromLong((long) (*_arg2));
2909 _resultobj = t_output_helper(_resultobj, o);
2910 }
2911 return _resultobj;
2912 }
2913
2914 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
2915 static PyObject *_wrap_wxPyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject * _resultobj;
2917 wxPyWindow * _arg0;
2918 int * _arg1;
2919 int temp;
2920 int * _arg2;
2921 int temp0;
2922 PyObject * _argo0 = 0;
2923 char *_kwnames[] = { "self", NULL };
2924
2925 self = self;
2926 {
2927 _arg1 = &temp;
2928 }
2929 {
2930 _arg2 = &temp0;
2931 }
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetClientSize",_kwnames,&_argo0))
2933 return NULL;
2934 if (_argo0) {
2935 if (_argo0 == Py_None) { _arg0 = NULL; }
2936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
2938 return NULL;
2939 }
2940 }
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 wxPyWindow_base_DoGetClientSize(_arg0,_arg1,_arg2);
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) return NULL;
2947 } Py_INCREF(Py_None);
2948 _resultobj = Py_None;
2949 {
2950 PyObject *o;
2951 o = PyInt_FromLong((long) (*_arg1));
2952 _resultobj = t_output_helper(_resultobj, o);
2953 }
2954 {
2955 PyObject *o;
2956 o = PyInt_FromLong((long) (*_arg2));
2957 _resultobj = t_output_helper(_resultobj, o);
2958 }
2959 return _resultobj;
2960 }
2961
2962 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
2963 static PyObject *_wrap_wxPyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject * _resultobj;
2965 wxPyWindow * _arg0;
2966 int * _arg1;
2967 int temp;
2968 int * _arg2;
2969 int temp0;
2970 PyObject * _argo0 = 0;
2971 char *_kwnames[] = { "self", NULL };
2972
2973 self = self;
2974 {
2975 _arg1 = &temp;
2976 }
2977 {
2978 _arg2 = &temp0;
2979 }
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetPosition",_kwnames,&_argo0))
2981 return NULL;
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
2986 return NULL;
2987 }
2988 }
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 wxPyWindow_base_DoGetPosition(_arg0,_arg1,_arg2);
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) return NULL;
2995 } Py_INCREF(Py_None);
2996 _resultobj = Py_None;
2997 {
2998 PyObject *o;
2999 o = PyInt_FromLong((long) (*_arg1));
3000 _resultobj = t_output_helper(_resultobj, o);
3001 }
3002 {
3003 PyObject *o;
3004 o = PyInt_FromLong((long) (*_arg2));
3005 _resultobj = t_output_helper(_resultobj, o);
3006 }
3007 return _resultobj;
3008 }
3009
3010 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3011 static PyObject *_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxSize * _result;
3014 wxPyWindow * _arg0;
3015 PyObject * _argo0 = 0;
3016 char *_kwnames[] = { "self", NULL };
3017 char _ptemp[128];
3018
3019 self = self;
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames,&_argo0))
3021 return NULL;
3022 if (_argo0) {
3023 if (_argo0 == Py_None) { _arg0 = NULL; }
3024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3026 return NULL;
3027 }
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 _result = new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0));
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) return NULL;
3035 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3036 _resultobj = Py_BuildValue("s",_ptemp);
3037 return _resultobj;
3038 }
3039
3040 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3041 static PyObject *_wrap_wxPyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject * _resultobj;
3043 wxSize * _result;
3044 wxPyWindow * _arg0;
3045 PyObject * _argo0 = 0;
3046 char *_kwnames[] = { "self", NULL };
3047 char _ptemp[128];
3048
3049 self = self;
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetBestSize",_kwnames,&_argo0))
3051 return NULL;
3052 if (_argo0) {
3053 if (_argo0 == Py_None) { _arg0 = NULL; }
3054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3056 return NULL;
3057 }
3058 }
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 _result = new wxSize (wxPyWindow_base_DoGetBestSize(_arg0));
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) return NULL;
3065 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3066 _resultobj = Py_BuildValue("s",_ptemp);
3067 return _resultobj;
3068 }
3069
3070 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3071 static PyObject *_wrap_wxPyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3072 PyObject * _resultobj;
3073 wxPyWindow * _arg0;
3074 PyObject * _argo0 = 0;
3075 char *_kwnames[] = { "self", NULL };
3076
3077 self = self;
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_InitDialog",_kwnames,&_argo0))
3079 return NULL;
3080 if (_argo0) {
3081 if (_argo0 == Py_None) { _arg0 = NULL; }
3082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3084 return NULL;
3085 }
3086 }
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 wxPyWindow_base_InitDialog(_arg0);
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) return NULL;
3093 } Py_INCREF(Py_None);
3094 _resultobj = Py_None;
3095 return _resultobj;
3096 }
3097
3098 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3099 static PyObject *_wrap_wxPyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3100 PyObject * _resultobj;
3101 bool _result;
3102 wxPyWindow * _arg0;
3103 PyObject * _argo0 = 0;
3104 char *_kwnames[] = { "self", NULL };
3105
3106 self = self;
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataToWindow",_kwnames,&_argo0))
3108 return NULL;
3109 if (_argo0) {
3110 if (_argo0 == Py_None) { _arg0 = NULL; }
3111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3113 return NULL;
3114 }
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 _result = (bool )wxPyWindow_base_TransferDataToWindow(_arg0);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) return NULL;
3122 } _resultobj = Py_BuildValue("i",_result);
3123 return _resultobj;
3124 }
3125
3126 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3127 static PyObject *_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject * _resultobj;
3129 bool _result;
3130 wxPyWindow * _arg0;
3131 PyObject * _argo0 = 0;
3132 char *_kwnames[] = { "self", NULL };
3133
3134 self = self;
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames,&_argo0))
3136 return NULL;
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3141 return NULL;
3142 }
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 _result = (bool )wxPyWindow_base_TransferDataFromWindow(_arg0);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) return NULL;
3150 } _resultobj = Py_BuildValue("i",_result);
3151 return _resultobj;
3152 }
3153
3154 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3155 static PyObject *_wrap_wxPyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject * _resultobj;
3157 bool _result;
3158 wxPyWindow * _arg0;
3159 PyObject * _argo0 = 0;
3160 char *_kwnames[] = { "self", NULL };
3161
3162 self = self;
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_Validate",_kwnames,&_argo0))
3164 return NULL;
3165 if (_argo0) {
3166 if (_argo0 == Py_None) { _arg0 = NULL; }
3167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3169 return NULL;
3170 }
3171 }
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 _result = (bool )wxPyWindow_base_Validate(_arg0);
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) return NULL;
3178 } _resultobj = Py_BuildValue("i",_result);
3179 return _resultobj;
3180 }
3181
3182 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3183 static PyObject *_wrap_wxPyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject * _resultobj;
3185 bool _result;
3186 wxPyWindow * _arg0;
3187 PyObject * _argo0 = 0;
3188 char *_kwnames[] = { "self", NULL };
3189
3190 self = self;
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocus",_kwnames,&_argo0))
3192 return NULL;
3193 if (_argo0) {
3194 if (_argo0 == Py_None) { _arg0 = NULL; }
3195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3197 return NULL;
3198 }
3199 }
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 _result = (bool )wxPyWindow_base_AcceptsFocus(_arg0);
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) return NULL;
3206 } _resultobj = Py_BuildValue("i",_result);
3207 return _resultobj;
3208 }
3209
3210 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3211 static PyObject *_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject * _resultobj;
3213 bool _result;
3214 wxPyWindow * _arg0;
3215 PyObject * _argo0 = 0;
3216 char *_kwnames[] = { "self", NULL };
3217
3218 self = self;
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
3220 return NULL;
3221 if (_argo0) {
3222 if (_argo0 == Py_None) { _arg0 = NULL; }
3223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3225 return NULL;
3226 }
3227 }
3228 {
3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
3230 _result = (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0);
3231
3232 wxPyEndAllowThreads(__tstate);
3233 if (PyErr_Occurred()) return NULL;
3234 } _resultobj = Py_BuildValue("i",_result);
3235 return _resultobj;
3236 }
3237
3238 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3239 static PyObject *_wrap_wxPyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject * _resultobj;
3241 wxSize * _result;
3242 wxPyWindow * _arg0;
3243 PyObject * _argo0 = 0;
3244 char *_kwnames[] = { "self", NULL };
3245 char _ptemp[128];
3246
3247 self = self;
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_GetMaxSize",_kwnames,&_argo0))
3249 return NULL;
3250 if (_argo0) {
3251 if (_argo0 == Py_None) { _arg0 = NULL; }
3252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3254 return NULL;
3255 }
3256 }
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 _result = new wxSize (wxPyWindow_base_GetMaxSize(_arg0));
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) return NULL;
3263 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3264 _resultobj = Py_BuildValue("s",_ptemp);
3265 return _resultobj;
3266 }
3267
3268 static void *SwigwxPyControlTowxControl(void *ptr) {
3269 wxPyControl *src;
3270 wxControl *dest;
3271 src = (wxPyControl *) ptr;
3272 dest = (wxControl *) src;
3273 return (void *) dest;
3274 }
3275
3276 static void *SwigwxPyControlTowxWindow(void *ptr) {
3277 wxPyControl *src;
3278 wxWindow *dest;
3279 src = (wxPyControl *) ptr;
3280 dest = (wxWindow *) src;
3281 return (void *) dest;
3282 }
3283
3284 static void *SwigwxPyControlTowxEvtHandler(void *ptr) {
3285 wxPyControl *src;
3286 wxEvtHandler *dest;
3287 src = (wxPyControl *) ptr;
3288 dest = (wxEvtHandler *) src;
3289 return (void *) dest;
3290 }
3291
3292 static void *SwigwxPyControlTowxObject(void *ptr) {
3293 wxPyControl *src;
3294 wxObject *dest;
3295 src = (wxPyControl *) ptr;
3296 dest = (wxObject *) src;
3297 return (void *) dest;
3298 }
3299
3300 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3301 static PyObject *_wrap_new_wxPyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject * _resultobj;
3303 wxPyControl * _result;
3304 wxWindow * _arg0;
3305 wxWindowID _arg1;
3306 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3307 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3308 long _arg4 = (long ) 0;
3309 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
3310 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
3311 PyObject * _argo0 = 0;
3312 wxPoint temp;
3313 PyObject * _obj2 = 0;
3314 wxSize temp0;
3315 PyObject * _obj3 = 0;
3316 PyObject * _argo5 = 0;
3317 PyObject * _obj6 = 0;
3318 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3319 char _ptemp[128];
3320
3321 self = self;
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxPyControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
3323 return NULL;
3324 if (_argo0) {
3325 if (_argo0 == Py_None) { _arg0 = NULL; }
3326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3328 return NULL;
3329 }
3330 }
3331 if (_obj2)
3332 {
3333 _arg2 = &temp;
3334 if (! wxPoint_helper(_obj2, &_arg2))
3335 return NULL;
3336 }
3337 if (_obj3)
3338 {
3339 _arg3 = &temp0;
3340 if (! wxSize_helper(_obj3, &_arg3))
3341 return NULL;
3342 }
3343 if (_argo5) {
3344 if (_argo5 == Py_None) { _arg5 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3347 return NULL;
3348 }
3349 }
3350 if (_obj6)
3351 {
3352 _arg6 = wxString_in_helper(_obj6);
3353 if (_arg6 == NULL)
3354 return NULL;
3355 }
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 _result = (wxPyControl *)new_wxPyControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) return NULL;
3362 } if (_result) {
3363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControl_p");
3364 _resultobj = Py_BuildValue("s",_ptemp);
3365 } else {
3366 Py_INCREF(Py_None);
3367 _resultobj = Py_None;
3368 }
3369 {
3370 if (_obj6)
3371 delete _arg6;
3372 }
3373 return _resultobj;
3374 }
3375
3376 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3377 static PyObject *_wrap_wxPyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 wxPyControl * _arg0;
3380 PyObject * _arg1;
3381 PyObject * _arg2;
3382 PyObject * _argo0 = 0;
3383 PyObject * _obj1 = 0;
3384 PyObject * _obj2 = 0;
3385 char *_kwnames[] = { "self","self","_class", NULL };
3386
3387 self = self;
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3389 return NULL;
3390 if (_argo0) {
3391 if (_argo0 == Py_None) { _arg0 = NULL; }
3392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3394 return NULL;
3395 }
3396 }
3397 {
3398 _arg1 = _obj1;
3399 }
3400 {
3401 _arg2 = _obj2;
3402 }
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 wxPyControl__setCallbackInfo(_arg0,_arg1,_arg2);
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) return NULL;
3409 } Py_INCREF(Py_None);
3410 _resultobj = Py_None;
3411 return _resultobj;
3412 }
3413
3414 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3415 static PyObject *_wrap_wxPyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject * _resultobj;
3417 wxPyControl * _arg0;
3418 int _arg1;
3419 int _arg2;
3420 int _arg3;
3421 int _arg4;
3422 PyObject * _argo0 = 0;
3423 char *_kwnames[] = { "self","x","y","width","height", NULL };
3424
3425 self = self;
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3427 return NULL;
3428 if (_argo0) {
3429 if (_argo0 == Py_None) { _arg0 = NULL; }
3430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3432 return NULL;
3433 }
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 wxPyControl_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) return NULL;
3441 } Py_INCREF(Py_None);
3442 _resultobj = Py_None;
3443 return _resultobj;
3444 }
3445
3446 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3447 static PyObject *_wrap_wxPyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject * _resultobj;
3449 wxPyControl * _arg0;
3450 int _arg1;
3451 int _arg2;
3452 int _arg3;
3453 int _arg4;
3454 int _arg5 = (int ) wxSIZE_AUTO;
3455 PyObject * _argo0 = 0;
3456 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3457
3458 self = self;
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3460 return NULL;
3461 if (_argo0) {
3462 if (_argo0 == Py_None) { _arg0 = NULL; }
3463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
3465 return NULL;
3466 }
3467 }
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 wxPyControl_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) return NULL;
3474 } Py_INCREF(Py_None);
3475 _resultobj = Py_None;
3476 return _resultobj;
3477 }
3478
3479 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3480 static PyObject *_wrap_wxPyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject * _resultobj;
3482 wxPyControl * _arg0;
3483 int _arg1;
3484 int _arg2;
3485 PyObject * _argo0 = 0;
3486 char *_kwnames[] = { "self","width","height", NULL };
3487
3488 self = self;
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
3490 return NULL;
3491 if (_argo0) {
3492 if (_argo0 == Py_None) { _arg0 = NULL; }
3493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
3495 return NULL;
3496 }
3497 }
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 wxPyControl_base_DoSetClientSize(_arg0,_arg1,_arg2);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) return NULL;
3504 } Py_INCREF(Py_None);
3505 _resultobj = Py_None;
3506 return _resultobj;
3507 }
3508
3509 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3510 static PyObject *_wrap_wxPyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject * _resultobj;
3512 wxPyControl * _arg0;
3513 int _arg1;
3514 int _arg2;
3515 PyObject * _argo0 = 0;
3516 char *_kwnames[] = { "self","x","y", NULL };
3517
3518 self = self;
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
3520 return NULL;
3521 if (_argo0) {
3522 if (_argo0 == Py_None) { _arg0 = NULL; }
3523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
3525 return NULL;
3526 }
3527 }
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 wxPyControl_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) return NULL;
3534 } Py_INCREF(Py_None);
3535 _resultobj = Py_None;
3536 return _resultobj;
3537 }
3538
3539 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3540 static PyObject *_wrap_wxPyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject * _resultobj;
3542 wxPyControl * _arg0;
3543 int * _arg1;
3544 int temp;
3545 int * _arg2;
3546 int temp0;
3547 PyObject * _argo0 = 0;
3548 char *_kwnames[] = { "self", NULL };
3549
3550 self = self;
3551 {
3552 _arg1 = &temp;
3553 }
3554 {
3555 _arg2 = &temp0;
3556 }
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetSize",_kwnames,&_argo0))
3558 return NULL;
3559 if (_argo0) {
3560 if (_argo0 == Py_None) { _arg0 = NULL; }
3561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
3563 return NULL;
3564 }
3565 }
3566 {
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 wxPyControl_base_DoGetSize(_arg0,_arg1,_arg2);
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) return NULL;
3572 } Py_INCREF(Py_None);
3573 _resultobj = Py_None;
3574 {
3575 PyObject *o;
3576 o = PyInt_FromLong((long) (*_arg1));
3577 _resultobj = t_output_helper(_resultobj, o);
3578 }
3579 {
3580 PyObject *o;
3581 o = PyInt_FromLong((long) (*_arg2));
3582 _resultobj = t_output_helper(_resultobj, o);
3583 }
3584 return _resultobj;
3585 }
3586
3587 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3588 static PyObject *_wrap_wxPyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject * _resultobj;
3590 wxPyControl * _arg0;
3591 int * _arg1;
3592 int temp;
3593 int * _arg2;
3594 int temp0;
3595 PyObject * _argo0 = 0;
3596 char *_kwnames[] = { "self", NULL };
3597
3598 self = self;
3599 {
3600 _arg1 = &temp;
3601 }
3602 {
3603 _arg2 = &temp0;
3604 }
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetClientSize",_kwnames,&_argo0))
3606 return NULL;
3607 if (_argo0) {
3608 if (_argo0 == Py_None) { _arg0 = NULL; }
3609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
3611 return NULL;
3612 }
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 wxPyControl_base_DoGetClientSize(_arg0,_arg1,_arg2);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) return NULL;
3620 } Py_INCREF(Py_None);
3621 _resultobj = Py_None;
3622 {
3623 PyObject *o;
3624 o = PyInt_FromLong((long) (*_arg1));
3625 _resultobj = t_output_helper(_resultobj, o);
3626 }
3627 {
3628 PyObject *o;
3629 o = PyInt_FromLong((long) (*_arg2));
3630 _resultobj = t_output_helper(_resultobj, o);
3631 }
3632 return _resultobj;
3633 }
3634
3635 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3636 static PyObject *_wrap_wxPyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3637 PyObject * _resultobj;
3638 wxPyControl * _arg0;
3639 int * _arg1;
3640 int temp;
3641 int * _arg2;
3642 int temp0;
3643 PyObject * _argo0 = 0;
3644 char *_kwnames[] = { "self", NULL };
3645
3646 self = self;
3647 {
3648 _arg1 = &temp;
3649 }
3650 {
3651 _arg2 = &temp0;
3652 }
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetPosition",_kwnames,&_argo0))
3654 return NULL;
3655 if (_argo0) {
3656 if (_argo0 == Py_None) { _arg0 = NULL; }
3657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
3659 return NULL;
3660 }
3661 }
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 wxPyControl_base_DoGetPosition(_arg0,_arg1,_arg2);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) return NULL;
3668 } Py_INCREF(Py_None);
3669 _resultobj = Py_None;
3670 {
3671 PyObject *o;
3672 o = PyInt_FromLong((long) (*_arg1));
3673 _resultobj = t_output_helper(_resultobj, o);
3674 }
3675 {
3676 PyObject *o;
3677 o = PyInt_FromLong((long) (*_arg2));
3678 _resultobj = t_output_helper(_resultobj, o);
3679 }
3680 return _resultobj;
3681 }
3682
3683 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3684 static PyObject *_wrap_wxPyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject * _resultobj;
3686 wxSize * _result;
3687 wxPyControl * _arg0;
3688 PyObject * _argo0 = 0;
3689 char *_kwnames[] = { "self", NULL };
3690 char _ptemp[128];
3691
3692 self = self;
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetVirtualSize",_kwnames,&_argo0))
3694 return NULL;
3695 if (_argo0) {
3696 if (_argo0 == Py_None) { _arg0 = NULL; }
3697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
3699 return NULL;
3700 }
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 _result = new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0));
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) return NULL;
3708 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3709 _resultobj = Py_BuildValue("s",_ptemp);
3710 return _resultobj;
3711 }
3712
3713 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3714 static PyObject *_wrap_wxPyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject * _resultobj;
3716 wxSize * _result;
3717 wxPyControl * _arg0;
3718 PyObject * _argo0 = 0;
3719 char *_kwnames[] = { "self", NULL };
3720 char _ptemp[128];
3721
3722 self = self;
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetBestSize",_kwnames,&_argo0))
3724 return NULL;
3725 if (_argo0) {
3726 if (_argo0 == Py_None) { _arg0 = NULL; }
3727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
3729 return NULL;
3730 }
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 _result = new wxSize (wxPyControl_base_DoGetBestSize(_arg0));
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) return NULL;
3738 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3739 _resultobj = Py_BuildValue("s",_ptemp);
3740 return _resultobj;
3741 }
3742
3743 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3744 static PyObject *_wrap_wxPyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject * _resultobj;
3746 wxPyControl * _arg0;
3747 PyObject * _argo0 = 0;
3748 char *_kwnames[] = { "self", NULL };
3749
3750 self = self;
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_InitDialog",_kwnames,&_argo0))
3752 return NULL;
3753 if (_argo0) {
3754 if (_argo0 == Py_None) { _arg0 = NULL; }
3755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
3757 return NULL;
3758 }
3759 }
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 wxPyControl_base_InitDialog(_arg0);
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) return NULL;
3766 } Py_INCREF(Py_None);
3767 _resultobj = Py_None;
3768 return _resultobj;
3769 }
3770
3771 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3772 static PyObject *_wrap_wxPyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject * _resultobj;
3774 bool _result;
3775 wxPyControl * _arg0;
3776 PyObject * _argo0 = 0;
3777 char *_kwnames[] = { "self", NULL };
3778
3779 self = self;
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataToWindow",_kwnames,&_argo0))
3781 return NULL;
3782 if (_argo0) {
3783 if (_argo0 == Py_None) { _arg0 = NULL; }
3784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
3786 return NULL;
3787 }
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 _result = (bool )wxPyControl_base_TransferDataToWindow(_arg0);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) return NULL;
3795 } _resultobj = Py_BuildValue("i",_result);
3796 return _resultobj;
3797 }
3798
3799 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3800 static PyObject *_wrap_wxPyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject * _resultobj;
3802 bool _result;
3803 wxPyControl * _arg0;
3804 PyObject * _argo0 = 0;
3805 char *_kwnames[] = { "self", NULL };
3806
3807 self = self;
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataFromWindow",_kwnames,&_argo0))
3809 return NULL;
3810 if (_argo0) {
3811 if (_argo0 == Py_None) { _arg0 = NULL; }
3812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
3814 return NULL;
3815 }
3816 }
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 _result = (bool )wxPyControl_base_TransferDataFromWindow(_arg0);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) return NULL;
3823 } _resultobj = Py_BuildValue("i",_result);
3824 return _resultobj;
3825 }
3826
3827 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
3828 static PyObject *_wrap_wxPyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject * _resultobj;
3830 bool _result;
3831 wxPyControl * _arg0;
3832 PyObject * _argo0 = 0;
3833 char *_kwnames[] = { "self", NULL };
3834
3835 self = self;
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_Validate",_kwnames,&_argo0))
3837 return NULL;
3838 if (_argo0) {
3839 if (_argo0 == Py_None) { _arg0 = NULL; }
3840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
3842 return NULL;
3843 }
3844 }
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 _result = (bool )wxPyControl_base_Validate(_arg0);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) return NULL;
3851 } _resultobj = Py_BuildValue("i",_result);
3852 return _resultobj;
3853 }
3854
3855 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3856 static PyObject *_wrap_wxPyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject * _resultobj;
3858 bool _result;
3859 wxPyControl * _arg0;
3860 PyObject * _argo0 = 0;
3861 char *_kwnames[] = { "self", NULL };
3862
3863 self = self;
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocus",_kwnames,&_argo0))
3865 return NULL;
3866 if (_argo0) {
3867 if (_argo0 == Py_None) { _arg0 = NULL; }
3868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
3870 return NULL;
3871 }
3872 }
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 _result = (bool )wxPyControl_base_AcceptsFocus(_arg0);
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) return NULL;
3879 } _resultobj = Py_BuildValue("i",_result);
3880 return _resultobj;
3881 }
3882
3883 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3884 static PyObject *_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject * _resultobj;
3886 bool _result;
3887 wxPyControl * _arg0;
3888 PyObject * _argo0 = 0;
3889 char *_kwnames[] = { "self", NULL };
3890
3891 self = self;
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
3893 return NULL;
3894 if (_argo0) {
3895 if (_argo0 == Py_None) { _arg0 = NULL; }
3896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
3898 return NULL;
3899 }
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 _result = (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) return NULL;
3907 } _resultobj = Py_BuildValue("i",_result);
3908 return _resultobj;
3909 }
3910
3911 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3912 static PyObject *_wrap_wxPyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 wxSize * _result;
3915 wxPyControl * _arg0;
3916 PyObject * _argo0 = 0;
3917 char *_kwnames[] = { "self", NULL };
3918 char _ptemp[128];
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_GetMaxSize",_kwnames,&_argo0))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
3927 return NULL;
3928 }
3929 }
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 _result = new wxSize (wxPyControl_base_GetMaxSize(_arg0));
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) return NULL;
3936 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3937 _resultobj = Py_BuildValue("s",_ptemp);
3938 return _resultobj;
3939 }
3940
3941 static PyMethodDef windows2cMethods[] = {
3942 { "wxPyControl_base_GetMaxSize", (PyCFunction) _wrap_wxPyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
3943 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
3944 { "wxPyControl_base_AcceptsFocus", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
3945 { "wxPyControl_base_Validate", (PyCFunction) _wrap_wxPyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
3946 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
3947 { "wxPyControl_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
3948 { "wxPyControl_base_InitDialog", (PyCFunction) _wrap_wxPyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
3949 { "wxPyControl_base_DoGetBestSize", (PyCFunction) _wrap_wxPyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
3950 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
3951 { "wxPyControl_base_DoGetPosition", (PyCFunction) _wrap_wxPyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
3952 { "wxPyControl_base_DoGetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
3953 { "wxPyControl_base_DoGetSize", (PyCFunction) _wrap_wxPyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
3954 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
3955 { "wxPyControl_base_DoSetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
3956 { "wxPyControl_base_DoSetSize", (PyCFunction) _wrap_wxPyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
3957 { "wxPyControl_base_DoMoveWindow", (PyCFunction) _wrap_wxPyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
3958 { "wxPyControl__setCallbackInfo", (PyCFunction) _wrap_wxPyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
3959 { "new_wxPyControl", (PyCFunction) _wrap_new_wxPyControl, METH_VARARGS | METH_KEYWORDS },
3960 { "wxPyWindow_base_GetMaxSize", (PyCFunction) _wrap_wxPyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
3961 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
3962 { "wxPyWindow_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
3963 { "wxPyWindow_base_Validate", (PyCFunction) _wrap_wxPyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
3964 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
3965 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
3966 { "wxPyWindow_base_InitDialog", (PyCFunction) _wrap_wxPyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
3967 { "wxPyWindow_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
3968 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
3969 { "wxPyWindow_base_DoGetPosition", (PyCFunction) _wrap_wxPyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
3970 { "wxPyWindow_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
3971 { "wxPyWindow_base_DoGetSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
3972 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
3973 { "wxPyWindow_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
3974 { "wxPyWindow_base_DoSetSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
3975 { "wxPyWindow_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
3976 { "wxPyWindow__setCallbackInfo", (PyCFunction) _wrap_wxPyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
3977 { "new_wxPyWindow", (PyCFunction) _wrap_new_wxPyWindow, METH_VARARGS | METH_KEYWORDS },
3978 { "wxTaskBarIcon_IsOK", (PyCFunction) _wrap_wxTaskBarIcon_IsOK, METH_VARARGS | METH_KEYWORDS },
3979 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_wxTaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
3980 { "wxTaskBarIcon_PopupMenu", (PyCFunction) _wrap_wxTaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
3981 { "wxTaskBarIcon_RemoveIcon", (PyCFunction) _wrap_wxTaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
3982 { "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
3983 { "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
3984 { "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
3985 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
3986 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
3987 { "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
3988 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
3989 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
3990 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
3991 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
3992 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
3993 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
3994 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
3995 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
3996 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
3997 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
3998 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
3999 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
4000 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
4001 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
4002 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
4003 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
4004 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
4005 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
4006 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
4007 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
4008 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
4009 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
4010 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
4011 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
4012 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
4013 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
4014 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
4015 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
4016 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
4017 { "wxNotebook_InsertPage", (PyCFunction) _wrap_wxNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS },
4018 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
4019 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
4020 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
4021 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
4022 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
4023 { "wxNotebook_SetPageSize", (PyCFunction) _wrap_wxNotebook_SetPageSize, METH_VARARGS | METH_KEYWORDS },
4024 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
4025 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
4026 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
4027 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
4028 { "wxNotebook_AssignImageList", (PyCFunction) _wrap_wxNotebook_AssignImageList, METH_VARARGS | METH_KEYWORDS },
4029 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
4030 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
4031 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
4032 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
4033 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
4034 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
4035 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
4036 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
4037 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
4038 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
4039 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
4040 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
4041 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
4042 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
4043 { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS },
4044 { NULL, NULL }
4045 };
4046 #ifdef __cplusplus
4047 }
4048 #endif
4049 /*
4050 * This table is used by the pointer type-checker
4051 */
4052 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
4053 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
4054 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
4055 { "_signed_long","_long",0},
4056 { "_wxPrintQuality","_wxCoord",0},
4057 { "_wxPrintQuality","_int",0},
4058 { "_wxPrintQuality","_signed_int",0},
4059 { "_wxPrintQuality","_unsigned_int",0},
4060 { "_wxPrintQuality","_wxWindowID",0},
4061 { "_wxPrintQuality","_uint",0},
4062 { "_wxPrintQuality","_EBool",0},
4063 { "_wxPrintQuality","_size_t",0},
4064 { "_wxPrintQuality","_time_t",0},
4065 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent},
4066 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
4067 { "_byte","_unsigned_char",0},
4068 { "_long","_unsigned_long",0},
4069 { "_long","_signed_long",0},
4070 { "_size_t","_wxCoord",0},
4071 { "_size_t","_wxPrintQuality",0},
4072 { "_size_t","_time_t",0},
4073 { "_size_t","_unsigned_int",0},
4074 { "_size_t","_int",0},
4075 { "_size_t","_wxWindowID",0},
4076 { "_size_t","_uint",0},
4077 { "_uint","_wxCoord",0},
4078 { "_uint","_wxPrintQuality",0},
4079 { "_uint","_time_t",0},
4080 { "_uint","_size_t",0},
4081 { "_uint","_unsigned_int",0},
4082 { "_uint","_int",0},
4083 { "_uint","_wxWindowID",0},
4084 { "_wxChar","_char",0},
4085 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
4086 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
4087 { "_char","_wxChar",0},
4088 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4089 { "_EBool","_wxCoord",0},
4090 { "_EBool","_wxPrintQuality",0},
4091 { "_EBool","_signed_int",0},
4092 { "_EBool","_int",0},
4093 { "_EBool","_wxWindowID",0},
4094 { "_unsigned_long","_long",0},
4095 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4096 { "_signed_int","_wxCoord",0},
4097 { "_signed_int","_wxPrintQuality",0},
4098 { "_signed_int","_EBool",0},
4099 { "_signed_int","_wxWindowID",0},
4100 { "_signed_int","_int",0},
4101 { "_WXTYPE","_short",0},
4102 { "_WXTYPE","_signed_short",0},
4103 { "_WXTYPE","_unsigned_short",0},
4104 { "_unsigned_short","_WXTYPE",0},
4105 { "_unsigned_short","_short",0},
4106 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
4107 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
4108 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject},
4109 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
4110 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
4111 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
4112 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
4113 { "_signed_short","_WXTYPE",0},
4114 { "_signed_short","_short",0},
4115 { "_unsigned_char","_byte",0},
4116 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl},
4117 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
4118 { "_unsigned_int","_wxCoord",0},
4119 { "_unsigned_int","_wxPrintQuality",0},
4120 { "_unsigned_int","_time_t",0},
4121 { "_unsigned_int","_size_t",0},
4122 { "_unsigned_int","_uint",0},
4123 { "_unsigned_int","_wxWindowID",0},
4124 { "_unsigned_int","_int",0},
4125 { "_short","_WXTYPE",0},
4126 { "_short","_unsigned_short",0},
4127 { "_short","_signed_short",0},
4128 { "_wxWindowID","_wxCoord",0},
4129 { "_wxWindowID","_wxPrintQuality",0},
4130 { "_wxWindowID","_time_t",0},
4131 { "_wxWindowID","_size_t",0},
4132 { "_wxWindowID","_EBool",0},
4133 { "_wxWindowID","_uint",0},
4134 { "_wxWindowID","_int",0},
4135 { "_wxWindowID","_signed_int",0},
4136 { "_wxWindowID","_unsigned_int",0},
4137 { "_int","_wxCoord",0},
4138 { "_int","_wxPrintQuality",0},
4139 { "_int","_time_t",0},
4140 { "_int","_size_t",0},
4141 { "_int","_EBool",0},
4142 { "_int","_uint",0},
4143 { "_int","_wxWindowID",0},
4144 { "_int","_unsigned_int",0},
4145 { "_int","_signed_int",0},
4146 { "_time_t","_wxCoord",0},
4147 { "_time_t","_wxPrintQuality",0},
4148 { "_time_t","_unsigned_int",0},
4149 { "_time_t","_int",0},
4150 { "_time_t","_wxWindowID",0},
4151 { "_time_t","_uint",0},
4152 { "_time_t","_size_t",0},
4153 { "_wxCoord","_int",0},
4154 { "_wxCoord","_signed_int",0},
4155 { "_wxCoord","_unsigned_int",0},
4156 { "_wxCoord","_wxWindowID",0},
4157 { "_wxCoord","_uint",0},
4158 { "_wxCoord","_EBool",0},
4159 { "_wxCoord","_size_t",0},
4160 { "_wxCoord","_time_t",0},
4161 { "_wxCoord","_wxPrintQuality",0},
4162 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler},
4163 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler},
4164 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
4165 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
4166 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
4167 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow},
4168 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow},
4169 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
4170 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
4171 {0,0,0}};
4172
4173 static PyObject *SWIG_globals;
4174 #ifdef __cplusplus
4175 extern "C"
4176 #endif
4177 SWIGEXPORT(void) initwindows2c() {
4178 PyObject *m, *d;
4179 SWIG_globals = SWIG_newvarlink();
4180 m = Py_InitModule("windows2c", windows2cMethods);
4181 d = PyModule_GetDict(m);
4182 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
4183 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
4184 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
4185 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
4186 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
4187 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
4188 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
4189 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
4190 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
4191 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
4192 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
4193 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
4194 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
4195 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
4196 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
4197 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
4198 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
4199 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
4200 {
4201 int i;
4202 for (i = 0; _swig_mapping[i].n1; i++)
4203 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4204 }
4205 }