]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows2.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / windows2.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/windows2.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
7e50db3f
RD
22#include "Python.h"
23
8ab979d7
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
8ab979d7 33# else
c368d904 34# define SWIGEXPORT(a) a
8ab979d7
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
8ab979d7
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
8ab979d7
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
8ab979d7
RD
53#define SWIG_init initwindows2c
54
55#define SWIG_name "windows2c"
56
57#include "helpers.h"
8ab979d7 58#include <wx/notebook.h>
e06b17c0 59#include <wx/listbook.h>
9c039d08 60#include <wx/splitter.h>
9416aa89 61#include <wx/imaglist.h>
b639c3c5 62#ifdef __WXMSW__
5a2a9da2 63#include <wx/taskbar.h>
b639c3c5 64#endif
8ab979d7 65
137b5242
RD
66 // Put some wx default wxChar* values into wxStrings.
67 DECLARE_DEF_STRING(NOTEBOOK_NAME);
0b85cc38 68 DECLARE_DEF_STRING(PanelNameStr);
b0e5c039 69 DECLARE_DEF_STRING(ControlNameStr);
137b5242
RD
70
71 static const wxChar* wxSplitterNameStr = wxT("splitter");
72 DECLARE_DEF_STRING(SplitterNameStr);
73 static const wxString wxPyEmptyString(wxT(""));
74
8ab979d7
RD
75
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
e0672e2f 80 if (!target) {
8ab979d7 81 target = o;
e0672e2f 82 } else if (target == Py_None) {
8ab979d7
RD
83 Py_DECREF(Py_None);
84 target = o;
e0672e2f 85 } else {
8ab979d7
RD
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
e0672e2f
RD
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
93
94 o2 = target;
e0672e2f
RD
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
8ab979d7
RD
97 Py_DECREF(o3);
98 }
99 return target;
100}
b0e5c039
RD
101 // C++ version of Python aware wxWindow
102class wxPyWindow : public wxWindow
103{
104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
105public:
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
aaad759f
RD
136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
138
b0e5c039
RD
139 PYPRIVATE;
140};
141
142IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
143
144IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
145IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
146IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
147IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
148
149IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
150IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
151IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
152
153IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
154IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
155
156IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
157IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
158IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
159IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
160
161IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
162IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
163IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
164
aaad759f
RD
165IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
166IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
167
b0e5c039
RD
168 // C++ version of Python aware wxControl
169class wxPyControl : public wxControl
170{
171 DECLARE_DYNAMIC_CLASS(wxPyControl)
172public:
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
aaad759f
RD
204 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
205 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
206
b0e5c039
RD
207 PYPRIVATE;
208};
209
210IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
211
212IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
213IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
214IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
215IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
216
217IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
218IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
219IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
220
221IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
222IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
223
224IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
225IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
226IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
227IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
228
229IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
230IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
231IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
232
aaad759f
RD
233IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
234IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
235
86a12675
RD
236 // C++ version of Python aware wxPanel
237class wxPyPanel : public wxPanel
238{
239 DECLARE_DYNAMIC_CLASS(wxPyPanel)
240public:
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
aaad759f
RD
271 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
272 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
273
86a12675
RD
274 PYPRIVATE;
275};
276
277IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
278
279IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
280IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
281IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
282IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
283
284IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
285IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
286IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
287
288IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
289IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
290
291IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
292IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
293IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
294IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
295
296IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
297IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
298IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
299
aaad759f
RD
300IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
301IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
302
1d99702e
RD
303#ifdef __cplusplus
304extern "C" {
305#endif
e06b17c0
RD
306static void *SwigwxBookCtrlTowxControl(void *ptr) {
307 wxBookCtrl *src;
308 wxControl *dest;
309 src = (wxBookCtrl *) ptr;
310 dest = (wxControl *) src;
bb0054cd
RD
311 return (void *) dest;
312}
313
e06b17c0
RD
314static void *SwigwxBookCtrlTowxWindow(void *ptr) {
315 wxBookCtrl *src;
316 wxWindow *dest;
317 src = (wxBookCtrl *) ptr;
318 dest = (wxWindow *) src;
8ab979d7
RD
319 return (void *) dest;
320}
321
e06b17c0
RD
322static void *SwigwxBookCtrlTowxEvtHandler(void *ptr) {
323 wxBookCtrl *src;
324 wxEvtHandler *dest;
325 src = (wxBookCtrl *) ptr;
326 dest = (wxEvtHandler *) src;
8ab979d7
RD
327 return (void *) dest;
328}
329
e06b17c0
RD
330static void *SwigwxBookCtrlTowxObject(void *ptr) {
331 wxBookCtrl *src;
9416aa89 332 wxObject *dest;
e06b17c0 333 src = (wxBookCtrl *) ptr;
9416aa89
RD
334 dest = (wxObject *) src;
335 return (void *) dest;
336}
337
e06b17c0
RD
338#define wxBookCtrl_GetPageCount(_swigobj) (_swigobj->GetPageCount())
339static PyObject *_wrap_wxBookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
09f3d4e6 340 PyObject * _resultobj;
e06b17c0
RD
341 size_t _result;
342 wxBookCtrl * _arg0;
343 PyObject * _argo0 = 0;
344 char *_kwnames[] = { "self", NULL };
09f3d4e6
RD
345
346 self = self;
e06b17c0 347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetPageCount",_kwnames,&_argo0))
09f3d4e6 348 return NULL;
e06b17c0
RD
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 }
09f3d4e6 356{
4268f798 357 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 358 _result = (size_t )wxBookCtrl_GetPageCount(_arg0);
09f3d4e6 359
4268f798 360 wxPyEndAllowThreads(__tstate);
09f3d4e6 361 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
362} _resultobj = Py_BuildValue("i",_result);
363 return _resultobj;
364}
365
366#define wxBookCtrl_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
367static 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 }
09f3d4e6 384 }
e06b17c0
RD
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); }
09f3d4e6
RD
392 return _resultobj;
393}
394
e06b17c0
RD
395#define wxBookCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
396static PyObject *_wrap_wxBookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
397 PyObject * _resultobj;
398 int _result;
e06b17c0 399 wxBookCtrl * _arg0;
1d99702e 400 PyObject * _argo0 = 0;
efc5f224 401 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
402
403 self = self;
e06b17c0 404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 405 return NULL;
1d99702e
RD
406 if (_argo0) {
407 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
410 return NULL;
411 }
412 }
cf694132 413{
4268f798 414 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 415 _result = (int )wxBookCtrl_GetSelection(_arg0);
cf694132 416
4268f798 417 wxPyEndAllowThreads(__tstate);
493f1553 418 if (PyErr_Occurred()) return NULL;
cf694132 419} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
420 return _resultobj;
421}
422
e06b17c0
RD
423#define wxBookCtrl_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
424static PyObject *_wrap_wxBookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 425 PyObject * _resultobj;
e06b17c0
RD
426 bool _result;
427 wxBookCtrl * _arg0;
428 size_t _arg1;
429 wxString * _arg2;
1d99702e 430 PyObject * _argo0 = 0;
e06b17c0
RD
431 PyObject * _obj2 = 0;
432 char *_kwnames[] = { "self","n","strText", NULL };
8ab979d7
RD
433
434 self = self;
e06b17c0 435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxBookCtrl_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 436 return NULL;
1d99702e
RD
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
441 return NULL;
442 }
443 }
e06b17c0
RD
444{
445 _arg2 = wxString_in_helper(_obj2);
446 if (_arg2 == NULL)
447 return NULL;
448}
cf694132 449{
4268f798 450 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 451 _result = (bool )wxBookCtrl_SetPageText(_arg0,_arg1,*_arg2);
cf694132 452
4268f798 453 wxPyEndAllowThreads(__tstate);
493f1553 454 if (PyErr_Occurred()) return NULL;
cf694132 455} _resultobj = Py_BuildValue("i",_result);
e06b17c0
RD
456{
457 if (_obj2)
458 delete _arg2;
459}
8ab979d7
RD
460 return _resultobj;
461}
462
e06b17c0
RD
463#define wxBookCtrl_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
464static PyObject *_wrap_wxBookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 465 PyObject * _resultobj;
e06b17c0
RD
466 wxString * _result;
467 wxBookCtrl * _arg0;
468 size_t _arg1;
1d99702e 469 PyObject * _argo0 = 0;
e06b17c0 470 char *_kwnames[] = { "self","n", NULL };
bb0054cd
RD
471
472 self = self;
e06b17c0 473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPageText",_kwnames,&_argo0,&_arg1))
bb0054cd 474 return NULL;
1d99702e
RD
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
bb0054cd
RD
479 return NULL;
480 }
481 }
482{
4268f798 483 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0
RD
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))
502static 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);
bb0054cd 530
4268f798 531 wxPyEndAllowThreads(__tstate);
493f1553 532 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
533} Py_INCREF(Py_None);
534 _resultobj = Py_None;
535 return _resultobj;
536}
537
e06b17c0
RD
538#define wxBookCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
539static PyObject *_wrap_wxBookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd 540 PyObject * _resultobj;
e06b17c0
RD
541 wxBookCtrl * _arg0;
542 wxImageList * _arg1;
1d99702e 543 PyObject * _argo0 = 0;
e06b17c0
RD
544 PyObject * _argo1 = 0;
545 char *_kwnames[] = { "self","imageList", NULL };
bb0054cd
RD
546
547 self = self;
e06b17c0 548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
bb0054cd 549 return NULL;
1d99702e
RD
550 if (_argo0) {
551 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
bb0054cd
RD
561 return NULL;
562 }
563 }
564{
4268f798 565 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 566 wxBookCtrl_AssignImageList(_arg0,_arg1);
bb0054cd 567
4268f798 568 wxPyEndAllowThreads(__tstate);
493f1553 569 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
570} Py_INCREF(Py_None);
571 _resultobj = Py_None;
572 return _resultobj;
573}
574
e06b17c0
RD
575#define wxBookCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
576static 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 };
8ab979d7 582
e06b17c0
RD
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;
8ab979d7
RD
601}
602
e06b17c0
RD
603#define wxBookCtrl_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
604static 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;
8ab979d7
RD
630}
631
e06b17c0
RD
632#define wxBookCtrl_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
633static 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;
9416aa89
RD
660}
661
e06b17c0
RD
662#define wxBookCtrl_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
663static PyObject *_wrap_wxBookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 664 PyObject * _resultobj;
e06b17c0
RD
665 wxBookCtrl * _arg0;
666 wxSize * _arg1;
1d99702e 667 PyObject * _argo0 = 0;
e06b17c0
RD
668 wxSize temp;
669 PyObject * _obj1 = 0;
670 char *_kwnames[] = { "self","size", NULL };
8ab979d7
RD
671
672 self = self;
e06b17c0 673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_SetPageSize",_kwnames,&_argo0,&_obj1))
8ab979d7 674 return NULL;
1d99702e
RD
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
679 return NULL;
680 }
681 }
2f90df85 682{
e06b17c0
RD
683 _arg1 = &temp;
684 if (! wxSize_helper(_obj1, &_arg1))
8ab979d7 685 return NULL;
2f90df85 686}
2f90df85 687{
e06b17c0
RD
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;
137b5242 696}
e06b17c0
RD
697
698#define wxBookCtrl_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
699static 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 }
137b5242 720{
e06b17c0
RD
721 _arg1 = &temp;
722 if (! wxSize_helper(_obj1, &_arg1))
137b5242 723 return NULL;
2f90df85 724}
cf694132 725{
4268f798 726 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 727 _result = new wxSize (wxBookCtrl_CalcSizeFromPage(_arg0,*_arg1));
cf694132 728
4268f798 729 wxPyEndAllowThreads(__tstate);
493f1553 730 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
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))
737static 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 }
1d99702e 754 }
137b5242 755{
e06b17c0
RD
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);
8ab979d7
RD
762 return _resultobj;
763}
764
e06b17c0
RD
765#define wxBookCtrl_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
766static PyObject *_wrap_wxBookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
09f3d4e6 767 PyObject * _resultobj;
e06b17c0
RD
768 bool _result;
769 wxBookCtrl * _arg0;
770 size_t _arg1;
771 PyObject * _argo0 = 0;
772 char *_kwnames[] = { "self","n", NULL };
09f3d4e6
RD
773
774 self = self;
e06b17c0 775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_RemovePage",_kwnames,&_argo0,&_arg1))
09f3d4e6 776 return NULL;
e06b17c0
RD
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 }
09f3d4e6 784{
4268f798 785 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 786 _result = (bool )wxBookCtrl_RemovePage(_arg0,_arg1);
09f3d4e6 787
4268f798 788 wxPyEndAllowThreads(__tstate);
09f3d4e6 789 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
790} _resultobj = Py_BuildValue("i",_result);
791 return _resultobj;
792}
793
794#define wxBookCtrl_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
795static 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 }
09f3d4e6 811 }
e06b17c0
RD
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);
09f3d4e6
RD
819 return _resultobj;
820}
821
e06b17c0
RD
822#define wxBookCtrl_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
823static PyObject *_wrap_wxBookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
09f3d4e6
RD
824 PyObject * _resultobj;
825 bool _result;
e06b17c0 826 wxBookCtrl * _arg0;
09f3d4e6 827 wxWindow * _arg1;
e06b17c0
RD
828 wxString * _arg2;
829 bool _arg3 = (bool ) false;
830 int _arg4 = (int ) -1;
09f3d4e6
RD
831 PyObject * _argo0 = 0;
832 PyObject * _argo1 = 0;
e06b17c0
RD
833 PyObject * _obj2 = 0;
834 int tempbool3 = (int) false;
835 char *_kwnames[] = { "self","page","text","bSelect","imageId", NULL };
09f3d4e6
RD
836
837 self = self;
e06b17c0 838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxBookCtrl_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&tempbool3,&_arg4))
09f3d4e6
RD
839 return NULL;
840 if (_argo0) {
841 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
09f3d4e6
RD
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")) {
e06b17c0 850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_AddPage. Expected _wxWindow_p.");
09f3d4e6
RD
851 return NULL;
852 }
853 }
09f3d4e6 854{
e06b17c0
RD
855 _arg2 = wxString_in_helper(_obj2);
856 if (_arg2 == NULL)
09f3d4e6
RD
857 return NULL;
858}
e06b17c0 859 _arg3 = (bool ) tempbool3;
09f3d4e6 860{
e06b17c0
RD
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))
875static 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.");
09f3d4e6 897 return NULL;
e06b17c0
RD
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 }
137b5242 907{
e06b17c0
RD
908 _arg3 = wxString_in_helper(_obj3);
909 if (_arg3 == NULL)
137b5242 910 return NULL;
09f3d4e6 911}
e06b17c0 912 _arg4 = (bool ) tempbool4;
09f3d4e6 913{
4268f798 914 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 915 _result = (bool )wxBookCtrl_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
09f3d4e6 916
4268f798 917 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
918 if (PyErr_Occurred()) return NULL;
919} _resultobj = Py_BuildValue("i",_result);
137b5242 920{
e06b17c0
RD
921 if (_obj3)
922 delete _arg3;
137b5242 923}
09f3d4e6
RD
924 return _resultobj;
925}
926
e06b17c0
RD
927#define wxBookCtrl_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
928static PyObject *_wrap_wxBookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
929 PyObject * _resultobj;
930 int _result;
e06b17c0
RD
931 wxBookCtrl * _arg0;
932 size_t _arg1;
1d99702e 933 PyObject * _argo0 = 0;
e06b17c0 934 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
935
936 self = self;
e06b17c0 937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 938 return NULL;
1d99702e
RD
939 if (_argo0) {
940 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
943 return NULL;
944 }
945 }
cf694132 946{
4268f798 947 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 948 _result = (int )wxBookCtrl_SetSelection(_arg0,_arg1);
cf694132 949
4268f798 950 wxPyEndAllowThreads(__tstate);
493f1553 951 if (PyErr_Occurred()) return NULL;
cf694132 952} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
953 return _resultobj;
954}
955
e06b17c0
RD
956#define wxBookCtrl_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
957static PyObject *_wrap_wxBookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 958 PyObject * _resultobj;
e06b17c0
RD
959 wxBookCtrl * _arg0;
960 bool _arg1 = (bool ) true;
1d99702e 961 PyObject * _argo0 = 0;
e06b17c0
RD
962 int tempbool1 = (int) true;
963 char *_kwnames[] = { "self","forward", NULL };
8ab979d7
RD
964
965 self = self;
e06b17c0 966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxBookCtrl_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
8ab979d7 967 return NULL;
1d99702e
RD
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
972 return NULL;
973 }
974 }
e06b17c0 975 _arg1 = (bool ) tempbool1;
cf694132 976{
4268f798 977 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 978 wxBookCtrl_AdvanceSelection(_arg0,_arg1);
cf694132 979
4268f798 980 wxPyEndAllowThreads(__tstate);
493f1553 981 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
982} Py_INCREF(Py_None);
983 _resultobj = Py_None;
8ab979d7
RD
984 return _resultobj;
985}
986
e06b17c0
RD
987static void *SwigwxBookCtrlEventTowxNotifyEvent(void *ptr) {
988 wxBookCtrlEvent *src;
989 wxNotifyEvent *dest;
990 src = (wxBookCtrlEvent *) ptr;
991 dest = (wxNotifyEvent *) src;
992 return (void *) dest;
993}
994
995static void *SwigwxBookCtrlEventTowxCommandEvent(void *ptr) {
996 wxBookCtrlEvent *src;
997 wxCommandEvent *dest;
998 src = (wxBookCtrlEvent *) ptr;
999 dest = (wxCommandEvent *) src;
1000 return (void *) dest;
1001}
1002
1003static void *SwigwxBookCtrlEventTowxEvent(void *ptr) {
1004 wxBookCtrlEvent *src;
1005 wxEvent *dest;
1006 src = (wxBookCtrlEvent *) ptr;
1007 dest = (wxEvent *) src;
1008 return (void *) dest;
1009}
1010
1011static 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))
1020static PyObject *_wrap_new_wxBookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1021 PyObject * _resultobj;
e06b17c0
RD
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];
8ab979d7
RD
1029
1030 self = self;
e06b17c0 1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxBookCtrlEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8ab979d7 1032 return NULL;
cf694132 1033{
4268f798 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1035 _result = (wxBookCtrlEvent *)new_wxBookCtrlEvent(_arg0,_arg1,_arg2,_arg3);
cf694132 1036
4268f798 1037 wxPyEndAllowThreads(__tstate);
493f1553 1038 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
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 }
8ab979d7
RD
1046 return _resultobj;
1047}
1048
e06b17c0
RD
1049#define wxBookCtrlEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1050static PyObject *_wrap_wxBookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1051 PyObject * _resultobj;
e06b17c0
RD
1052 int _result;
1053 wxBookCtrlEvent * _arg0;
1d99702e 1054 PyObject * _argo0 = 0;
e06b17c0 1055 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1056
1057 self = self;
e06b17c0 1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetSelection",_kwnames,&_argo0))
8ab979d7 1059 return NULL;
1d99702e
RD
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1064 return NULL;
1065 }
1066 }
cf694132 1067{
4268f798 1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1069 _result = (int )wxBookCtrlEvent_GetSelection(_arg0);
cf694132 1070
4268f798 1071 wxPyEndAllowThreads(__tstate);
493f1553 1072 if (PyErr_Occurred()) return NULL;
cf694132 1073} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1074 return _resultobj;
1075}
1076
e06b17c0
RD
1077#define wxBookCtrlEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1078static PyObject *_wrap_wxBookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1079 PyObject * _resultobj;
e06b17c0 1080 wxBookCtrlEvent * _arg0;
8ab979d7 1081 int _arg1;
1d99702e 1082 PyObject * _argo0 = 0;
e06b17c0 1083 char *_kwnames[] = { "self","nSel", NULL };
8ab979d7
RD
1084
1085 self = self;
e06b17c0 1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 1087 return NULL;
1d99702e
RD
1088 if (_argo0) {
1089 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1092 return NULL;
1093 }
1094 }
8ab979d7 1095{
4268f798 1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1097 wxBookCtrlEvent_SetSelection(_arg0,_arg1);
cf694132 1098
4268f798 1099 wxPyEndAllowThreads(__tstate);
493f1553 1100 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
1101} Py_INCREF(Py_None);
1102 _resultobj = Py_None;
8ab979d7
RD
1103 return _resultobj;
1104}
1105
e06b17c0
RD
1106#define wxBookCtrlEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1107static PyObject *_wrap_wxBookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1108 PyObject * _resultobj;
e06b17c0
RD
1109 int _result;
1110 wxBookCtrlEvent * _arg0;
1d99702e 1111 PyObject * _argo0 = 0;
e06b17c0 1112 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1113
1114 self = self;
e06b17c0 1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetOldSelection",_kwnames,&_argo0))
8ab979d7 1116 return NULL;
1d99702e
RD
1117 if (_argo0) {
1118 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1121 return NULL;
1122 }
1123 }
cf694132 1124{
4268f798 1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1126 _result = (int )wxBookCtrlEvent_GetOldSelection(_arg0);
cf694132 1127
4268f798 1128 wxPyEndAllowThreads(__tstate);
493f1553 1129 if (PyErr_Occurred()) return NULL;
e06b17c0 1130} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1131 return _resultobj;
1132}
1133
e06b17c0
RD
1134#define wxBookCtrlEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1135static PyObject *_wrap_wxBookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
949853a4 1136 PyObject * _resultobj;
e06b17c0
RD
1137 wxBookCtrlEvent * _arg0;
1138 int _arg1;
949853a4 1139 PyObject * _argo0 = 0;
e06b17c0 1140 char *_kwnames[] = { "self","nOldSel", NULL };
949853a4
RD
1141
1142 self = self;
e06b17c0 1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
949853a4
RD
1144 return NULL;
1145 if (_argo0) {
1146 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
949853a4
RD
1149 return NULL;
1150 }
1151 }
1152{
4268f798 1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1154 wxBookCtrlEvent_SetOldSelection(_arg0,_arg1);
949853a4 1155
4268f798 1156 wxPyEndAllowThreads(__tstate);
949853a4
RD
1157 if (PyErr_Occurred()) return NULL;
1158} Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161}
1162
e06b17c0
RD
1163static void *SwigwxNotebookTowxBookCtrl(void *ptr) {
1164 wxNotebook *src;
1165 wxBookCtrl *dest;
1166 src = (wxNotebook *) ptr;
1167 dest = (wxBookCtrl *) src;
1168 return (void *) dest;
1169}
1170
1171static void *SwigwxNotebookTowxControl(void *ptr) {
1172 wxNotebook *src;
1173 wxControl *dest;
1174 src = (wxNotebook *) ptr;
1175 dest = (wxControl *) src;
1176 return (void *) dest;
1177}
1178
1179static void *SwigwxNotebookTowxWindow(void *ptr) {
1180 wxNotebook *src;
1181 wxWindow *dest;
1182 src = (wxNotebook *) ptr;
1183 dest = (wxWindow *) src;
1184 return (void *) dest;
1185}
1186
1187static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
1188 wxNotebook *src;
1189 wxEvtHandler *dest;
1190 src = (wxNotebook *) ptr;
1191 dest = (wxEvtHandler *) src;
1192 return (void *) dest;
1193}
1194
1195static 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))
1204static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1205 PyObject * _resultobj;
e06b17c0
RD
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;
1d99702e 1213 PyObject * _argo0 = 0;
e06b17c0
RD
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];
8ab979d7
RD
1221
1222 self = self;
e06b17c0 1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 1224 return NULL;
1d99702e
RD
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1229 return NULL;
1230 }
1231 }
e06b17c0
RD
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}
cf694132 1250{
4268f798 1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1252 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 1253
4268f798 1254 wxPyEndAllowThreads(__tstate);
493f1553 1255 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
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}
8ab979d7
RD
1267 return _resultobj;
1268}
1269
e06b17c0
RD
1270#define new_wxPreNotebook() (new wxNotebook())
1271static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1272 PyObject * _resultobj;
e06b17c0
RD
1273 wxNotebook * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
8ab979d7
RD
1276
1277 self = self;
e06b17c0 1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
8ab979d7 1279 return NULL;
e06b17c0
RD
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;
8ab979d7 1292 }
8ab979d7
RD
1293 return _resultobj;
1294}
1295
e06b17c0
RD
1296#define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1297static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1298 PyObject * _resultobj;
1299 bool _result;
1300 wxNotebook * _arg0;
e06b17c0
RD
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;
1d99702e 1307 PyObject * _argo0 = 0;
e06b17c0
RD
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 };
8ab979d7
RD
1315
1316 self = self;
e06b17c0 1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
8ab979d7 1318 return NULL;
1d99702e
RD
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
e06b17c0
RD
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.");
8ab979d7
RD
1330 return NULL;
1331 }
1332 }
e06b17c0
RD
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}
cf694132 1351{
4268f798 1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1353 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 1354
4268f798 1355 wxPyEndAllowThreads(__tstate);
493f1553 1356 if (PyErr_Occurred()) return NULL;
cf694132 1357} _resultobj = Py_BuildValue("i",_result);
e06b17c0
RD
1358{
1359 if (_obj6)
1360 delete _arg6;
1361}
8ab979d7
RD
1362 return _resultobj;
1363}
1364
1365#define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
efc5f224 1366static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1367 PyObject * _resultobj;
1368 int _result;
1369 wxNotebook * _arg0;
1d99702e 1370 PyObject * _argo0 = 0;
efc5f224 1371 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1372
1373 self = self;
efc5f224 1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
8ab979d7 1375 return NULL;
1d99702e
RD
1376 if (_argo0) {
1377 if (_argo0 == Py_None) { _arg0 = NULL; }
1378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
8ab979d7
RD
1379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1380 return NULL;
1381 }
1382 }
cf694132 1383{
4268f798 1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1385 _result = (int )wxNotebook_GetRowCount(_arg0);
cf694132 1386
4268f798 1387 wxPyEndAllowThreads(__tstate);
493f1553 1388 if (PyErr_Occurred()) return NULL;
cf694132 1389} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1390 return _resultobj;
1391}
1392
e06b17c0
RD
1393#define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1394static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904
RD
1395 PyObject * _resultobj;
1396 wxNotebook * _arg0;
1397 wxSize * _arg1;
1398 PyObject * _argo0 = 0;
1399 wxSize temp;
1400 PyObject * _obj1 = 0;
e06b17c0 1401 char *_kwnames[] = { "self","padding", NULL };
c368d904
RD
1402
1403 self = self;
e06b17c0 1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1))
c368d904
RD
1405 return NULL;
1406 if (_argo0) {
1407 if (_argo0 == Py_None) { _arg0 = NULL; }
1408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
e06b17c0 1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
c368d904
RD
1410 return NULL;
1411 }
1412 }
1413{
1414 _arg1 = &temp;
1415 if (! wxSize_helper(_obj1, &_arg1))
1416 return NULL;
1417}
1418{
4268f798 1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1420 wxNotebook_SetPadding(_arg0,*_arg1);
c368d904 1421
4268f798 1422 wxPyEndAllowThreads(__tstate);
493f1553 1423 if (PyErr_Occurred()) return NULL;
c368d904
RD
1424} Py_INCREF(Py_None);
1425 _resultobj = Py_None;
1426 return _resultobj;
1427}
1428
e06b17c0
RD
1429#define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1430static PyObject *_wrap_wxNotebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904
RD
1431 PyObject * _resultobj;
1432 wxNotebook * _arg0;
1433 wxSize * _arg1;
1434 PyObject * _argo0 = 0;
1435 wxSize temp;
1436 PyObject * _obj1 = 0;
e06b17c0 1437 char *_kwnames[] = { "self","sz", NULL };
c368d904
RD
1438
1439 self = self;
e06b17c0 1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetTabSize",_kwnames,&_argo0,&_obj1))
c368d904
RD
1441 return NULL;
1442 if (_argo0) {
1443 if (_argo0 == Py_None) { _arg0 = NULL; }
1444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
e06b17c0 1445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
c368d904
RD
1446 return NULL;
1447 }
1448 }
1449{
1450 _arg1 = &temp;
1451 if (! wxSize_helper(_obj1, &_arg1))
1452 return NULL;
1453}
1454{
4268f798 1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1456 wxNotebook_SetTabSize(_arg0,*_arg1);
c368d904 1457
4268f798 1458 wxPyEndAllowThreads(__tstate);
493f1553 1459 if (PyErr_Occurred()) return NULL;
c368d904
RD
1460} Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 return _resultobj;
1463}
1464
e06b17c0
RD
1465#define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1466static PyObject *_wrap_wxNotebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5a2a9da2 1467 PyObject * _resultobj;
e06b17c0 1468 int _result;
5a2a9da2 1469 wxNotebook * _arg0;
e06b17c0
RD
1470 wxPoint * _arg1;
1471 long * _arg2;
1472 long temp;
5a2a9da2 1473 PyObject * _argo0 = 0;
e06b17c0 1474 wxPoint temp0;
5a2a9da2 1475 PyObject * _obj1 = 0;
e06b17c0 1476 char *_kwnames[] = { "self","pt", NULL };
5a2a9da2
RD
1477
1478 self = self;
e06b17c0
RD
1479{
1480 _arg2 = &temp;
1481}
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_HitTest",_kwnames,&_argo0,&_obj1))
5a2a9da2
RD
1483 return NULL;
1484 if (_argo0) {
1485 if (_argo0 == Py_None) { _arg0 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
e06b17c0 1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
5a2a9da2
RD
1488 return NULL;
1489 }
1490 }
1491{
e06b17c0
RD
1492 _arg1 = &temp0;
1493 if (! wxPoint_helper(_obj1, &_arg1))
5a2a9da2
RD
1494 return NULL;
1495}
1496{
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1498 _result = (int )wxNotebook_HitTest(_arg0,*_arg1,_arg2);
5a2a9da2
RD
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
1502} _resultobj = Py_BuildValue("i",_result);
1503{
1504 PyObject *o;
1505 o = PyInt_FromLong((long) (*_arg2));
1506 _resultobj = t_output_helper(_resultobj, o);
1507}
5a2a9da2
RD
1508 return _resultobj;
1509}
1510
1511#define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1512static 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
e06b17c0
RD
1549#define wxNotebook_ApplyThemeBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->ApplyThemeBackground(_swigarg0,_swigarg1))
1550static PyObject *_wrap_wxNotebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1551 PyObject * _resultobj;
8ab979d7 1552 wxNotebook * _arg0;
e06b17c0
RD
1553 wxWindow * _arg1;
1554 wxColour * _arg2;
1d99702e 1555 PyObject * _argo0 = 0;
e06b17c0
RD
1556 PyObject * _argo1 = 0;
1557 wxColour temp;
1558 PyObject * _obj2 = 0;
1559 char *_kwnames[] = { "self","window","colour", NULL };
8ab979d7
RD
1560
1561 self = self;
e06b17c0 1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxNotebook_ApplyThemeBackground",_kwnames,&_argo0,&_argo1,&_obj2))
8ab979d7 1563 return NULL;
1d99702e
RD
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
e06b17c0
RD
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
1594static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
1595 wxNotebookEvent *src;
1596 wxNotifyEvent *dest;
1597 src = (wxNotebookEvent *) ptr;
1598 dest = (wxNotifyEvent *) src;
1599 return (void *) dest;
1600}
1601
1602static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
1603 wxNotebookEvent *src;
1604 wxCommandEvent *dest;
1605 src = (wxNotebookEvent *) ptr;
1606 dest = (wxCommandEvent *) src;
1607 return (void *) dest;
1608}
1609
1610static void *SwigwxNotebookEventTowxEvent(void *ptr) {
1611 wxNotebookEvent *src;
1612 wxEvent *dest;
1613 src = (wxNotebookEvent *) ptr;
1614 dest = (wxEvent *) src;
1615 return (void *) dest;
1616}
1617
1618static 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))
1627static 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())
1657static 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.");
8ab979d7
RD
1671 return NULL;
1672 }
1673 }
cf694132 1674{
4268f798 1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1676 _result = (int )wxNotebookEvent_GetSelection(_arg0);
cf694132 1677
4268f798 1678 wxPyEndAllowThreads(__tstate);
493f1553 1679 if (PyErr_Occurred()) return NULL;
cf694132
RD
1680} _resultobj = Py_BuildValue("i",_result);
1681 return _resultobj;
1682}
1683
e06b17c0
RD
1684#define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1685static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 1686 PyObject * _resultobj;
e06b17c0
RD
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))
1713static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 wxNotebookEvent * _arg0;
cf694132 1716 int _arg1;
1d99702e 1717 PyObject * _argo0 = 0;
7e50db3f 1718 char *_kwnames[] = { "self","page", NULL };
cf694132
RD
1719
1720 self = self;
e06b17c0 1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
cf694132 1722 return NULL;
1d99702e
RD
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
cf694132
RD
1727 return NULL;
1728 }
1729 }
1730{
4268f798 1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1732 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
cf694132 1733
4268f798 1734 wxPyEndAllowThreads(__tstate);
493f1553 1735 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
1736} Py_INCREF(Py_None);
1737 _resultobj = Py_None;
8ab979d7
RD
1738 return _resultobj;
1739}
1740
e06b17c0
RD
1741#define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1742static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1743 PyObject * _resultobj;
e06b17c0
RD
1744 wxNotebookEvent * _arg0;
1745 int _arg1;
1d99702e 1746 PyObject * _argo0 = 0;
e06b17c0 1747 char *_kwnames[] = { "self","page", NULL };
8ab979d7
RD
1748
1749 self = self;
e06b17c0 1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 1751 return NULL;
1d99702e
RD
1752 if (_argo0) {
1753 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1756 return NULL;
1757 }
1758 }
cf694132 1759{
4268f798 1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1761 wxNotebookEvent_SetSelection(_arg0,_arg1);
cf694132 1762
4268f798 1763 wxPyEndAllowThreads(__tstate);
493f1553 1764 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
1765} Py_INCREF(Py_None);
1766 _resultobj = Py_None;
8ab979d7
RD
1767 return _resultobj;
1768}
1769
e06b17c0
RD
1770static void *SwigwxListbookTowxBookCtrl(void *ptr) {
1771 wxListbook *src;
1772 wxBookCtrl *dest;
1773 src = (wxListbook *) ptr;
1774 dest = (wxBookCtrl *) src;
1775 return (void *) dest;
1776}
1777
1778static void *SwigwxListbookTowxControl(void *ptr) {
1779 wxListbook *src;
1780 wxControl *dest;
1781 src = (wxListbook *) ptr;
1782 dest = (wxControl *) src;
1783 return (void *) dest;
1784}
1785
1786static void *SwigwxListbookTowxWindow(void *ptr) {
1787 wxListbook *src;
1788 wxWindow *dest;
1789 src = (wxListbook *) ptr;
1790 dest = (wxWindow *) src;
1791 return (void *) dest;
1792}
1793
1794static void *SwigwxListbookTowxEvtHandler(void *ptr) {
1795 wxListbook *src;
1796 wxEvtHandler *dest;
1797 src = (wxListbook *) ptr;
1798 dest = (wxEvtHandler *) src;
1799 return (void *) dest;
1800}
1801
1802static 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))
1811static PyObject *_wrap_new_wxListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1812 PyObject * _resultobj;
e06b17c0
RD
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;
1d99702e 1820 PyObject * _argo0 = 0;
e06b17c0 1821 wxPoint temp;
8ab979d7 1822 PyObject * _obj2 = 0;
e06b17c0
RD
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];
8ab979d7
RD
1828
1829 self = self;
e06b17c0 1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxListbook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 1831 return NULL;
1d99702e
RD
1832 if (_argo0) {
1833 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1836 return NULL;
1837 }
1838 }
e06b17c0
RD
1839 if (_obj2)
1840{
1841 _arg2 = &temp;
1842 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 1843 return NULL;
e06b17c0
RD
1844}
1845 if (_obj3)
8ab979d7 1846{
e06b17c0
RD
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)
185d7c3e 1855 return NULL;
8ab979d7 1856}
cf694132 1857{
4268f798 1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1859 _result = (wxListbook *)new_wxListbook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 1860
4268f798 1861 wxPyEndAllowThreads(__tstate);
493f1553 1862 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
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 }
8ab979d7 1870{
e06b17c0
RD
1871 if (_obj5)
1872 delete _arg5;
1873}
1874 return _resultobj;
8ab979d7 1875}
e06b17c0
RD
1876
1877#define new_wxPreListbook() (new wxListbook())
1878static 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 }
8ab979d7
RD
1900 return _resultobj;
1901}
1902
e06b17c0
RD
1903#define wxListbook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1904static PyObject *_wrap_wxListbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1905 PyObject * _resultobj;
1906 bool _result;
e06b17c0
RD
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;
1d99702e 1914 PyObject * _argo0 = 0;
e06b17c0
RD
1915 PyObject * _argo1 = 0;
1916 wxPoint temp;
8ab979d7 1917 PyObject * _obj3 = 0;
e06b17c0
RD
1918 wxSize temp0;
1919 PyObject * _obj4 = 0;
1920 PyObject * _obj6 = 0;
1921 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8ab979d7
RD
1922
1923 self = self;
e06b17c0 1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxListbook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
8ab979d7 1925 return NULL;
1d99702e
RD
1926 if (_argo0) {
1927 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1930 return NULL;
1931 }
1932 }
e06b17c0
RD
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.");
8ab979d7
RD
1937 return NULL;
1938 }
1939 }
e06b17c0 1940 if (_obj3)
8ab979d7 1941{
e06b17c0
RD
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)
185d7c3e 1956 return NULL;
8ab979d7 1957}
cf694132 1958{
4268f798 1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1960 _result = (bool )wxListbook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 1961
4268f798 1962 wxPyEndAllowThreads(__tstate);
493f1553 1963 if (PyErr_Occurred()) return NULL;
cf694132 1964} _resultobj = Py_BuildValue("i",_result);
8ab979d7 1965{
e06b17c0
RD
1966 if (_obj6)
1967 delete _arg6;
8ab979d7
RD
1968}
1969 return _resultobj;
1970}
1971
e06b17c0
RD
1972#define wxListbook_IsVertical(_swigobj) (_swigobj->IsVertical())
1973static PyObject *_wrap_wxListbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1974 PyObject * _resultobj;
e06b17c0
RD
1975 bool _result;
1976 wxListbook * _arg0;
1d99702e 1977 PyObject * _argo0 = 0;
e06b17c0 1978 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1979
1980 self = self;
e06b17c0 1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListbook_IsVertical",_kwnames,&_argo0))
8ab979d7 1982 return NULL;
1d99702e
RD
1983 if (_argo0) {
1984 if (_argo0 == Py_None) { _arg0 = NULL; }
e06b17c0
RD
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.");
8ab979d7
RD
1987 return NULL;
1988 }
1989 }
cf694132 1990{
4268f798 1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 1992 _result = (bool )wxListbook_IsVertical(_arg0);
cf694132 1993
4268f798 1994 wxPyEndAllowThreads(__tstate);
493f1553 1995 if (PyErr_Occurred()) return NULL;
5a2a9da2 1996} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1997 return _resultobj;
1998}
1999
e06b17c0
RD
2000static void *SwigwxListbookEventTowxBookCtrlEvent(void *ptr) {
2001 wxListbookEvent *src;
2002 wxBookCtrlEvent *dest;
2003 src = (wxListbookEvent *) ptr;
2004 dest = (wxBookCtrlEvent *) src;
2005 return (void *) dest;
2006}
5a2a9da2 2007
e06b17c0
RD
2008static void *SwigwxListbookEventTowxNotifyEvent(void *ptr) {
2009 wxListbookEvent *src;
2010 wxNotifyEvent *dest;
2011 src = (wxListbookEvent *) ptr;
2012 dest = (wxNotifyEvent *) src;
2013 return (void *) dest;
5a2a9da2 2014}
e06b17c0
RD
2015
2016static void *SwigwxListbookEventTowxCommandEvent(void *ptr) {
2017 wxListbookEvent *src;
2018 wxCommandEvent *dest;
2019 src = (wxListbookEvent *) ptr;
2020 dest = (wxCommandEvent *) src;
2021 return (void *) dest;
5a2a9da2 2022}
5a2a9da2 2023
e06b17c0
RD
2024static void *SwigwxListbookEventTowxEvent(void *ptr) {
2025 wxListbookEvent *src;
2026 wxEvent *dest;
2027 src = (wxListbookEvent *) ptr;
2028 dest = (wxEvent *) src;
2029 return (void *) dest;
5a2a9da2 2030}
e06b17c0
RD
2031
2032static void *SwigwxListbookEventTowxObject(void *ptr) {
2033 wxListbookEvent *src;
2034 wxObject *dest;
2035 src = (wxListbookEvent *) ptr;
2036 dest = (wxObject *) src;
2037 return (void *) dest;
5a2a9da2
RD
2038}
2039
e06b17c0
RD
2040#define new_wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2041static PyObject *_wrap_new_wxListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132 2042 PyObject * _resultobj;
e06b17c0
RD
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];
cf694132
RD
2050
2051 self = self;
e06b17c0 2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxListbookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
cf694132 2053 return NULL;
cf694132 2054{
4268f798 2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
e06b17c0 2056 _result = (wxListbookEvent *)new_wxListbookEvent(_arg0,_arg1,_arg2,_arg3);
cf694132 2057
4268f798 2058 wxPyEndAllowThreads(__tstate);
493f1553 2059 if (PyErr_Occurred()) return NULL;
e06b17c0
RD
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 }
cf694132
RD
2067 return _resultobj;
2068}
2069
756ed80c
RD
2070static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) {
2071 wxSplitterEvent *src;
2072 wxNotifyEvent *dest;
2073 src = (wxSplitterEvent *) ptr;
2074 dest = (wxNotifyEvent *) src;
2075 return (void *) dest;
2076}
2077
bb0054cd
RD
2078static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
2079 wxSplitterEvent *src;
2080 wxCommandEvent *dest;
2081 src = (wxSplitterEvent *) ptr;
2082 dest = (wxCommandEvent *) src;
2083 return (void *) dest;
2084}
2085
2086static void *SwigwxSplitterEventTowxEvent(void *ptr) {
2087 wxSplitterEvent *src;
2088 wxEvent *dest;
2089 src = (wxSplitterEvent *) ptr;
2090 dest = (wxEvent *) src;
2091 return (void *) dest;
2092}
2093
9416aa89
RD
2094static void *SwigwxSplitterEventTowxObject(void *ptr) {
2095 wxSplitterEvent *src;
2096 wxObject *dest;
2097 src = (wxSplitterEvent *) ptr;
2098 dest = (wxObject *) src;
2099 return (void *) dest;
2100}
2101
09f3d4e6
RD
2102#define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
2103static 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{
4268f798 2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2124 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
09f3d4e6 2125
4268f798 2126 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
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
bb0054cd 2138#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
efc5f224 2139static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2140 PyObject * _resultobj;
2141 int _result;
2142 wxSplitterEvent * _arg0;
1d99702e 2143 PyObject * _argo0 = 0;
efc5f224 2144 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2145
2146 self = self;
efc5f224 2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
bb0054cd 2148 return NULL;
1d99702e
RD
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
2153 return NULL;
2154 }
2155 }
2156{
4268f798 2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2158 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
bb0054cd 2159
4268f798 2160 wxPyEndAllowThreads(__tstate);
493f1553 2161 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2162} _resultobj = Py_BuildValue("i",_result);
2163 return _resultobj;
2164}
2165
2166#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
efc5f224 2167static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2168 PyObject * _resultobj;
2169 int _result;
2170 wxSplitterEvent * _arg0;
1d99702e 2171 PyObject * _argo0 = 0;
efc5f224 2172 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2173
2174 self = self;
efc5f224 2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
bb0054cd 2176 return NULL;
1d99702e
RD
2177 if (_argo0) {
2178 if (_argo0 == Py_None) { _arg0 = NULL; }
2179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
2180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
2181 return NULL;
2182 }
2183 }
2184{
4268f798 2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2186 _result = (int )wxSplitterEvent_GetX(_arg0);
bb0054cd 2187
4268f798 2188 wxPyEndAllowThreads(__tstate);
493f1553 2189 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2190} _resultobj = Py_BuildValue("i",_result);
2191 return _resultobj;
2192}
2193
2194#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
efc5f224 2195static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2196 PyObject * _resultobj;
2197 int _result;
2198 wxSplitterEvent * _arg0;
1d99702e 2199 PyObject * _argo0 = 0;
efc5f224 2200 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2201
2202 self = self;
efc5f224 2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
bb0054cd 2204 return NULL;
1d99702e
RD
2205 if (_argo0) {
2206 if (_argo0 == Py_None) { _arg0 = NULL; }
2207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
2209 return NULL;
2210 }
2211 }
2212{
4268f798 2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2214 _result = (int )wxSplitterEvent_GetY(_arg0);
bb0054cd 2215
4268f798 2216 wxPyEndAllowThreads(__tstate);
493f1553 2217 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2218} _resultobj = Py_BuildValue("i",_result);
2219 return _resultobj;
2220}
2221
2222#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
efc5f224 2223static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2224 PyObject * _resultobj;
2225 wxWindow * _result;
2226 wxSplitterEvent * _arg0;
1d99702e 2227 PyObject * _argo0 = 0;
efc5f224 2228 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
2229
2230 self = self;
efc5f224 2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
bb0054cd 2232 return NULL;
1d99702e
RD
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
2237 return NULL;
2238 }
2239 }
2240{
4268f798 2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2242 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
bb0054cd 2243
4268f798 2244 wxPyEndAllowThreads(__tstate);
493f1553 2245 if (PyErr_Occurred()) return NULL;
9416aa89 2246}{ _resultobj = wxPyMake_wxObject(_result); }
bb0054cd
RD
2247 return _resultobj;
2248}
2249
2250#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
efc5f224 2251static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
2252 PyObject * _resultobj;
2253 wxSplitterEvent * _arg0;
2254 int _arg1;
1d99702e 2255 PyObject * _argo0 = 0;
efc5f224 2256 char *_kwnames[] = { "self","pos", NULL };
bb0054cd
RD
2257
2258 self = self;
efc5f224 2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
bb0054cd 2260 return NULL;
1d99702e
RD
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
bb0054cd
RD
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
2265 return NULL;
2266 }
2267 }
2268{
4268f798 2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2270 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
bb0054cd 2271
4268f798 2272 wxPyEndAllowThreads(__tstate);
493f1553 2273 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
2274} Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277}
2278
9c039d08
RD
2279static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
2280 wxSplitterWindow *src;
2281 wxWindow *dest;
2282 src = (wxSplitterWindow *) ptr;
2283 dest = (wxWindow *) src;
2284 return (void *) dest;
2285}
2286
2287static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
2288 wxSplitterWindow *src;
2289 wxEvtHandler *dest;
2290 src = (wxSplitterWindow *) ptr;
2291 dest = (wxEvtHandler *) src;
2292 return (void *) dest;
2293}
2294
9416aa89
RD
2295static void *SwigwxSplitterWindowTowxObject(void *ptr) {
2296 wxSplitterWindow *src;
2297 wxObject *dest;
2298 src = (wxSplitterWindow *) ptr;
2299 dest = (wxObject *) src;
2300 return (void *) dest;
2301}
2302
9c039d08 2303#define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 2304static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
2305 PyObject * _resultobj;
2306 wxSplitterWindow * _result;
2307 wxWindow * _arg0;
2308 wxWindowID _arg1;
e508a2b6
RD
2309 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2310 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5a2a9da2 2311 long _arg4 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
137b5242 2312 wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
1d99702e 2313 PyObject * _argo0 = 0;
2f90df85
RD
2314 wxPoint temp;
2315 PyObject * _obj2 = 0;
2316 wxSize temp0;
2317 PyObject * _obj3 = 0;
137b5242 2318 PyObject * _obj5 = 0;
efc5f224 2319 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
9c039d08
RD
2320 char _ptemp[128];
2321
2322 self = self;
137b5242 2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
9c039d08 2324 return NULL;
1d99702e
RD
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2329 return NULL;
2330 }
2331 }
2f90df85
RD
2332 if (_obj2)
2333{
2334 _arg2 = &temp;
2335 if (! wxPoint_helper(_obj2, &_arg2))
9c039d08 2336 return NULL;
2f90df85
RD
2337}
2338 if (_obj3)
2339{
2340 _arg3 = &temp0;
2341 if (! wxSize_helper(_obj3, &_arg3))
9c039d08 2342 return NULL;
137b5242
RD
2343}
2344 if (_obj5)
2345{
2346 _arg5 = wxString_in_helper(_obj5);
2347 if (_arg5 == NULL)
2348 return NULL;
2f90df85 2349}
cf694132 2350{
4268f798 2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2352 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 2353
4268f798 2354 wxPyEndAllowThreads(__tstate);
493f1553 2355 if (PyErr_Occurred()) return NULL;
1d99702e
RD
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 }
137b5242
RD
2363{
2364 if (_obj5)
2365 delete _arg5;
2366}
9c039d08
RD
2367 return _resultobj;
2368}
2369
09f3d4e6
RD
2370#define new_wxPreSplitterWindow() (new wxSplitterWindow())
2371static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5 2372 PyObject * _resultobj;
09f3d4e6
RD
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{
4268f798 2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2382 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
09f3d4e6 2383
4268f798 2384 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
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))
2397static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 bool _result;
b639c3c5 2400 wxSplitterWindow * _arg0;
09f3d4e6
RD
2401 wxWindow * _arg1;
2402 wxWindowID _arg2;
2403 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2404 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5a2a9da2 2405 long _arg5 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
137b5242 2406 wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
1d99702e 2407 PyObject * _argo0 = 0;
09f3d4e6
RD
2408 PyObject * _argo1 = 0;
2409 wxPoint temp;
2410 PyObject * _obj3 = 0;
2411 wxSize temp0;
2412 PyObject * _obj4 = 0;
137b5242 2413 PyObject * _obj6 = 0;
09f3d4e6 2414 char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL };
b639c3c5
RD
2415
2416 self = self;
137b5242 2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
b639c3c5 2418 return NULL;
1d99702e
RD
2419 if (_argo0) {
2420 if (_argo0 == Py_None) { _arg0 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6
RD
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.");
b639c3c5
RD
2430 return NULL;
2431 }
2432 }
09f3d4e6
RD
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;
137b5242
RD
2444}
2445 if (_obj6)
2446{
2447 _arg6 = wxString_in_helper(_obj6);
2448 if (_arg6 == NULL)
2449 return NULL;
09f3d4e6 2450}
cf694132 2451{
4268f798 2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2453 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 2454
4268f798 2455 wxPyEndAllowThreads(__tstate);
493f1553 2456 if (PyErr_Occurred()) return NULL;
cf694132 2457} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
2458{
2459 if (_obj6)
2460 delete _arg6;
2461}
b639c3c5
RD
2462 return _resultobj;
2463}
2464
09f3d4e6
RD
2465#define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2466static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2467 PyObject * _resultobj;
09f3d4e6 2468 wxWindow * _result;
9c039d08 2469 wxSplitterWindow * _arg0;
1d99702e 2470 PyObject * _argo0 = 0;
efc5f224 2471 char *_kwnames[] = { "self", NULL };
9c039d08
RD
2472
2473 self = self;
09f3d4e6 2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
9c039d08 2475 return NULL;
1d99702e
RD
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
9c039d08
RD
2480 return NULL;
2481 }
2482 }
cf694132 2483{
4268f798 2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2485 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
cf694132 2486
4268f798 2487 wxPyEndAllowThreads(__tstate);
493f1553 2488 if (PyErr_Occurred()) return NULL;
09f3d4e6 2489}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
2490 return _resultobj;
2491}
2492
09f3d4e6
RD
2493#define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2494static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2495 PyObject * _resultobj;
09f3d4e6 2496 wxWindow * _result;
9c039d08 2497 wxSplitterWindow * _arg0;
1d99702e 2498 PyObject * _argo0 = 0;
efc5f224 2499 char *_kwnames[] = { "self", NULL };
9c039d08
RD
2500
2501 self = self;
09f3d4e6 2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
9c039d08 2503 return NULL;
1d99702e
RD
2504 if (_argo0) {
2505 if (_argo0 == Py_None) { _arg0 = NULL; }
2506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
9c039d08
RD
2508 return NULL;
2509 }
2510 }
cf694132 2511{
4268f798 2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2513 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
cf694132 2514
4268f798 2515 wxPyEndAllowThreads(__tstate);
493f1553 2516 if (PyErr_Occurred()) return NULL;
09f3d4e6 2517}{ _resultobj = wxPyMake_wxObject(_result); }
9c039d08
RD
2518 return _resultobj;
2519}
2520
09f3d4e6
RD
2521#define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2522static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5 2523 PyObject * _resultobj;
b639c3c5 2524 wxSplitterWindow * _arg0;
09f3d4e6 2525 int _arg1;
1d99702e 2526 PyObject * _argo0 = 0;
09f3d4e6 2527 char *_kwnames[] = { "self","mode", NULL };
b639c3c5
RD
2528
2529 self = self;
09f3d4e6 2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
b639c3c5 2531 return NULL;
1d99702e
RD
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
b639c3c5
RD
2536 return NULL;
2537 }
2538 }
cf694132 2539{
4268f798 2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2541 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
cf694132 2542
4268f798 2543 wxPyEndAllowThreads(__tstate);
493f1553 2544 if (PyErr_Occurred()) return NULL;
09f3d4e6
RD
2545} Py_INCREF(Py_None);
2546 _resultobj = Py_None;
b639c3c5
RD
2547 return _resultobj;
2548}
2549
9c039d08 2550#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
efc5f224 2551static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
2552 PyObject * _resultobj;
2553 int _result;
2554 wxSplitterWindow * _arg0;
1d99702e 2555 PyObject * _argo0 = 0;
efc5f224 2556 char *_kwnames[] = { "self", NULL };
9c039d08
RD
2557
2558 self = self;
efc5f224 2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
9c039d08 2560 return NULL;
1d99702e
RD
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
9c039d08
RD
2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2565 return NULL;
2566 }
2567 }
cf694132 2568{
4268f798 2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2570 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
cf694132 2571
4268f798 2572 wxPyEndAllowThreads(__tstate);
493f1553 2573 if (PyErr_Occurred()) return NULL;
cf694132 2574} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2575 return _resultobj;
2576}
2577
09f3d4e6
RD
2578#define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2579static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2580 PyObject * _resultobj;
9c039d08 2581 wxSplitterWindow * _arg0;
09f3d4e6 2582 wxWindow * _arg1;
1d99702e 2583 PyObject * _argo0 = 0;
09f3d4e6
RD
2584 PyObject * _argo1 = 0;
2585 char *_kwnames[] = { "self","window", NULL };
9c039d08
RD
2586
2587 self = self;
09f3d4e6 2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
9c039d08 2589 return NULL;
1d99702e
RD
2590 if (_argo0) {
2591 if (_argo0 == Py_None) { _arg0 = NULL; }
2592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6
RD
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.");
9c039d08
RD
2601 return NULL;
2602 }
2603 }
cf694132 2604{
4268f798 2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2606 wxSplitterWindow_Initialize(_arg0,_arg1);
cf694132 2607
4268f798 2608 wxPyEndAllowThreads(__tstate);
493f1553 2609 if (PyErr_Occurred()) return NULL;
09f3d4e6
RD
2610} Py_INCREF(Py_None);
2611 _resultobj = Py_None;
9c039d08
RD
2612 return _resultobj;
2613}
2614
09f3d4e6
RD
2615#define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2616static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2617 PyObject * _resultobj;
09f3d4e6 2618 bool _result;
9c039d08 2619 wxSplitterWindow * _arg0;
09f3d4e6
RD
2620 wxWindow * _arg1;
2621 wxWindow * _arg2;
2622 int _arg3 = (int ) 0;
1d99702e 2623 PyObject * _argo0 = 0;
09f3d4e6
RD
2624 PyObject * _argo1 = 0;
2625 PyObject * _argo2 = 0;
2626 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
2627
2628 self = self;
09f3d4e6 2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 2630 return NULL;
1d99702e
RD
2631 if (_argo0) {
2632 if (_argo0 == Py_None) { _arg0 = NULL; }
2633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6
RD
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.");
9c039d08
RD
2649 return NULL;
2650 }
2651 }
cf694132 2652{
4268f798 2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2654 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
cf694132 2655
4268f798 2656 wxPyEndAllowThreads(__tstate);
493f1553 2657 if (PyErr_Occurred()) return NULL;
09f3d4e6 2658} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2659 return _resultobj;
2660}
2661
09f3d4e6
RD
2662#define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2663static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2664 PyObject * _resultobj;
09f3d4e6 2665 bool _result;
9c039d08
RD
2666 wxSplitterWindow * _arg0;
2667 wxWindow * _arg1;
09f3d4e6
RD
2668 wxWindow * _arg2;
2669 int _arg3 = (int ) 0;
1d99702e
RD
2670 PyObject * _argo0 = 0;
2671 PyObject * _argo1 = 0;
09f3d4e6
RD
2672 PyObject * _argo2 = 0;
2673 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
9c039d08
RD
2674
2675 self = self;
09f3d4e6 2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
9c039d08 2677 return NULL;
1d99702e
RD
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
9c039d08
RD
2682 return NULL;
2683 }
2684 }
1d99702e
RD
2685 if (_argo1) {
2686 if (_argo1 == Py_None) { _arg1 = NULL; }
2687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
09f3d4e6
RD
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.");
9c039d08
RD
2696 return NULL;
2697 }
2698 }
cf694132 2699{
4268f798 2700 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2701 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
cf694132 2702
4268f798 2703 wxPyEndAllowThreads(__tstate);
493f1553 2704 if (PyErr_Occurred()) return NULL;
09f3d4e6 2705} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2706 return _resultobj;
2707}
2708
09f3d4e6
RD
2709#define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2710static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
2711 PyObject * _resultobj;
2712 bool _result;
2713 wxSplitterWindow * _arg0;
09f3d4e6 2714 wxWindow * _arg1 = (wxWindow *) NULL;
1d99702e 2715 PyObject * _argo0 = 0;
09f3d4e6
RD
2716 PyObject * _argo1 = 0;
2717 char *_kwnames[] = { "self","toRemove", NULL };
9c039d08
RD
2718
2719 self = self;
09f3d4e6 2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
9c039d08 2721 return NULL;
1d99702e
RD
2722 if (_argo0) {
2723 if (_argo0 == Py_None) { _arg0 = NULL; }
2724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6
RD
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.");
9c039d08
RD
2733 return NULL;
2734 }
2735 }
cf694132 2736{
4268f798 2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2738 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
cf694132 2739
4268f798 2740 wxPyEndAllowThreads(__tstate);
493f1553 2741 if (PyErr_Occurred()) return NULL;
cf694132 2742} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2743 return _resultobj;
2744}
2745
9d8bd15f
RD
2746#define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2747static 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{
4268f798 2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2784 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
9d8bd15f 2785
4268f798 2786 wxPyEndAllowThreads(__tstate);
493f1553 2787 if (PyErr_Occurred()) return NULL;
9d8bd15f
RD
2788} _resultobj = Py_BuildValue("i",_result);
2789 return _resultobj;
2790}
2791
09f3d4e6
RD
2792#define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2793static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5 2794 PyObject * _resultobj;
09f3d4e6 2795 bool _result;
b639c3c5 2796 wxSplitterWindow * _arg0;
1d99702e 2797 PyObject * _argo0 = 0;
09f3d4e6 2798 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
2799
2800 self = self;
09f3d4e6 2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
b639c3c5 2802 return NULL;
1d99702e
RD
2803 if (_argo0) {
2804 if (_argo0 == Py_None) { _arg0 = NULL; }
2805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
b639c3c5
RD
2807 return NULL;
2808 }
2809 }
cf694132 2810{
4268f798 2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2812 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
cf694132 2813
4268f798 2814 wxPyEndAllowThreads(__tstate);
493f1553 2815 if (PyErr_Occurred()) return NULL;
09f3d4e6 2816} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
2817 return _resultobj;
2818}
2819
09f3d4e6
RD
2820#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2821static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
2822 PyObject * _resultobj;
2823 wxSplitterWindow * _arg0;
2824 int _arg1;
1d99702e 2825 PyObject * _argo0 = 0;
09f3d4e6 2826 char *_kwnames[] = { "self","width", NULL };
9c039d08
RD
2827
2828 self = self;
09f3d4e6 2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
9c039d08 2830 return NULL;
1d99702e
RD
2831 if (_argo0) {
2832 if (_argo0 == Py_None) { _arg0 = NULL; }
2833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
9c039d08
RD
2835 return NULL;
2836 }
2837 }
cf694132 2838{
4268f798 2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2840 wxSplitterWindow_SetSashSize(_arg0,_arg1);
cf694132 2841
4268f798 2842 wxPyEndAllowThreads(__tstate);
493f1553 2843 if (PyErr_Occurred()) return NULL;
cf694132 2844} Py_INCREF(Py_None);
9c039d08
RD
2845 _resultobj = Py_None;
2846 return _resultobj;
2847}
2848
09f3d4e6
RD
2849#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2850static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
2851 PyObject * _resultobj;
2852 wxSplitterWindow * _arg0;
2853 int _arg1;
1d99702e 2854 PyObject * _argo0 = 0;
efc5f224 2855 char *_kwnames[] = { "self","width", NULL };
b639c3c5
RD
2856
2857 self = self;
09f3d4e6 2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
b639c3c5 2859 return NULL;
1d99702e
RD
2860 if (_argo0) {
2861 if (_argo0 == Py_None) { _arg0 = NULL; }
2862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
b639c3c5
RD
2864 return NULL;
2865 }
2866 }
cf694132 2867{
4268f798 2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2869 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
cf694132 2870
4268f798 2871 wxPyEndAllowThreads(__tstate);
493f1553 2872 if (PyErr_Occurred()) return NULL;
cf694132 2873} Py_INCREF(Py_None);
b639c3c5
RD
2874 _resultobj = Py_None;
2875 return _resultobj;
2876}
2877
09f3d4e6
RD
2878#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2879static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2880 PyObject * _resultobj;
09f3d4e6 2881 int _result;
9c039d08 2882 wxSplitterWindow * _arg0;
1d99702e 2883 PyObject * _argo0 = 0;
09f3d4e6 2884 char *_kwnames[] = { "self", NULL };
9c039d08
RD
2885
2886 self = self;
09f3d4e6 2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
9c039d08 2888 return NULL;
1d99702e
RD
2889 if (_argo0) {
2890 if (_argo0 == Py_None) { _arg0 = NULL; }
2891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
9c039d08
RD
2893 return NULL;
2894 }
2895 }
cf694132 2896{
4268f798 2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2898 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
cf694132 2899
4268f798 2900 wxPyEndAllowThreads(__tstate);
493f1553 2901 if (PyErr_Occurred()) return NULL;
09f3d4e6 2902} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2903 return _resultobj;
2904}
2905
09f3d4e6
RD
2906#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2907static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2908 PyObject * _resultobj;
09f3d4e6 2909 int _result;
9c039d08 2910 wxSplitterWindow * _arg0;
1d99702e 2911 PyObject * _argo0 = 0;
09f3d4e6 2912 char *_kwnames[] = { "self", NULL };
9c039d08
RD
2913
2914 self = self;
09f3d4e6 2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
9c039d08 2916 return NULL;
1d99702e
RD
2917 if (_argo0) {
2918 if (_argo0 == Py_None) { _arg0 = NULL; }
2919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
9c039d08
RD
2921 return NULL;
2922 }
2923 }
cf694132 2924{
4268f798 2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2926 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
cf694132 2927
4268f798 2928 wxPyEndAllowThreads(__tstate);
493f1553 2929 if (PyErr_Occurred()) return NULL;
09f3d4e6 2930} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2931 return _resultobj;
2932}
2933
09f3d4e6
RD
2934#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2935static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2936 PyObject * _resultobj;
9c039d08 2937 wxSplitterWindow * _arg0;
09f3d4e6
RD
2938 int _arg1;
2939 bool _arg2 = (bool ) TRUE;
1d99702e 2940 PyObject * _argo0 = 0;
09f3d4e6
RD
2941 int tempbool2 = (int) TRUE;
2942 char *_kwnames[] = { "self","position","redraw", NULL };
9c039d08
RD
2943
2944 self = self;
09f3d4e6 2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
9c039d08 2946 return NULL;
1d99702e
RD
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
9c039d08
RD
2951 return NULL;
2952 }
2953 }
09f3d4e6
RD
2954 _arg2 = (bool ) tempbool2;
2955{
4268f798 2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2957 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
09f3d4e6 2958
4268f798 2959 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
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())
2967static 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))
9c039d08 2976 return NULL;
09f3d4e6
RD
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.");
9c039d08
RD
2981 return NULL;
2982 }
2983 }
cf694132 2984{
4268f798 2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2986 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
cf694132 2987
4268f798 2988 wxPyEndAllowThreads(__tstate);
493f1553 2989 if (PyErr_Occurred()) return NULL;
cf694132 2990} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
2991 return _resultobj;
2992}
2993
09f3d4e6
RD
2994#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2995static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 2996 PyObject * _resultobj;
9c039d08 2997 wxSplitterWindow * _arg0;
09f3d4e6 2998 int _arg1;
1d99702e 2999 PyObject * _argo0 = 0;
09f3d4e6 3000 char *_kwnames[] = { "self","min", NULL };
9c039d08
RD
3001
3002 self = self;
09f3d4e6 3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
9c039d08 3004 return NULL;
1d99702e
RD
3005 if (_argo0) {
3006 if (_argo0 == Py_None) { _arg0 = NULL; }
3007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 3008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
9c039d08
RD
3009 return NULL;
3010 }
3011 }
cf694132 3012{
4268f798 3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3014 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
cf694132 3015
4268f798 3016 wxPyEndAllowThreads(__tstate);
493f1553 3017 if (PyErr_Occurred()) return NULL;
09f3d4e6
RD
3018} Py_INCREF(Py_None);
3019 _resultobj = Py_None;
9c039d08
RD
3020 return _resultobj;
3021}
3022
09f3d4e6
RD
3023#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
3024static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08 3025 PyObject * _resultobj;
09f3d4e6 3026 int _result;
9c039d08 3027 wxSplitterWindow * _arg0;
1d99702e 3028 PyObject * _argo0 = 0;
09f3d4e6 3029 char *_kwnames[] = { "self", NULL };
9c039d08
RD
3030
3031 self = self;
09f3d4e6 3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
9c039d08 3033 return NULL;
1d99702e
RD
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
09f3d4e6 3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
9c039d08
RD
3038 return NULL;
3039 }
3040 }
cf694132 3041{
4268f798 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3043 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
cf694132 3044
4268f798 3045 wxPyEndAllowThreads(__tstate);
493f1553 3046 if (PyErr_Occurred()) return NULL;
cf694132 3047} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
3048 return _resultobj;
3049}
3050
3bd1e033
RD
3051#define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
3052static 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))
3080static 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())
3111static 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
5a2a9da2
RD
3138static void *SwigwxTaskBarIconEventTowxEvent(void *ptr) {
3139 wxTaskBarIconEvent *src;
3140 wxEvent *dest;
3141 src = (wxTaskBarIconEvent *) ptr;
3142 dest = (wxEvent *) src;
3143 return (void *) dest;
3144}
3145
3146static 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))
3155static 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
b639c3c5
RD
3190static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
3191 wxTaskBarIcon *src;
3192 wxEvtHandler *dest;
3193 src = (wxTaskBarIcon *) ptr;
3194 dest = (wxEvtHandler *) src;
3195 return (void *) dest;
3196}
3197
9416aa89
RD
3198static void *SwigwxTaskBarIconTowxObject(void *ptr) {
3199 wxTaskBarIcon *src;
3200 wxObject *dest;
3201 src = (wxTaskBarIcon *) ptr;
3202 dest = (wxObject *) src;
3203 return (void *) dest;
3204}
3205
b639c3c5 3206#define new_wxTaskBarIcon() (new wxTaskBarIcon())
efc5f224 3207static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3208 PyObject * _resultobj;
3209 wxTaskBarIcon * _result;
efc5f224 3210 char *_kwnames[] = { NULL };
b639c3c5
RD
3211 char _ptemp[128];
3212
3213 self = self;
efc5f224 3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTaskBarIcon",_kwnames))
b639c3c5 3215 return NULL;
cf694132 3216{
4268f798 3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3218 _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
cf694132 3219
4268f798 3220 wxPyEndAllowThreads(__tstate);
493f1553 3221 if (PyErr_Occurred()) return NULL;
1d99702e
RD
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 }
b639c3c5
RD
3229 return _resultobj;
3230}
3231
3232#define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
efc5f224 3233static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3234 PyObject * _resultobj;
3235 wxTaskBarIcon * _arg0;
1d99702e 3236 PyObject * _argo0 = 0;
efc5f224 3237 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3238
3239 self = self;
efc5f224 3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTaskBarIcon",_kwnames,&_argo0))
b639c3c5 3241 return NULL;
1d99702e
RD
3242 if (_argo0) {
3243 if (_argo0 == Py_None) { _arg0 = NULL; }
3244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
3246 return NULL;
3247 }
3248 }
cf694132 3249{
4268f798 3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3251 delete_wxTaskBarIcon(_arg0);
cf694132 3252
4268f798 3253 wxPyEndAllowThreads(__tstate);
493f1553 3254 if (PyErr_Occurred()) return NULL;
cf694132 3255} Py_INCREF(Py_None);
b639c3c5
RD
3256 _resultobj = Py_None;
3257 return _resultobj;
3258}
3259
3260#define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
efc5f224 3261static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3262 PyObject * _resultobj;
3263 bool _result;
3264 wxTaskBarIcon * _arg0;
3265 wxIcon * _arg1;
137b5242 3266 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1d99702e
RD
3267 PyObject * _argo0 = 0;
3268 PyObject * _argo1 = 0;
137b5242 3269 PyObject * _obj2 = 0;
efc5f224 3270 char *_kwnames[] = { "self","icon","tooltip", NULL };
b639c3c5
RD
3271
3272 self = self;
137b5242 3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTaskBarIcon_SetIcon",_kwnames,&_argo0,&_argo1,&_obj2))
b639c3c5 3274 return NULL;
1d99702e
RD
3275 if (_argo0) {
3276 if (_argo0 == Py_None) { _arg0 = NULL; }
3277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
3278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
3279 return NULL;
3280 }
3281 }
1d99702e 3282 if (_argo1) {
7e50db3f 3283 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
b639c3c5
RD
3284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
3285 return NULL;
3286 }
3287 }
137b5242
RD
3288 if (_obj2)
3289{
3290 _arg2 = wxString_in_helper(_obj2);
3291 if (_arg2 == NULL)
3292 return NULL;
3293}
cf694132 3294{
4268f798 3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 3296 _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,*_arg2);
cf694132 3297
4268f798 3298 wxPyEndAllowThreads(__tstate);
493f1553 3299 if (PyErr_Occurred()) return NULL;
cf694132 3300} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
3301{
3302 if (_obj2)
3303 delete _arg2;
3304}
b639c3c5
RD
3305 return _resultobj;
3306}
3307
3308#define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
efc5f224 3309static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
3310 PyObject * _resultobj;
3311 bool _result;
3312 wxTaskBarIcon * _arg0;
1d99702e 3313 PyObject * _argo0 = 0;
efc5f224 3314 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
3315
3316 self = self;
efc5f224 3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTaskBarIcon_RemoveIcon",_kwnames,&_argo0))
b639c3c5 3318 return NULL;
1d99702e
RD
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
b639c3c5
RD
3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
3323 return NULL;
3324 }
3325 }
cf694132 3326{
4268f798 3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3328 _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
cf694132 3329
4268f798 3330 wxPyEndAllowThreads(__tstate);
493f1553 3331 if (PyErr_Occurred()) return NULL;
cf694132 3332} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
3333 return _resultobj;
3334}
3335
be4d9c1f 3336#define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
efc5f224 3337static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
3338 PyObject * _resultobj;
3339 bool _result;
3340 wxTaskBarIcon * _arg0;
3341 wxMenu * _arg1;
1d99702e
RD
3342 PyObject * _argo0 = 0;
3343 PyObject * _argo1 = 0;
efc5f224 3344 char *_kwnames[] = { "self","menu", NULL };
be4d9c1f
RD
3345
3346 self = self;
efc5f224 3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTaskBarIcon_PopupMenu",_kwnames,&_argo0,&_argo1))
be4d9c1f 3348 return NULL;
1d99702e
RD
3349 if (_argo0) {
3350 if (_argo0 == Py_None) { _arg0 = NULL; }
3351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
be4d9c1f
RD
3352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
3353 return NULL;
3354 }
3355 }
1d99702e
RD
3356 if (_argo1) {
3357 if (_argo1 == Py_None) { _arg1 = NULL; }
3358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMenu_p")) {
be4d9c1f
RD
3359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
3360 return NULL;
3361 }
3362 }
cf694132 3363{
4268f798 3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3365 _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
cf694132 3366
4268f798 3367 wxPyEndAllowThreads(__tstate);
493f1553 3368 if (PyErr_Occurred()) return NULL;
cf694132 3369} _resultobj = Py_BuildValue("i",_result);
be4d9c1f
RD
3370 return _resultobj;
3371}
3372
c368d904
RD
3373#define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
3374static 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{
4268f798 3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3393 _result = (bool )wxTaskBarIcon_IsIconInstalled(_arg0);
c368d904 3394
4268f798 3395 wxPyEndAllowThreads(__tstate);
493f1553 3396 if (PyErr_Occurred()) return NULL;
c368d904
RD
3397} _resultobj = Py_BuildValue("i",_result);
3398 return _resultobj;
3399}
3400
3401#define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
3402static 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{
4268f798 3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3421 _result = (bool )wxTaskBarIcon_IsOK(_arg0);
c368d904 3422
4268f798 3423 wxPyEndAllowThreads(__tstate);
493f1553 3424 if (PyErr_Occurred()) return NULL;
c368d904
RD
3425} _resultobj = Py_BuildValue("i",_result);
3426 return _resultobj;
3427}
3428
b0e5c039
RD
3429static void *SwigwxPyWindowTowxWindow(void *ptr) {
3430 wxPyWindow *src;
3431 wxWindow *dest;
3432 src = (wxPyWindow *) ptr;
3433 dest = (wxWindow *) src;
3434 return (void *) dest;
3435}
3436
3437static void *SwigwxPyWindowTowxEvtHandler(void *ptr) {
3438 wxPyWindow *src;
3439 wxEvtHandler *dest;
3440 src = (wxPyWindow *) ptr;
3441 dest = (wxEvtHandler *) src;
3442 return (void *) dest;
3443}
3444
3445static 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))
3454static 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))
3521static 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))
3559static 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))
3591static 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))
3624static 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))
3654static 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))
3684static 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))
3732static 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))
3780static 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())
3828static 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())
3858static 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())
3888static 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())
3916static 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())
3944static 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())
3972static 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())
4000static 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())
4028static 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())
4056static 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
aaad759f
RD
4085#define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4086static 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))
4123static 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
b0e5c039
RD
4159static void *SwigwxPyControlTowxControl(void *ptr) {
4160 wxPyControl *src;
4161 wxControl *dest;
4162 src = (wxPyControl *) ptr;
4163 dest = (wxControl *) src;
4164 return (void *) dest;
4165}
4166
4167static void *SwigwxPyControlTowxWindow(void *ptr) {
4168 wxPyControl *src;
4169 wxWindow *dest;
4170 src = (wxPyControl *) ptr;
4171 dest = (wxWindow *) src;
4172 return (void *) dest;
4173}
4174
4175static void *SwigwxPyControlTowxEvtHandler(void *ptr) {
4176 wxPyControl *src;
4177 wxEvtHandler *dest;
4178 src = (wxPyControl *) ptr;
4179 dest = (wxEvtHandler *) src;
4180 return (void *) dest;
4181}
4182
4183static 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))
4192static 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) {
7e50db3f 4235 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
b0e5c039
RD
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))
4267static 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))
4305static 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))
4337static 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))
4370static 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))
4400static 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))
4430static 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))
4478static 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))
4526static 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())
4574static 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())
4604static 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())
4634static 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())
4662static 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())
4690static 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())
4718static 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())
4746static 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())
4774static 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())
4802static 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
aaad759f
RD
4831#define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4832static 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))
4869static 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
86a12675
RD
4905static void *SwigwxPyPanelTowxPanel(void *ptr) {
4906 wxPyPanel *src;
4907 wxPanel *dest;
4908 src = (wxPyPanel *) ptr;
4909 dest = (wxPanel *) src;
4910 return (void *) dest;
4911}
4912
4913static void *SwigwxPyPanelTowxWindow(void *ptr) {
4914 wxPyPanel *src;
4915 wxWindow *dest;
4916 src = (wxPyPanel *) ptr;
4917 dest = (wxWindow *) src;
4918 return (void *) dest;
4919}
4920
4921static void *SwigwxPyPanelTowxEvtHandler(void *ptr) {
4922 wxPyPanel *src;
4923 wxEvtHandler *dest;
4924 src = (wxPyPanel *) ptr;
4925 dest = (wxEvtHandler *) src;
4926 return (void *) dest;
4927}
4928
4929static 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))
4938static 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))
5005static 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))
5043static 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))
5075static 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))
5108static 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))
5138static 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))
5168static 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))
5216static 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))
5264static 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())
5312static 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())
5342static 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())
5372static 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())
5400static 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())
5428static 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())
5456static 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())
5484static 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())
5512static 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())
5540static 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
aaad759f
RD
5569#define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
5570static 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))
5607static 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
8ab979d7 5643static PyMethodDef windows2cMethods[] = {
aaad759f
RD
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 },
86a12675
RD
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 },
aaad759f
RD
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 },
b0e5c039
RD
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 },
aaad759f
RD
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 },
b0e5c039
RD
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 },
c368d904
RD
5704 { "wxTaskBarIcon_IsOK", (PyCFunction) _wrap_wxTaskBarIcon_IsOK, METH_VARARGS | METH_KEYWORDS },
5705 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_wxTaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
5a2a9da2 5711 { "new_wxTaskBarIconEvent", (PyCFunction) _wrap_new_wxTaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
3bd1e033
RD
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 },
09f3d4e6 5715 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 5716 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 5717 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
efc5f224 5718 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
5719 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
5720 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 5721 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
09f3d4e6 5722 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
efc5f224 5723 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
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 },
efc5f224 5728 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
5729 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
5730 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
5731 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
5732 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
5733 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
5734 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
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 },
09f3d4e6 5741 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
e06b17c0
RD
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 },
5a2a9da2 5753 { "wxNotebook_CalcSizeFromPage", (PyCFunction) _wrap_wxNotebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
e06b17c0 5754 { "wxNotebook_HitTest", (PyCFunction) _wrap_wxNotebook_HitTest, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 5755 { "wxNotebook_SetTabSize", (PyCFunction) _wrap_wxNotebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
c368d904 5756 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
efc5f224 5757 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
5758 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
5759 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
efc5f224 5760 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
e06b17c0
RD
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 },
8ab979d7
RD
5785 { NULL, NULL }
5786};
1d99702e
RD
5787#ifdef __cplusplus
5788}
5789#endif
5790/*
5791 * This table is used by the pointer type-checker
5792 */
5793static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5a2a9da2 5794 { "_wxEvent","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxEvent},
1d99702e 5795 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
e06b17c0 5796 { "_wxEvent","_wxListbookEvent",SwigwxListbookEventTowxEvent},
1d99702e 5797 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
e06b17c0 5798 { "_wxEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxEvent},
1d99702e 5799 { "_signed_long","_long",0},
b1462dfa 5800 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
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},
c368d904 5808 { "_wxPrintQuality","_time_t",0},
756ed80c 5809 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent},
e06b17c0 5810 { "_wxNotifyEvent","_wxListbookEvent",SwigwxListbookEventTowxNotifyEvent},
1d99702e 5811 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
e06b17c0 5812 { "_wxNotifyEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxNotifyEvent},
1d99702e 5813 { "_byte","_unsigned_char",0},
1d99702e
RD
5814 { "_long","_unsigned_long",0},
5815 { "_long","_signed_long",0},
b1462dfa 5816 { "_size_t","_wxCoord",0},
1d99702e 5817 { "_size_t","_wxPrintQuality",0},
c368d904 5818 { "_size_t","_time_t",0},
1d99702e
RD
5819 { "_size_t","_unsigned_int",0},
5820 { "_size_t","_int",0},
5821 { "_size_t","_wxWindowID",0},
5822 { "_size_t","_uint",0},
86a12675 5823 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel},
e06b17c0 5824 { "_wxBookCtrlEvent","_wxListbookEvent",SwigwxListbookEventTowxBookCtrlEvent},
b1462dfa 5825 { "_uint","_wxCoord",0},
1d99702e 5826 { "_uint","_wxPrintQuality",0},
c368d904 5827 { "_uint","_time_t",0},
1d99702e
RD
5828 { "_uint","_size_t",0},
5829 { "_uint","_unsigned_int",0},
5830 { "_uint","_int",0},
5831 { "_uint","_wxWindowID",0},
f6bcfd97 5832 { "_wxChar","_char",0},
1d99702e 5833 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
e06b17c0 5834 { "_wxCommandEvent","_wxListbookEvent",SwigwxListbookEventTowxCommandEvent},
1d99702e 5835 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
e06b17c0 5836 { "_wxCommandEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxCommandEvent},
f6bcfd97 5837 { "_char","_wxChar",0},
cdf14688 5838 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 5839 { "_EBool","_wxCoord",0},
1d99702e
RD
5840 { "_EBool","_wxPrintQuality",0},
5841 { "_EBool","_signed_int",0},
5842 { "_EBool","_int",0},
5843 { "_EBool","_wxWindowID",0},
1d99702e 5844 { "_unsigned_long","_long",0},
cdf14688 5845 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 5846 { "_signed_int","_wxCoord",0},
1d99702e
RD
5847 { "_signed_int","_wxPrintQuality",0},
5848 { "_signed_int","_EBool",0},
5849 { "_signed_int","_wxWindowID",0},
5850 { "_signed_int","_int",0},
1d99702e
RD
5851 { "_WXTYPE","_short",0},
5852 { "_WXTYPE","_signed_short",0},
5853 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
5854 { "_unsigned_short","_WXTYPE",0},
5855 { "_unsigned_short","_short",0},
86a12675 5856 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject},
b0e5c039
RD
5857 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
5858 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
9416aa89 5859 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject},
5a2a9da2 5860 { "_wxObject","_wxTaskBarIconEvent",SwigwxTaskBarIconEventTowxObject},
9416aa89 5861 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
9416aa89 5862 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
e06b17c0
RD
5863 { "_wxObject","_wxListbookEvent",SwigwxListbookEventTowxObject},
5864 { "_wxObject","_wxListbook",SwigwxListbookTowxObject},
9416aa89 5865 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
e06b17c0
RD
5866 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
5867 { "_wxObject","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxObject},
5868 { "_wxObject","_wxBookCtrl",SwigwxBookCtrlTowxObject},
1d99702e
RD
5869 { "_signed_short","_WXTYPE",0},
5870 { "_signed_short","_short",0},
1d99702e 5871 { "_unsigned_char","_byte",0},
b0e5c039 5872 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl},
e06b17c0 5873 { "_wxControl","_wxListbook",SwigwxListbookTowxControl},
1d99702e 5874 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
e06b17c0 5875 { "_wxControl","_wxBookCtrl",SwigwxBookCtrlTowxControl},
b1462dfa 5876 { "_unsigned_int","_wxCoord",0},
1d99702e 5877 { "_unsigned_int","_wxPrintQuality",0},
c368d904 5878 { "_unsigned_int","_time_t",0},
1d99702e
RD
5879 { "_unsigned_int","_size_t",0},
5880 { "_unsigned_int","_uint",0},
5881 { "_unsigned_int","_wxWindowID",0},
5882 { "_unsigned_int","_int",0},
1d99702e
RD
5883 { "_short","_WXTYPE",0},
5884 { "_short","_unsigned_short",0},
5885 { "_short","_signed_short",0},
e06b17c0
RD
5886 { "_wxBookCtrl","_wxListbook",SwigwxListbookTowxBookCtrl},
5887 { "_wxBookCtrl","_wxNotebook",SwigwxNotebookTowxBookCtrl},
b1462dfa 5888 { "_wxWindowID","_wxCoord",0},
1d99702e 5889 { "_wxWindowID","_wxPrintQuality",0},
c368d904 5890 { "_wxWindowID","_time_t",0},
1d99702e
RD
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},
b1462dfa 5897 { "_int","_wxCoord",0},
1d99702e 5898 { "_int","_wxPrintQuality",0},
c368d904 5899 { "_int","_time_t",0},
1d99702e
RD
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},
c368d904
RD
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},
b1462dfa
RD
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},
c368d904 5920 { "_wxCoord","_time_t",0},
b1462dfa 5921 { "_wxCoord","_wxPrintQuality",0},
86a12675 5922 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler},
b0e5c039
RD
5923 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler},
5924 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler},
1d99702e 5925 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler},
1d99702e 5926 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
e06b17c0 5927 { "_wxEvtHandler","_wxListbook",SwigwxListbookTowxEvtHandler},
1d99702e 5928 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
e06b17c0 5929 { "_wxEvtHandler","_wxBookCtrl",SwigwxBookCtrlTowxEvtHandler},
86a12675 5930 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow},
b0e5c039
RD
5931 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow},
5932 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow},
1d99702e 5933 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
e06b17c0 5934 { "_wxWindow","_wxListbook",SwigwxListbookTowxWindow},
1d99702e 5935 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
e06b17c0 5936 { "_wxWindow","_wxBookCtrl",SwigwxBookCtrlTowxWindow},
1d99702e
RD
5937{0,0,0}};
5938
8ab979d7
RD
5939static PyObject *SWIG_globals;
5940#ifdef __cplusplus
5941extern "C"
5942#endif
1d99702e 5943SWIGEXPORT(void) initwindows2c() {
8ab979d7
RD
5944 PyObject *m, *d;
5945 SWIG_globals = SWIG_newvarlink();
5946 m = Py_InitModule("windows2c", windows2cMethods);
5947 d = PyModule_GetDict(m);
1b62f00d
RD
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));
5a2a9da2
RD
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));
e06b17c0
RD
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));
1b62f00d
RD
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));
f6bcfd97
BP
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));
5a2a9da2
RD
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));
b639c3c5
RD
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));
1d99702e
RD
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}
8ab979d7 6001}