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