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