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