]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows2.cpp
backport wxRegConfig enumeration fix
[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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initwindows2c
54
55 #define SWIG_name "windows2c"
56
57 #include "helpers.h"
58 #include <wx/notebook.h>
59 #include <wx/listbook.h>
60 #include <wx/splitter.h>
61 #include <wx/imaglist.h>
62 #ifdef __WXMSW__
63 #include <wx/taskbar.h>
64 #endif
65
66 // Put some wx default wxChar* values into wxStrings.
67 DECLARE_DEF_STRING(NOTEBOOK_NAME);
68 DECLARE_DEF_STRING(PanelNameStr);
69 DECLARE_DEF_STRING(ControlNameStr);
70
71 static const wxChar* wxSplitterNameStr = wxT("splitter");
72 DECLARE_DEF_STRING(SplitterNameStr);
73 static const wxString wxPyEmptyString(wxT(""));
74
75
76 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100 }
101 // C++ version of Python aware wxWindow
102 class wxPyWindow : public wxWindow
103 {
104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
105 public:
106 wxPyWindow() : wxWindow() {}
107 wxPyWindow(wxWindow* parent, const wxWindowID id,
108 const wxPoint& pos = wxDefaultPosition,
109 const wxSize& size = wxDefaultSize,
110 long style = 0,
111 const wxString& name = wxPyPanelNameStr)
112 : wxWindow(parent, id, pos, size, style, name) {}
113
114
115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
116 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
119
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
123
124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
126
127 DEC_PYCALLBACK__(InitDialog);
128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
130 DEC_PYCALLBACK_BOOL_(Validate);
131
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
134 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
135
136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
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 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
167
168 // C++ version of Python aware wxControl
169 class wxPyControl : public wxControl
170 {
171 DECLARE_DYNAMIC_CLASS(wxPyControl)
172 public:
173 wxPyControl() : wxControl() {}
174 wxPyControl(wxWindow* parent, const wxWindowID id,
175 const wxPoint& pos = wxDefaultPosition,
176 const wxSize& size = wxDefaultSize,
177 long style = 0,
178 const wxValidator& validator=wxDefaultValidator,
179 const wxString& name = wxPyControlNameStr)
180 : wxControl(parent, id, pos, size, style, validator, name) {}
181
182
183 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
184 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
186 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
187
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
190 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
191
192 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
193 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
194
195 DEC_PYCALLBACK__(InitDialog);
196 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
197 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
198 DEC_PYCALLBACK_BOOL_(Validate);
199
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
201 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
202 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
203
204 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
205 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
206
207 PYPRIVATE;
208 };
209
210 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
211
212 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
213 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
215 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
216
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
220
221 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
222 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
223
224 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
225 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
226 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
227 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
228
229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
230 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
231 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
232
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
234 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
235
236 // C++ version of Python aware wxPanel
237 class wxPyPanel : public wxPanel
238 {
239 DECLARE_DYNAMIC_CLASS(wxPyPanel)
240 public:
241 wxPyPanel() : wxPanel() {}
242 wxPyPanel(wxWindow* parent, const wxWindowID id,
243 const wxPoint& pos = wxDefaultPosition,
244 const wxSize& size = wxDefaultSize,
245 long style = 0,
246 const wxString& name = wxPyPanelNameStr)
247 : wxPanel(parent, id, pos, size, style, name) {}
248
249
250 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
251 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
253 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
254
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
257 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
258
259 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
260 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
261
262 DEC_PYCALLBACK__(InitDialog);
263 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
264 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
265 DEC_PYCALLBACK_BOOL_(Validate);
266
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
268 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
269 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
270
271 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
272 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
273
274 PYPRIVATE;
275 };
276
277 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
278
279 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
280 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
282 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
283
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
287
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
289 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
290
291 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
294 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
295
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
297 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
298 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
299
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
302
303 #ifdef __cplusplus
304 extern "C" {
305 #endif
306 static void *SwigwxBookCtrlTowxControl(void *ptr) {
307 wxBookCtrl *src;
308 wxControl *dest;
309 src = (wxBookCtrl *) ptr;
310 dest = (wxControl *) src;
311 return (void *) dest;
312 }
313
314 static void *SwigwxBookCtrlTowxWindow(void *ptr) {
315 wxBookCtrl *src;
316 wxWindow *dest;
317 src = (wxBookCtrl *) ptr;
318 dest = (wxWindow *) src;
319 return (void *) dest;
320 }
321
322 static void *SwigwxBookCtrlTowxEvtHandler(void *ptr) {
323 wxBookCtrl *src;
324 wxEvtHandler *dest;
325 src = (wxBookCtrl *) ptr;
326 dest = (wxEvtHandler *) src;
327 return (void *) dest;
328 }
329
330 static void *SwigwxBookCtrlTowxObject(void *ptr) {
331 wxBookCtrl *src;
332 wxObject *dest;
333 src = (wxBookCtrl *) ptr;
334 dest = (wxObject *) src;
335 return (void *) dest;
336 }
337
338 #define wxBookCtrl_GetPageCount(_swigobj) (_swigobj->GetPageCount())
339 static PyObject *_wrap_wxBookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 size_t _result;
342 wxBookCtrl * _arg0;
343 PyObject * _argo0 = 0;
344 char *_kwnames[] = { "self", NULL };
345
346 self = self;
347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetPageCount",_kwnames,&_argo0))
348 return NULL;
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageCount. Expected _wxBookCtrl_p.");
353 return NULL;
354 }
355 }
356 {
357 PyThreadState* __tstate = wxPyBeginAllowThreads();
358 _result = (size_t )wxBookCtrl_GetPageCount(_arg0);
359
360 wxPyEndAllowThreads(__tstate);
361 if (PyErr_Occurred()) return NULL;
362 } _resultobj = Py_BuildValue("i",_result);
363 return _resultobj;
364 }
365
366 #define wxBookCtrl_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
367 static PyObject *_wrap_wxBookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
368 PyObject * _resultobj;
369 wxWindow * _result;
370 wxBookCtrl * _arg0;
371 size_t _arg1;
372 PyObject * _argo0 = 0;
373 char *_kwnames[] = { "self","n", NULL };
374
375 self = self;
376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPage",_kwnames,&_argo0,&_arg1))
377 return NULL;
378 if (_argo0) {
379 if (_argo0 == Py_None) { _arg0 = NULL; }
380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPage. Expected _wxBookCtrl_p.");
382 return NULL;
383 }
384 }
385 {
386 PyThreadState* __tstate = wxPyBeginAllowThreads();
387 _result = (wxWindow *)wxBookCtrl_GetPage(_arg0,_arg1);
388
389 wxPyEndAllowThreads(__tstate);
390 if (PyErr_Occurred()) return NULL;
391 }{ _resultobj = wxPyMake_wxObject(_result); }
392 return _resultobj;
393 }
394
395 #define wxBookCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
396 static PyObject *_wrap_wxBookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
397 PyObject * _resultobj;
398 int _result;
399 wxBookCtrl * _arg0;
400 PyObject * _argo0 = 0;
401 char *_kwnames[] = { "self", NULL };
402
403 self = self;
404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetSelection",_kwnames,&_argo0))
405 return NULL;
406 if (_argo0) {
407 if (_argo0 == Py_None) { _arg0 = NULL; }
408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetSelection. Expected _wxBookCtrl_p.");
410 return NULL;
411 }
412 }
413 {
414 PyThreadState* __tstate = wxPyBeginAllowThreads();
415 _result = (int )wxBookCtrl_GetSelection(_arg0);
416
417 wxPyEndAllowThreads(__tstate);
418 if (PyErr_Occurred()) return NULL;
419 } _resultobj = Py_BuildValue("i",_result);
420 return _resultobj;
421 }
422
423 #define wxBookCtrl_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
424 static PyObject *_wrap_wxBookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
425 PyObject * _resultobj;
426 bool _result;
427 wxBookCtrl * _arg0;
428 size_t _arg1;
429 wxString * _arg2;
430 PyObject * _argo0 = 0;
431 PyObject * _obj2 = 0;
432 char *_kwnames[] = { "self","n","strText", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxBookCtrl_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
436 return NULL;
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageText. Expected _wxBookCtrl_p.");
441 return NULL;
442 }
443 }
444 {
445 _arg2 = wxString_in_helper(_obj2);
446 if (_arg2 == NULL)
447 return NULL;
448 }
449 {
450 PyThreadState* __tstate = wxPyBeginAllowThreads();
451 _result = (bool )wxBookCtrl_SetPageText(_arg0,_arg1,*_arg2);
452
453 wxPyEndAllowThreads(__tstate);
454 if (PyErr_Occurred()) return NULL;
455 } _resultobj = Py_BuildValue("i",_result);
456 {
457 if (_obj2)
458 delete _arg2;
459 }
460 return _resultobj;
461 }
462
463 #define wxBookCtrl_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
464 static PyObject *_wrap_wxBookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 wxString * _result;
467 wxBookCtrl * _arg0;
468 size_t _arg1;
469 PyObject * _argo0 = 0;
470 char *_kwnames[] = { "self","n", NULL };
471
472 self = self;
473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPageText",_kwnames,&_argo0,&_arg1))
474 return NULL;
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageText. Expected _wxBookCtrl_p.");
479 return NULL;
480 }
481 }
482 {
483 PyThreadState* __tstate = wxPyBeginAllowThreads();
484 _result = new wxString (wxBookCtrl_GetPageText(_arg0,_arg1));
485
486 wxPyEndAllowThreads(__tstate);
487 if (PyErr_Occurred()) return NULL;
488 }{
489 #if wxUSE_UNICODE
490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
491 #else
492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
493 #endif
494 }
495 {
496 delete _result;
497 }
498 return _resultobj;
499 }
500
501 #define wxBookCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
502 static PyObject *_wrap_wxBookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
503 PyObject * _resultobj;
504 wxBookCtrl * _arg0;
505 wxImageList * _arg1;
506 PyObject * _argo0 = 0;
507 PyObject * _argo1 = 0;
508 char *_kwnames[] = { "self","imageList", NULL };
509
510 self = self;
511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
512 return NULL;
513 if (_argo0) {
514 if (_argo0 == Py_None) { _arg0 = NULL; }
515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetImageList. Expected _wxBookCtrl_p.");
517 return NULL;
518 }
519 }
520 if (_argo1) {
521 if (_argo1 == Py_None) { _arg1 = NULL; }
522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_SetImageList. Expected _wxImageList_p.");
524 return NULL;
525 }
526 }
527 {
528 PyThreadState* __tstate = wxPyBeginAllowThreads();
529 wxBookCtrl_SetImageList(_arg0,_arg1);
530
531 wxPyEndAllowThreads(__tstate);
532 if (PyErr_Occurred()) return NULL;
533 } Py_INCREF(Py_None);
534 _resultobj = Py_None;
535 return _resultobj;
536 }
537
538 #define wxBookCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
539 static PyObject *_wrap_wxBookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
540 PyObject * _resultobj;
541 wxBookCtrl * _arg0;
542 wxImageList * _arg1;
543 PyObject * _argo0 = 0;
544 PyObject * _argo1 = 0;
545 char *_kwnames[] = { "self","imageList", NULL };
546
547 self = self;
548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
549 return NULL;
550 if (_argo0) {
551 if (_argo0 == Py_None) { _arg0 = NULL; }
552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AssignImageList. Expected _wxBookCtrl_p.");
554 return NULL;
555 }
556 }
557 if (_argo1) {
558 if (_argo1 == Py_None) { _arg1 = NULL; }
559 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_AssignImageList. Expected _wxImageList_p.");
561 return NULL;
562 }
563 }
564 {
565 PyThreadState* __tstate = wxPyBeginAllowThreads();
566 wxBookCtrl_AssignImageList(_arg0,_arg1);
567
568 wxPyEndAllowThreads(__tstate);
569 if (PyErr_Occurred()) return NULL;
570 } Py_INCREF(Py_None);
571 _resultobj = Py_None;
572 return _resultobj;
573 }
574
575 #define wxBookCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
576 static PyObject *_wrap_wxBookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 wxImageList * _result;
579 wxBookCtrl * _arg0;
580 PyObject * _argo0 = 0;
581 char *_kwnames[] = { "self", NULL };
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetImageList",_kwnames,&_argo0))
585 return NULL;
586 if (_argo0) {
587 if (_argo0 == Py_None) { _arg0 = NULL; }
588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetImageList. Expected _wxBookCtrl_p.");
590 return NULL;
591 }
592 }
593 {
594 PyThreadState* __tstate = wxPyBeginAllowThreads();
595 _result = (wxImageList *)wxBookCtrl_GetImageList(_arg0);
596
597 wxPyEndAllowThreads(__tstate);
598 if (PyErr_Occurred()) return NULL;
599 }{ _resultobj = wxPyMake_wxObject(_result); }
600 return _resultobj;
601 }
602
603 #define wxBookCtrl_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
604 static PyObject *_wrap_wxBookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
605 PyObject * _resultobj;
606 int _result;
607 wxBookCtrl * _arg0;
608 size_t _arg1;
609 PyObject * _argo0 = 0;
610 char *_kwnames[] = { "self","n", NULL };
611
612 self = self;
613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPageImage",_kwnames,&_argo0,&_arg1))
614 return NULL;
615 if (_argo0) {
616 if (_argo0 == Py_None) { _arg0 = NULL; }
617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageImage. Expected _wxBookCtrl_p.");
619 return NULL;
620 }
621 }
622 {
623 PyThreadState* __tstate = wxPyBeginAllowThreads();
624 _result = (int )wxBookCtrl_GetPageImage(_arg0,_arg1);
625
626 wxPyEndAllowThreads(__tstate);
627 if (PyErr_Occurred()) return NULL;
628 } _resultobj = Py_BuildValue("i",_result);
629 return _resultobj;
630 }
631
632 #define wxBookCtrl_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
633 static PyObject *_wrap_wxBookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
634 PyObject * _resultobj;
635 bool _result;
636 wxBookCtrl * _arg0;
637 size_t _arg1;
638 int _arg2;
639 PyObject * _argo0 = 0;
640 char *_kwnames[] = { "self","n","imageId", NULL };
641
642 self = self;
643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBookCtrl_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
644 return NULL;
645 if (_argo0) {
646 if (_argo0 == Py_None) { _arg0 = NULL; }
647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageImage. Expected _wxBookCtrl_p.");
649 return NULL;
650 }
651 }
652 {
653 PyThreadState* __tstate = wxPyBeginAllowThreads();
654 _result = (bool )wxBookCtrl_SetPageImage(_arg0,_arg1,_arg2);
655
656 wxPyEndAllowThreads(__tstate);
657 if (PyErr_Occurred()) return NULL;
658 } _resultobj = Py_BuildValue("i",_result);
659 return _resultobj;
660 }
661
662 #define wxBookCtrl_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
663 static PyObject *_wrap_wxBookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
664 PyObject * _resultobj;
665 wxBookCtrl * _arg0;
666 wxSize * _arg1;
667 PyObject * _argo0 = 0;
668 wxSize temp;
669 PyObject * _obj1 = 0;
670 char *_kwnames[] = { "self","size", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_SetPageSize",_kwnames,&_argo0,&_obj1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageSize. Expected _wxBookCtrl_p.");
679 return NULL;
680 }
681 }
682 {
683 _arg1 = &temp;
684 if (! wxSize_helper(_obj1, &_arg1))
685 return NULL;
686 }
687 {
688 PyThreadState* __tstate = wxPyBeginAllowThreads();
689 wxBookCtrl_SetPageSize(_arg0,*_arg1);
690
691 wxPyEndAllowThreads(__tstate);
692 if (PyErr_Occurred()) return NULL;
693 } Py_INCREF(Py_None);
694 _resultobj = Py_None;
695 return _resultobj;
696 }
697
698 #define wxBookCtrl_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
699 static PyObject *_wrap_wxBookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject * _resultobj;
701 wxSize * _result;
702 wxBookCtrl * _arg0;
703 wxSize * _arg1;
704 PyObject * _argo0 = 0;
705 wxSize temp;
706 PyObject * _obj1 = 0;
707 char *_kwnames[] = { "self","sizePage", NULL };
708 char _ptemp[128];
709
710 self = self;
711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_CalcSizeFromPage",_kwnames,&_argo0,&_obj1))
712 return NULL;
713 if (_argo0) {
714 if (_argo0 == Py_None) { _arg0 = NULL; }
715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_CalcSizeFromPage. Expected _wxBookCtrl_p.");
717 return NULL;
718 }
719 }
720 {
721 _arg1 = &temp;
722 if (! wxSize_helper(_obj1, &_arg1))
723 return NULL;
724 }
725 {
726 PyThreadState* __tstate = wxPyBeginAllowThreads();
727 _result = new wxSize (wxBookCtrl_CalcSizeFromPage(_arg0,*_arg1));
728
729 wxPyEndAllowThreads(__tstate);
730 if (PyErr_Occurred()) return NULL;
731 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
732 _resultobj = Py_BuildValue("s",_ptemp);
733 return _resultobj;
734 }
735
736 #define wxBookCtrl_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
737 static PyObject *_wrap_wxBookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 bool _result;
740 wxBookCtrl * _arg0;
741 size_t _arg1;
742 PyObject * _argo0 = 0;
743 char *_kwnames[] = { "self","n", NULL };
744
745 self = self;
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_DeletePage",_kwnames,&_argo0,&_arg1))
747 return NULL;
748 if (_argo0) {
749 if (_argo0 == Py_None) { _arg0 = NULL; }
750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_DeletePage. Expected _wxBookCtrl_p.");
752 return NULL;
753 }
754 }
755 {
756 PyThreadState* __tstate = wxPyBeginAllowThreads();
757 _result = (bool )wxBookCtrl_DeletePage(_arg0,_arg1);
758
759 wxPyEndAllowThreads(__tstate);
760 if (PyErr_Occurred()) return NULL;
761 } _resultobj = Py_BuildValue("i",_result);
762 return _resultobj;
763 }
764
765 #define wxBookCtrl_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
766 static PyObject *_wrap_wxBookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
767 PyObject * _resultobj;
768 bool _result;
769 wxBookCtrl * _arg0;
770 size_t _arg1;
771 PyObject * _argo0 = 0;
772 char *_kwnames[] = { "self","n", NULL };
773
774 self = self;
775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_RemovePage",_kwnames,&_argo0,&_arg1))
776 return NULL;
777 if (_argo0) {
778 if (_argo0 == Py_None) { _arg0 = NULL; }
779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_RemovePage. Expected _wxBookCtrl_p.");
781 return NULL;
782 }
783 }
784 {
785 PyThreadState* __tstate = wxPyBeginAllowThreads();
786 _result = (bool )wxBookCtrl_RemovePage(_arg0,_arg1);
787
788 wxPyEndAllowThreads(__tstate);
789 if (PyErr_Occurred()) return NULL;
790 } _resultobj = Py_BuildValue("i",_result);
791 return _resultobj;
792 }
793
794 #define wxBookCtrl_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
795 static PyObject *_wrap_wxBookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 bool _result;
798 wxBookCtrl * _arg0;
799 PyObject * _argo0 = 0;
800 char *_kwnames[] = { "self", NULL };
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_DeleteAllPages",_kwnames,&_argo0))
804 return NULL;
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_DeleteAllPages. Expected _wxBookCtrl_p.");
809 return NULL;
810 }
811 }
812 {
813 PyThreadState* __tstate = wxPyBeginAllowThreads();
814 _result = (bool )wxBookCtrl_DeleteAllPages(_arg0);
815
816 wxPyEndAllowThreads(__tstate);
817 if (PyErr_Occurred()) return NULL;
818 } _resultobj = Py_BuildValue("i",_result);
819 return _resultobj;
820 }
821
822 #define wxBookCtrl_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
823 static PyObject *_wrap_wxBookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 bool _result;
826 wxBookCtrl * _arg0;
827 wxWindow * _arg1;
828 wxString * _arg2;
829 bool _arg3 = (bool ) false;
830 int _arg4 = (int ) -1;
831 PyObject * _argo0 = 0;
832 PyObject * _argo1 = 0;
833 PyObject * _obj2 = 0;
834 int tempbool3 = (int) false;
835 char *_kwnames[] = { "self","page","text","bSelect","imageId", NULL };
836
837 self = self;
838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxBookCtrl_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&tempbool3,&_arg4))
839 return NULL;
840 if (_argo0) {
841 if (_argo0 == Py_None) { _arg0 = NULL; }
842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AddPage. Expected _wxBookCtrl_p.");
844 return NULL;
845 }
846 }
847 if (_argo1) {
848 if (_argo1 == Py_None) { _arg1 = NULL; }
849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_AddPage. Expected _wxWindow_p.");
851 return NULL;
852 }
853 }
854 {
855 _arg2 = wxString_in_helper(_obj2);
856 if (_arg2 == NULL)
857 return NULL;
858 }
859 _arg3 = (bool ) tempbool3;
860 {
861 PyThreadState* __tstate = wxPyBeginAllowThreads();
862 _result = (bool )wxBookCtrl_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
863
864 wxPyEndAllowThreads(__tstate);
865 if (PyErr_Occurred()) return NULL;
866 } _resultobj = Py_BuildValue("i",_result);
867 {
868 if (_obj2)
869 delete _arg2;
870 }
871 return _resultobj;
872 }
873
874 #define wxBookCtrl_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
875 static PyObject *_wrap_wxBookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
876 PyObject * _resultobj;
877 bool _result;
878 wxBookCtrl * _arg0;
879 size_t _arg1;
880 wxWindow * _arg2;
881 wxString * _arg3;
882 bool _arg4 = (bool ) false;
883 int _arg5 = (int ) -1;
884 PyObject * _argo0 = 0;
885 PyObject * _argo2 = 0;
886 PyObject * _obj3 = 0;
887 int tempbool4 = (int) false;
888 char *_kwnames[] = { "self","n","page","text","bSelect","imageId", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxBookCtrl_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_InsertPage. Expected _wxBookCtrl_p.");
897 return NULL;
898 }
899 }
900 if (_argo2) {
901 if (_argo2 == Py_None) { _arg2 = NULL; }
902 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxBookCtrl_InsertPage. Expected _wxWindow_p.");
904 return NULL;
905 }
906 }
907 {
908 _arg3 = wxString_in_helper(_obj3);
909 if (_arg3 == NULL)
910 return NULL;
911 }
912 _arg4 = (bool ) tempbool4;
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 _result = (bool )wxBookCtrl_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) return NULL;
919 } _resultobj = Py_BuildValue("i",_result);
920 {
921 if (_obj3)
922 delete _arg3;
923 }
924 return _resultobj;
925 }
926
927 #define wxBookCtrl_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
928 static PyObject *_wrap_wxBookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject * _resultobj;
930 int _result;
931 wxBookCtrl * _arg0;
932 size_t _arg1;
933 PyObject * _argo0 = 0;
934 char *_kwnames[] = { "self","n", NULL };
935
936 self = self;
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_SetSelection",_kwnames,&_argo0,&_arg1))
938 return NULL;
939 if (_argo0) {
940 if (_argo0 == Py_None) { _arg0 = NULL; }
941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetSelection. Expected _wxBookCtrl_p.");
943 return NULL;
944 }
945 }
946 {
947 PyThreadState* __tstate = wxPyBeginAllowThreads();
948 _result = (int )wxBookCtrl_SetSelection(_arg0,_arg1);
949
950 wxPyEndAllowThreads(__tstate);
951 if (PyErr_Occurred()) return NULL;
952 } _resultobj = Py_BuildValue("i",_result);
953 return _resultobj;
954 }
955
956 #define wxBookCtrl_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
957 static PyObject *_wrap_wxBookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
958 PyObject * _resultobj;
959 wxBookCtrl * _arg0;
960 bool _arg1 = (bool ) true;
961 PyObject * _argo0 = 0;
962 int tempbool1 = (int) true;
963 char *_kwnames[] = { "self","forward", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxBookCtrl_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AdvanceSelection. Expected _wxBookCtrl_p.");
972 return NULL;
973 }
974 }
975 _arg1 = (bool ) tempbool1;
976 {
977 PyThreadState* __tstate = wxPyBeginAllowThreads();
978 wxBookCtrl_AdvanceSelection(_arg0,_arg1);
979
980 wxPyEndAllowThreads(__tstate);
981 if (PyErr_Occurred()) return NULL;
982 } Py_INCREF(Py_None);
983 _resultobj = Py_None;
984 return _resultobj;
985 }
986
987 static void *SwigwxBookCtrlEventTowxNotifyEvent(void *ptr) {
988 wxBookCtrlEvent *src;
989 wxNotifyEvent *dest;
990 src = (wxBookCtrlEvent *) ptr;
991 dest = (wxNotifyEvent *) src;
992 return (void *) dest;
993 }
994
995 static void *SwigwxBookCtrlEventTowxCommandEvent(void *ptr) {
996 wxBookCtrlEvent *src;
997 wxCommandEvent *dest;
998 src = (wxBookCtrlEvent *) ptr;
999 dest = (wxCommandEvent *) src;
1000 return (void *) dest;
1001 }
1002
1003 static void *SwigwxBookCtrlEventTowxEvent(void *ptr) {
1004 wxBookCtrlEvent *src;
1005 wxEvent *dest;
1006 src = (wxBookCtrlEvent *) ptr;
1007 dest = (wxEvent *) src;
1008 return (void *) dest;
1009 }
1010
1011 static void *SwigwxBookCtrlEventTowxObject(void *ptr) {
1012 wxBookCtrlEvent *src;
1013 wxObject *dest;
1014 src = (wxBookCtrlEvent *) ptr;
1015 dest = (wxObject *) src;
1016 return (void *) dest;
1017 }
1018
1019 #define new_wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1020 static PyObject *_wrap_new_wxBookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject * _resultobj;
1022 wxBookCtrlEvent * _result;
1023 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1024 int _arg1 = (int ) 0;
1025 int _arg2 = (int ) -1;
1026 int _arg3 = (int ) -1;
1027 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
1028 char _ptemp[128];
1029
1030 self = self;
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxBookCtrlEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1032 return NULL;
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 _result = (wxBookCtrlEvent *)new_wxBookCtrlEvent(_arg0,_arg1,_arg2,_arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) return NULL;
1039 } if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBookCtrlEvent_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046 return _resultobj;
1047 }
1048
1049 #define wxBookCtrlEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1050 static PyObject *_wrap_wxBookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 int _result;
1053 wxBookCtrlEvent * _arg0;
1054 PyObject * _argo0 = 0;
1055 char *_kwnames[] = { "self", NULL };
1056
1057 self = self;
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetSelection",_kwnames,&_argo0))
1059 return NULL;
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_GetSelection. Expected _wxBookCtrlEvent_p.");
1064 return NULL;
1065 }
1066 }
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 _result = (int )wxBookCtrlEvent_GetSelection(_arg0);
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) return NULL;
1073 } _resultobj = Py_BuildValue("i",_result);
1074 return _resultobj;
1075 }
1076
1077 #define wxBookCtrlEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1078 static PyObject *_wrap_wxBookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject * _resultobj;
1080 wxBookCtrlEvent * _arg0;
1081 int _arg1;
1082 PyObject * _argo0 = 0;
1083 char *_kwnames[] = { "self","nSel", NULL };
1084
1085 self = self;
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetSelection",_kwnames,&_argo0,&_arg1))
1087 return NULL;
1088 if (_argo0) {
1089 if (_argo0 == Py_None) { _arg0 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_SetSelection. Expected _wxBookCtrlEvent_p.");
1092 return NULL;
1093 }
1094 }
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 wxBookCtrlEvent_SetSelection(_arg0,_arg1);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) return NULL;
1101 } Py_INCREF(Py_None);
1102 _resultobj = Py_None;
1103 return _resultobj;
1104 }
1105
1106 #define wxBookCtrlEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1107 static PyObject *_wrap_wxBookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1108 PyObject * _resultobj;
1109 int _result;
1110 wxBookCtrlEvent * _arg0;
1111 PyObject * _argo0 = 0;
1112 char *_kwnames[] = { "self", NULL };
1113
1114 self = self;
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetOldSelection",_kwnames,&_argo0))
1116 return NULL;
1117 if (_argo0) {
1118 if (_argo0 == Py_None) { _arg0 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_GetOldSelection. Expected _wxBookCtrlEvent_p.");
1121 return NULL;
1122 }
1123 }
1124 {
1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
1126 _result = (int )wxBookCtrlEvent_GetOldSelection(_arg0);
1127
1128 wxPyEndAllowThreads(__tstate);
1129 if (PyErr_Occurred()) return NULL;
1130 } _resultobj = Py_BuildValue("i",_result);
1131 return _resultobj;
1132 }
1133
1134 #define wxBookCtrlEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1135 static PyObject *_wrap_wxBookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject * _resultobj;
1137 wxBookCtrlEvent * _arg0;
1138 int _arg1;
1139 PyObject * _argo0 = 0;
1140 char *_kwnames[] = { "self","nOldSel", NULL };
1141
1142 self = self;
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
1144 return NULL;
1145 if (_argo0) {
1146 if (_argo0 == Py_None) { _arg0 = NULL; }
1147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_SetOldSelection. Expected _wxBookCtrlEvent_p.");
1149 return NULL;
1150 }
1151 }
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 wxBookCtrlEvent_SetOldSelection(_arg0,_arg1);
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) return NULL;
1158 } Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161 }
1162
1163 static void *SwigwxNotebookTowxBookCtrl(void *ptr) {
1164 wxNotebook *src;
1165 wxBookCtrl *dest;
1166 src = (wxNotebook *) ptr;
1167 dest = (wxBookCtrl *) src;
1168 return (void *) dest;
1169 }
1170
1171 static void *SwigwxNotebookTowxControl(void *ptr) {
1172 wxNotebook *src;
1173 wxControl *dest;
1174 src = (wxNotebook *) ptr;
1175 dest = (wxControl *) src;
1176 return (void *) dest;
1177 }
1178
1179 static void *SwigwxNotebookTowxWindow(void *ptr) {
1180 wxNotebook *src;
1181 wxWindow *dest;
1182 src = (wxNotebook *) ptr;
1183 dest = (wxWindow *) src;
1184 return (void *) dest;
1185 }
1186
1187 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
1188 wxNotebook *src;
1189 wxEvtHandler *dest;
1190 src = (wxNotebook *) ptr;
1191 dest = (wxEvtHandler *) src;
1192 return (void *) dest;
1193 }
1194
1195 static void *SwigwxNotebookTowxObject(void *ptr) {
1196 wxNotebook *src;
1197 wxObject *dest;
1198 src = (wxNotebook *) ptr;
1199 dest = (wxObject *) src;
1200 return (void *) dest;
1201 }
1202
1203 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1204 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject * _resultobj;
1206 wxNotebook * _result;
1207 wxWindow * _arg0;
1208 wxWindowID _arg1;
1209 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1210 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1211 long _arg4 = (long ) 0;
1212 wxString * _arg5 = (wxString *) &wxPyNOTEBOOK_NAME;
1213 PyObject * _argo0 = 0;
1214 wxPoint temp;
1215 PyObject * _obj2 = 0;
1216 wxSize temp0;
1217 PyObject * _obj3 = 0;
1218 PyObject * _obj5 = 0;
1219 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1220 char _ptemp[128];
1221
1222 self = self;
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1224 return NULL;
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
1227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
1229 return NULL;
1230 }
1231 }
1232 if (_obj2)
1233 {
1234 _arg2 = &temp;
1235 if (! wxPoint_helper(_obj2, &_arg2))
1236 return NULL;
1237 }
1238 if (_obj3)
1239 {
1240 _arg3 = &temp0;
1241 if (! wxSize_helper(_obj3, &_arg3))
1242 return NULL;
1243 }
1244 if (_obj5)
1245 {
1246 _arg5 = wxString_in_helper(_obj5);
1247 if (_arg5 == NULL)
1248 return NULL;
1249 }
1250 {
1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
1252 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1253
1254 wxPyEndAllowThreads(__tstate);
1255 if (PyErr_Occurred()) return NULL;
1256 } if (_result) {
1257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
1258 _resultobj = Py_BuildValue("s",_ptemp);
1259 } else {
1260 Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 }
1263 {
1264 if (_obj5)
1265 delete _arg5;
1266 }
1267 return _resultobj;
1268 }
1269
1270 #define new_wxPreNotebook() (new wxNotebook())
1271 static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxNotebook * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
1279 return NULL;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 _result = (wxNotebook *)new_wxPreNotebook();
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) return NULL;
1286 } if (_result) {
1287 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
1288 _resultobj = Py_BuildValue("s",_ptemp);
1289 } else {
1290 Py_INCREF(Py_None);
1291 _resultobj = Py_None;
1292 }
1293 return _resultobj;
1294 }
1295
1296 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1297 static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject * _resultobj;
1299 bool _result;
1300 wxNotebook * _arg0;
1301 wxWindow * _arg1;
1302 wxWindowID _arg2;
1303 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1304 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1305 long _arg5 = (long ) 0;
1306 wxString * _arg6 = (wxString *) &wxPyNOTEBOOK_NAME;
1307 PyObject * _argo0 = 0;
1308 PyObject * _argo1 = 0;
1309 wxPoint temp;
1310 PyObject * _obj3 = 0;
1311 wxSize temp0;
1312 PyObject * _obj4 = 0;
1313 PyObject * _obj6 = 0;
1314 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1315
1316 self = self;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1318 return NULL;
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
1323 return NULL;
1324 }
1325 }
1326 if (_argo1) {
1327 if (_argo1 == Py_None) { _arg1 = NULL; }
1328 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
1330 return NULL;
1331 }
1332 }
1333 if (_obj3)
1334 {
1335 _arg3 = &temp;
1336 if (! wxPoint_helper(_obj3, &_arg3))
1337 return NULL;
1338 }
1339 if (_obj4)
1340 {
1341 _arg4 = &temp0;
1342 if (! wxSize_helper(_obj4, &_arg4))
1343 return NULL;
1344 }
1345 if (_obj6)
1346 {
1347 _arg6 = wxString_in_helper(_obj6);
1348 if (_arg6 == NULL)
1349 return NULL;
1350 }
1351 {
1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
1353 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1354
1355 wxPyEndAllowThreads(__tstate);
1356 if (PyErr_Occurred()) return NULL;
1357 } _resultobj = Py_BuildValue("i",_result);
1358 {
1359 if (_obj6)
1360 delete _arg6;
1361 }
1362 return _resultobj;
1363 }
1364
1365 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1366 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject * _resultobj;
1368 int _result;
1369 wxNotebook * _arg0;
1370 PyObject * _argo0 = 0;
1371 char *_kwnames[] = { "self", NULL };
1372
1373 self = self;
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
1375 return NULL;
1376 if (_argo0) {
1377 if (_argo0 == Py_None) { _arg0 = NULL; }
1378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1380 return NULL;
1381 }
1382 }
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 _result = (int )wxNotebook_GetRowCount(_arg0);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) return NULL;
1389 } _resultobj = Py_BuildValue("i",_result);
1390 return _resultobj;
1391 }
1392
1393 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1394 static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 wxNotebook * _arg0;
1397 wxSize * _arg1;
1398 PyObject * _argo0 = 0;
1399 wxSize temp;
1400 PyObject * _obj1 = 0;
1401 char *_kwnames[] = { "self","padding", NULL };
1402
1403 self = self;
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1))
1405 return NULL;
1406 if (_argo0) {
1407 if (_argo0 == Py_None) { _arg0 = NULL; }
1408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1410 return NULL;
1411 }
1412 }
1413 {
1414 _arg1 = &temp;
1415 if (! wxSize_helper(_obj1, &_arg1))
1416 return NULL;
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 wxNotebook_SetPadding(_arg0,*_arg1);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) return NULL;
1424 } Py_INCREF(Py_None);
1425 _resultobj = Py_None;
1426 return _resultobj;
1427 }
1428
1429 #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1430 static PyObject *_wrap_wxNotebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 wxNotebook * _arg0;
1433 wxSize * _arg1;
1434 PyObject * _argo0 = 0;
1435 wxSize temp;
1436 PyObject * _obj1 = 0;
1437 char *_kwnames[] = { "self","sz", NULL };
1438
1439 self = self;
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetTabSize",_kwnames,&_argo0,&_obj1))
1441 return NULL;
1442 if (_argo0) {
1443 if (_argo0 == Py_None) { _arg0 = NULL; }
1444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
1446 return NULL;
1447 }
1448 }
1449 {
1450 _arg1 = &temp;
1451 if (! wxSize_helper(_obj1, &_arg1))
1452 return NULL;
1453 }
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 wxNotebook_SetTabSize(_arg0,*_arg1);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) return NULL;
1460 } Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 return _resultobj;
1463 }
1464
1465 #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1466 static PyObject *_wrap_wxNotebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject * _resultobj;
1468 int _result;
1469 wxNotebook * _arg0;
1470 wxPoint * _arg1;
1471 long * _arg2;
1472 long temp;
1473 PyObject * _argo0 = 0;
1474 wxPoint temp0;
1475 PyObject * _obj1 = 0;
1476 char *_kwnames[] = { "self","pt", NULL };
1477
1478 self = self;
1479 {
1480 _arg2 = &temp;
1481 }
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_HitTest",_kwnames,&_argo0,&_obj1))
1483 return NULL;
1484 if (_argo0) {
1485 if (_argo0 == Py_None) { _arg0 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
1488 return NULL;
1489 }
1490 }
1491 {
1492 _arg1 = &temp0;
1493 if (! wxPoint_helper(_obj1, &_arg1))
1494 return NULL;
1495 }
1496 {
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 _result = (int )wxNotebook_HitTest(_arg0,*_arg1,_arg2);
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) return NULL;
1502 } _resultobj = Py_BuildValue("i",_result);
1503 {
1504 PyObject *o;
1505 o = PyInt_FromLong((long) (*_arg2));
1506 _resultobj = t_output_helper(_resultobj, o);
1507 }
1508 return _resultobj;
1509 }
1510
1511 #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1512 static PyObject *_wrap_wxNotebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 wxSize * _result;
1515 wxNotebook * _arg0;
1516 wxSize * _arg1;
1517 PyObject * _argo0 = 0;
1518 wxSize temp;
1519 PyObject * _obj1 = 0;
1520 char *_kwnames[] = { "self","sizePage", NULL };
1521 char _ptemp[128];
1522
1523 self = self;
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_CalcSizeFromPage",_kwnames,&_argo0,&_obj1))
1525 return NULL;
1526 if (_argo0) {
1527 if (_argo0 == Py_None) { _arg0 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 _arg1 = &temp;
1535 if (! wxSize_helper(_obj1, &_arg1))
1536 return NULL;
1537 }
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 _result = new wxSize (wxNotebook_CalcSizeFromPage(_arg0,*_arg1));
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) return NULL;
1544 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1545 _resultobj = Py_BuildValue("s",_ptemp);
1546 return _resultobj;
1547 }
1548
1549 #define wxNotebook_ApplyThemeBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->ApplyThemeBackground(_swigarg0,_swigarg1))
1550 static PyObject *_wrap_wxNotebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1551 PyObject * _resultobj;
1552 wxNotebook * _arg0;
1553 wxWindow * _arg1;
1554 wxColour * _arg2;
1555 PyObject * _argo0 = 0;
1556 PyObject * _argo1 = 0;
1557 wxColour temp;
1558 PyObject * _obj2 = 0;
1559 char *_kwnames[] = { "self","window","colour", NULL };
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxNotebook_ApplyThemeBackground",_kwnames,&_argo0,&_argo1,&_obj2))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ApplyThemeBackground. Expected _wxNotebook_p.");
1568 return NULL;
1569 }
1570 }
1571 if (_argo1) {
1572 if (_argo1 == Py_None) { _arg1 = NULL; }
1573 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_ApplyThemeBackground. Expected _wxWindow_p.");
1575 return NULL;
1576 }
1577 }
1578 {
1579 _arg2 = &temp;
1580 if (! wxColour_helper(_obj2, &_arg2))
1581 return NULL;
1582 }
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 wxNotebook_ApplyThemeBackground(_arg0,_arg1,*_arg2);
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) return NULL;
1589 } Py_INCREF(Py_None);
1590 _resultobj = Py_None;
1591 return _resultobj;
1592 }
1593
1594 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
1595 wxNotebookEvent *src;
1596 wxNotifyEvent *dest;
1597 src = (wxNotebookEvent *) ptr;
1598 dest = (wxNotifyEvent *) src;
1599 return (void *) dest;
1600 }
1601
1602 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
1603 wxNotebookEvent *src;
1604 wxCommandEvent *dest;
1605 src = (wxNotebookEvent *) ptr;
1606 dest = (wxCommandEvent *) src;
1607 return (void *) dest;
1608 }
1609
1610 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
1611 wxNotebookEvent *src;
1612 wxEvent *dest;
1613 src = (wxNotebookEvent *) ptr;
1614 dest = (wxEvent *) src;
1615 return (void *) dest;
1616 }
1617
1618 static void *SwigwxNotebookEventTowxObject(void *ptr) {
1619 wxNotebookEvent *src;
1620 wxObject *dest;
1621 src = (wxNotebookEvent *) ptr;
1622 dest = (wxObject *) src;
1623 return (void *) dest;
1624 }
1625
1626 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1627 static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1628 PyObject * _resultobj;
1629 wxNotebookEvent * _result;
1630 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1631 int _arg1 = (int ) 0;
1632 int _arg2 = (int ) -1;
1633 int _arg3 = (int ) -1;
1634 char *_kwnames[] = { "commandType","id","sel","oldSel", NULL };
1635 char _ptemp[128];
1636
1637 self = self;
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1639 return NULL;
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) return NULL;
1646 } if (_result) {
1647 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookEvent_p");
1648 _resultobj = Py_BuildValue("s",_ptemp);
1649 } else {
1650 Py_INCREF(Py_None);
1651 _resultobj = Py_None;
1652 }
1653 return _resultobj;
1654 }
1655
1656 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1657 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject * _resultobj;
1659 int _result;
1660 wxNotebookEvent * _arg0;
1661 PyObject * _argo0 = 0;
1662 char *_kwnames[] = { "self", NULL };
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
1666 return NULL;
1667 if (_argo0) {
1668 if (_argo0 == Py_None) { _arg0 = NULL; }
1669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
1671 return NULL;
1672 }
1673 }
1674 {
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 _result = (int )wxNotebookEvent_GetSelection(_arg0);
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) return NULL;
1680 } _resultobj = Py_BuildValue("i",_result);
1681 return _resultobj;
1682 }
1683
1684 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1685 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1686 PyObject * _resultobj;
1687 int _result;
1688 wxNotebookEvent * _arg0;
1689 PyObject * _argo0 = 0;
1690 char *_kwnames[] = { "self", NULL };
1691
1692 self = self;
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) return NULL;
1708 } _resultobj = Py_BuildValue("i",_result);
1709 return _resultobj;
1710 }
1711
1712 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1713 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 wxNotebookEvent * _arg0;
1716 int _arg1;
1717 PyObject * _argo0 = 0;
1718 char *_kwnames[] = { "self","page", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
1727 return NULL;
1728 }
1729 }
1730 {
1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
1732 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
1733
1734 wxPyEndAllowThreads(__tstate);
1735 if (PyErr_Occurred()) return NULL;
1736 } Py_INCREF(Py_None);
1737 _resultobj = Py_None;
1738 return _resultobj;
1739 }
1740
1741 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1742 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject * _resultobj;
1744 wxNotebookEvent * _arg0;
1745 int _arg1;
1746 PyObject * _argo0 = 0;
1747 char *_kwnames[] = { "self","page", NULL };
1748
1749 self = self;
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
1751 return NULL;
1752 if (_argo0) {
1753 if (_argo0 == Py_None) { _arg0 = NULL; }
1754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
1756 return NULL;
1757 }
1758 }
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 wxNotebookEvent_SetSelection(_arg0,_arg1);
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) return NULL;
1765 } Py_INCREF(Py_None);
1766 _resultobj = Py_None;
1767 return _resultobj;
1768 }
1769
1770 static void *SwigwxListbookTowxBookCtrl(void *ptr) {
1771 wxListbook *src;
1772 wxBookCtrl *dest;
1773 src = (wxListbook *) ptr;
1774 dest = (wxBookCtrl *) src;
1775 return (void *) dest;
1776 }
1777
1778 static void *SwigwxListbookTowxControl(void *ptr) {
1779 wxListbook *src;
1780 wxControl *dest;
1781 src = (wxListbook *) ptr;
1782 dest = (wxControl *) src;
1783 return (void *) dest;
1784 }
1785
1786 static void *SwigwxListbookTowxWindow(void *ptr) {
1787 wxListbook *src;
1788 wxWindow *dest;
1789 src = (wxListbook *) ptr;
1790 dest = (wxWindow *) src;
1791 return (void *) dest;
1792 }
1793
1794 static void *SwigwxListbookTowxEvtHandler(void *ptr) {
1795 wxListbook *src;
1796 wxEvtHandler *dest;
1797 src = (wxListbook *) ptr;
1798 dest = (wxEvtHandler *) src;
1799 return (void *) dest;
1800 }
1801
1802 static void *SwigwxListbookTowxObject(void *ptr) {
1803 wxListbook *src;
1804 wxObject *dest;
1805 src = (wxListbook *) ptr;
1806 dest = (wxObject *) src;
1807 return (void *) dest;
1808 }
1809
1810 #define new_wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1811 static PyObject *_wrap_new_wxListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
1812 PyObject * _resultobj;
1813 wxListbook * _result;
1814 wxWindow * _arg0;
1815 wxWindowID _arg1;
1816 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1817 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1818 long _arg4 = (long ) 0;
1819 wxString * _arg5 = (wxString *) &wxPyEmptyString;
1820 PyObject * _argo0 = 0;
1821 wxPoint temp;
1822 PyObject * _obj2 = 0;
1823 wxSize temp0;
1824 PyObject * _obj3 = 0;
1825 PyObject * _obj5 = 0;
1826 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1827 char _ptemp[128];
1828
1829 self = self;
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxListbook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1831 return NULL;
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListbook. Expected _wxWindow_p.");
1836 return NULL;
1837 }
1838 }
1839 if (_obj2)
1840 {
1841 _arg2 = &temp;
1842 if (! wxPoint_helper(_obj2, &_arg2))
1843 return NULL;
1844 }
1845 if (_obj3)
1846 {
1847 _arg3 = &temp0;
1848 if (! wxSize_helper(_obj3, &_arg3))
1849 return NULL;
1850 }
1851 if (_obj5)
1852 {
1853 _arg5 = wxString_in_helper(_obj5);
1854 if (_arg5 == NULL)
1855 return NULL;
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 _result = (wxListbook *)new_wxListbook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) return NULL;
1863 } if (_result) {
1864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbook_p");
1865 _resultobj = Py_BuildValue("s",_ptemp);
1866 } else {
1867 Py_INCREF(Py_None);
1868 _resultobj = Py_None;
1869 }
1870 {
1871 if (_obj5)
1872 delete _arg5;
1873 }
1874 return _resultobj;
1875 }
1876
1877 #define new_wxPreListbook() (new wxListbook())
1878 static PyObject *_wrap_new_wxPreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject * _resultobj;
1880 wxListbook * _result;
1881 char *_kwnames[] = { NULL };
1882 char _ptemp[128];
1883
1884 self = self;
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListbook",_kwnames))
1886 return NULL;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 _result = (wxListbook *)new_wxPreListbook();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) return NULL;
1893 } if (_result) {
1894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbook_p");
1895 _resultobj = Py_BuildValue("s",_ptemp);
1896 } else {
1897 Py_INCREF(Py_None);
1898 _resultobj = Py_None;
1899 }
1900 return _resultobj;
1901 }
1902
1903 #define wxListbook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1904 static PyObject *_wrap_wxListbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject * _resultobj;
1906 bool _result;
1907 wxListbook * _arg0;
1908 wxWindow * _arg1;
1909 wxWindowID _arg2;
1910 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1911 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1912 long _arg5 = (long ) 0;
1913 wxString * _arg6 = (wxString *) &wxPyEmptyString;
1914 PyObject * _argo0 = 0;
1915 PyObject * _argo1 = 0;
1916 wxPoint temp;
1917 PyObject * _obj3 = 0;
1918 wxSize temp0;
1919 PyObject * _obj4 = 0;
1920 PyObject * _obj6 = 0;
1921 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1922
1923 self = self;
1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxListbook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1925 return NULL;
1926 if (_argo0) {
1927 if (_argo0 == Py_None) { _arg0 = NULL; }
1928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListbook_p")) {
1929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListbook_Create. Expected _wxListbook_p.");
1930 return NULL;
1931 }
1932 }
1933 if (_argo1) {
1934 if (_argo1 == Py_None) { _arg1 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListbook_Create. Expected _wxWindow_p.");
1937 return NULL;
1938 }
1939 }
1940 if (_obj3)
1941 {
1942 _arg3 = &temp;
1943 if (! wxPoint_helper(_obj3, &_arg3))
1944 return NULL;
1945 }
1946 if (_obj4)
1947 {
1948 _arg4 = &temp0;
1949 if (! wxSize_helper(_obj4, &_arg4))
1950 return NULL;
1951 }
1952 if (_obj6)
1953 {
1954 _arg6 = wxString_in_helper(_obj6);
1955 if (_arg6 == NULL)
1956 return NULL;
1957 }
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 _result = (bool )wxListbook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) return NULL;
1964 } _resultobj = Py_BuildValue("i",_result);
1965 {
1966 if (_obj6)
1967 delete _arg6;
1968 }
1969 return _resultobj;
1970 }
1971
1972 #define wxListbook_IsVertical(_swigobj) (_swigobj->IsVertical())
1973 static PyObject *_wrap_wxListbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject * _resultobj;
1975 bool _result;
1976 wxListbook * _arg0;
1977 PyObject * _argo0 = 0;
1978 char *_kwnames[] = { "self", NULL };
1979
1980 self = self;
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListbook_IsVertical",_kwnames,&_argo0))
1982 return NULL;
1983 if (_argo0) {
1984 if (_argo0 == Py_None) { _arg0 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListbook_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListbook_IsVertical. Expected _wxListbook_p.");
1987 return NULL;
1988 }
1989 }
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 _result = (bool )wxListbook_IsVertical(_arg0);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) return NULL;
1996 } _resultobj = Py_BuildValue("i",_result);
1997 return _resultobj;
1998 }
1999
2000 static void *SwigwxListbookEventTowxBookCtrlEvent(void *ptr) {
2001 wxListbookEvent *src;
2002 wxBookCtrlEvent *dest;
2003 src = (wxListbookEvent *) ptr;
2004 dest = (wxBookCtrlEvent *) src;
2005 return (void *) dest;
2006 }
2007
2008 static void *SwigwxListbookEventTowxNotifyEvent(void *ptr) {
2009 wxListbookEvent *src;
2010 wxNotifyEvent *dest;
2011 src = (wxListbookEvent *) ptr;
2012 dest = (wxNotifyEvent *) src;
2013 return (void *) dest;
2014 }
2015
2016 static void *SwigwxListbookEventTowxCommandEvent(void *ptr) {
2017 wxListbookEvent *src;
2018 wxCommandEvent *dest;
2019 src = (wxListbookEvent *) ptr;
2020 dest = (wxCommandEvent *) src;
2021 return (void *) dest;
2022 }
2023
2024 static void *SwigwxListbookEventTowxEvent(void *ptr) {
2025 wxListbookEvent *src;
2026 wxEvent *dest;
2027 src = (wxListbookEvent *) ptr;
2028 dest = (wxEvent *) src;
2029 return (void *) dest;
2030 }
2031
2032 static void *SwigwxListbookEventTowxObject(void *ptr) {
2033 wxListbookEvent *src;
2034 wxObject *dest;
2035 src = (wxListbookEvent *) ptr;
2036 dest = (wxObject *) src;
2037 return (void *) dest;
2038 }
2039
2040 #define new_wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2041 static PyObject *_wrap_new_wxListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject * _resultobj;
2043 wxListbookEvent * _result;
2044 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2045 int _arg1 = (int ) 0;
2046 int _arg2 = (int ) -1;
2047 int _arg3 = (int ) -1;
2048 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
2049 char _ptemp[128];
2050
2051 self = self;
2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxListbookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2053 return NULL;
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 _result = (wxListbookEvent *)new_wxListbookEvent(_arg0,_arg1,_arg2,_arg3);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) return NULL;
2060 } if (_result) {
2061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbookEvent_p");
2062 _resultobj = Py_BuildValue("s",_ptemp);
2063 } else {
2064 Py_INCREF(Py_None);
2065 _resultobj = Py_None;
2066 }
2067 return _resultobj;
2068 }
2069
2070 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) {
2071 wxSplitterEvent *src;
2072 wxNotifyEvent *dest;
2073 src = (wxSplitterEvent *) ptr;
2074 dest = (wxNotifyEvent *) src;
2075 return (void *) dest;
2076 }
2077
2078 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
2079 wxSplitterEvent *src;
2080 wxCommandEvent *dest;
2081 src = (wxSplitterEvent *) ptr;
2082 dest = (wxCommandEvent *) src;
2083 return (void *) dest;
2084 }
2085
2086 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
2087 wxSplitterEvent *src;
2088 wxEvent *dest;
2089 src = (wxSplitterEvent *) ptr;
2090 dest = (wxEvent *) src;
2091 return (void *) dest;
2092 }
2093
2094 static void *SwigwxSplitterEventTowxObject(void *ptr) {
2095 wxSplitterEvent *src;
2096 wxObject *dest;
2097 src = (wxSplitterEvent *) ptr;
2098 dest = (wxObject *) src;
2099 return (void *) dest;
2100 }
2101
2102 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
2103 static PyObject *_wrap_new_wxSplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 wxSplitterEvent * _result;
2106 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2107 wxSplitterWindow * _arg1 = (wxSplitterWindow *) NULL;
2108 PyObject * _argo1 = 0;
2109 char *_kwnames[] = { "type","splitter", NULL };
2110 char _ptemp[128];
2111
2112 self = self;
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxSplitterEvent",_kwnames,&_arg0,&_argo1))
2114 return NULL;
2115 if (_argo1) {
2116 if (_argo1 == Py_None) { _arg1 = NULL; }
2117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSplitterWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
2119 return NULL;
2120 }
2121 }
2122 {
2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
2124 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
2125
2126 wxPyEndAllowThreads(__tstate);
2127 if (PyErr_Occurred()) return NULL;
2128 } if (_result) {
2129 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterEvent_p");
2130 _resultobj = Py_BuildValue("s",_ptemp);
2131 } else {
2132 Py_INCREF(Py_None);
2133 _resultobj = Py_None;
2134 }
2135 return _resultobj;
2136 }
2137
2138 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2139 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject * _resultobj;
2141 int _result;
2142 wxSplitterEvent * _arg0;
2143 PyObject * _argo0 = 0;
2144 char *_kwnames[] = { "self", NULL };
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
2148 return NULL;
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
2153 return NULL;
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) return NULL;
2162 } _resultobj = Py_BuildValue("i",_result);
2163 return _resultobj;
2164 }
2165
2166 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
2167 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject * _resultobj;
2169 int _result;
2170 wxSplitterEvent * _arg0;
2171 PyObject * _argo0 = 0;
2172 char *_kwnames[] = { "self", NULL };
2173
2174 self = self;
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
2176 return NULL;
2177 if (_argo0) {
2178 if (_argo0 == Py_None) { _arg0 = NULL; }
2179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
2181 return NULL;
2182 }
2183 }
2184 {
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 _result = (int )wxSplitterEvent_GetX(_arg0);
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) return NULL;
2190 } _resultobj = Py_BuildValue("i",_result);
2191 return _resultobj;
2192 }
2193
2194 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
2195 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject * _resultobj;
2197 int _result;
2198 wxSplitterEvent * _arg0;
2199 PyObject * _argo0 = 0;
2200 char *_kwnames[] = { "self", NULL };
2201
2202 self = self;
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
2204 return NULL;
2205 if (_argo0) {
2206 if (_argo0 == Py_None) { _arg0 = NULL; }
2207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
2209 return NULL;
2210 }
2211 }
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 _result = (int )wxSplitterEvent_GetY(_arg0);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) return NULL;
2218 } _resultobj = Py_BuildValue("i",_result);
2219 return _resultobj;
2220 }
2221
2222 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
2223 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject * _resultobj;
2225 wxWindow * _result;
2226 wxSplitterEvent * _arg0;
2227 PyObject * _argo0 = 0;
2228 char *_kwnames[] = { "self", NULL };
2229
2230 self = self;
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
2232 return NULL;
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
2237 return NULL;
2238 }
2239 }
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) return NULL;
2246 }{ _resultobj = wxPyMake_wxObject(_result); }
2247 return _resultobj;
2248 }
2249
2250 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
2251 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject * _resultobj;
2253 wxSplitterEvent * _arg0;
2254 int _arg1;
2255 PyObject * _argo0 = 0;
2256 char *_kwnames[] = { "self","pos", NULL };
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
2265 return NULL;
2266 }
2267 }
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) return NULL;
2274 } Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277 }
2278
2279 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
2280 wxSplitterWindow *src;
2281 wxWindow *dest;
2282 src = (wxSplitterWindow *) ptr;
2283 dest = (wxWindow *) src;
2284 return (void *) dest;
2285 }
2286
2287 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
2288 wxSplitterWindow *src;
2289 wxEvtHandler *dest;
2290 src = (wxSplitterWindow *) ptr;
2291 dest = (wxEvtHandler *) src;
2292 return (void *) dest;
2293 }
2294
2295 static void *SwigwxSplitterWindowTowxObject(void *ptr) {
2296 wxSplitterWindow *src;
2297 wxObject *dest;
2298 src = (wxSplitterWindow *) ptr;
2299 dest = (wxObject *) src;
2300 return (void *) dest;
2301 }
2302
2303 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2304 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2305 PyObject * _resultobj;
2306 wxSplitterWindow * _result;
2307 wxWindow * _arg0;
2308 wxWindowID _arg1;
2309 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2310 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2311 long _arg4 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
2312 wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
2313 PyObject * _argo0 = 0;
2314 wxPoint temp;
2315 PyObject * _obj2 = 0;
2316 wxSize temp0;
2317 PyObject * _obj3 = 0;
2318 PyObject * _obj5 = 0;
2319 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
2320 char _ptemp[128];
2321
2322 self = self;
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
2324 return NULL;
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2329 return NULL;
2330 }
2331 }
2332 if (_obj2)
2333 {
2334 _arg2 = &temp;
2335 if (! wxPoint_helper(_obj2, &_arg2))
2336 return NULL;
2337 }
2338 if (_obj3)
2339 {
2340 _arg3 = &temp0;
2341 if (! wxSize_helper(_obj3, &_arg3))
2342 return NULL;
2343 }
2344 if (_obj5)
2345 {
2346 _arg5 = wxString_in_helper(_obj5);
2347 if (_arg5 == NULL)
2348 return NULL;
2349 }
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) return NULL;
2356 } if (_result) {
2357 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2358 _resultobj = Py_BuildValue("s",_ptemp);
2359 } else {
2360 Py_INCREF(Py_None);
2361 _resultobj = Py_None;
2362 }
2363 {
2364 if (_obj5)
2365 delete _arg5;
2366 }
2367 return _resultobj;
2368 }
2369
2370 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
2371 static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject * _resultobj;
2373 wxSplitterWindow * _result;
2374 char *_kwnames[] = { NULL };
2375 char _ptemp[128];
2376
2377 self = self;
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSplitterWindow",_kwnames))
2379 return NULL;
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) return NULL;
2386 } if (_result) {
2387 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2388 _resultobj = Py_BuildValue("s",_ptemp);
2389 } else {
2390 Py_INCREF(Py_None);
2391 _resultobj = Py_None;
2392 }
2393 return _resultobj;
2394 }
2395
2396 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2397 static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 bool _result;
2400 wxSplitterWindow * _arg0;
2401 wxWindow * _arg1;
2402 wxWindowID _arg2;
2403 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2404 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2405 long _arg5 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
2406 wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
2407 PyObject * _argo0 = 0;
2408 PyObject * _argo1 = 0;
2409 wxPoint temp;
2410 PyObject * _obj3 = 0;
2411 wxSize temp0;
2412 PyObject * _obj4 = 0;
2413 PyObject * _obj6 = 0;
2414 char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL };
2415
2416 self = self;
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
2418 return NULL;
2419 if (_argo0) {
2420 if (_argo0 == Py_None) { _arg0 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
2423 return NULL;
2424 }
2425 }
2426 if (_argo1) {
2427 if (_argo1 == Py_None) { _arg1 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
2430 return NULL;
2431 }
2432 }
2433 if (_obj3)
2434 {
2435 _arg3 = &temp;
2436 if (! wxPoint_helper(_obj3, &_arg3))
2437 return NULL;
2438 }
2439 if (_obj4)
2440 {
2441 _arg4 = &temp0;
2442 if (! wxSize_helper(_obj4, &_arg4))
2443 return NULL;
2444 }
2445 if (_obj6)
2446 {
2447 _arg6 = wxString_in_helper(_obj6);
2448 if (_arg6 == NULL)
2449 return NULL;
2450 }
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) return NULL;
2457 } _resultobj = Py_BuildValue("i",_result);
2458 {
2459 if (_obj6)
2460 delete _arg6;
2461 }
2462 return _resultobj;
2463 }
2464
2465 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2466 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject * _resultobj;
2468 wxWindow * _result;
2469 wxSplitterWindow * _arg0;
2470 PyObject * _argo0 = 0;
2471 char *_kwnames[] = { "self", NULL };
2472
2473 self = self;
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
2475 return NULL;
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2480 return NULL;
2481 }
2482 }
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) return NULL;
2489 }{ _resultobj = wxPyMake_wxObject(_result); }
2490 return _resultobj;
2491 }
2492
2493 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2494 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject * _resultobj;
2496 wxWindow * _result;
2497 wxSplitterWindow * _arg0;
2498 PyObject * _argo0 = 0;
2499 char *_kwnames[] = { "self", NULL };
2500
2501 self = self;
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
2503 return NULL;
2504 if (_argo0) {
2505 if (_argo0 == Py_None) { _arg0 = NULL; }
2506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2508 return NULL;
2509 }
2510 }
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) return NULL;
2517 }{ _resultobj = wxPyMake_wxObject(_result); }
2518 return _resultobj;
2519 }
2520
2521 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2522 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
2523 PyObject * _resultobj;
2524 wxSplitterWindow * _arg0;
2525 int _arg1;
2526 PyObject * _argo0 = 0;
2527 char *_kwnames[] = { "self","mode", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
2531 return NULL;
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2536 return NULL;
2537 }
2538 }
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) return NULL;
2545 } Py_INCREF(Py_None);
2546 _resultobj = Py_None;
2547 return _resultobj;
2548 }
2549
2550 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2551 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
2552 PyObject * _resultobj;
2553 int _result;
2554 wxSplitterWindow * _arg0;
2555 PyObject * _argo0 = 0;
2556 char *_kwnames[] = { "self", NULL };
2557
2558 self = self;
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
2560 return NULL;
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2565 return NULL;
2566 }
2567 }
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) return NULL;
2574 } _resultobj = Py_BuildValue("i",_result);
2575 return _resultobj;
2576 }
2577
2578 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2579 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject * _resultobj;
2581 wxSplitterWindow * _arg0;
2582 wxWindow * _arg1;
2583 PyObject * _argo0 = 0;
2584 PyObject * _argo1 = 0;
2585 char *_kwnames[] = { "self","window", NULL };
2586
2587 self = self;
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
2589 return NULL;
2590 if (_argo0) {
2591 if (_argo0 == Py_None) { _arg0 = NULL; }
2592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2594 return NULL;
2595 }
2596 }
2597 if (_argo1) {
2598 if (_argo1 == Py_None) { _arg1 = NULL; }
2599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2601 return NULL;
2602 }
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 wxSplitterWindow_Initialize(_arg0,_arg1);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) return NULL;
2610 } Py_INCREF(Py_None);
2611 _resultobj = Py_None;
2612 return _resultobj;
2613 }
2614
2615 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2616 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject * _resultobj;
2618 bool _result;
2619 wxSplitterWindow * _arg0;
2620 wxWindow * _arg1;
2621 wxWindow * _arg2;
2622 int _arg3 = (int ) 0;
2623 PyObject * _argo0 = 0;
2624 PyObject * _argo1 = 0;
2625 PyObject * _argo2 = 0;
2626 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
2627
2628 self = self;
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
2630 return NULL;
2631 if (_argo0) {
2632 if (_argo0 == Py_None) { _arg0 = NULL; }
2633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2635 return NULL;
2636 }
2637 }
2638 if (_argo1) {
2639 if (_argo1 == Py_None) { _arg1 = NULL; }
2640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2642 return NULL;
2643 }
2644 }
2645 if (_argo2) {
2646 if (_argo2 == Py_None) { _arg2 = NULL; }
2647 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2649 return NULL;
2650 }
2651 }
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) return NULL;
2658 } _resultobj = Py_BuildValue("i",_result);
2659 return _resultobj;
2660 }
2661
2662 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2663 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject * _resultobj;
2665 bool _result;
2666 wxSplitterWindow * _arg0;
2667 wxWindow * _arg1;
2668 wxWindow * _arg2;
2669 int _arg3 = (int ) 0;
2670 PyObject * _argo0 = 0;
2671 PyObject * _argo1 = 0;
2672 PyObject * _argo2 = 0;
2673 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
2674
2675 self = self;
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
2677 return NULL;
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2682 return NULL;
2683 }
2684 }
2685 if (_argo1) {
2686 if (_argo1 == Py_None) { _arg1 = NULL; }
2687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2689 return NULL;
2690 }
2691 }
2692 if (_argo2) {
2693 if (_argo2 == Py_None) { _arg2 = NULL; }
2694 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2696 return NULL;
2697 }
2698 }
2699 {
2700 PyThreadState* __tstate = wxPyBeginAllowThreads();
2701 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
2702
2703 wxPyEndAllowThreads(__tstate);
2704 if (PyErr_Occurred()) return NULL;
2705 } _resultobj = Py_BuildValue("i",_result);
2706 return _resultobj;
2707 }
2708
2709 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2710 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject * _resultobj;
2712 bool _result;
2713 wxSplitterWindow * _arg0;
2714 wxWindow * _arg1 = (wxWindow *) NULL;
2715 PyObject * _argo0 = 0;
2716 PyObject * _argo1 = 0;
2717 char *_kwnames[] = { "self","toRemove", NULL };
2718
2719 self = self;
2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
2721 return NULL;
2722 if (_argo0) {
2723 if (_argo0 == Py_None) { _arg0 = NULL; }
2724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2726 return NULL;
2727 }
2728 }
2729 if (_argo1) {
2730 if (_argo1 == Py_None) { _arg1 = NULL; }
2731 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2733 return NULL;
2734 }
2735 }
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) return NULL;
2742 } _resultobj = Py_BuildValue("i",_result);
2743 return _resultobj;
2744 }
2745
2746 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2747 static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject * _resultobj;
2749 bool _result;
2750 wxSplitterWindow * _arg0;
2751 wxWindow * _arg1;
2752 wxWindow * _arg2;
2753 PyObject * _argo0 = 0;
2754 PyObject * _argo1 = 0;
2755 PyObject * _argo2 = 0;
2756 char *_kwnames[] = { "self","winOld","winNew", NULL };
2757
2758 self = self;
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
2760 return NULL;
2761 if (_argo0) {
2762 if (_argo0 == Py_None) { _arg0 = NULL; }
2763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2765 return NULL;
2766 }
2767 }
2768 if (_argo1) {
2769 if (_argo1 == Py_None) { _arg1 = NULL; }
2770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2772 return NULL;
2773 }
2774 }
2775 if (_argo2) {
2776 if (_argo2 == Py_None) { _arg2 = NULL; }
2777 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2778 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2779 return NULL;
2780 }
2781 }
2782 {
2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2784 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
2785
2786 wxPyEndAllowThreads(__tstate);
2787 if (PyErr_Occurred()) return NULL;
2788 } _resultobj = Py_BuildValue("i",_result);
2789 return _resultobj;
2790 }
2791
2792 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2793 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject * _resultobj;
2795 bool _result;
2796 wxSplitterWindow * _arg0;
2797 PyObject * _argo0 = 0;
2798 char *_kwnames[] = { "self", NULL };
2799
2800 self = self;
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
2802 return NULL;
2803 if (_argo0) {
2804 if (_argo0 == Py_None) { _arg0 = NULL; }
2805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2807 return NULL;
2808 }
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) return NULL;
2816 } _resultobj = Py_BuildValue("i",_result);
2817 return _resultobj;
2818 }
2819
2820 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2821 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject * _resultobj;
2823 wxSplitterWindow * _arg0;
2824 int _arg1;
2825 PyObject * _argo0 = 0;
2826 char *_kwnames[] = { "self","width", NULL };
2827
2828 self = self;
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
2830 return NULL;
2831 if (_argo0) {
2832 if (_argo0 == Py_None) { _arg0 = NULL; }
2833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2835 return NULL;
2836 }
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 wxSplitterWindow_SetSashSize(_arg0,_arg1);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) return NULL;
2844 } Py_INCREF(Py_None);
2845 _resultobj = Py_None;
2846 return _resultobj;
2847 }
2848
2849 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2850 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject * _resultobj;
2852 wxSplitterWindow * _arg0;
2853 int _arg1;
2854 PyObject * _argo0 = 0;
2855 char *_kwnames[] = { "self","width", NULL };
2856
2857 self = self;
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
2859 return NULL;
2860 if (_argo0) {
2861 if (_argo0 == Py_None) { _arg0 = NULL; }
2862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2864 return NULL;
2865 }
2866 }
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) return NULL;
2873 } Py_INCREF(Py_None);
2874 _resultobj = Py_None;
2875 return _resultobj;
2876 }
2877
2878 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2879 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject * _resultobj;
2881 int _result;
2882 wxSplitterWindow * _arg0;
2883 PyObject * _argo0 = 0;
2884 char *_kwnames[] = { "self", NULL };
2885
2886 self = self;
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
2888 return NULL;
2889 if (_argo0) {
2890 if (_argo0 == Py_None) { _arg0 = NULL; }
2891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2893 return NULL;
2894 }
2895 }
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) return NULL;
2902 } _resultobj = Py_BuildValue("i",_result);
2903 return _resultobj;
2904 }
2905
2906 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2907 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject * _resultobj;
2909 int _result;
2910 wxSplitterWindow * _arg0;
2911 PyObject * _argo0 = 0;
2912 char *_kwnames[] = { "self", NULL };
2913
2914 self = self;
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
2916 return NULL;
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2921 return NULL;
2922 }
2923 }
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) return NULL;
2930 } _resultobj = Py_BuildValue("i",_result);
2931 return _resultobj;
2932 }
2933
2934 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2935 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2936 PyObject * _resultobj;
2937 wxSplitterWindow * _arg0;
2938 int _arg1;
2939 bool _arg2 = (bool ) TRUE;
2940 PyObject * _argo0 = 0;
2941 int tempbool2 = (int) TRUE;
2942 char *_kwnames[] = { "self","position","redraw", NULL };
2943
2944 self = self;
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
2946 return NULL;
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2951 return NULL;
2952 }
2953 }
2954 _arg2 = (bool ) tempbool2;
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) return NULL;
2961 } Py_INCREF(Py_None);
2962 _resultobj = Py_None;
2963 return _resultobj;
2964 }
2965
2966 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2967 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2968 PyObject * _resultobj;
2969 int _result;
2970 wxSplitterWindow * _arg0;
2971 PyObject * _argo0 = 0;
2972 char *_kwnames[] = { "self", NULL };
2973
2974 self = self;
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
2976 return NULL;
2977 if (_argo0) {
2978 if (_argo0 == Py_None) { _arg0 = NULL; }
2979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2981 return NULL;
2982 }
2983 }
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) return NULL;
2990 } _resultobj = Py_BuildValue("i",_result);
2991 return _resultobj;
2992 }
2993
2994 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2995 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject * _resultobj;
2997 wxSplitterWindow * _arg0;
2998 int _arg1;
2999 PyObject * _argo0 = 0;
3000 char *_kwnames[] = { "self","min", NULL };
3001
3002 self = self;
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
3004 return NULL;
3005 if (_argo0) {
3006 if (_argo0 == Py_None) { _arg0 = NULL; }
3007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3009 return NULL;
3010 }
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) return NULL;
3018 } Py_INCREF(Py_None);
3019 _resultobj = Py_None;
3020 return _resultobj;
3021 }
3022
3023 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
3024 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject * _resultobj;
3026 int _result;
3027 wxSplitterWindow * _arg0;
3028 PyObject * _argo0 = 0;
3029 char *_kwnames[] = { "self", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
3033 return NULL;
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3038 return NULL;
3039 }
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) return NULL;
3047 } _resultobj = Py_BuildValue("i",_result);
3048 return _resultobj;
3049 }
3050
3051 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
3052 static PyObject *_wrap_wxSplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 wxSplitterWindow * _arg0;
3055 PyObject * _argo0 = 0;
3056 char *_kwnames[] = { "self", NULL };
3057
3058 self = self;
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_SizeWindows",_kwnames,&_argo0))
3060 return NULL;
3061 if (_argo0) {
3062 if (_argo0 == Py_None) { _arg0 = NULL; }
3063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
3065 return NULL;
3066 }
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 wxSplitterWindow_SizeWindows(_arg0);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) return NULL;
3074 } Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 return _resultobj;
3077 }
3078
3079 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
3080 static PyObject *_wrap_wxSplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject * _resultobj;
3082 wxSplitterWindow * _arg0;
3083 bool _arg1;
3084 PyObject * _argo0 = 0;
3085 int tempbool1;
3086 char *_kwnames[] = { "self","needUpdating", NULL };
3087
3088 self = self;
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames,&_argo0,&tempbool1))
3090 return NULL;
3091 if (_argo0) {
3092 if (_argo0 == Py_None) { _arg0 = NULL; }
3093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
3095 return NULL;
3096 }
3097 }
3098 _arg1 = (bool ) tempbool1;
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 wxSplitterWindow_SetNeedUpdating(_arg0,_arg1);
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) return NULL;
3105 } Py_INCREF(Py_None);
3106 _resultobj = Py_None;
3107 return _resultobj;
3108 }
3109
3110 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
3111 static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 bool _result;
3114 wxSplitterWindow * _arg0;
3115 PyObject * _argo0 = 0;
3116 char *_kwnames[] = { "self", NULL };
3117
3118 self = self;
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetNeedUpdating",_kwnames,&_argo0))
3120 return NULL;
3121 if (_argo0) {
3122 if (_argo0 == Py_None) { _arg0 = NULL; }
3123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
3125 return NULL;
3126 }
3127 }
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 _result = (bool )wxSplitterWindow_GetNeedUpdating(_arg0);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) return NULL;
3134 } _resultobj = Py_BuildValue("i",_result);
3135 return _resultobj;
3136 }
3137
3138 static void *SwigwxTaskBarIconEventTowxEvent(void *ptr) {
3139 wxTaskBarIconEvent *src;
3140 wxEvent *dest;
3141 src = (wxTaskBarIconEvent *) ptr;
3142 dest = (wxEvent *) src;
3143 return (void *) dest;
3144 }
3145
3146 static void *SwigwxTaskBarIconEventTowxObject(void *ptr) {
3147 wxTaskBarIconEvent *src;
3148 wxObject *dest;
3149 src = (wxTaskBarIconEvent *) ptr;
3150 dest = (wxObject *) src;
3151 return (void *) dest;
3152 }
3153
3154 #define new_wxTaskBarIconEvent(_swigarg0,_swigarg1) (new wxTaskBarIconEvent(_swigarg0,_swigarg1))
3155 static PyObject *_wrap_new_wxTaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject * _resultobj;
3157 wxTaskBarIconEvent * _result;
3158 wxEventType _arg0;
3159 wxTaskBarIcon * _arg1;
3160 PyObject * _argo1 = 0;
3161 char *_kwnames[] = { "evtType","tbIcon", NULL };
3162 char _ptemp[128];
3163
3164 self = self;
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:new_wxTaskBarIconEvent",_kwnames,&_arg0,&_argo1))
3166 return NULL;
3167 if (_argo1) {
3168 if (_argo1 == Py_None) { _arg1 = NULL; }
3169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTaskBarIcon_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxTaskBarIconEvent. Expected _wxTaskBarIcon_p.");
3171 return NULL;
3172 }
3173 }
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 _result = (wxTaskBarIconEvent *)new_wxTaskBarIconEvent(_arg0,_arg1);
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) return NULL;
3180 } if (_result) {
3181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIconEvent_p");
3182 _resultobj = Py_BuildValue("s",_ptemp);
3183 } else {
3184 Py_INCREF(Py_None);
3185 _resultobj = Py_None;
3186 }
3187 return _resultobj;
3188 }
3189
3190 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
3191 wxTaskBarIcon *src;
3192 wxEvtHandler *dest;
3193 src = (wxTaskBarIcon *) ptr;
3194 dest = (wxEvtHandler *) src;
3195 return (void *) dest;
3196 }
3197
3198 static void *SwigwxTaskBarIconTowxObject(void *ptr) {
3199 wxTaskBarIcon *src;
3200 wxObject *dest;
3201 src = (wxTaskBarIcon *) ptr;
3202 dest = (wxObject *) src;
3203 return (void *) dest;
3204 }
3205
3206 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
3207 static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject * _resultobj;
3209 wxTaskBarIcon * _result;
3210 char *_kwnames[] = { NULL };
3211 char _ptemp[128];
3212
3213 self = self;
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames))
3215 return NULL;
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) return NULL;
3222 } if (_result) {
3223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
3224 _resultobj = Py_BuildValue("s",_ptemp);
3225 } else {
3226 Py_INCREF(Py_None);
3227 _resultobj = Py_None;
3228 }
3229 return _resultobj;
3230 }
3231
3232 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
3233 static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject * _resultobj;
3235 wxTaskBarIcon * _arg0;
3236 PyObject * _argo0 = 0;
3237 char *_kwnames[] = { "self", NULL };
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0))
3241 return NULL;
3242 if (_argo0) {
3243 if (_argo0 == Py_None) { _arg0 = NULL; }
3244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
3246 return NULL;
3247 }
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 delete_wxTaskBarIcon(_arg0);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) return NULL;
3255 } Py_INCREF(Py_None);
3256 _resultobj = Py_None;
3257 return _resultobj;
3258 }
3259
3260 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
3261 static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject * _resultobj;
3263 bool _result;
3264 wxTaskBarIcon * _arg0;
3265 wxIcon * _arg1;
3266 wxString * _arg2 = (wxString *) &wxPyEmptyString;
3267 PyObject * _argo0 = 0;
3268 PyObject * _argo1 = 0;
3269 PyObject * _obj2 = 0;
3270 char *_kwnames[] = { "self","icon","tooltip", NULL };
3271
3272 self = self;
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_obj2))
3274 return NULL;
3275 if (_argo0) {
3276 if (_argo0 == Py_None) { _arg0 = NULL; }
3277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
3279 return NULL;
3280 }
3281 }
3282 if (_argo1) {
3283 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
3284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
3285 return NULL;
3286 }
3287 }
3288 if (_obj2)
3289 {
3290 _arg2 = wxString_in_helper(_obj2);
3291 if (_arg2 == NULL)
3292 return NULL;
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,*_arg2);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) return NULL;
3300 } _resultobj = Py_BuildValue("i",_result);
3301 {
3302 if (_obj2)
3303 delete _arg2;
3304 }
3305 return _resultobj;
3306 }
3307
3308 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
3309 static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject * _resultobj;
3311 bool _result;
3312 wxTaskBarIcon * _arg0;
3313 PyObject * _argo0 = 0;
3314 char *_kwnames[] = { "self", NULL };
3315
3316 self = self;
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0))
3318 return NULL;
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
3323 return NULL;
3324 }
3325 }
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) return NULL;
3332 } _resultobj = Py_BuildValue("i",_result);
3333 return _resultobj;
3334 }
3335
3336 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
3337 static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject * _resultobj;
3339 bool _result;
3340 wxTaskBarIcon * _arg0;
3341 wxMenu * _arg1;
3342 PyObject * _argo0 = 0;
3343 PyObject * _argo1 = 0;
3344 char *_kwnames[] = { "self","menu", NULL };
3345
3346 self = self;
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1))
3348 return NULL;
3349 if (_argo0) {
3350 if (_argo0 == Py_None) { _arg0 = NULL; }
3351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
3353 return NULL;
3354 }
3355 }
3356 if (_argo1) {
3357 if (_argo1 == Py_None) { _arg1 = NULL; }
3358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
3360 return NULL;
3361 }
3362 }
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) return NULL;
3369 } _resultobj = Py_BuildValue("i",_result);
3370 return _resultobj;
3371 }
3372
3373 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
3374 static PyObject *_wrap_wxTaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject * _resultobj;
3376 bool _result;
3377 wxTaskBarIcon * _arg0;
3378 PyObject * _argo0 = 0;
3379 char *_kwnames[] = { "self", NULL };
3380
3381 self = self;
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsIconInstalled",_kwnames,&_argo0))
3383 return NULL;
3384 if (_argo0) {
3385 if (_argo0 == Py_None) { _arg0 = NULL; }
3386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
3388 return NULL;
3389 }
3390 }
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 _result = (bool )wxTaskBarIcon_IsIconInstalled(_arg0);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) return NULL;
3397 } _resultobj = Py_BuildValue("i",_result);
3398 return _resultobj;
3399 }
3400
3401 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
3402 static PyObject *_wrap_wxTaskBarIcon_IsOK(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject * _resultobj;
3404 bool _result;
3405 wxTaskBarIcon * _arg0;
3406 PyObject * _argo0 = 0;
3407 char *_kwnames[] = { "self", NULL };
3408
3409 self = self;
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_IsOK",_kwnames,&_argo0))
3411 return NULL;
3412 if (_argo0) {
3413 if (_argo0 == Py_None) { _arg0 = NULL; }
3414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
3415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
3416 return NULL;
3417 }
3418 }
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 _result = (bool )wxTaskBarIcon_IsOK(_arg0);
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) return NULL;
3425 } _resultobj = Py_BuildValue("i",_result);
3426 return _resultobj;
3427 }
3428
3429 static void *SwigwxPyWindowTowxWindow(void *ptr) {
3430 wxPyWindow *src;
3431 wxWindow *dest;
3432 src = (wxPyWindow *) ptr;
3433 dest = (wxWindow *) src;
3434 return (void *) dest;
3435 }
3436
3437 static void *SwigwxPyWindowTowxEvtHandler(void *ptr) {
3438 wxPyWindow *src;
3439 wxEvtHandler *dest;
3440 src = (wxPyWindow *) ptr;
3441 dest = (wxEvtHandler *) src;
3442 return (void *) dest;
3443 }
3444
3445 static void *SwigwxPyWindowTowxObject(void *ptr) {
3446 wxPyWindow *src;
3447 wxObject *dest;
3448 src = (wxPyWindow *) ptr;
3449 dest = (wxObject *) src;
3450 return (void *) dest;
3451 }
3452
3453 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3454 static PyObject *_wrap_new_wxPyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject * _resultobj;
3456 wxPyWindow * _result;
3457 wxWindow * _arg0;
3458 wxWindowID _arg1;
3459 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3460 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3461 long _arg4 = (long ) 0;
3462 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
3463 PyObject * _argo0 = 0;
3464 wxPoint temp;
3465 PyObject * _obj2 = 0;
3466 wxSize temp0;
3467 PyObject * _obj3 = 0;
3468 PyObject * _obj5 = 0;
3469 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3470 char _ptemp[128];
3471
3472 self = self;
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
3474 return NULL;
3475 if (_argo0) {
3476 if (_argo0 == Py_None) { _arg0 = NULL; }
3477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
3479 return NULL;
3480 }
3481 }
3482 if (_obj2)
3483 {
3484 _arg2 = &temp;
3485 if (! wxPoint_helper(_obj2, &_arg2))
3486 return NULL;
3487 }
3488 if (_obj3)
3489 {
3490 _arg3 = &temp0;
3491 if (! wxSize_helper(_obj3, &_arg3))
3492 return NULL;
3493 }
3494 if (_obj5)
3495 {
3496 _arg5 = wxString_in_helper(_obj5);
3497 if (_arg5 == NULL)
3498 return NULL;
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 _result = (wxPyWindow *)new_wxPyWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) return NULL;
3506 } if (_result) {
3507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWindow_p");
3508 _resultobj = Py_BuildValue("s",_ptemp);
3509 } else {
3510 Py_INCREF(Py_None);
3511 _resultobj = Py_None;
3512 }
3513 {
3514 if (_obj5)
3515 delete _arg5;
3516 }
3517 return _resultobj;
3518 }
3519
3520 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3521 static PyObject *_wrap_wxPyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject * _resultobj;
3523 wxPyWindow * _arg0;
3524 PyObject * _arg1;
3525 PyObject * _arg2;
3526 PyObject * _argo0 = 0;
3527 PyObject * _obj1 = 0;
3528 PyObject * _obj2 = 0;
3529 char *_kwnames[] = { "self","self","_class", NULL };
3530
3531 self = self;
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3533 return NULL;
3534 if (_argo0) {
3535 if (_argo0 == Py_None) { _arg0 = NULL; }
3536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
3538 return NULL;
3539 }
3540 }
3541 {
3542 _arg1 = _obj1;
3543 }
3544 {
3545 _arg2 = _obj2;
3546 }
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 wxPyWindow__setCallbackInfo(_arg0,_arg1,_arg2);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) return NULL;
3553 } Py_INCREF(Py_None);
3554 _resultobj = Py_None;
3555 return _resultobj;
3556 }
3557
3558 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3559 static PyObject *_wrap_wxPyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject * _resultobj;
3561 wxPyWindow * _arg0;
3562 int _arg1;
3563 int _arg2;
3564 int _arg3;
3565 int _arg4;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self","x","y","width","height", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
3576 return NULL;
3577 }
3578 }
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 wxPyWindow_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) return NULL;
3585 } Py_INCREF(Py_None);
3586 _resultobj = Py_None;
3587 return _resultobj;
3588 }
3589
3590 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3591 static PyObject *_wrap_wxPyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject * _resultobj;
3593 wxPyWindow * _arg0;
3594 int _arg1;
3595 int _arg2;
3596 int _arg3;
3597 int _arg4;
3598 int _arg5 = (int ) wxSIZE_AUTO;
3599 PyObject * _argo0 = 0;
3600 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3601
3602 self = self;
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3604 return NULL;
3605 if (_argo0) {
3606 if (_argo0 == Py_None) { _arg0 = NULL; }
3607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
3609 return NULL;
3610 }
3611 }
3612 {
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 wxPyWindow_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) return NULL;
3618 } Py_INCREF(Py_None);
3619 _resultobj = Py_None;
3620 return _resultobj;
3621 }
3622
3623 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3624 static PyObject *_wrap_wxPyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject * _resultobj;
3626 wxPyWindow * _arg0;
3627 int _arg1;
3628 int _arg2;
3629 PyObject * _argo0 = 0;
3630 char *_kwnames[] = { "self","width","height", NULL };
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
3634 return NULL;
3635 if (_argo0) {
3636 if (_argo0 == Py_None) { _arg0 = NULL; }
3637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
3639 return NULL;
3640 }
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 wxPyWindow_base_DoSetClientSize(_arg0,_arg1,_arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) return NULL;
3648 } Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 return _resultobj;
3651 }
3652
3653 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3654 static PyObject *_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 wxPyWindow * _arg0;
3657 int _arg1;
3658 int _arg2;
3659 PyObject * _argo0 = 0;
3660 char *_kwnames[] = { "self","x","y", NULL };
3661
3662 self = self;
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
3664 return NULL;
3665 if (_argo0) {
3666 if (_argo0 == Py_None) { _arg0 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
3669 return NULL;
3670 }
3671 }
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 wxPyWindow_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) return NULL;
3678 } Py_INCREF(Py_None);
3679 _resultobj = Py_None;
3680 return _resultobj;
3681 }
3682
3683 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3684 static PyObject *_wrap_wxPyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject * _resultobj;
3686 wxPyWindow * _arg0;
3687 int * _arg1;
3688 int temp;
3689 int * _arg2;
3690 int temp0;
3691 PyObject * _argo0 = 0;
3692 char *_kwnames[] = { "self", NULL };
3693
3694 self = self;
3695 {
3696 _arg1 = &temp;
3697 }
3698 {
3699 _arg2 = &temp0;
3700 }
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetSize",_kwnames,&_argo0))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
3707 return NULL;
3708 }
3709 }
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 wxPyWindow_base_DoGetSize(_arg0,_arg1,_arg2);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) return NULL;
3716 } Py_INCREF(Py_None);
3717 _resultobj = Py_None;
3718 {
3719 PyObject *o;
3720 o = PyInt_FromLong((long) (*_arg1));
3721 _resultobj = t_output_helper(_resultobj, o);
3722 }
3723 {
3724 PyObject *o;
3725 o = PyInt_FromLong((long) (*_arg2));
3726 _resultobj = t_output_helper(_resultobj, o);
3727 }
3728 return _resultobj;
3729 }
3730
3731 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3732 static PyObject *_wrap_wxPyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3733 PyObject * _resultobj;
3734 wxPyWindow * _arg0;
3735 int * _arg1;
3736 int temp;
3737 int * _arg2;
3738 int temp0;
3739 PyObject * _argo0 = 0;
3740 char *_kwnames[] = { "self", NULL };
3741
3742 self = self;
3743 {
3744 _arg1 = &temp;
3745 }
3746 {
3747 _arg2 = &temp0;
3748 }
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetClientSize",_kwnames,&_argo0))
3750 return NULL;
3751 if (_argo0) {
3752 if (_argo0 == Py_None) { _arg0 = NULL; }
3753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3755 return NULL;
3756 }
3757 }
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 wxPyWindow_base_DoGetClientSize(_arg0,_arg1,_arg2);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) return NULL;
3764 } Py_INCREF(Py_None);
3765 _resultobj = Py_None;
3766 {
3767 PyObject *o;
3768 o = PyInt_FromLong((long) (*_arg1));
3769 _resultobj = t_output_helper(_resultobj, o);
3770 }
3771 {
3772 PyObject *o;
3773 o = PyInt_FromLong((long) (*_arg2));
3774 _resultobj = t_output_helper(_resultobj, o);
3775 }
3776 return _resultobj;
3777 }
3778
3779 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3780 static PyObject *_wrap_wxPyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject * _resultobj;
3782 wxPyWindow * _arg0;
3783 int * _arg1;
3784 int temp;
3785 int * _arg2;
3786 int temp0;
3787 PyObject * _argo0 = 0;
3788 char *_kwnames[] = { "self", NULL };
3789
3790 self = self;
3791 {
3792 _arg1 = &temp;
3793 }
3794 {
3795 _arg2 = &temp0;
3796 }
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetPosition",_kwnames,&_argo0))
3798 return NULL;
3799 if (_argo0) {
3800 if (_argo0 == Py_None) { _arg0 = NULL; }
3801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3803 return NULL;
3804 }
3805 }
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 wxPyWindow_base_DoGetPosition(_arg0,_arg1,_arg2);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) return NULL;
3812 } Py_INCREF(Py_None);
3813 _resultobj = Py_None;
3814 {
3815 PyObject *o;
3816 o = PyInt_FromLong((long) (*_arg1));
3817 _resultobj = t_output_helper(_resultobj, o);
3818 }
3819 {
3820 PyObject *o;
3821 o = PyInt_FromLong((long) (*_arg2));
3822 _resultobj = t_output_helper(_resultobj, o);
3823 }
3824 return _resultobj;
3825 }
3826
3827 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3828 static PyObject *_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject * _resultobj;
3830 wxSize * _result;
3831 wxPyWindow * _arg0;
3832 PyObject * _argo0 = 0;
3833 char *_kwnames[] = { "self", NULL };
3834 char _ptemp[128];
3835
3836 self = self;
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames,&_argo0))
3838 return NULL;
3839 if (_argo0) {
3840 if (_argo0 == Py_None) { _arg0 = NULL; }
3841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3843 return NULL;
3844 }
3845 }
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 _result = new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0));
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) return NULL;
3852 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3853 _resultobj = Py_BuildValue("s",_ptemp);
3854 return _resultobj;
3855 }
3856
3857 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3858 static PyObject *_wrap_wxPyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject * _resultobj;
3860 wxSize * _result;
3861 wxPyWindow * _arg0;
3862 PyObject * _argo0 = 0;
3863 char *_kwnames[] = { "self", NULL };
3864 char _ptemp[128];
3865
3866 self = self;
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetBestSize",_kwnames,&_argo0))
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3873 return NULL;
3874 }
3875 }
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 _result = new wxSize (wxPyWindow_base_DoGetBestSize(_arg0));
3879
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) return NULL;
3882 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3883 _resultobj = Py_BuildValue("s",_ptemp);
3884 return _resultobj;
3885 }
3886
3887 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3888 static PyObject *_wrap_wxPyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject * _resultobj;
3890 wxPyWindow * _arg0;
3891 PyObject * _argo0 = 0;
3892 char *_kwnames[] = { "self", NULL };
3893
3894 self = self;
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_InitDialog",_kwnames,&_argo0))
3896 return NULL;
3897 if (_argo0) {
3898 if (_argo0 == Py_None) { _arg0 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3901 return NULL;
3902 }
3903 }
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 wxPyWindow_base_InitDialog(_arg0);
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) return NULL;
3910 } Py_INCREF(Py_None);
3911 _resultobj = Py_None;
3912 return _resultobj;
3913 }
3914
3915 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3916 static PyObject *_wrap_wxPyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject * _resultobj;
3918 bool _result;
3919 wxPyWindow * _arg0;
3920 PyObject * _argo0 = 0;
3921 char *_kwnames[] = { "self", NULL };
3922
3923 self = self;
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataToWindow",_kwnames,&_argo0))
3925 return NULL;
3926 if (_argo0) {
3927 if (_argo0 == Py_None) { _arg0 = NULL; }
3928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3930 return NULL;
3931 }
3932 }
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 _result = (bool )wxPyWindow_base_TransferDataToWindow(_arg0);
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) return NULL;
3939 } _resultobj = Py_BuildValue("i",_result);
3940 return _resultobj;
3941 }
3942
3943 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3944 static PyObject *_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject * _resultobj;
3946 bool _result;
3947 wxPyWindow * _arg0;
3948 PyObject * _argo0 = 0;
3949 char *_kwnames[] = { "self", NULL };
3950
3951 self = self;
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames,&_argo0))
3953 return NULL;
3954 if (_argo0) {
3955 if (_argo0 == Py_None) { _arg0 = NULL; }
3956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3958 return NULL;
3959 }
3960 }
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 _result = (bool )wxPyWindow_base_TransferDataFromWindow(_arg0);
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) return NULL;
3967 } _resultobj = Py_BuildValue("i",_result);
3968 return _resultobj;
3969 }
3970
3971 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3972 static PyObject *_wrap_wxPyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject * _resultobj;
3974 bool _result;
3975 wxPyWindow * _arg0;
3976 PyObject * _argo0 = 0;
3977 char *_kwnames[] = { "self", NULL };
3978
3979 self = self;
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_Validate",_kwnames,&_argo0))
3981 return NULL;
3982 if (_argo0) {
3983 if (_argo0 == Py_None) { _arg0 = NULL; }
3984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3986 return NULL;
3987 }
3988 }
3989 {
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 _result = (bool )wxPyWindow_base_Validate(_arg0);
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) return NULL;
3995 } _resultobj = Py_BuildValue("i",_result);
3996 return _resultobj;
3997 }
3998
3999 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4000 static PyObject *_wrap_wxPyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject * _resultobj;
4002 bool _result;
4003 wxPyWindow * _arg0;
4004 PyObject * _argo0 = 0;
4005 char *_kwnames[] = { "self", NULL };
4006
4007 self = self;
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocus",_kwnames,&_argo0))
4009 return NULL;
4010 if (_argo0) {
4011 if (_argo0 == Py_None) { _arg0 = NULL; }
4012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
4013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
4014 return NULL;
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 _result = (bool )wxPyWindow_base_AcceptsFocus(_arg0);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) return NULL;
4023 } _resultobj = Py_BuildValue("i",_result);
4024 return _resultobj;
4025 }
4026
4027 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4028 static PyObject *_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
4029 PyObject * _resultobj;
4030 bool _result;
4031 wxPyWindow * _arg0;
4032 PyObject * _argo0 = 0;
4033 char *_kwnames[] = { "self", NULL };
4034
4035 self = self;
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
4037 return NULL;
4038 if (_argo0) {
4039 if (_argo0 == Py_None) { _arg0 = NULL; }
4040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
4041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
4042 return NULL;
4043 }
4044 }
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 _result = (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) return NULL;
4051 } _resultobj = Py_BuildValue("i",_result);
4052 return _resultobj;
4053 }
4054
4055 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4056 static PyObject *_wrap_wxPyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject * _resultobj;
4058 wxSize * _result;
4059 wxPyWindow * _arg0;
4060 PyObject * _argo0 = 0;
4061 char *_kwnames[] = { "self", NULL };
4062 char _ptemp[128];
4063
4064 self = self;
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_GetMaxSize",_kwnames,&_argo0))
4066 return NULL;
4067 if (_argo0) {
4068 if (_argo0 == Py_None) { _arg0 = NULL; }
4069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
4071 return NULL;
4072 }
4073 }
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 _result = new wxSize (wxPyWindow_base_GetMaxSize(_arg0));
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) return NULL;
4080 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4081 _resultobj = Py_BuildValue("s",_ptemp);
4082 return _resultobj;
4083 }
4084
4085 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4086 static PyObject *_wrap_wxPyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject * _resultobj;
4088 wxPyWindow * _arg0;
4089 wxWindow * _arg1;
4090 PyObject * _argo0 = 0;
4091 PyObject * _argo1 = 0;
4092 char *_kwnames[] = { "self","child", NULL };
4093
4094 self = self;
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_AddChild",_kwnames,&_argo0,&_argo1))
4096 return NULL;
4097 if (_argo0) {
4098 if (_argo0 == Py_None) { _arg0 = NULL; }
4099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
4100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
4101 return NULL;
4102 }
4103 }
4104 if (_argo1) {
4105 if (_argo1 == Py_None) { _arg1 = NULL; }
4106 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
4108 return NULL;
4109 }
4110 }
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 wxPyWindow_base_AddChild(_arg0,_arg1);
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) return NULL;
4117 } Py_INCREF(Py_None);
4118 _resultobj = Py_None;
4119 return _resultobj;
4120 }
4121
4122 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4123 static PyObject *_wrap_wxPyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject * _resultobj;
4125 wxPyWindow * _arg0;
4126 wxWindow * _arg1;
4127 PyObject * _argo0 = 0;
4128 PyObject * _argo1 = 0;
4129 char *_kwnames[] = { "self","child", NULL };
4130
4131 self = self;
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_RemoveChild",_kwnames,&_argo0,&_argo1))
4133 return NULL;
4134 if (_argo0) {
4135 if (_argo0 == Py_None) { _arg0 = NULL; }
4136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
4138 return NULL;
4139 }
4140 }
4141 if (_argo1) {
4142 if (_argo1 == Py_None) { _arg1 = NULL; }
4143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
4145 return NULL;
4146 }
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 wxPyWindow_base_RemoveChild(_arg0,_arg1);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) return NULL;
4154 } Py_INCREF(Py_None);
4155 _resultobj = Py_None;
4156 return _resultobj;
4157 }
4158
4159 static void *SwigwxPyControlTowxControl(void *ptr) {
4160 wxPyControl *src;
4161 wxControl *dest;
4162 src = (wxPyControl *) ptr;
4163 dest = (wxControl *) src;
4164 return (void *) dest;
4165 }
4166
4167 static void *SwigwxPyControlTowxWindow(void *ptr) {
4168 wxPyControl *src;
4169 wxWindow *dest;
4170 src = (wxPyControl *) ptr;
4171 dest = (wxWindow *) src;
4172 return (void *) dest;
4173 }
4174
4175 static void *SwigwxPyControlTowxEvtHandler(void *ptr) {
4176 wxPyControl *src;
4177 wxEvtHandler *dest;
4178 src = (wxPyControl *) ptr;
4179 dest = (wxEvtHandler *) src;
4180 return (void *) dest;
4181 }
4182
4183 static void *SwigwxPyControlTowxObject(void *ptr) {
4184 wxPyControl *src;
4185 wxObject *dest;
4186 src = (wxPyControl *) ptr;
4187 dest = (wxObject *) src;
4188 return (void *) dest;
4189 }
4190
4191 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4192 static PyObject *_wrap_new_wxPyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject * _resultobj;
4194 wxPyControl * _result;
4195 wxWindow * _arg0;
4196 wxWindowID _arg1;
4197 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4198 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4199 long _arg4 = (long ) 0;
4200 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
4201 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
4202 PyObject * _argo0 = 0;
4203 wxPoint temp;
4204 PyObject * _obj2 = 0;
4205 wxSize temp0;
4206 PyObject * _obj3 = 0;
4207 PyObject * _argo5 = 0;
4208 PyObject * _obj6 = 0;
4209 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
4210 char _ptemp[128];
4211
4212 self = self;
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxPyControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
4214 return NULL;
4215 if (_argo0) {
4216 if (_argo0 == Py_None) { _arg0 = NULL; }
4217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
4219 return NULL;
4220 }
4221 }
4222 if (_obj2)
4223 {
4224 _arg2 = &temp;
4225 if (! wxPoint_helper(_obj2, &_arg2))
4226 return NULL;
4227 }
4228 if (_obj3)
4229 {
4230 _arg3 = &temp0;
4231 if (! wxSize_helper(_obj3, &_arg3))
4232 return NULL;
4233 }
4234 if (_argo5) {
4235 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
4237 return NULL;
4238 }
4239 }
4240 if (_obj6)
4241 {
4242 _arg6 = wxString_in_helper(_obj6);
4243 if (_arg6 == NULL)
4244 return NULL;
4245 }
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 _result = (wxPyControl *)new_wxPyControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) return NULL;
4252 } if (_result) {
4253 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControl_p");
4254 _resultobj = Py_BuildValue("s",_ptemp);
4255 } else {
4256 Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 }
4259 {
4260 if (_obj6)
4261 delete _arg6;
4262 }
4263 return _resultobj;
4264 }
4265
4266 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4267 static PyObject *_wrap_wxPyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject * _resultobj;
4269 wxPyControl * _arg0;
4270 PyObject * _arg1;
4271 PyObject * _arg2;
4272 PyObject * _argo0 = 0;
4273 PyObject * _obj1 = 0;
4274 PyObject * _obj2 = 0;
4275 char *_kwnames[] = { "self","self","_class", NULL };
4276
4277 self = self;
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4279 return NULL;
4280 if (_argo0) {
4281 if (_argo0 == Py_None) { _arg0 = NULL; }
4282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
4284 return NULL;
4285 }
4286 }
4287 {
4288 _arg1 = _obj1;
4289 }
4290 {
4291 _arg2 = _obj2;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 wxPyControl__setCallbackInfo(_arg0,_arg1,_arg2);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) return NULL;
4299 } Py_INCREF(Py_None);
4300 _resultobj = Py_None;
4301 return _resultobj;
4302 }
4303
4304 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4305 static PyObject *_wrap_wxPyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject * _resultobj;
4307 wxPyControl * _arg0;
4308 int _arg1;
4309 int _arg2;
4310 int _arg3;
4311 int _arg4;
4312 PyObject * _argo0 = 0;
4313 char *_kwnames[] = { "self","x","y","width","height", NULL };
4314
4315 self = self;
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4317 return NULL;
4318 if (_argo0) {
4319 if (_argo0 == Py_None) { _arg0 = NULL; }
4320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
4322 return NULL;
4323 }
4324 }
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 wxPyControl_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) return NULL;
4331 } Py_INCREF(Py_None);
4332 _resultobj = Py_None;
4333 return _resultobj;
4334 }
4335
4336 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4337 static PyObject *_wrap_wxPyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject * _resultobj;
4339 wxPyControl * _arg0;
4340 int _arg1;
4341 int _arg2;
4342 int _arg3;
4343 int _arg4;
4344 int _arg5 = (int ) wxSIZE_AUTO;
4345 PyObject * _argo0 = 0;
4346 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4347
4348 self = self;
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4350 return NULL;
4351 if (_argo0) {
4352 if (_argo0 == Py_None) { _arg0 = NULL; }
4353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
4355 return NULL;
4356 }
4357 }
4358 {
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 wxPyControl_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) return NULL;
4364 } Py_INCREF(Py_None);
4365 _resultobj = Py_None;
4366 return _resultobj;
4367 }
4368
4369 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4370 static PyObject *_wrap_wxPyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4371 PyObject * _resultobj;
4372 wxPyControl * _arg0;
4373 int _arg1;
4374 int _arg2;
4375 PyObject * _argo0 = 0;
4376 char *_kwnames[] = { "self","width","height", NULL };
4377
4378 self = self;
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
4380 return NULL;
4381 if (_argo0) {
4382 if (_argo0 == Py_None) { _arg0 = NULL; }
4383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
4385 return NULL;
4386 }
4387 }
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 wxPyControl_base_DoSetClientSize(_arg0,_arg1,_arg2);
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) return NULL;
4394 } Py_INCREF(Py_None);
4395 _resultobj = Py_None;
4396 return _resultobj;
4397 }
4398
4399 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4400 static PyObject *_wrap_wxPyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject * _resultobj;
4402 wxPyControl * _arg0;
4403 int _arg1;
4404 int _arg2;
4405 PyObject * _argo0 = 0;
4406 char *_kwnames[] = { "self","x","y", NULL };
4407
4408 self = self;
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
4410 return NULL;
4411 if (_argo0) {
4412 if (_argo0 == Py_None) { _arg0 = NULL; }
4413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
4415 return NULL;
4416 }
4417 }
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 wxPyControl_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
4421
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) return NULL;
4424 } Py_INCREF(Py_None);
4425 _resultobj = Py_None;
4426 return _resultobj;
4427 }
4428
4429 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4430 static PyObject *_wrap_wxPyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject * _resultobj;
4432 wxPyControl * _arg0;
4433 int * _arg1;
4434 int temp;
4435 int * _arg2;
4436 int temp0;
4437 PyObject * _argo0 = 0;
4438 char *_kwnames[] = { "self", NULL };
4439
4440 self = self;
4441 {
4442 _arg1 = &temp;
4443 }
4444 {
4445 _arg2 = &temp0;
4446 }
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetSize",_kwnames,&_argo0))
4448 return NULL;
4449 if (_argo0) {
4450 if (_argo0 == Py_None) { _arg0 = NULL; }
4451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
4453 return NULL;
4454 }
4455 }
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 wxPyControl_base_DoGetSize(_arg0,_arg1,_arg2);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) return NULL;
4462 } Py_INCREF(Py_None);
4463 _resultobj = Py_None;
4464 {
4465 PyObject *o;
4466 o = PyInt_FromLong((long) (*_arg1));
4467 _resultobj = t_output_helper(_resultobj, o);
4468 }
4469 {
4470 PyObject *o;
4471 o = PyInt_FromLong((long) (*_arg2));
4472 _resultobj = t_output_helper(_resultobj, o);
4473 }
4474 return _resultobj;
4475 }
4476
4477 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4478 static PyObject *_wrap_wxPyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject * _resultobj;
4480 wxPyControl * _arg0;
4481 int * _arg1;
4482 int temp;
4483 int * _arg2;
4484 int temp0;
4485 PyObject * _argo0 = 0;
4486 char *_kwnames[] = { "self", NULL };
4487
4488 self = self;
4489 {
4490 _arg1 = &temp;
4491 }
4492 {
4493 _arg2 = &temp0;
4494 }
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetClientSize",_kwnames,&_argo0))
4496 return NULL;
4497 if (_argo0) {
4498 if (_argo0 == Py_None) { _arg0 = NULL; }
4499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
4501 return NULL;
4502 }
4503 }
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 wxPyControl_base_DoGetClientSize(_arg0,_arg1,_arg2);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) return NULL;
4510 } Py_INCREF(Py_None);
4511 _resultobj = Py_None;
4512 {
4513 PyObject *o;
4514 o = PyInt_FromLong((long) (*_arg1));
4515 _resultobj = t_output_helper(_resultobj, o);
4516 }
4517 {
4518 PyObject *o;
4519 o = PyInt_FromLong((long) (*_arg2));
4520 _resultobj = t_output_helper(_resultobj, o);
4521 }
4522 return _resultobj;
4523 }
4524
4525 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4526 static PyObject *_wrap_wxPyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject * _resultobj;
4528 wxPyControl * _arg0;
4529 int * _arg1;
4530 int temp;
4531 int * _arg2;
4532 int temp0;
4533 PyObject * _argo0 = 0;
4534 char *_kwnames[] = { "self", NULL };
4535
4536 self = self;
4537 {
4538 _arg1 = &temp;
4539 }
4540 {
4541 _arg2 = &temp0;
4542 }
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetPosition",_kwnames,&_argo0))
4544 return NULL;
4545 if (_argo0) {
4546 if (_argo0 == Py_None) { _arg0 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
4549 return NULL;
4550 }
4551 }
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 wxPyControl_base_DoGetPosition(_arg0,_arg1,_arg2);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) return NULL;
4558 } Py_INCREF(Py_None);
4559 _resultobj = Py_None;
4560 {
4561 PyObject *o;
4562 o = PyInt_FromLong((long) (*_arg1));
4563 _resultobj = t_output_helper(_resultobj, o);
4564 }
4565 {
4566 PyObject *o;
4567 o = PyInt_FromLong((long) (*_arg2));
4568 _resultobj = t_output_helper(_resultobj, o);
4569 }
4570 return _resultobj;
4571 }
4572
4573 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4574 static PyObject *_wrap_wxPyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject * _resultobj;
4576 wxSize * _result;
4577 wxPyControl * _arg0;
4578 PyObject * _argo0 = 0;
4579 char *_kwnames[] = { "self", NULL };
4580 char _ptemp[128];
4581
4582 self = self;
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetVirtualSize",_kwnames,&_argo0))
4584 return NULL;
4585 if (_argo0) {
4586 if (_argo0 == Py_None) { _arg0 = NULL; }
4587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
4589 return NULL;
4590 }
4591 }
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 _result = new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0));
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) return NULL;
4598 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4599 _resultobj = Py_BuildValue("s",_ptemp);
4600 return _resultobj;
4601 }
4602
4603 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4604 static PyObject *_wrap_wxPyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject * _resultobj;
4606 wxSize * _result;
4607 wxPyControl * _arg0;
4608 PyObject * _argo0 = 0;
4609 char *_kwnames[] = { "self", NULL };
4610 char _ptemp[128];
4611
4612 self = self;
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetBestSize",_kwnames,&_argo0))
4614 return NULL;
4615 if (_argo0) {
4616 if (_argo0 == Py_None) { _arg0 = NULL; }
4617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
4619 return NULL;
4620 }
4621 }
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 _result = new wxSize (wxPyControl_base_DoGetBestSize(_arg0));
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) return NULL;
4628 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4629 _resultobj = Py_BuildValue("s",_ptemp);
4630 return _resultobj;
4631 }
4632
4633 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4634 static PyObject *_wrap_wxPyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject * _resultobj;
4636 wxPyControl * _arg0;
4637 PyObject * _argo0 = 0;
4638 char *_kwnames[] = { "self", NULL };
4639
4640 self = self;
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_InitDialog",_kwnames,&_argo0))
4642 return NULL;
4643 if (_argo0) {
4644 if (_argo0 == Py_None) { _arg0 = NULL; }
4645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
4647 return NULL;
4648 }
4649 }
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 wxPyControl_base_InitDialog(_arg0);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) return NULL;
4656 } Py_INCREF(Py_None);
4657 _resultobj = Py_None;
4658 return _resultobj;
4659 }
4660
4661 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4662 static PyObject *_wrap_wxPyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject * _resultobj;
4664 bool _result;
4665 wxPyControl * _arg0;
4666 PyObject * _argo0 = 0;
4667 char *_kwnames[] = { "self", NULL };
4668
4669 self = self;
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataToWindow",_kwnames,&_argo0))
4671 return NULL;
4672 if (_argo0) {
4673 if (_argo0 == Py_None) { _arg0 = NULL; }
4674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
4676 return NULL;
4677 }
4678 }
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 _result = (bool )wxPyControl_base_TransferDataToWindow(_arg0);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) return NULL;
4685 } _resultobj = Py_BuildValue("i",_result);
4686 return _resultobj;
4687 }
4688
4689 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4690 static PyObject *_wrap_wxPyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject * _resultobj;
4692 bool _result;
4693 wxPyControl * _arg0;
4694 PyObject * _argo0 = 0;
4695 char *_kwnames[] = { "self", NULL };
4696
4697 self = self;
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataFromWindow",_kwnames,&_argo0))
4699 return NULL;
4700 if (_argo0) {
4701 if (_argo0 == Py_None) { _arg0 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
4704 return NULL;
4705 }
4706 }
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 _result = (bool )wxPyControl_base_TransferDataFromWindow(_arg0);
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) return NULL;
4713 } _resultobj = Py_BuildValue("i",_result);
4714 return _resultobj;
4715 }
4716
4717 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
4718 static PyObject *_wrap_wxPyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject * _resultobj;
4720 bool _result;
4721 wxPyControl * _arg0;
4722 PyObject * _argo0 = 0;
4723 char *_kwnames[] = { "self", NULL };
4724
4725 self = self;
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_Validate",_kwnames,&_argo0))
4727 return NULL;
4728 if (_argo0) {
4729 if (_argo0 == Py_None) { _arg0 = NULL; }
4730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
4732 return NULL;
4733 }
4734 }
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 _result = (bool )wxPyControl_base_Validate(_arg0);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) return NULL;
4741 } _resultobj = Py_BuildValue("i",_result);
4742 return _resultobj;
4743 }
4744
4745 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4746 static PyObject *_wrap_wxPyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject * _resultobj;
4748 bool _result;
4749 wxPyControl * _arg0;
4750 PyObject * _argo0 = 0;
4751 char *_kwnames[] = { "self", NULL };
4752
4753 self = self;
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocus",_kwnames,&_argo0))
4755 return NULL;
4756 if (_argo0) {
4757 if (_argo0 == Py_None) { _arg0 = NULL; }
4758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4760 return NULL;
4761 }
4762 }
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 _result = (bool )wxPyControl_base_AcceptsFocus(_arg0);
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) return NULL;
4769 } _resultobj = Py_BuildValue("i",_result);
4770 return _resultobj;
4771 }
4772
4773 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4774 static PyObject *_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 bool _result;
4777 wxPyControl * _arg0;
4778 PyObject * _argo0 = 0;
4779 char *_kwnames[] = { "self", NULL };
4780
4781 self = self;
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
4783 return NULL;
4784 if (_argo0) {
4785 if (_argo0 == Py_None) { _arg0 = NULL; }
4786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4788 return NULL;
4789 }
4790 }
4791 {
4792 PyThreadState* __tstate = wxPyBeginAllowThreads();
4793 _result = (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0);
4794
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) return NULL;
4797 } _resultobj = Py_BuildValue("i",_result);
4798 return _resultobj;
4799 }
4800
4801 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4802 static PyObject *_wrap_wxPyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject * _resultobj;
4804 wxSize * _result;
4805 wxPyControl * _arg0;
4806 PyObject * _argo0 = 0;
4807 char *_kwnames[] = { "self", NULL };
4808 char _ptemp[128];
4809
4810 self = self;
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_GetMaxSize",_kwnames,&_argo0))
4812 return NULL;
4813 if (_argo0) {
4814 if (_argo0 == Py_None) { _arg0 = NULL; }
4815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4817 return NULL;
4818 }
4819 }
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 _result = new wxSize (wxPyControl_base_GetMaxSize(_arg0));
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) return NULL;
4826 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4827 _resultobj = Py_BuildValue("s",_ptemp);
4828 return _resultobj;
4829 }
4830
4831 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4832 static PyObject *_wrap_wxPyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject * _resultobj;
4834 wxPyControl * _arg0;
4835 wxWindow * _arg1;
4836 PyObject * _argo0 = 0;
4837 PyObject * _argo1 = 0;
4838 char *_kwnames[] = { "self","child", NULL };
4839
4840 self = self;
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_AddChild",_kwnames,&_argo0,&_argo1))
4842 return NULL;
4843 if (_argo0) {
4844 if (_argo0 == Py_None) { _arg0 = NULL; }
4845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4847 return NULL;
4848 }
4849 }
4850 if (_argo1) {
4851 if (_argo1 == Py_None) { _arg1 = NULL; }
4852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4854 return NULL;
4855 }
4856 }
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 wxPyControl_base_AddChild(_arg0,_arg1);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) return NULL;
4863 } Py_INCREF(Py_None);
4864 _resultobj = Py_None;
4865 return _resultobj;
4866 }
4867
4868 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4869 static PyObject *_wrap_wxPyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject * _resultobj;
4871 wxPyControl * _arg0;
4872 wxWindow * _arg1;
4873 PyObject * _argo0 = 0;
4874 PyObject * _argo1 = 0;
4875 char *_kwnames[] = { "self","child", NULL };
4876
4877 self = self;
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_RemoveChild",_kwnames,&_argo0,&_argo1))
4879 return NULL;
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4884 return NULL;
4885 }
4886 }
4887 if (_argo1) {
4888 if (_argo1 == Py_None) { _arg1 = NULL; }
4889 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4891 return NULL;
4892 }
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 wxPyControl_base_RemoveChild(_arg0,_arg1);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) return NULL;
4900 } Py_INCREF(Py_None);
4901 _resultobj = Py_None;
4902 return _resultobj;
4903 }
4904
4905 static void *SwigwxPyPanelTowxPanel(void *ptr) {
4906 wxPyPanel *src;
4907 wxPanel *dest;
4908 src = (wxPyPanel *) ptr;
4909 dest = (wxPanel *) src;
4910 return (void *) dest;
4911 }
4912
4913 static void *SwigwxPyPanelTowxWindow(void *ptr) {
4914 wxPyPanel *src;
4915 wxWindow *dest;
4916 src = (wxPyPanel *) ptr;
4917 dest = (wxWindow *) src;
4918 return (void *) dest;
4919 }
4920
4921 static void *SwigwxPyPanelTowxEvtHandler(void *ptr) {
4922 wxPyPanel *src;
4923 wxEvtHandler *dest;
4924 src = (wxPyPanel *) ptr;
4925 dest = (wxEvtHandler *) src;
4926 return (void *) dest;
4927 }
4928
4929 static void *SwigwxPyPanelTowxObject(void *ptr) {
4930 wxPyPanel *src;
4931 wxObject *dest;
4932 src = (wxPyPanel *) ptr;
4933 dest = (wxObject *) src;
4934 return (void *) dest;
4935 }
4936
4937 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4938 static PyObject *_wrap_new_wxPyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject * _resultobj;
4940 wxPyPanel * _result;
4941 wxWindow * _arg0;
4942 wxWindowID _arg1;
4943 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4944 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4945 long _arg4 = (long ) 0;
4946 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
4947 PyObject * _argo0 = 0;
4948 wxPoint temp;
4949 PyObject * _obj2 = 0;
4950 wxSize temp0;
4951 PyObject * _obj3 = 0;
4952 PyObject * _obj5 = 0;
4953 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4954 char _ptemp[128];
4955
4956 self = self;
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4958 return NULL;
4959 if (_argo0) {
4960 if (_argo0 == Py_None) { _arg0 = NULL; }
4961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4963 return NULL;
4964 }
4965 }
4966 if (_obj2)
4967 {
4968 _arg2 = &temp;
4969 if (! wxPoint_helper(_obj2, &_arg2))
4970 return NULL;
4971 }
4972 if (_obj3)
4973 {
4974 _arg3 = &temp0;
4975 if (! wxSize_helper(_obj3, &_arg3))
4976 return NULL;
4977 }
4978 if (_obj5)
4979 {
4980 _arg5 = wxString_in_helper(_obj5);
4981 if (_arg5 == NULL)
4982 return NULL;
4983 }
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 _result = (wxPyPanel *)new_wxPyPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) return NULL;
4990 } if (_result) {
4991 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPanel_p");
4992 _resultobj = Py_BuildValue("s",_ptemp);
4993 } else {
4994 Py_INCREF(Py_None);
4995 _resultobj = Py_None;
4996 }
4997 {
4998 if (_obj5)
4999 delete _arg5;
5000 }
5001 return _resultobj;
5002 }
5003
5004 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5005 static PyObject *_wrap_wxPyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5006 PyObject * _resultobj;
5007 wxPyPanel * _arg0;
5008 PyObject * _arg1;
5009 PyObject * _arg2;
5010 PyObject * _argo0 = 0;
5011 PyObject * _obj1 = 0;
5012 PyObject * _obj2 = 0;
5013 char *_kwnames[] = { "self","self","_class", NULL };
5014
5015 self = self;
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPanel__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5017 return NULL;
5018 if (_argo0) {
5019 if (_argo0 == Py_None) { _arg0 = NULL; }
5020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
5022 return NULL;
5023 }
5024 }
5025 {
5026 _arg1 = _obj1;
5027 }
5028 {
5029 _arg2 = _obj2;
5030 }
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 wxPyPanel__setCallbackInfo(_arg0,_arg1,_arg2);
5034
5035 wxPyEndAllowThreads(__tstate);
5036 if (PyErr_Occurred()) return NULL;
5037 } Py_INCREF(Py_None);
5038 _resultobj = Py_None;
5039 return _resultobj;
5040 }
5041
5042 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5043 static PyObject *_wrap_wxPyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject * _resultobj;
5045 wxPyPanel * _arg0;
5046 int _arg1;
5047 int _arg2;
5048 int _arg3;
5049 int _arg4;
5050 PyObject * _argo0 = 0;
5051 char *_kwnames[] = { "self","x","y","width","height", NULL };
5052
5053 self = self;
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5055 return NULL;
5056 if (_argo0) {
5057 if (_argo0 == Py_None) { _arg0 = NULL; }
5058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
5060 return NULL;
5061 }
5062 }
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 wxPyPanel_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) return NULL;
5069 } Py_INCREF(Py_None);
5070 _resultobj = Py_None;
5071 return _resultobj;
5072 }
5073
5074 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5075 static PyObject *_wrap_wxPyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject * _resultobj;
5077 wxPyPanel * _arg0;
5078 int _arg1;
5079 int _arg2;
5080 int _arg3;
5081 int _arg4;
5082 int _arg5 = (int ) wxSIZE_AUTO;
5083 PyObject * _argo0 = 0;
5084 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
5085
5086 self = self;
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
5088 return NULL;
5089 if (_argo0) {
5090 if (_argo0 == Py_None) { _arg0 = NULL; }
5091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
5093 return NULL;
5094 }
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 wxPyPanel_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) return NULL;
5102 } Py_INCREF(Py_None);
5103 _resultobj = Py_None;
5104 return _resultobj;
5105 }
5106
5107 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
5108 static PyObject *_wrap_wxPyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject * _resultobj;
5110 wxPyPanel * _arg0;
5111 int _arg1;
5112 int _arg2;
5113 PyObject * _argo0 = 0;
5114 char *_kwnames[] = { "self","width","height", NULL };
5115
5116 self = self;
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
5118 return NULL;
5119 if (_argo0) {
5120 if (_argo0 == Py_None) { _arg0 = NULL; }
5121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
5123 return NULL;
5124 }
5125 }
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 wxPyPanel_base_DoSetClientSize(_arg0,_arg1,_arg2);
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) return NULL;
5132 } Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 return _resultobj;
5135 }
5136
5137 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
5138 static PyObject *_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject * _resultobj;
5140 wxPyPanel * _arg0;
5141 int _arg1;
5142 int _arg2;
5143 PyObject * _argo0 = 0;
5144 char *_kwnames[] = { "self","x","y", NULL };
5145
5146 self = self;
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
5148 return NULL;
5149 if (_argo0) {
5150 if (_argo0 == Py_None) { _arg0 = NULL; }
5151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
5153 return NULL;
5154 }
5155 }
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 wxPyPanel_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) return NULL;
5162 } Py_INCREF(Py_None);
5163 _resultobj = Py_None;
5164 return _resultobj;
5165 }
5166
5167 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
5168 static PyObject *_wrap_wxPyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5169 PyObject * _resultobj;
5170 wxPyPanel * _arg0;
5171 int * _arg1;
5172 int temp;
5173 int * _arg2;
5174 int temp0;
5175 PyObject * _argo0 = 0;
5176 char *_kwnames[] = { "self", NULL };
5177
5178 self = self;
5179 {
5180 _arg1 = &temp;
5181 }
5182 {
5183 _arg2 = &temp0;
5184 }
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetSize",_kwnames,&_argo0))
5186 return NULL;
5187 if (_argo0) {
5188 if (_argo0 == Py_None) { _arg0 = NULL; }
5189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
5191 return NULL;
5192 }
5193 }
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 wxPyPanel_base_DoGetSize(_arg0,_arg1,_arg2);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) return NULL;
5200 } Py_INCREF(Py_None);
5201 _resultobj = Py_None;
5202 {
5203 PyObject *o;
5204 o = PyInt_FromLong((long) (*_arg1));
5205 _resultobj = t_output_helper(_resultobj, o);
5206 }
5207 {
5208 PyObject *o;
5209 o = PyInt_FromLong((long) (*_arg2));
5210 _resultobj = t_output_helper(_resultobj, o);
5211 }
5212 return _resultobj;
5213 }
5214
5215 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
5216 static PyObject *_wrap_wxPyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject * _resultobj;
5218 wxPyPanel * _arg0;
5219 int * _arg1;
5220 int temp;
5221 int * _arg2;
5222 int temp0;
5223 PyObject * _argo0 = 0;
5224 char *_kwnames[] = { "self", NULL };
5225
5226 self = self;
5227 {
5228 _arg1 = &temp;
5229 }
5230 {
5231 _arg2 = &temp0;
5232 }
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetClientSize",_kwnames,&_argo0))
5234 return NULL;
5235 if (_argo0) {
5236 if (_argo0 == Py_None) { _arg0 = NULL; }
5237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
5239 return NULL;
5240 }
5241 }
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 wxPyPanel_base_DoGetClientSize(_arg0,_arg1,_arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) return NULL;
5248 } Py_INCREF(Py_None);
5249 _resultobj = Py_None;
5250 {
5251 PyObject *o;
5252 o = PyInt_FromLong((long) (*_arg1));
5253 _resultobj = t_output_helper(_resultobj, o);
5254 }
5255 {
5256 PyObject *o;
5257 o = PyInt_FromLong((long) (*_arg2));
5258 _resultobj = t_output_helper(_resultobj, o);
5259 }
5260 return _resultobj;
5261 }
5262
5263 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
5264 static PyObject *_wrap_wxPyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject * _resultobj;
5266 wxPyPanel * _arg0;
5267 int * _arg1;
5268 int temp;
5269 int * _arg2;
5270 int temp0;
5271 PyObject * _argo0 = 0;
5272 char *_kwnames[] = { "self", NULL };
5273
5274 self = self;
5275 {
5276 _arg1 = &temp;
5277 }
5278 {
5279 _arg2 = &temp0;
5280 }
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetPosition",_kwnames,&_argo0))
5282 return NULL;
5283 if (_argo0) {
5284 if (_argo0 == Py_None) { _arg0 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
5287 return NULL;
5288 }
5289 }
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 wxPyPanel_base_DoGetPosition(_arg0,_arg1,_arg2);
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) return NULL;
5296 } Py_INCREF(Py_None);
5297 _resultobj = Py_None;
5298 {
5299 PyObject *o;
5300 o = PyInt_FromLong((long) (*_arg1));
5301 _resultobj = t_output_helper(_resultobj, o);
5302 }
5303 {
5304 PyObject *o;
5305 o = PyInt_FromLong((long) (*_arg2));
5306 _resultobj = t_output_helper(_resultobj, o);
5307 }
5308 return _resultobj;
5309 }
5310
5311 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
5312 static PyObject *_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 wxSize * _result;
5315 wxPyPanel * _arg0;
5316 PyObject * _argo0 = 0;
5317 char *_kwnames[] = { "self", NULL };
5318 char _ptemp[128];
5319
5320 self = self;
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames,&_argo0))
5322 return NULL;
5323 if (_argo0) {
5324 if (_argo0 == Py_None) { _arg0 = NULL; }
5325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
5327 return NULL;
5328 }
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 _result = new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0));
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) return NULL;
5336 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5337 _resultobj = Py_BuildValue("s",_ptemp);
5338 return _resultobj;
5339 }
5340
5341 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
5342 static PyObject *_wrap_wxPyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject * _resultobj;
5344 wxSize * _result;
5345 wxPyPanel * _arg0;
5346 PyObject * _argo0 = 0;
5347 char *_kwnames[] = { "self", NULL };
5348 char _ptemp[128];
5349
5350 self = self;
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetBestSize",_kwnames,&_argo0))
5352 return NULL;
5353 if (_argo0) {
5354 if (_argo0 == Py_None) { _arg0 = NULL; }
5355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
5357 return NULL;
5358 }
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 _result = new wxSize (wxPyPanel_base_DoGetBestSize(_arg0));
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) return NULL;
5366 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5367 _resultobj = Py_BuildValue("s",_ptemp);
5368 return _resultobj;
5369 }
5370
5371 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
5372 static PyObject *_wrap_wxPyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject * _resultobj;
5374 wxPyPanel * _arg0;
5375 PyObject * _argo0 = 0;
5376 char *_kwnames[] = { "self", NULL };
5377
5378 self = self;
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_InitDialog",_kwnames,&_argo0))
5380 return NULL;
5381 if (_argo0) {
5382 if (_argo0 == Py_None) { _arg0 = NULL; }
5383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
5385 return NULL;
5386 }
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 wxPyPanel_base_InitDialog(_arg0);
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) return NULL;
5394 } Py_INCREF(Py_None);
5395 _resultobj = Py_None;
5396 return _resultobj;
5397 }
5398
5399 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
5400 static PyObject *_wrap_wxPyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject * _resultobj;
5402 bool _result;
5403 wxPyPanel * _arg0;
5404 PyObject * _argo0 = 0;
5405 char *_kwnames[] = { "self", NULL };
5406
5407 self = self;
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataToWindow",_kwnames,&_argo0))
5409 return NULL;
5410 if (_argo0) {
5411 if (_argo0 == Py_None) { _arg0 = NULL; }
5412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
5414 return NULL;
5415 }
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 _result = (bool )wxPyPanel_base_TransferDataToWindow(_arg0);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) return NULL;
5423 } _resultobj = Py_BuildValue("i",_result);
5424 return _resultobj;
5425 }
5426
5427 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
5428 static PyObject *_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5429 PyObject * _resultobj;
5430 bool _result;
5431 wxPyPanel * _arg0;
5432 PyObject * _argo0 = 0;
5433 char *_kwnames[] = { "self", NULL };
5434
5435 self = self;
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames,&_argo0))
5437 return NULL;
5438 if (_argo0) {
5439 if (_argo0 == Py_None) { _arg0 = NULL; }
5440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
5442 return NULL;
5443 }
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 _result = (bool )wxPyPanel_base_TransferDataFromWindow(_arg0);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) return NULL;
5451 } _resultobj = Py_BuildValue("i",_result);
5452 return _resultobj;
5453 }
5454
5455 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
5456 static PyObject *_wrap_wxPyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject * _resultobj;
5458 bool _result;
5459 wxPyPanel * _arg0;
5460 PyObject * _argo0 = 0;
5461 char *_kwnames[] = { "self", NULL };
5462
5463 self = self;
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_Validate",_kwnames,&_argo0))
5465 return NULL;
5466 if (_argo0) {
5467 if (_argo0 == Py_None) { _arg0 = NULL; }
5468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
5470 return NULL;
5471 }
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 _result = (bool )wxPyPanel_base_Validate(_arg0);
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) return NULL;
5479 } _resultobj = Py_BuildValue("i",_result);
5480 return _resultobj;
5481 }
5482
5483 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
5484 static PyObject *_wrap_wxPyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
5485 PyObject * _resultobj;
5486 bool _result;
5487 wxPyPanel * _arg0;
5488 PyObject * _argo0 = 0;
5489 char *_kwnames[] = { "self", NULL };
5490
5491 self = self;
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocus",_kwnames,&_argo0))
5493 return NULL;
5494 if (_argo0) {
5495 if (_argo0 == Py_None) { _arg0 = NULL; }
5496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
5498 return NULL;
5499 }
5500 }
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 _result = (bool )wxPyPanel_base_AcceptsFocus(_arg0);
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) return NULL;
5507 } _resultobj = Py_BuildValue("i",_result);
5508 return _resultobj;
5509 }
5510
5511 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
5512 static PyObject *_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
5513 PyObject * _resultobj;
5514 bool _result;
5515 wxPyPanel * _arg0;
5516 PyObject * _argo0 = 0;
5517 char *_kwnames[] = { "self", NULL };
5518
5519 self = self;
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
5521 return NULL;
5522 if (_argo0) {
5523 if (_argo0 == Py_None) { _arg0 = NULL; }
5524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
5526 return NULL;
5527 }
5528 }
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 _result = (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) return NULL;
5535 } _resultobj = Py_BuildValue("i",_result);
5536 return _resultobj;
5537 }
5538
5539 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
5540 static PyObject *_wrap_wxPyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject * _resultobj;
5542 wxSize * _result;
5543 wxPyPanel * _arg0;
5544 PyObject * _argo0 = 0;
5545 char *_kwnames[] = { "self", NULL };
5546 char _ptemp[128];
5547
5548 self = self;
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_GetMaxSize",_kwnames,&_argo0))
5550 return NULL;
5551 if (_argo0) {
5552 if (_argo0 == Py_None) { _arg0 = NULL; }
5553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
5555 return NULL;
5556 }
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 _result = new wxSize (wxPyPanel_base_GetMaxSize(_arg0));
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) return NULL;
5564 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5565 _resultobj = Py_BuildValue("s",_ptemp);
5566 return _resultobj;
5567 }
5568
5569 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
5570 static PyObject *_wrap_wxPyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 wxPyPanel * _arg0;
5573 wxWindow * _arg1;
5574 PyObject * _argo0 = 0;
5575 PyObject * _argo1 = 0;
5576 char *_kwnames[] = { "self","child", NULL };
5577
5578 self = self;
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_AddChild",_kwnames,&_argo0,&_argo1))
5580 return NULL;
5581 if (_argo0) {
5582 if (_argo0 == Py_None) { _arg0 = NULL; }
5583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
5585 return NULL;
5586 }
5587 }
5588 if (_argo1) {
5589 if (_argo1 == Py_None) { _arg1 = NULL; }
5590 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
5592 return NULL;
5593 }
5594 }
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 wxPyPanel_base_AddChild(_arg0,_arg1);
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) return NULL;
5601 } Py_INCREF(Py_None);
5602 _resultobj = Py_None;
5603 return _resultobj;
5604 }
5605
5606 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
5607 static PyObject *_wrap_wxPyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject * _resultobj;
5609 wxPyPanel * _arg0;
5610 wxWindow * _arg1;
5611 PyObject * _argo0 = 0;
5612 PyObject * _argo1 = 0;
5613 char *_kwnames[] = { "self","child", NULL };
5614
5615 self = self;
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_RemoveChild",_kwnames,&_argo0,&_argo1))
5617 return NULL;
5618 if (_argo0) {
5619 if (_argo0 == Py_None) { _arg0 = NULL; }
5620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
5622 return NULL;
5623 }
5624 }
5625 if (_argo1) {
5626 if (_argo1 == Py_None) { _arg1 = NULL; }
5627 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5628 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
5629 return NULL;
5630 }
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 wxPyPanel_base_RemoveChild(_arg0,_arg1);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) return NULL;
5638 } Py_INCREF(Py_None);
5639 _resultobj = Py_None;
5640 return _resultobj;
5641 }
5642
5643 static PyMethodDef windows2cMethods[] = {
5644 { "wxPyPanel_base_RemoveChild", (PyCFunction) _wrap_wxPyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5645 { "wxPyPanel_base_AddChild", (PyCFunction) _wrap_wxPyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5646 { "wxPyPanel_base_GetMaxSize", (PyCFunction) _wrap_wxPyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5647 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5648 { "wxPyPanel_base_AcceptsFocus", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5649 { "wxPyPanel_base_Validate", (PyCFunction) _wrap_wxPyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
5650 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5651 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5652 { "wxPyPanel_base_InitDialog", (PyCFunction) _wrap_wxPyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5653 { "wxPyPanel_base_DoGetBestSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5654 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5655 { "wxPyPanel_base_DoGetPosition", (PyCFunction) _wrap_wxPyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5656 { "wxPyPanel_base_DoGetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5657 { "wxPyPanel_base_DoGetSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5658 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5659 { "wxPyPanel_base_DoSetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5660 { "wxPyPanel_base_DoSetSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5661 { "wxPyPanel_base_DoMoveWindow", (PyCFunction) _wrap_wxPyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5662 { "wxPyPanel__setCallbackInfo", (PyCFunction) _wrap_wxPyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5663 { "new_wxPyPanel", (PyCFunction) _wrap_new_wxPyPanel, METH_VARARGS | METH_KEYWORDS },
5664 { "wxPyControl_base_RemoveChild", (PyCFunction) _wrap_wxPyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5665 { "wxPyControl_base_AddChild", (PyCFunction) _wrap_wxPyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5666 { "wxPyControl_base_GetMaxSize", (PyCFunction) _wrap_wxPyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5667 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5668 { "wxPyControl_base_AcceptsFocus", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5669 { "wxPyControl_base_Validate", (PyCFunction) _wrap_wxPyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
5670 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5671 { "wxPyControl_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5672 { "wxPyControl_base_InitDialog", (PyCFunction) _wrap_wxPyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5673 { "wxPyControl_base_DoGetBestSize", (PyCFunction) _wrap_wxPyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5674 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5675 { "wxPyControl_base_DoGetPosition", (PyCFunction) _wrap_wxPyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5676 { "wxPyControl_base_DoGetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5677 { "wxPyControl_base_DoGetSize", (PyCFunction) _wrap_wxPyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5678 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5679 { "wxPyControl_base_DoSetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5680 { "wxPyControl_base_DoSetSize", (PyCFunction) _wrap_wxPyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5681 { "wxPyControl_base_DoMoveWindow", (PyCFunction) _wrap_wxPyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5682 { "wxPyControl__setCallbackInfo", (PyCFunction) _wrap_wxPyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5683 { "new_wxPyControl", (PyCFunction) _wrap_new_wxPyControl, METH_VARARGS | METH_KEYWORDS },
5684 { "wxPyWindow_base_RemoveChild", (PyCFunction) _wrap_wxPyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5685 { "wxPyWindow_base_AddChild", (PyCFunction) _wrap_wxPyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5686 { "wxPyWindow_base_GetMaxSize", (PyCFunction) _wrap_wxPyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5687 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5688 { "wxPyWindow_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5689 { "wxPyWindow_base_Validate", (PyCFunction) _wrap_wxPyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
5690 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5691 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5692 { "wxPyWindow_base_InitDialog", (PyCFunction) _wrap_wxPyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5693 { "wxPyWindow_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5694 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5695 { "wxPyWindow_base_DoGetPosition", (PyCFunction) _wrap_wxPyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5696 { "wxPyWindow_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5697 { "wxPyWindow_base_DoGetSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5698 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5699 { "wxPyWindow_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5700 { "wxPyWindow_base_DoSetSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5701 { "wxPyWindow_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5702 { "wxPyWindow__setCallbackInfo", (PyCFunction) _wrap_wxPyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5703 { "new_wxPyWindow", (PyCFunction) _wrap_new_wxPyWindow, METH_VARARGS | METH_KEYWORDS },
5704 { "wxTaskBarIcon_IsOK", (PyCFunction) _wrap_wxTaskBarIcon_IsOK, METH_VARARGS | METH_KEYWORDS },
5705 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_wxTaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
5706 { "wxTaskBarIcon_PopupMenu", (PyCFunction) _wrap_wxTaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
5707 { "wxTaskBarIcon_RemoveIcon", (PyCFunction) _wrap_wxTaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
5708 { "wxTaskBarIcon_SetIcon", (PyCFunction) _wrap_wxTaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
5709 { "delete_wxTaskBarIcon", (PyCFunction) _wrap_delete_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
5710 { "new_wxTaskBarIcon", (PyCFunction) _wrap_new_wxTaskBarIcon, METH_VARARGS | METH_KEYWORDS },
5711 { "new_wxTaskBarIconEvent", (PyCFunction) _wrap_new_wxTaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
5712 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
5713 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
5714 { "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
5715 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5716 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5717 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5718 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5719 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
5720 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
5721 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
5722 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
5723 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
5724 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
5725 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
5726 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
5727 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
5728 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
5729 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
5730 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
5731 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
5732 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
5733 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
5734 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5735 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5736 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5737 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
5738 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
5739 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
5740 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5741 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
5742 { "new_wxListbookEvent", (PyCFunction) _wrap_new_wxListbookEvent, METH_VARARGS | METH_KEYWORDS },
5743 { "wxListbook_IsVertical", (PyCFunction) _wrap_wxListbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
5744 { "wxListbook_Create", (PyCFunction) _wrap_wxListbook_Create, METH_VARARGS | METH_KEYWORDS },
5745 { "new_wxPreListbook", (PyCFunction) _wrap_new_wxPreListbook, METH_VARARGS | METH_KEYWORDS },
5746 { "new_wxListbook", (PyCFunction) _wrap_new_wxListbook, METH_VARARGS | METH_KEYWORDS },
5747 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5748 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5749 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5750 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5751 { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS },
5752 { "wxNotebook_ApplyThemeBackground", (PyCFunction) _wrap_wxNotebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
5753 { "wxNotebook_CalcSizeFromPage", (PyCFunction) _wrap_wxNotebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
5754 { "wxNotebook_HitTest", (PyCFunction) _wrap_wxNotebook_HitTest, METH_VARARGS | METH_KEYWORDS },
5755 { "wxNotebook_SetTabSize", (PyCFunction) _wrap_wxNotebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
5756 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
5757 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5758 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
5759 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
5760 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5761 { "wxBookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_wxBookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5762 { "wxBookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_wxBookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5763 { "wxBookCtrlEvent_SetSelection", (PyCFunction) _wrap_wxBookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5764 { "wxBookCtrlEvent_GetSelection", (PyCFunction) _wrap_wxBookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5765 { "new_wxBookCtrlEvent", (PyCFunction) _wrap_new_wxBookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
5766 { "wxBookCtrl_AdvanceSelection", (PyCFunction) _wrap_wxBookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5767 { "wxBookCtrl_SetSelection", (PyCFunction) _wrap_wxBookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
5768 { "wxBookCtrl_InsertPage", (PyCFunction) _wrap_wxBookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
5769 { "wxBookCtrl_AddPage", (PyCFunction) _wrap_wxBookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
5770 { "wxBookCtrl_DeleteAllPages", (PyCFunction) _wrap_wxBookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5771 { "wxBookCtrl_RemovePage", (PyCFunction) _wrap_wxBookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
5772 { "wxBookCtrl_DeletePage", (PyCFunction) _wrap_wxBookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
5773 { "wxBookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_wxBookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
5774 { "wxBookCtrl_SetPageSize", (PyCFunction) _wrap_wxBookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
5775 { "wxBookCtrl_SetPageImage", (PyCFunction) _wrap_wxBookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5776 { "wxBookCtrl_GetPageImage", (PyCFunction) _wrap_wxBookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5777 { "wxBookCtrl_GetImageList", (PyCFunction) _wrap_wxBookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5778 { "wxBookCtrl_AssignImageList", (PyCFunction) _wrap_wxBookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
5779 { "wxBookCtrl_SetImageList", (PyCFunction) _wrap_wxBookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5780 { "wxBookCtrl_GetPageText", (PyCFunction) _wrap_wxBookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
5781 { "wxBookCtrl_SetPageText", (PyCFunction) _wrap_wxBookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
5782 { "wxBookCtrl_GetSelection", (PyCFunction) _wrap_wxBookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5783 { "wxBookCtrl_GetPage", (PyCFunction) _wrap_wxBookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
5784 { "wxBookCtrl_GetPageCount", (PyCFunction) _wrap_wxBookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5785 { NULL, NULL }
5786 };
5787 #ifdef __cplusplus
5788 }
5789 #endif
5790 /*
5791 * This table is used by the pointer type-checker
5792 */
5793 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5794 { "_wxEvent","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxEvent},
5795 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5796 { "_wxEvent","_wxListbookEvent",SwigwxListbookEventTowxEvent},
5797 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5798 { "_wxEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxEvent},
5799 { "_signed_long","_long",0},
5800 { "_wxPrintQuality","_wxCoord",0},
5801 { "_wxPrintQuality","_int",0},
5802 { "_wxPrintQuality","_signed_int",0},
5803 { "_wxPrintQuality","_unsigned_int",0},
5804 { "_wxPrintQuality","_wxWindowID",0},
5805 { "_wxPrintQuality","_uint",0},
5806 { "_wxPrintQuality","_EBool",0},
5807 { "_wxPrintQuality","_size_t",0},
5808 { "_wxPrintQuality","_time_t",0},
5809 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent},
5810 { "_wxNotifyEvent","_wxListbookEvent",SwigwxListbookEventTowxNotifyEvent},
5811 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5812 { "_wxNotifyEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxNotifyEvent},
5813 { "_byte","_unsigned_char",0},
5814 { "_long","_unsigned_long",0},
5815 { "_long","_signed_long",0},
5816 { "_size_t","_wxCoord",0},
5817 { "_size_t","_wxPrintQuality",0},
5818 { "_size_t","_time_t",0},
5819 { "_size_t","_unsigned_int",0},
5820 { "_size_t","_int",0},
5821 { "_size_t","_wxWindowID",0},
5822 { "_size_t","_uint",0},
5823 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel},
5824 { "_wxBookCtrlEvent","_wxListbookEvent",SwigwxListbookEventTowxBookCtrlEvent},
5825 { "_uint","_wxCoord",0},
5826 { "_uint","_wxPrintQuality",0},
5827 { "_uint","_time_t",0},
5828 { "_uint","_size_t",0},
5829 { "_uint","_unsigned_int",0},
5830 { "_uint","_int",0},
5831 { "_uint","_wxWindowID",0},
5832 { "_wxChar","_char",0},
5833 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5834 { "_wxCommandEvent","_wxListbookEvent",SwigwxListbookEventTowxCommandEvent},
5835 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5836 { "_wxCommandEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxCommandEvent},
5837 { "_char","_wxChar",0},
5838 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5839 { "_EBool","_wxCoord",0},
5840 { "_EBool","_wxPrintQuality",0},
5841 { "_EBool","_signed_int",0},
5842 { "_EBool","_int",0},
5843 { "_EBool","_wxWindowID",0},
5844 { "_unsigned_long","_long",0},
5845 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5846 { "_signed_int","_wxCoord",0},
5847 { "_signed_int","_wxPrintQuality",0},
5848 { "_signed_int","_EBool",0},
5849 { "_signed_int","_wxWindowID",0},
5850 { "_signed_int","_int",0},
5851 { "_WXTYPE","_short",0},
5852 { "_WXTYPE","_signed_short",0},
5853 { "_WXTYPE","_unsigned_short",0},
5854 { "_unsigned_short","_WXTYPE",0},
5855 { "_unsigned_short","_short",0},
5856 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject},
5857 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
5858 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
5859 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject},
5860 { "_wxObject","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxObject},
5861 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
5862 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
5863 { "_wxObject","_wxListbookEvent",SwigwxListbookEventTowxObject},
5864 { "_wxObject","_wxListbook",SwigwxListbookTowxObject},
5865 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
5866 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
5867 { "_wxObject","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxObject},
5868 { "_wxObject","_wxBookCtrl",SwigwxBookCtrlTowxObject},
5869 { "_signed_short","_WXTYPE",0},
5870 { "_signed_short","_short",0},
5871 { "_unsigned_char","_byte",0},
5872 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl},
5873 { "_wxControl","_wxListbook",SwigwxListbookTowxControl},
5874 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5875 { "_wxControl","_wxBookCtrl",SwigwxBookCtrlTowxControl},
5876 { "_unsigned_int","_wxCoord",0},
5877 { "_unsigned_int","_wxPrintQuality",0},
5878 { "_unsigned_int","_time_t",0},
5879 { "_unsigned_int","_size_t",0},
5880 { "_unsigned_int","_uint",0},
5881 { "_unsigned_int","_wxWindowID",0},
5882 { "_unsigned_int","_int",0},
5883 { "_short","_WXTYPE",0},
5884 { "_short","_unsigned_short",0},
5885 { "_short","_signed_short",0},
5886 { "_wxBookCtrl","_wxListbook",SwigwxListbookTowxBookCtrl},
5887 { "_wxBookCtrl","_wxNotebook",SwigwxNotebookTowxBookCtrl},
5888 { "_wxWindowID","_wxCoord",0},
5889 { "_wxWindowID","_wxPrintQuality",0},
5890 { "_wxWindowID","_time_t",0},
5891 { "_wxWindowID","_size_t",0},
5892 { "_wxWindowID","_EBool",0},
5893 { "_wxWindowID","_uint",0},
5894 { "_wxWindowID","_int",0},
5895 { "_wxWindowID","_signed_int",0},
5896 { "_wxWindowID","_unsigned_int",0},
5897 { "_int","_wxCoord",0},
5898 { "_int","_wxPrintQuality",0},
5899 { "_int","_time_t",0},
5900 { "_int","_size_t",0},
5901 { "_int","_EBool",0},
5902 { "_int","_uint",0},
5903 { "_int","_wxWindowID",0},
5904 { "_int","_unsigned_int",0},
5905 { "_int","_signed_int",0},
5906 { "_time_t","_wxCoord",0},
5907 { "_time_t","_wxPrintQuality",0},
5908 { "_time_t","_unsigned_int",0},
5909 { "_time_t","_int",0},
5910 { "_time_t","_wxWindowID",0},
5911 { "_time_t","_uint",0},
5912 { "_time_t","_size_t",0},
5913 { "_wxCoord","_int",0},
5914 { "_wxCoord","_signed_int",0},
5915 { "_wxCoord","_unsigned_int",0},
5916 { "_wxCoord","_wxWindowID",0},
5917 { "_wxCoord","_uint",0},
5918 { "_wxCoord","_EBool",0},
5919 { "_wxCoord","_size_t",0},
5920 { "_wxCoord","_time_t",0},
5921 { "_wxCoord","_wxPrintQuality",0},
5922 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler},
5923 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler},
5924 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler},
5925 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
5926 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5927 { "_wxEvtHandler","_wxListbook",SwigwxListbookTowxEvtHandler},
5928 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5929 { "_wxEvtHandler","_wxBookCtrl",SwigwxBookCtrlTowxEvtHandler},
5930 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow},
5931 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow},
5932 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow},
5933 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5934 { "_wxWindow","_wxListbook",SwigwxListbookTowxWindow},
5935 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5936 { "_wxWindow","_wxBookCtrl",SwigwxBookCtrlTowxWindow},
5937 {0,0,0}};
5938
5939 static PyObject *SWIG_globals;
5940 #ifdef __cplusplus
5941 extern "C"
5942 #endif
5943 SWIGEXPORT(void) initwindows2c() {
5944 PyObject *m, *d;
5945 SWIG_globals = SWIG_newvarlink();
5946 m = Py_InitModule("windows2c", windows2cMethods);
5947 d = PyModule_GetDict(m);
5948 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
5949 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
5950 PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH));
5951 PyDict_SetItemString(d,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP));
5952 PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
5953 PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
5954 PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM));
5955 PyDict_SetItemString(d,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE));
5956 PyDict_SetItemString(d,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE));
5957 PyDict_SetItemString(d,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON));
5958 PyDict_SetItemString(d,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL));
5959 PyDict_SetItemString(d,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM));
5960 PyDict_SetItemString(d,"wxLB_DEFAULT", PyInt_FromLong((long) wxLB_DEFAULT));
5961 PyDict_SetItemString(d,"wxLB_TOP", PyInt_FromLong((long) wxLB_TOP));
5962 PyDict_SetItemString(d,"wxLB_BOTTOM", PyInt_FromLong((long) wxLB_BOTTOM));
5963 PyDict_SetItemString(d,"wxLB_LEFT", PyInt_FromLong((long) wxLB_LEFT));
5964 PyDict_SetItemString(d,"wxLB_RIGHT", PyInt_FromLong((long) wxLB_RIGHT));
5965 PyDict_SetItemString(d,"wxLB_ALIGN_MASK", PyInt_FromLong((long) wxLB_ALIGN_MASK));
5966 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
5967 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
5968 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
5969 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
5970 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
5971 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
5972 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
5973 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
5974 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
5975 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
5976 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
5977 PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
5978 PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
5979 PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
5980 PyDict_SetItemString(d,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP));
5981 PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
5982 PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
5983 PyDict_SetItemString(d,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH));
5984 PyDict_SetItemString(d,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER));
5985 PyDict_SetItemString(d,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH));
5986 PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
5987 PyDict_SetItemString(d,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE));
5988 PyDict_SetItemString(d,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT));
5989 PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
5990 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
5991 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
5992 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
5993 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
5994 PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
5995 PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
5996 {
5997 int i;
5998 for (i = 0; _swig_mapping[i].n1; i++)
5999 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6000 }
6001 }