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