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