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