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