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