]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
51 | |
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
cc6dd355 RD |
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
d14a1e28 | 82 | #else |
cc6dd355 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
cc6dd355 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
93 | #ifdef __cplusplus |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
cc6dd355 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
cc6dd355 | 104 | void *clientdata; |
d14a1e28 RD |
105 | swig_dycast_func dcast; |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
120 | |
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
cc6dd355 | 126 | |
d14a1e28 RD |
127 | /*********************************************************************** |
128 | * pyrun.swg for wxPython | |
129 | * | |
130 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
131 | * but not the runtime functions themselves. This helps keep the | |
132 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
133 | * anyway. | |
134 | * | |
135 | ************************************************************************/ | |
136 | ||
d14a1e28 RD |
137 | #include "Python.h" |
138 | ||
139 | #ifdef __cplusplus | |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | #define SWIG_PY_INT 1 | |
144 | #define SWIG_PY_FLOAT 2 | |
145 | #define SWIG_PY_STRING 3 | |
146 | #define SWIG_PY_POINTER 4 | |
147 | #define SWIG_PY_BINARY 5 | |
148 | ||
149 | /* Flags for pointer conversion */ | |
150 | ||
151 | #define SWIG_POINTER_EXCEPTION 0x1 | |
152 | #define SWIG_POINTER_DISOWN 0x2 | |
153 | ||
154 | /* Exception handling in wrappers */ | |
155 | #define SWIG_fail goto fail | |
156 | ||
157 | /* Constant information structure */ | |
158 | typedef struct swig_const_info { | |
159 | int type; | |
160 | char *name; | |
161 | long lvalue; | |
162 | double dvalue; | |
163 | void *pvalue; | |
164 | swig_type_info **ptype; | |
165 | } swig_const_info; | |
166 | ||
d14a1e28 RD |
167 | /* Common SWIG API */ |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 174 | |
d14a1e28 RD |
175 | /* Python-specific SWIG API */ |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
182 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
183 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
184 | #define SWIG_InstallConstants(d, constants) \ | |
185 | SWIG_Python_InstallConstants(d, constants) | |
186 | ||
994141e6 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
cc6dd355 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
994141e6 RD |
198 | /* ----------------------------------------------------------------------------- |
199 | * the needed conversions between C++ and python | |
200 | * ----------------------------------------------------------------------------- */ | |
201 | /* basic types */ | |
202 | /* | |
203 | utilities | |
204 | */ | |
205 | SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info); | |
206 | SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr); | |
207 | SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj); | |
208 | SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type, | |
209 | long min_value, long max_value); | |
210 | SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type, | |
211 | unsigned long max_value); | |
212 | SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info); | |
213 | SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info, | |
214 | char** cptr, size_t* size); | |
215 | SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info, | |
216 | char* carray, size_t size); | |
217 | SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size); | |
218 | SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv); | |
d14a1e28 RD |
219 | |
220 | ||
221 | /* Contract support */ | |
222 | ||
9d1d5697 | 223 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 224 | |
d14a1e28 RD |
225 | #ifdef __cplusplus |
226 | } | |
227 | #endif | |
228 | ||
229 | ||
230 | ||
231 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
232 | ||
233 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
234 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
235 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
1e0c8722 RD |
236 | #define SWIGTYPE_p_wxPyPanel swig_types[3] |
237 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
238 | #define SWIGTYPE_p_wxPrintData swig_types[5] | |
239 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
240 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
241 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] | |
242 | #define SWIGTYPE_p_wxIconBundle swig_types[9] | |
243 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] | |
244 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[11] | |
245 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[12] | |
246 | #define SWIGTYPE_p_wxFont swig_types[13] | |
247 | #define SWIGTYPE_p_wxSplitterEvent swig_types[14] | |
248 | #define SWIGTYPE_p_wxRegion swig_types[15] | |
249 | #define SWIGTYPE_p_wxFindReplaceData swig_types[16] | |
250 | #define SWIGTYPE_p_int swig_types[17] | |
251 | #define SWIGTYPE_p_wxSize swig_types[18] | |
252 | #define SWIGTYPE_p_wxDC swig_types[19] | |
253 | #define SWIGTYPE_p_wxIcon swig_types[20] | |
254 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[21] | |
255 | #define SWIGTYPE_p_wxColourData swig_types[22] | |
256 | #define SWIGTYPE_p_wxNotifyEvent swig_types[23] | |
257 | #define SWIGTYPE_p_wxPyWindow swig_types[24] | |
258 | #define SWIGTYPE_p_wxSplashScreen swig_types[25] | |
259 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] | |
260 | #define SWIGTYPE_p_wxProgressDialog swig_types[27] | |
261 | #define SWIGTYPE_p_wxMessageDialog swig_types[28] | |
262 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[29] | |
263 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] | |
264 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] | |
265 | #define SWIGTYPE_p_wxFileDialog swig_types[32] | |
266 | #define SWIGTYPE_p_wxPrinter swig_types[33] | |
267 | #define SWIGTYPE_p_wxArrayInt swig_types[34] | |
268 | #define SWIGTYPE_p_wxEvtHandler swig_types[35] | |
269 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] | |
270 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] | |
271 | #define SWIGTYPE_p_wxPyVListBox swig_types[38] | |
272 | #define SWIGTYPE_p_wxRect swig_types[39] | |
994141e6 RD |
273 | #define SWIGTYPE_p_char swig_types[40] |
274 | #define SWIGTYPE_p_wxMiniFrame swig_types[41] | |
275 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
276 | #define SWIGTYPE_p_wxPyPrintout swig_types[43] | |
277 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44] | |
278 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[45] | |
279 | #define SWIGTYPE_p_wxStatusBar swig_types[46] | |
280 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[47] | |
281 | #define SWIGTYPE_p_wxPoint swig_types[48] | |
282 | #define SWIGTYPE_p_wxObject swig_types[49] | |
db914595 RD |
283 | #define SWIGTYPE_p_wxOutputStream swig_types[50] |
284 | #define SWIGTYPE_p_unsigned_long swig_types[51] | |
285 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[52] | |
286 | #define SWIGTYPE_p_wxTipWindow swig_types[53] | |
287 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54] | |
288 | #define SWIGTYPE_p_wxSplitterWindow swig_types[55] | |
289 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56] | |
290 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57] | |
291 | #define SWIGTYPE_p_wxPopupWindow swig_types[58] | |
292 | #define SWIGTYPE_p_wxSashWindow swig_types[59] | |
293 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[60] | |
294 | #define SWIGTYPE_p_wxWindow swig_types[61] | |
295 | #define SWIGTYPE_p_wxScrolledWindow swig_types[62] | |
296 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63] | |
297 | #define SWIGTYPE_p_wxMenuBar swig_types[64] | |
298 | #define SWIGTYPE_p_wxPrintPreview swig_types[65] | |
299 | #define SWIGTYPE_p_wxSashEvent swig_types[66] | |
300 | #define SWIGTYPE_p_wxString swig_types[67] | |
301 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[68] | |
994141e6 RD |
302 | #define SWIGTYPE_p_wxFontDialog swig_types[69] |
303 | #define SWIGTYPE_p_wxDirDialog swig_types[70] | |
304 | #define SWIGTYPE_p_wxColourDialog swig_types[71] | |
305 | #define SWIGTYPE_p_wxDialog swig_types[72] | |
306 | #define SWIGTYPE_p_wxPanel swig_types[73] | |
db914595 RD |
307 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[74] |
308 | #define SWIGTYPE_p_wxPrintDialog swig_types[75] | |
309 | #define SWIGTYPE_p_wxBitmap swig_types[76] | |
310 | #define SWIGTYPE_p_wxCommandEvent swig_types[77] | |
311 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[78] | |
312 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79] | |
313 | #define SWIGTYPE_p_wxColour swig_types[80] | |
314 | #define SWIGTYPE_p_wxToolBar swig_types[81] | |
315 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82] | |
316 | #define SWIGTYPE_p_wxPrintDialogData swig_types[83] | |
317 | static swig_type_info *swig_types[85]; | |
d14a1e28 RD |
318 | |
319 | /* -------- TYPES TABLE (END) -------- */ | |
320 | ||
321 | ||
322 | /*----------------------------------------------- | |
323 | @(target):= _windows.so | |
324 | ------------------------------------------------*/ | |
325 | #define SWIG_init init_windows | |
326 | ||
327 | #define SWIG_name "_windows" | |
328 | ||
994141e6 RD |
329 | #include <limits.h> |
330 | #include <float.h> | |
331 | #include <string.h> | |
332 | ||
333 | #ifndef SWIGSTATIC | |
334 | #ifdef __cplusplus | |
335 | #define SWIGSTATIC(a) static inline a | |
336 | #else | |
337 | #define SWIGSTATIC(a) static a | |
338 | #endif | |
339 | #endif | |
340 | ||
341 | #ifndef numeric_cast | |
342 | #ifdef __cplusplus | |
343 | #ifdef HAVE_NUMERIC_CAST | |
344 | #define numeric_cast(type,a) numeric_cast<type>(a) | |
345 | #else | |
346 | #define numeric_cast(type,a) static_cast<type>(a) | |
347 | #endif | |
348 | #else | |
349 | #define numeric_cast(type,a) (type)(a) | |
350 | #endif | |
351 | #endif | |
352 | ||
353 | ||
354 | ||
355 | #define SWIG_PyObj_FromSignedChar PyInt_FromLong | |
356 | #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong | |
357 | #define SWIG_PyObj_FromShort PyInt_FromLong | |
358 | #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong | |
359 | #define SWIG_PyObj_FromInt PyInt_FromLong | |
360 | #define SWIG_PyObj_FromLong PyInt_FromLong | |
361 | #define SWIG_PyObj_FromFloat PyFloat_FromDouble | |
362 | #define SWIG_PyObj_FromDouble PyFloat_FromDouble | |
363 | #define SWIG_PyObj_FromFloat PyFloat_FromDouble | |
364 | #define SWIG_PyObj_FromDouble PyFloat_FromDouble | |
365 | ||
366 | ||
d14a1e28 RD |
367 | #include "wx/wxPython/wxPython.h" |
368 | #include "wx/wxPython/pyclasses.h" | |
369 | ||
d14a1e28 | 370 | |
b2dc1044 RD |
371 | static const wxString wxPyEmptyString(wxEmptyString); |
372 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
373 | |
374 | ||
375 | ||
994141e6 RD |
376 | SWIGSTATIC(int) |
377 | SWIG_PyObj_AsInt(PyObject *obj) | |
378 | { | |
379 | return numeric_cast(int, | |
380 | SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX)); | |
381 | } | |
382 | ||
383 | ||
384 | SWIGSTATIC(long) | |
385 | SWIG_PyObj_AsLong(PyObject * obj) | |
386 | { | |
387 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
388 | } | |
389 | ||
390 | ||
994141e6 RD |
391 | SWIGSTATIC(bool) |
392 | SWIG_PyObj_AsBool(PyObject *obj) | |
393 | { | |
394 | return PyObject_IsTrue(obj) ? true : false; | |
395 | } | |
396 | ||
397 | ||
d14a1e28 RD |
398 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
399 | PyObject* o2; | |
400 | PyObject* o3; | |
401 | ||
402 | if (!target) { | |
403 | target = o; | |
404 | } else if (target == Py_None) { | |
405 | Py_DECREF(Py_None); | |
406 | target = o; | |
407 | } else { | |
408 | if (!PyTuple_Check(target)) { | |
409 | o2 = target; | |
410 | target = PyTuple_New(1); | |
411 | PyTuple_SetItem(target, 0, o2); | |
412 | } | |
413 | o3 = PyTuple_New(1); | |
414 | PyTuple_SetItem(o3, 0, o); | |
415 | ||
416 | o2 = target; | |
417 | target = PySequence_Concat(o2, o3); | |
418 | Py_DECREF(o2); | |
419 | Py_DECREF(o3); | |
420 | } | |
421 | return target; | |
422 | } | |
423 | ||
994141e6 RD |
424 | |
425 | SWIGSTATIC(double) | |
426 | SWIG_PyObj_AsDouble(PyObject *obj) | |
427 | { | |
428 | return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) : | |
429 | #if HAVE_LONG_LONG | |
430 | (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj)); | |
431 | #else | |
432 | (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj)); | |
433 | #endif | |
434 | if (PyErr_Occurred()) { | |
435 | PyErr_Clear(); | |
436 | PyErr_SetString(PyExc_TypeError, "a double is expected"); | |
437 | } | |
438 | } | |
439 | ||
b2dc1044 RD |
440 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
441 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
442 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
443 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
444 | bool wxDialog_IsModalShowing(wxDialog *self){ |
445 | ||
446 | return self->m_modalShowing; | |
447 | ||
448 | ||
449 | ||
450 | } | |
451 | ||
452 | ||
7722248d RD |
453 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
454 | wxRect r; | |
455 | self->GetFieldRect(i, r); | |
456 | return r; | |
457 | } | |
33b885b9 RD |
458 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
459 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
460 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
461 | |
462 | #include <wx/popupwin.h> | |
463 | ||
464 | ||
465 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
466 | { | |
467 | public: | |
468 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
469 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
470 | : wxPopupTransientWindow(parent, style) {} | |
471 | ||
472 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
473 | DEC_PYCALLBACK__(OnDismiss); | |
474 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
475 | PYPRIVATE; | |
476 | }; | |
477 | ||
478 | ||
479 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
480 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
481 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
482 | ||
483 | ||
484 | #include <wx/tipwin.h> | |
485 | ||
fd3f2efe RD |
486 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
487 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
488 | } |
489 | ||
490 | #include <wx/tipwin.h> | |
491 | ||
492 | ||
493 | #include <wx/vscroll.h> | |
494 | ||
495 | ||
496 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
497 | { | |
498 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
499 | public: | |
500 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
501 | ||
502 | wxPyVScrolledWindow(wxWindow *parent, | |
503 | wxWindowID id = wxID_ANY, | |
504 | const wxPoint& pos = wxDefaultPosition, | |
505 | const wxSize& size = wxDefaultSize, | |
506 | long style = 0, | |
507 | const wxString& name = wxPyPanelNameStr) | |
508 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
509 | {} | |
510 | ||
511 | // Overridable virtuals | |
512 | ||
513 | // this function must be overridden in the derived class and it should | |
514 | // return the height of the given line in pixels | |
515 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
516 | ||
517 | ||
518 | // this function doesn't have to be overridden but it may be useful to do | |
519 | // it if calculating the lines heights is a relatively expensive operation | |
520 | // as it gives the user code a possibility to calculate several of them at | |
521 | // once | |
522 | // | |
523 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
524 | // shouldn't rely on the latter being called for all lines in the interval | |
525 | // specified here. It is also possible that OnGetLineHeight() will be | |
526 | // called for the lines outside of this interval, so this is really just a | |
527 | // hint, not a promise. | |
528 | // | |
529 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
530 | // usual | |
531 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
532 | ||
533 | ||
534 | // when the number of lines changes, we try to estimate the total height | |
535 | // of all lines which is a rather expensive operation in terms of lines | |
536 | // access, so if the user code may estimate the average height | |
537 | // better/faster than we do, it should override this function to implement | |
538 | // its own logic | |
539 | // | |
540 | // this function should return the best guess for the total height it may | |
541 | // make | |
542 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
543 | ||
544 | ||
545 | // Also expose some other interesting protected methods | |
546 | ||
547 | ||
548 | // find the index of the line we need to show at the top of the window such | |
549 | // that the last (fully or partially) visible line is the given one | |
e811c8ce | 550 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
551 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
552 | ||
553 | // get the total height of the lines between lineMin (inclusive) and | |
554 | // lineMax (exclusive) | |
555 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
556 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
557 | ||
558 | ||
559 | PYPRIVATE; | |
560 | }; | |
561 | ||
562 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
563 | ||
564 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
565 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
566 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
567 | ||
568 | ||
994141e6 RD |
569 | SWIGSTATIC(PyObject* ) |
570 | SWIG_PyObj_FromUnsignedLong(unsigned long value) | |
571 | { | |
572 | return (value > (unsigned long)(LONG_MAX)) ? | |
573 | PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value); | |
574 | } | |
575 | ||
576 | ||
d14a1e28 | 577 | #include <wx/vlbox.h> |
d14a1e28 | 578 | |
b2dc1044 | 579 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
580 | |
581 | class wxPyVListBox : public wxVListBox | |
582 | { | |
583 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
584 | public: | |
585 | wxPyVListBox() : wxVListBox() {} | |
586 | ||
587 | wxPyVListBox(wxWindow *parent, | |
588 | wxWindowID id = wxID_ANY, | |
589 | const wxPoint& pos = wxDefaultPosition, | |
590 | const wxSize& size = wxDefaultSize, | |
591 | long style = 0, | |
592 | const wxString& name = wxPyVListBoxNameStr) | |
593 | : wxVListBox(parent, id, pos, size, style, name) | |
594 | {} | |
595 | ||
596 | // Overridable virtuals | |
597 | ||
598 | // the derived class must implement this function to actually draw the item | |
599 | // with the given index on the provided DC | |
600 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
601 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
602 | ||
603 | ||
604 | // the derived class must implement this method to return the height of the | |
605 | // specified item | |
606 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
607 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
608 | ||
609 | ||
610 | // this method may be used to draw separators between the lines; note that | |
611 | // the rectangle may be modified, typically to deflate it a bit before | |
612 | // passing to OnDrawItem() | |
613 | // | |
614 | // the base class version doesn't do anything | |
615 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
616 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
617 | ||
618 | ||
619 | // this method is used to draw the items background and, maybe, a border | |
620 | // around it | |
621 | // | |
622 | // the base class version implements a reasonable default behaviour which | |
623 | // consists in drawing the selected item with the standard background | |
624 | // colour and drawing a border around the item if it is either selected or | |
625 | // current | |
626 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
627 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
628 | ||
629 | ||
630 | PYPRIVATE; | |
631 | }; | |
632 | ||
633 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
634 | ||
635 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
636 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
637 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
638 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
639 | ||
640 | ||
641 | ||
642 | #include <wx/htmllbox.h> | |
643 | ||
644 | ||
645 | class wxPyHtmlListBox : public wxHtmlListBox | |
646 | { | |
647 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
648 | public: | |
649 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
650 | ||
651 | wxPyHtmlListBox(wxWindow *parent, | |
652 | wxWindowID id = wxID_ANY, | |
653 | const wxPoint& pos = wxDefaultPosition, | |
654 | const wxSize& size = wxDefaultSize, | |
655 | long style = 0, | |
656 | const wxString& name = wxPyVListBoxNameStr) | |
657 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
658 | {} | |
659 | ||
660 | // Overridable virtuals | |
661 | ||
662 | // this method must be implemented in the derived class and should return | |
663 | // the body (i.e. without <html>) of the HTML for the given item | |
664 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
665 | ||
666 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
667 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
668 | ||
669 | // TODO: | |
670 | // // this method allows to customize the selection appearance: it may be used | |
671 | // // to specify the colour of the text which normally has the given colour | |
672 | // // colFg when it is inside the selection | |
673 | // // | |
674 | // // by default, the original colour is not used at all and all text has the | |
675 | // // same (default for this system) colour inside selection | |
676 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
677 | ||
678 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
679 | // // background colour -- this is even more rarely used as you can change it | |
680 | // // globally using SetSelectionBackground() | |
681 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
682 | ||
683 | ||
684 | PYPRIVATE; | |
685 | }; | |
686 | ||
687 | ||
688 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
689 | ||
690 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
691 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
692 | ||
693 | ||
694 | ||
695 | ||
696 | ||
697 | #ifdef __WXMAC__ | |
698 | // implement dummy classes and such for wxMac | |
699 | ||
700 | class wxTaskBarIcon : public wxEvtHandler | |
701 | { | |
702 | public: | |
39f61e25 | 703 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
704 | }; |
705 | ||
706 | ||
707 | class wxTaskBarIconEvent : public wxEvent | |
708 | { | |
709 | public: | |
710 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 711 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
712 | virtual wxEvent* Clone() const { return NULL; } |
713 | }; | |
714 | ||
715 | enum { | |
716 | wxEVT_TASKBAR_MOVE = 0, | |
717 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
718 | wxEVT_TASKBAR_LEFT_UP = 0, | |
719 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
720 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
721 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
722 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
723 | }; | |
724 | #endif | |
725 | ||
b2dc1044 RD |
726 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
727 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
728 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
729 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
730 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
731 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
732 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
733 | wxArrayString arr; | |
734 | self->GetFilenames(arr); | |
735 | return wxArrayString2PyList_helper(arr); | |
736 | } | |
737 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
738 | wxArrayString arr; | |
739 | self->GetPaths(arr); | |
740 | return wxArrayString2PyList_helper(arr); | |
741 | } | |
742 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
743 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
744 | } | |
745 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
746 | return new wxSingleChoiceDialog(parent, message, caption, | |
747 | choices, choices_array, NULL, style, pos); | |
748 | } | |
749 | ||
750 | #include <wx/mdi.h> | |
751 | ||
752 | // C++ version of Python aware wxWindow | |
753 | class wxPyWindow : public wxWindow | |
754 | { | |
755 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
756 | public: | |
757 | wxPyWindow() : wxWindow() {} | |
758 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
759 | const wxPoint& pos = wxDefaultPosition, | |
760 | const wxSize& size = wxDefaultSize, | |
761 | long style = 0, | |
762 | const wxString& name = wxPyPanelNameStr) | |
763 | : wxWindow(parent, id, pos, size, style, name) {} | |
764 | ||
765 | ||
766 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
767 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
768 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
769 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
770 | ||
771 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
772 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
773 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
774 | ||
775 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
776 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
777 | ||
778 | DEC_PYCALLBACK__(InitDialog); | |
779 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
780 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
781 | DEC_PYCALLBACK_BOOL_(Validate); | |
782 | ||
783 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
784 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
785 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
786 | ||
787 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
788 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
789 | ||
790 | PYPRIVATE; | |
791 | }; | |
792 | ||
793 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
794 | ||
795 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
796 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
797 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
798 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
799 | ||
800 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
801 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
802 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
803 | ||
804 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
805 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
806 | ||
807 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
808 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
809 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
810 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
811 | ||
812 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
813 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
814 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
815 | ||
816 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
817 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
818 | ||
819 | ||
820 | // C++ version of Python aware wxPanel | |
821 | class wxPyPanel : public wxPanel | |
822 | { | |
823 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
824 | public: | |
825 | wxPyPanel() : wxPanel() {} | |
826 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
827 | const wxPoint& pos = wxDefaultPosition, | |
828 | const wxSize& size = wxDefaultSize, | |
829 | long style = 0, | |
830 | const wxString& name = wxPyPanelNameStr) | |
831 | : wxPanel(parent, id, pos, size, style, name) {} | |
832 | ||
833 | ||
834 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
835 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
836 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
837 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
838 | ||
839 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
840 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
841 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
842 | ||
843 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
844 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
845 | ||
846 | DEC_PYCALLBACK__(InitDialog); | |
847 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
848 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
849 | DEC_PYCALLBACK_BOOL_(Validate); | |
850 | ||
851 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
852 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
853 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
854 | ||
855 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
856 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
857 | ||
858 | PYPRIVATE; | |
859 | }; | |
860 | ||
861 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
862 | ||
863 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
864 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
865 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
866 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
867 | ||
868 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
869 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
870 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
871 | ||
872 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
873 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
874 | ||
875 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
876 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
877 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
878 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
879 | ||
880 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
881 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
882 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
883 | ||
884 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
885 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
886 | ||
887 | ||
888 | ||
889 | #include "wx/wxPython/printfw.h" | |
890 | ||
d14a1e28 | 891 | |
33b885b9 RD |
892 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
893 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
894 | |
895 | ||
896 | ||
897 | // Since this one would be tough and ugly to do with the Macros... | |
898 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 899 | bool hadErr = False; |
d14a1e28 RD |
900 | bool found; |
901 | ||
902 | wxPyBeginBlockThreads(); | |
903 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
904 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
905 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
906 | PyObject* val; | |
907 | ||
908 | val = PyTuple_GetItem(result, 0); | |
909 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 910 | else hadErr = True; |
d14a1e28 RD |
911 | |
912 | val = PyTuple_GetItem(result, 1); | |
913 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 914 | else hadErr = True; |
d14a1e28 RD |
915 | |
916 | val = PyTuple_GetItem(result, 2); | |
917 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 918 | else hadErr = True; |
d14a1e28 RD |
919 | |
920 | val = PyTuple_GetItem(result, 3); | |
921 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 922 | else hadErr = True; |
d14a1e28 RD |
923 | } |
924 | else | |
e811c8ce | 925 | hadErr = True; |
d14a1e28 RD |
926 | |
927 | if (hadErr) { | |
928 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
929 | PyErr_Print(); | |
930 | } | |
931 | Py_DECREF(result); | |
932 | } | |
933 | wxPyEndBlockThreads(); | |
934 | if (! found) | |
935 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
936 | } | |
937 | ||
938 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
939 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
940 | } | |
941 | ||
942 | ||
943 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
944 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
945 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
946 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
947 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
948 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
949 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
950 | ||
951 | ||
952 | ||
953 | ||
954 | ||
955 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
956 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
957 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
958 | ||
959 | ||
960 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
961 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 962 | bool rval=False; \ |
d14a1e28 RD |
963 | bool found; \ |
964 | wxPyBeginBlockThreads(); \ | |
965 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
966 | PyObject* win = wxPyMake_wxObject(a); \ | |
967 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
968 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
969 | Py_DECREF(win); \ | |
970 | Py_DECREF(dc); \ | |
971 | } \ | |
972 | wxPyEndBlockThreads(); \ | |
973 | if (! found) \ | |
974 | rval = PCLASS::CBNAME(a, b); \ | |
975 | return rval; \ | |
976 | } \ | |
977 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
978 | return PCLASS::CBNAME(a, b); \ | |
979 | } | |
980 | ||
981 | ||
982 | ||
983 | ||
984 | class wxPyPrintPreview : public wxPrintPreview | |
985 | { | |
986 | DECLARE_CLASS(wxPyPrintPreview) | |
987 | public: | |
988 | wxPyPrintPreview(wxPyPrintout* printout, | |
989 | wxPyPrintout* printoutForPrinting, | |
990 | wxPrintData* data=NULL) | |
991 | : wxPrintPreview(printout, printoutForPrinting, data) | |
992 | {} | |
993 | ||
994 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
995 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
996 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
997 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
998 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
999 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1000 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1001 | ||
1002 | PYPRIVATE; | |
1003 | }; | |
1004 | ||
1005 | // Stupid renamed classes... Fix this in 2.5... | |
1006 | #if defined(__WXMSW__) | |
1007 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1008 | #elif defined(__WXMAC__) | |
1009 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1010 | #else | |
1011 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1012 | #endif | |
1013 | ||
1014 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1015 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1016 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1017 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1018 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1019 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1020 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1021 | ||
1022 | ||
1023 | class wxPyPreviewFrame : public wxPreviewFrame | |
1024 | { | |
1025 | DECLARE_CLASS(wxPyPreviewFrame); | |
1026 | public: | |
1027 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1028 | const wxString& title, | |
1029 | const wxPoint& pos = wxDefaultPosition, | |
1030 | const wxSize& size = wxDefaultSize, | |
1031 | long style = wxDEFAULT_FRAME_STYLE, | |
1032 | const wxString& name = wxPyFrameNameStr) | |
1033 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1034 | {} | |
1035 | ||
1036 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1037 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1038 | ||
1039 | DEC_PYCALLBACK_VOID_(Initialize); | |
1040 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1041 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1042 | ||
1043 | PYPRIVATE; | |
1044 | }; | |
1045 | ||
1046 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1047 | ||
1048 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1049 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1050 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1051 | ||
1052 | ||
1053 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1054 | { | |
1055 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1056 | public: | |
1057 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1058 | long buttons, | |
1059 | wxWindow *parent, | |
1060 | const wxPoint& pos = wxDefaultPosition, | |
1061 | const wxSize& size = wxDefaultSize, | |
1062 | long style = 0, | |
1063 | const wxString& name = wxPyPanelNameStr) | |
1064 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1065 | {} | |
1066 | ||
1067 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1068 | ||
1069 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1070 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1071 | ||
1072 | PYPRIVATE; | |
1073 | }; | |
1074 | ||
1075 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1076 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1077 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1078 | ||
1079 | #ifdef __cplusplus | |
1080 | extern "C" { | |
1081 | #endif | |
1082 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1083 | PyObject *resultobj; | |
1084 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1085 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1086 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1087 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1088 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1089 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1090 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1091 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1092 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1093 | wxPanel *result; | |
1094 | wxPoint temp3 ; | |
1095 | wxSize temp4 ; | |
e811c8ce | 1096 | bool temp6 = False ; |
d14a1e28 | 1097 | PyObject * obj0 = 0 ; |
994141e6 | 1098 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1099 | PyObject * obj2 = 0 ; |
1100 | PyObject * obj3 = 0 ; | |
994141e6 | 1101 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1102 | PyObject * obj5 = 0 ; |
1103 | char *kwnames[] = { | |
1104 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1105 | }; | |
1106 | ||
994141e6 | 1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 1108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1109 | if (obj1) { |
1110 | { | |
1111 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
1112 | if (PyErr_Occurred()) SWIG_fail; | |
1113 | } | |
1114 | } | |
d14a1e28 RD |
1115 | if (obj2) { |
1116 | { | |
1117 | arg3 = &temp3; | |
1118 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1119 | } | |
1120 | } | |
1121 | if (obj3) { | |
1122 | { | |
1123 | arg4 = &temp4; | |
1124 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1125 | } | |
1126 | } | |
994141e6 RD |
1127 | if (obj4) { |
1128 | { | |
1129 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
1130 | if (PyErr_Occurred()) SWIG_fail; | |
1131 | } | |
1132 | } | |
d14a1e28 RD |
1133 | if (obj5) { |
1134 | { | |
1135 | arg6 = wxString_in_helper(obj5); | |
1136 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1137 | temp6 = True; |
d14a1e28 RD |
1138 | } |
1139 | } | |
1140 | { | |
1141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1142 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1143 | ||
1144 | wxPyEndAllowThreads(__tstate); | |
1145 | if (PyErr_Occurred()) SWIG_fail; | |
1146 | } | |
1147 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1148 | { | |
1149 | if (temp6) | |
1150 | delete arg6; | |
1151 | } | |
1152 | return resultobj; | |
1153 | fail: | |
1154 | { | |
1155 | if (temp6) | |
1156 | delete arg6; | |
1157 | } | |
1158 | return NULL; | |
1159 | } | |
1160 | ||
1161 | ||
1162 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1163 | PyObject *resultobj; | |
1164 | wxPanel *result; | |
1165 | char *kwnames[] = { | |
1166 | NULL | |
1167 | }; | |
1168 | ||
1169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1170 | { | |
1171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1172 | result = (wxPanel *)new wxPanel(); | |
1173 | ||
1174 | wxPyEndAllowThreads(__tstate); | |
1175 | if (PyErr_Occurred()) SWIG_fail; | |
1176 | } | |
1177 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1178 | return resultobj; | |
1179 | fail: | |
1180 | return NULL; | |
1181 | } | |
1182 | ||
1183 | ||
1184 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1185 | PyObject *resultobj; | |
1186 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1187 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1188 | int arg3 ; |
d14a1e28 RD |
1189 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1190 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1191 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1192 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1193 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1194 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1195 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1196 | bool result; | |
1197 | wxPoint temp4 ; | |
1198 | wxSize temp5 ; | |
e811c8ce | 1199 | bool temp7 = False ; |
d14a1e28 RD |
1200 | PyObject * obj0 = 0 ; |
1201 | PyObject * obj1 = 0 ; | |
994141e6 | 1202 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1203 | PyObject * obj3 = 0 ; |
1204 | PyObject * obj4 = 0 ; | |
994141e6 | 1205 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1206 | PyObject * obj6 = 0 ; |
1207 | char *kwnames[] = { | |
1208 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1209 | }; | |
1210 | ||
994141e6 | 1211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
1212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
1213 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
1214 | { |
1215 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
1216 | if (PyErr_Occurred()) SWIG_fail; | |
1217 | } | |
d14a1e28 RD |
1218 | if (obj3) { |
1219 | { | |
1220 | arg4 = &temp4; | |
1221 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1222 | } | |
1223 | } | |
1224 | if (obj4) { | |
1225 | { | |
1226 | arg5 = &temp5; | |
1227 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1228 | } | |
1229 | } | |
994141e6 RD |
1230 | if (obj5) { |
1231 | { | |
1232 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
1233 | if (PyErr_Occurred()) SWIG_fail; | |
1234 | } | |
1235 | } | |
d14a1e28 RD |
1236 | if (obj6) { |
1237 | { | |
1238 | arg7 = wxString_in_helper(obj6); | |
1239 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1240 | temp7 = True; |
d14a1e28 RD |
1241 | } |
1242 | } | |
1243 | { | |
1244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1245 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1246 | ||
1247 | wxPyEndAllowThreads(__tstate); | |
1248 | if (PyErr_Occurred()) SWIG_fail; | |
1249 | } | |
4d5c3d91 | 1250 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1251 | { |
1252 | if (temp7) | |
1253 | delete arg7; | |
1254 | } | |
1255 | return resultobj; | |
1256 | fail: | |
1257 | { | |
1258 | if (temp7) | |
1259 | delete arg7; | |
1260 | } | |
1261 | return NULL; | |
1262 | } | |
1263 | ||
1264 | ||
1265 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1266 | PyObject *resultobj; | |
1267 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1268 | PyObject * obj0 = 0 ; | |
1269 | char *kwnames[] = { | |
1270 | (char *) "self", NULL | |
1271 | }; | |
1272 | ||
1273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1274 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1275 | { | |
1276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1277 | (arg1)->InitDialog(); | |
1278 | ||
1279 | wxPyEndAllowThreads(__tstate); | |
1280 | if (PyErr_Occurred()) SWIG_fail; | |
1281 | } | |
1282 | Py_INCREF(Py_None); resultobj = Py_None; | |
1283 | return resultobj; | |
1284 | fail: | |
1285 | return NULL; | |
1286 | } | |
1287 | ||
1288 | ||
1289 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1290 | PyObject *obj; | |
1291 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1292 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1293 | Py_INCREF(obj); | |
1294 | return Py_BuildValue((char *)""); | |
1295 | } | |
1296 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1297 | PyObject *resultobj; | |
1298 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1299 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1300 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1301 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1302 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1303 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1304 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1305 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1306 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1307 | wxScrolledWindow *result; | |
1308 | wxPoint temp3 ; | |
1309 | wxSize temp4 ; | |
e811c8ce | 1310 | bool temp6 = False ; |
d14a1e28 | 1311 | PyObject * obj0 = 0 ; |
994141e6 | 1312 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1313 | PyObject * obj2 = 0 ; |
1314 | PyObject * obj3 = 0 ; | |
994141e6 | 1315 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1316 | PyObject * obj5 = 0 ; |
1317 | char *kwnames[] = { | |
1318 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1319 | }; | |
1320 | ||
994141e6 | 1321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 1322 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1323 | if (obj1) { |
1324 | { | |
1325 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
1326 | if (PyErr_Occurred()) SWIG_fail; | |
1327 | } | |
1328 | } | |
d14a1e28 RD |
1329 | if (obj2) { |
1330 | { | |
1331 | arg3 = &temp3; | |
1332 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1333 | } | |
1334 | } | |
1335 | if (obj3) { | |
1336 | { | |
1337 | arg4 = &temp4; | |
1338 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1339 | } | |
1340 | } | |
994141e6 RD |
1341 | if (obj4) { |
1342 | { | |
1343 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
1344 | if (PyErr_Occurred()) SWIG_fail; | |
1345 | } | |
1346 | } | |
d14a1e28 RD |
1347 | if (obj5) { |
1348 | { | |
1349 | arg6 = wxString_in_helper(obj5); | |
1350 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1351 | temp6 = True; |
d14a1e28 RD |
1352 | } |
1353 | } | |
1354 | { | |
1355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1356 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1357 | ||
1358 | wxPyEndAllowThreads(__tstate); | |
1359 | if (PyErr_Occurred()) SWIG_fail; | |
1360 | } | |
1361 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1362 | { | |
1363 | if (temp6) | |
1364 | delete arg6; | |
1365 | } | |
1366 | return resultobj; | |
1367 | fail: | |
1368 | { | |
1369 | if (temp6) | |
1370 | delete arg6; | |
1371 | } | |
1372 | return NULL; | |
1373 | } | |
1374 | ||
1375 | ||
1376 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1377 | PyObject *resultobj; | |
1378 | wxScrolledWindow *result; | |
1379 | char *kwnames[] = { | |
1380 | NULL | |
1381 | }; | |
1382 | ||
1383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1384 | { | |
1385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1386 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1387 | ||
1388 | wxPyEndAllowThreads(__tstate); | |
1389 | if (PyErr_Occurred()) SWIG_fail; | |
1390 | } | |
1391 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1392 | return resultobj; | |
1393 | fail: | |
1394 | return NULL; | |
1395 | } | |
1396 | ||
1397 | ||
1398 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1399 | PyObject *resultobj; | |
1400 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1401 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1402 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1403 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1404 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1405 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1406 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1407 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1408 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1409 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1410 | bool result; | |
1411 | wxPoint temp4 ; | |
1412 | wxSize temp5 ; | |
e811c8ce | 1413 | bool temp7 = False ; |
d14a1e28 RD |
1414 | PyObject * obj0 = 0 ; |
1415 | PyObject * obj1 = 0 ; | |
994141e6 | 1416 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1417 | PyObject * obj3 = 0 ; |
1418 | PyObject * obj4 = 0 ; | |
994141e6 | 1419 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1420 | PyObject * obj6 = 0 ; |
1421 | char *kwnames[] = { | |
1422 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1423 | }; | |
1424 | ||
994141e6 | 1425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
1426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
1427 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
1428 | if (obj2) { |
1429 | { | |
1430 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
1431 | if (PyErr_Occurred()) SWIG_fail; | |
1432 | } | |
1433 | } | |
d14a1e28 RD |
1434 | if (obj3) { |
1435 | { | |
1436 | arg4 = &temp4; | |
1437 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1438 | } | |
1439 | } | |
1440 | if (obj4) { | |
1441 | { | |
1442 | arg5 = &temp5; | |
1443 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1444 | } | |
1445 | } | |
994141e6 RD |
1446 | if (obj5) { |
1447 | { | |
1448 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
1449 | if (PyErr_Occurred()) SWIG_fail; | |
1450 | } | |
1451 | } | |
d14a1e28 RD |
1452 | if (obj6) { |
1453 | { | |
1454 | arg7 = wxString_in_helper(obj6); | |
1455 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1456 | temp7 = True; |
d14a1e28 RD |
1457 | } |
1458 | } | |
1459 | { | |
1460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1461 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1462 | ||
1463 | wxPyEndAllowThreads(__tstate); | |
1464 | if (PyErr_Occurred()) SWIG_fail; | |
1465 | } | |
4d5c3d91 | 1466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1467 | { |
1468 | if (temp7) | |
1469 | delete arg7; | |
1470 | } | |
1471 | return resultobj; | |
1472 | fail: | |
1473 | { | |
1474 | if (temp7) | |
1475 | delete arg7; | |
1476 | } | |
1477 | return NULL; | |
1478 | } | |
1479 | ||
1480 | ||
1481 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1482 | PyObject *resultobj; | |
1483 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1484 | int arg2 ; | |
1485 | int arg3 ; | |
1486 | int arg4 ; | |
1487 | int arg5 ; | |
1488 | int arg6 = (int) 0 ; | |
1489 | int arg7 = (int) 0 ; | |
e811c8ce | 1490 | bool arg8 = (bool) False ; |
d14a1e28 | 1491 | PyObject * obj0 = 0 ; |
994141e6 RD |
1492 | PyObject * obj1 = 0 ; |
1493 | PyObject * obj2 = 0 ; | |
1494 | PyObject * obj3 = 0 ; | |
1495 | PyObject * obj4 = 0 ; | |
1496 | PyObject * obj5 = 0 ; | |
1497 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1498 | PyObject * obj7 = 0 ; |
1499 | char *kwnames[] = { | |
1500 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1501 | }; | |
1502 | ||
994141e6 | 1503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 | 1504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1505 | { |
1506 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1507 | if (PyErr_Occurred()) SWIG_fail; | |
1508 | } | |
1509 | { | |
1510 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1511 | if (PyErr_Occurred()) SWIG_fail; | |
1512 | } | |
1513 | { | |
1514 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
1515 | if (PyErr_Occurred()) SWIG_fail; | |
1516 | } | |
1517 | { | |
1518 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
1519 | if (PyErr_Occurred()) SWIG_fail; | |
1520 | } | |
1521 | if (obj5) { | |
1522 | { | |
1523 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
1524 | if (PyErr_Occurred()) SWIG_fail; | |
1525 | } | |
1526 | } | |
1527 | if (obj6) { | |
1528 | { | |
1529 | arg7 = (int) SWIG_PyObj_AsInt(obj6); | |
1530 | if (PyErr_Occurred()) SWIG_fail; | |
1531 | } | |
1532 | } | |
d14a1e28 | 1533 | if (obj7) { |
a41e16b6 | 1534 | { |
994141e6 | 1535 | arg8 = (bool) SWIG_PyObj_AsBool(obj7); |
a41e16b6 RD |
1536 | if (PyErr_Occurred()) SWIG_fail; |
1537 | } | |
d14a1e28 RD |
1538 | } |
1539 | { | |
1540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1541 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1542 | ||
1543 | wxPyEndAllowThreads(__tstate); | |
1544 | if (PyErr_Occurred()) SWIG_fail; | |
1545 | } | |
1546 | Py_INCREF(Py_None); resultobj = Py_None; | |
1547 | return resultobj; | |
1548 | fail: | |
1549 | return NULL; | |
1550 | } | |
1551 | ||
1552 | ||
1553 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1554 | PyObject *resultobj; | |
1555 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1556 | int arg2 ; | |
1557 | int arg3 ; | |
1558 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1559 | PyObject * obj1 = 0 ; |
1560 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1561 | char *kwnames[] = { |
1562 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1563 | }; | |
1564 | ||
994141e6 | 1565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1566 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1567 | { |
1568 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1569 | if (PyErr_Occurred()) SWIG_fail; | |
1570 | } | |
1571 | { | |
1572 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1573 | if (PyErr_Occurred()) SWIG_fail; | |
1574 | } | |
d14a1e28 RD |
1575 | { |
1576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1577 | (arg1)->Scroll(arg2,arg3); | |
1578 | ||
1579 | wxPyEndAllowThreads(__tstate); | |
1580 | if (PyErr_Occurred()) SWIG_fail; | |
1581 | } | |
1582 | Py_INCREF(Py_None); resultobj = Py_None; | |
1583 | return resultobj; | |
1584 | fail: | |
1585 | return NULL; | |
1586 | } | |
1587 | ||
1588 | ||
1589 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1590 | PyObject *resultobj; | |
1591 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1592 | int arg2 ; | |
1593 | int result; | |
1594 | PyObject * obj0 = 0 ; | |
994141e6 | 1595 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1596 | char *kwnames[] = { |
1597 | (char *) "self",(char *) "orient", NULL | |
1598 | }; | |
1599 | ||
994141e6 | 1600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 1601 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1602 | { |
1603 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1604 | if (PyErr_Occurred()) SWIG_fail; | |
1605 | } | |
d14a1e28 RD |
1606 | { |
1607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1608 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1609 | ||
1610 | wxPyEndAllowThreads(__tstate); | |
1611 | if (PyErr_Occurred()) SWIG_fail; | |
1612 | } | |
994141e6 | 1613 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
1614 | return resultobj; |
1615 | fail: | |
1616 | return NULL; | |
1617 | } | |
1618 | ||
1619 | ||
1620 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1621 | PyObject *resultobj; | |
1622 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1623 | int arg2 ; | |
1624 | int arg3 ; | |
1625 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1626 | PyObject * obj1 = 0 ; |
1627 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1628 | char *kwnames[] = { |
1629 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1630 | }; | |
1631 | ||
994141e6 | 1632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1634 | { |
1635 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1636 | if (PyErr_Occurred()) SWIG_fail; | |
1637 | } | |
1638 | { | |
1639 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1640 | if (PyErr_Occurred()) SWIG_fail; | |
1641 | } | |
d14a1e28 RD |
1642 | { |
1643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1644 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1645 | ||
1646 | wxPyEndAllowThreads(__tstate); | |
1647 | if (PyErr_Occurred()) SWIG_fail; | |
1648 | } | |
1649 | Py_INCREF(Py_None); resultobj = Py_None; | |
1650 | return resultobj; | |
1651 | fail: | |
1652 | return NULL; | |
1653 | } | |
1654 | ||
1655 | ||
1656 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1657 | PyObject *resultobj; | |
1658 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1659 | int arg2 ; | |
1660 | int arg3 ; | |
1661 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1662 | PyObject * obj1 = 0 ; |
1663 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1664 | char *kwnames[] = { |
1665 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1666 | }; | |
1667 | ||
994141e6 | 1668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1669 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1670 | { |
1671 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1672 | if (PyErr_Occurred()) SWIG_fail; | |
1673 | } | |
1674 | { | |
1675 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1676 | if (PyErr_Occurred()) SWIG_fail; | |
1677 | } | |
d14a1e28 RD |
1678 | { |
1679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1680 | (arg1)->SetScrollRate(arg2,arg3); | |
1681 | ||
1682 | wxPyEndAllowThreads(__tstate); | |
1683 | if (PyErr_Occurred()) SWIG_fail; | |
1684 | } | |
1685 | Py_INCREF(Py_None); resultobj = Py_None; | |
1686 | return resultobj; | |
1687 | fail: | |
1688 | return NULL; | |
1689 | } | |
1690 | ||
1691 | ||
1692 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1693 | PyObject *resultobj; | |
1694 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1695 | int *arg2 = (int *) 0 ; | |
1696 | int *arg3 = (int *) 0 ; | |
1697 | int temp2 ; | |
1698 | int temp3 ; | |
1699 | PyObject * obj0 = 0 ; | |
1700 | char *kwnames[] = { | |
1701 | (char *) "self", NULL | |
1702 | }; | |
1703 | ||
1704 | arg2 = &temp2; | |
1705 | arg3 = &temp3; | |
1706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
1707 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1708 | { | |
1709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1710 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1711 | ||
1712 | wxPyEndAllowThreads(__tstate); | |
1713 | if (PyErr_Occurred()) SWIG_fail; | |
1714 | } | |
1715 | Py_INCREF(Py_None); resultobj = Py_None; | |
1716 | { | |
1717 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1718 | resultobj = t_output_helper(resultobj,o); | |
1719 | } | |
1720 | { | |
1721 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1722 | resultobj = t_output_helper(resultobj,o); | |
1723 | } | |
1724 | return resultobj; | |
1725 | fail: | |
1726 | return NULL; | |
1727 | } | |
1728 | ||
1729 | ||
1730 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1731 | PyObject *resultobj; | |
1732 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1733 | bool arg2 ; | |
1734 | bool arg3 ; | |
1735 | PyObject * obj0 = 0 ; | |
1736 | PyObject * obj1 = 0 ; | |
1737 | PyObject * obj2 = 0 ; | |
1738 | char *kwnames[] = { | |
1739 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1740 | }; | |
1741 | ||
1742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 1744 | { |
994141e6 | 1745 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
1746 | if (PyErr_Occurred()) SWIG_fail; |
1747 | } | |
1748 | { | |
994141e6 | 1749 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
a41e16b6 RD |
1750 | if (PyErr_Occurred()) SWIG_fail; |
1751 | } | |
d14a1e28 RD |
1752 | { |
1753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1754 | (arg1)->EnableScrolling(arg2,arg3); | |
1755 | ||
1756 | wxPyEndAllowThreads(__tstate); | |
1757 | if (PyErr_Occurred()) SWIG_fail; | |
1758 | } | |
1759 | Py_INCREF(Py_None); resultobj = Py_None; | |
1760 | return resultobj; | |
1761 | fail: | |
1762 | return NULL; | |
1763 | } | |
1764 | ||
1765 | ||
1766 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject *resultobj; | |
1768 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1769 | int *arg2 = (int *) 0 ; | |
1770 | int *arg3 = (int *) 0 ; | |
1771 | int temp2 ; | |
1772 | int temp3 ; | |
1773 | PyObject * obj0 = 0 ; | |
1774 | char *kwnames[] = { | |
1775 | (char *) "self", NULL | |
1776 | }; | |
1777 | ||
1778 | arg2 = &temp2; | |
1779 | arg3 = &temp3; | |
1780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
1781 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1782 | { | |
1783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1784 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1785 | ||
1786 | wxPyEndAllowThreads(__tstate); | |
1787 | if (PyErr_Occurred()) SWIG_fail; | |
1788 | } | |
1789 | Py_INCREF(Py_None); resultobj = Py_None; | |
1790 | { | |
1791 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1792 | resultobj = t_output_helper(resultobj,o); | |
1793 | } | |
1794 | { | |
1795 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1796 | resultobj = t_output_helper(resultobj,o); | |
1797 | } | |
1798 | return resultobj; | |
1799 | fail: | |
1800 | return NULL; | |
1801 | } | |
1802 | ||
1803 | ||
1804 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1805 | PyObject *resultobj; | |
1806 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1807 | double arg2 ; | |
1808 | double arg3 ; | |
1809 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1810 | PyObject * obj1 = 0 ; |
1811 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1812 | char *kwnames[] = { |
1813 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1814 | }; | |
1815 | ||
994141e6 | 1816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1817 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1818 | { |
1819 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
1820 | if (PyErr_Occurred()) SWIG_fail; | |
1821 | } | |
1822 | { | |
1823 | arg3 = (double) SWIG_PyObj_AsDouble(obj2); | |
1824 | if (PyErr_Occurred()) SWIG_fail; | |
1825 | } | |
d14a1e28 RD |
1826 | { |
1827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1828 | (arg1)->SetScale(arg2,arg3); | |
1829 | ||
1830 | wxPyEndAllowThreads(__tstate); | |
1831 | if (PyErr_Occurred()) SWIG_fail; | |
1832 | } | |
1833 | Py_INCREF(Py_None); resultobj = Py_None; | |
1834 | return resultobj; | |
1835 | fail: | |
1836 | return NULL; | |
1837 | } | |
1838 | ||
1839 | ||
1840 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1841 | PyObject *resultobj; | |
1842 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1843 | double result; | |
1844 | PyObject * obj0 = 0 ; | |
1845 | char *kwnames[] = { | |
1846 | (char *) "self", NULL | |
1847 | }; | |
1848 | ||
1849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
1850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1851 | { | |
1852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1853 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1854 | ||
1855 | wxPyEndAllowThreads(__tstate); | |
1856 | if (PyErr_Occurred()) SWIG_fail; | |
1857 | } | |
994141e6 | 1858 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
1859 | return resultobj; |
1860 | fail: | |
1861 | return NULL; | |
1862 | } | |
1863 | ||
1864 | ||
1865 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1866 | PyObject *resultobj; | |
1867 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1868 | double result; | |
1869 | PyObject * obj0 = 0 ; | |
1870 | char *kwnames[] = { | |
1871 | (char *) "self", NULL | |
1872 | }; | |
1873 | ||
1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
1875 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1876 | { | |
1877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1878 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1879 | ||
1880 | wxPyEndAllowThreads(__tstate); | |
1881 | if (PyErr_Occurred()) SWIG_fail; | |
1882 | } | |
994141e6 | 1883 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
1884 | return resultobj; |
1885 | fail: | |
1886 | return NULL; | |
1887 | } | |
1888 | ||
1889 | ||
1890 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1891 | PyObject *resultobj; | |
1892 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
1893 | wxPoint *arg2 = 0 ; |
1894 | wxPoint result; | |
1895 | wxPoint temp2 ; | |
d14a1e28 | 1896 | PyObject * obj0 = 0 ; |
322913ce | 1897 | PyObject * obj1 = 0 ; |
d14a1e28 | 1898 | |
322913ce | 1899 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 1900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
322913ce RD |
1901 | { |
1902 | arg2 = &temp2; | |
1903 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1904 | } | |
d14a1e28 RD |
1905 | { |
1906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 1907 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1908 | |
1909 | wxPyEndAllowThreads(__tstate); | |
1910 | if (PyErr_Occurred()) SWIG_fail; | |
1911 | } | |
d14a1e28 | 1912 | { |
322913ce RD |
1913 | wxPoint * resultptr; |
1914 | resultptr = new wxPoint((wxPoint &) result); | |
1915 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
1916 | } |
1917 | return resultobj; | |
1918 | fail: | |
1919 | return NULL; | |
1920 | } | |
1921 | ||
1922 | ||
1923 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1924 | PyObject *resultobj; | |
1925 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
1926 | int arg2 ; |
1927 | int arg3 ; | |
1928 | int *arg4 = (int *) 0 ; | |
1929 | int *arg5 = (int *) 0 ; | |
1930 | int temp4 ; | |
1931 | int temp5 ; | |
d14a1e28 | 1932 | PyObject * obj0 = 0 ; |
994141e6 RD |
1933 | PyObject * obj1 = 0 ; |
1934 | PyObject * obj2 = 0 ; | |
d14a1e28 | 1935 | |
322913ce RD |
1936 | arg4 = &temp4; |
1937 | arg5 = &temp5; | |
994141e6 | 1938 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
1940 | { |
1941 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1942 | if (PyErr_Occurred()) SWIG_fail; | |
1943 | } | |
1944 | { | |
1945 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1946 | if (PyErr_Occurred()) SWIG_fail; | |
1947 | } | |
d14a1e28 RD |
1948 | { |
1949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 1950 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
1951 | |
1952 | wxPyEndAllowThreads(__tstate); | |
1953 | if (PyErr_Occurred()) SWIG_fail; | |
1954 | } | |
322913ce | 1955 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 1956 | { |
322913ce RD |
1957 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
1958 | resultobj = t_output_helper(resultobj,o); | |
1959 | } | |
1960 | { | |
1961 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
1962 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
1963 | } |
1964 | return resultobj; | |
1965 | fail: | |
1966 | return NULL; | |
1967 | } | |
1968 | ||
1969 | ||
1970 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
1971 | int argc; | |
1972 | PyObject *argv[4]; | |
1973 | int ii; | |
1974 | ||
1975 | argc = PyObject_Length(args); | |
1976 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1977 | argv[ii] = PyTuple_GetItem(args,ii); | |
1978 | } | |
1979 | if (argc == 2) { | |
1980 | int _v; | |
1981 | { | |
1982 | void *ptr; | |
1983 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1984 | _v = 0; | |
1985 | PyErr_Clear(); | |
1986 | } else { | |
1987 | _v = 1; | |
1988 | } | |
1989 | } | |
1990 | if (_v) { | |
1991 | { | |
1992 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1993 | } | |
1994 | if (_v) { | |
322913ce | 1995 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
1996 | } |
1997 | } | |
1998 | } | |
1999 | if (argc == 3) { | |
2000 | int _v; | |
2001 | { | |
2002 | void *ptr; | |
2003 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2004 | _v = 0; | |
2005 | PyErr_Clear(); | |
2006 | } else { | |
2007 | _v = 1; | |
2008 | } | |
2009 | } | |
2010 | if (_v) { | |
2011 | { | |
994141e6 | 2012 | SWIG_PyObj_AsInt(argv[1]); |
a41e16b6 RD |
2013 | if (PyErr_Occurred()) { |
2014 | _v = 0; | |
2015 | PyErr_Clear(); | |
2016 | } else { | |
2017 | _v = 1; | |
2018 | } | |
d14a1e28 RD |
2019 | } |
2020 | if (_v) { | |
2021 | { | |
994141e6 | 2022 | SWIG_PyObj_AsInt(argv[2]); |
a41e16b6 RD |
2023 | if (PyErr_Occurred()) { |
2024 | _v = 0; | |
2025 | PyErr_Clear(); | |
2026 | } else { | |
2027 | _v = 1; | |
2028 | } | |
d14a1e28 RD |
2029 | } |
2030 | if (_v) { | |
322913ce | 2031 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2032 | } |
2033 | } | |
2034 | } | |
2035 | } | |
2036 | ||
2037 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2038 | return NULL; | |
2039 | } | |
2040 | ||
2041 | ||
2042 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2043 | PyObject *resultobj; | |
2044 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2045 | wxPoint *arg2 = 0 ; |
2046 | wxPoint result; | |
2047 | wxPoint temp2 ; | |
d14a1e28 | 2048 | PyObject * obj0 = 0 ; |
322913ce | 2049 | PyObject * obj1 = 0 ; |
d14a1e28 | 2050 | |
322913ce | 2051 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 2052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
322913ce RD |
2053 | { |
2054 | arg2 = &temp2; | |
2055 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2056 | } | |
d14a1e28 RD |
2057 | { |
2058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2059 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2060 | |
2061 | wxPyEndAllowThreads(__tstate); | |
2062 | if (PyErr_Occurred()) SWIG_fail; | |
2063 | } | |
d14a1e28 | 2064 | { |
322913ce RD |
2065 | wxPoint * resultptr; |
2066 | resultptr = new wxPoint((wxPoint &) result); | |
2067 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
2068 | } |
2069 | return resultobj; | |
2070 | fail: | |
2071 | return NULL; | |
2072 | } | |
2073 | ||
2074 | ||
2075 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2076 | PyObject *resultobj; | |
2077 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2078 | int arg2 ; |
2079 | int arg3 ; | |
2080 | int *arg4 = (int *) 0 ; | |
2081 | int *arg5 = (int *) 0 ; | |
2082 | int temp4 ; | |
2083 | int temp5 ; | |
d14a1e28 | 2084 | PyObject * obj0 = 0 ; |
994141e6 RD |
2085 | PyObject * obj1 = 0 ; |
2086 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2087 | |
322913ce RD |
2088 | arg4 = &temp4; |
2089 | arg5 = &temp5; | |
994141e6 | 2090 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 2091 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
2092 | { |
2093 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
2094 | if (PyErr_Occurred()) SWIG_fail; | |
2095 | } | |
2096 | { | |
2097 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
2098 | if (PyErr_Occurred()) SWIG_fail; | |
2099 | } | |
d14a1e28 RD |
2100 | { |
2101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2102 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2103 | |
2104 | wxPyEndAllowThreads(__tstate); | |
2105 | if (PyErr_Occurred()) SWIG_fail; | |
2106 | } | |
322913ce | 2107 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2108 | { |
322913ce RD |
2109 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2110 | resultobj = t_output_helper(resultobj,o); | |
2111 | } | |
2112 | { | |
2113 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2114 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2115 | } |
2116 | return resultobj; | |
2117 | fail: | |
2118 | return NULL; | |
2119 | } | |
2120 | ||
2121 | ||
2122 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2123 | int argc; | |
2124 | PyObject *argv[4]; | |
2125 | int ii; | |
2126 | ||
2127 | argc = PyObject_Length(args); | |
2128 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2129 | argv[ii] = PyTuple_GetItem(args,ii); | |
2130 | } | |
2131 | if (argc == 2) { | |
2132 | int _v; | |
2133 | { | |
2134 | void *ptr; | |
2135 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2136 | _v = 0; | |
2137 | PyErr_Clear(); | |
2138 | } else { | |
2139 | _v = 1; | |
2140 | } | |
2141 | } | |
2142 | if (_v) { | |
2143 | { | |
2144 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2145 | } | |
2146 | if (_v) { | |
322913ce | 2147 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2148 | } |
2149 | } | |
2150 | } | |
2151 | if (argc == 3) { | |
2152 | int _v; | |
2153 | { | |
2154 | void *ptr; | |
2155 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2156 | _v = 0; | |
2157 | PyErr_Clear(); | |
2158 | } else { | |
2159 | _v = 1; | |
2160 | } | |
2161 | } | |
2162 | if (_v) { | |
2163 | { | |
994141e6 | 2164 | SWIG_PyObj_AsInt(argv[1]); |
a41e16b6 RD |
2165 | if (PyErr_Occurred()) { |
2166 | _v = 0; | |
2167 | PyErr_Clear(); | |
2168 | } else { | |
2169 | _v = 1; | |
2170 | } | |
d14a1e28 RD |
2171 | } |
2172 | if (_v) { | |
2173 | { | |
994141e6 | 2174 | SWIG_PyObj_AsInt(argv[2]); |
a41e16b6 RD |
2175 | if (PyErr_Occurred()) { |
2176 | _v = 0; | |
2177 | PyErr_Clear(); | |
2178 | } else { | |
2179 | _v = 1; | |
2180 | } | |
d14a1e28 RD |
2181 | } |
2182 | if (_v) { | |
322913ce | 2183 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2184 | } |
2185 | } | |
2186 | } | |
2187 | } | |
2188 | ||
2189 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2190 | return NULL; | |
2191 | } | |
2192 | ||
2193 | ||
2194 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2195 | PyObject *resultobj; | |
2196 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2197 | PyObject * obj0 = 0 ; | |
2198 | char *kwnames[] = { | |
2199 | (char *) "self", NULL | |
2200 | }; | |
2201 | ||
2202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
2203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2204 | { | |
2205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2206 | (arg1)->AdjustScrollbars(); | |
2207 | ||
2208 | wxPyEndAllowThreads(__tstate); | |
2209 | if (PyErr_Occurred()) SWIG_fail; | |
2210 | } | |
2211 | Py_INCREF(Py_None); resultobj = Py_None; | |
2212 | return resultobj; | |
2213 | fail: | |
2214 | return NULL; | |
2215 | } | |
2216 | ||
2217 | ||
2218 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2219 | PyObject *resultobj; | |
2220 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2221 | wxScrollWinEvent *arg2 = 0 ; | |
2222 | int result; | |
2223 | PyObject * obj0 = 0 ; | |
2224 | PyObject * obj1 = 0 ; | |
2225 | char *kwnames[] = { | |
2226 | (char *) "self",(char *) "event", NULL | |
2227 | }; | |
2228 | ||
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
2230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2231 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2232 | if (arg2 == NULL) { | |
2233 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2234 | } | |
2235 | { | |
2236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2237 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2238 | ||
2239 | wxPyEndAllowThreads(__tstate); | |
2240 | if (PyErr_Occurred()) SWIG_fail; | |
2241 | } | |
994141e6 | 2242 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
2243 | return resultobj; |
2244 | fail: | |
2245 | return NULL; | |
2246 | } | |
2247 | ||
2248 | ||
2249 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2250 | PyObject *resultobj; | |
2251 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2252 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2253 | PyObject * obj0 = 0 ; | |
2254 | PyObject * obj1 = 0 ; | |
2255 | char *kwnames[] = { | |
2256 | (char *) "self",(char *) "target", NULL | |
2257 | }; | |
2258 | ||
2259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
2260 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2261 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2262 | { | |
2263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2264 | (arg1)->SetTargetWindow(arg2); | |
2265 | ||
2266 | wxPyEndAllowThreads(__tstate); | |
2267 | if (PyErr_Occurred()) SWIG_fail; | |
2268 | } | |
2269 | Py_INCREF(Py_None); resultobj = Py_None; | |
2270 | return resultobj; | |
2271 | fail: | |
2272 | return NULL; | |
2273 | } | |
2274 | ||
2275 | ||
2276 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2277 | PyObject *resultobj; | |
2278 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2279 | wxWindow *result; | |
2280 | PyObject * obj0 = 0 ; | |
2281 | char *kwnames[] = { | |
2282 | (char *) "self", NULL | |
2283 | }; | |
2284 | ||
2285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2286 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2287 | { | |
2288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2289 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2290 | ||
2291 | wxPyEndAllowThreads(__tstate); | |
2292 | if (PyErr_Occurred()) SWIG_fail; | |
2293 | } | |
2294 | { | |
2295 | resultobj = wxPyMake_wxObject(result); | |
2296 | } | |
2297 | return resultobj; | |
2298 | fail: | |
2299 | return NULL; | |
2300 | } | |
2301 | ||
2302 | ||
2303 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2304 | PyObject *obj; | |
2305 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2306 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2307 | Py_INCREF(obj); | |
2308 | return Py_BuildValue((char *)""); | |
2309 | } | |
b2dc1044 RD |
2310 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2311 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2312 | return 1; | |
2313 | } | |
2314 | ||
2315 | ||
2316 | static PyObject *_wrap_FrameNameStr_get() { | |
2317 | PyObject *pyobj; | |
2318 | ||
2319 | { | |
2320 | #if wxUSE_UNICODE | |
2321 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2322 | #else | |
2323 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2324 | #endif | |
2325 | } | |
2326 | return pyobj; | |
2327 | } | |
2328 | ||
2329 | ||
2330 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2331 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2332 | return 1; | |
2333 | } | |
2334 | ||
2335 | ||
2336 | static PyObject *_wrap_DialogNameStr_get() { | |
2337 | PyObject *pyobj; | |
2338 | ||
2339 | { | |
2340 | #if wxUSE_UNICODE | |
2341 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2342 | #else | |
2343 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2344 | #endif | |
2345 | } | |
2346 | return pyobj; | |
2347 | } | |
2348 | ||
2349 | ||
2350 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2351 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2352 | return 1; | |
2353 | } | |
2354 | ||
2355 | ||
2356 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2357 | PyObject *pyobj; | |
2358 | ||
2359 | { | |
2360 | #if wxUSE_UNICODE | |
2361 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2362 | #else | |
2363 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2364 | #endif | |
2365 | } | |
2366 | return pyobj; | |
2367 | } | |
2368 | ||
2369 | ||
2370 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2371 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2372 | return 1; | |
2373 | } | |
2374 | ||
2375 | ||
2376 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2377 | PyObject *pyobj; | |
2378 | ||
2379 | { | |
2380 | #if wxUSE_UNICODE | |
2381 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2382 | #else | |
2383 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2384 | #endif | |
2385 | } | |
2386 | return pyobj; | |
2387 | } | |
2388 | ||
2389 | ||
d14a1e28 RD |
2390 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2391 | PyObject *resultobj; | |
2392 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2393 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2394 | PyObject * obj0 = 0 ; |
2395 | PyObject * obj1 = 0 ; | |
2396 | char *kwnames[] = { | |
2397 | (char *) "self",(char *) "maximize", NULL | |
2398 | }; | |
2399 | ||
2400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2401 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2402 | if (obj1) { | |
a41e16b6 | 2403 | { |
994141e6 | 2404 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
2405 | if (PyErr_Occurred()) SWIG_fail; |
2406 | } | |
d14a1e28 RD |
2407 | } |
2408 | { | |
2409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2410 | (arg1)->Maximize(arg2); | |
2411 | ||
2412 | wxPyEndAllowThreads(__tstate); | |
2413 | if (PyErr_Occurred()) SWIG_fail; | |
2414 | } | |
2415 | Py_INCREF(Py_None); resultobj = Py_None; | |
2416 | return resultobj; | |
2417 | fail: | |
2418 | return NULL; | |
2419 | } | |
2420 | ||
2421 | ||
2422 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2423 | PyObject *resultobj; | |
2424 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2425 | PyObject * obj0 = 0 ; | |
2426 | char *kwnames[] = { | |
2427 | (char *) "self", NULL | |
2428 | }; | |
2429 | ||
2430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2432 | { | |
2433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2434 | (arg1)->Restore(); | |
2435 | ||
2436 | wxPyEndAllowThreads(__tstate); | |
2437 | if (PyErr_Occurred()) SWIG_fail; | |
2438 | } | |
2439 | Py_INCREF(Py_None); resultobj = Py_None; | |
2440 | return resultobj; | |
2441 | fail: | |
2442 | return NULL; | |
2443 | } | |
2444 | ||
2445 | ||
2446 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2447 | PyObject *resultobj; | |
2448 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2449 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2450 | PyObject * obj0 = 0 ; |
2451 | PyObject * obj1 = 0 ; | |
2452 | char *kwnames[] = { | |
2453 | (char *) "self",(char *) "iconize", NULL | |
2454 | }; | |
2455 | ||
2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2458 | if (obj1) { | |
a41e16b6 | 2459 | { |
994141e6 | 2460 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
2461 | if (PyErr_Occurred()) SWIG_fail; |
2462 | } | |
d14a1e28 RD |
2463 | } |
2464 | { | |
2465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2466 | (arg1)->Iconize(arg2); | |
2467 | ||
2468 | wxPyEndAllowThreads(__tstate); | |
2469 | if (PyErr_Occurred()) SWIG_fail; | |
2470 | } | |
2471 | Py_INCREF(Py_None); resultobj = Py_None; | |
2472 | return resultobj; | |
2473 | fail: | |
2474 | return NULL; | |
2475 | } | |
2476 | ||
2477 | ||
2478 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2479 | PyObject *resultobj; | |
2480 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2481 | bool result; | |
2482 | PyObject * obj0 = 0 ; | |
2483 | char *kwnames[] = { | |
2484 | (char *) "self", NULL | |
2485 | }; | |
2486 | ||
2487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2488 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2489 | { | |
2490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2491 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2492 | ||
2493 | wxPyEndAllowThreads(__tstate); | |
2494 | if (PyErr_Occurred()) SWIG_fail; | |
2495 | } | |
4d5c3d91 | 2496 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2497 | return resultobj; |
2498 | fail: | |
2499 | return NULL; | |
2500 | } | |
2501 | ||
2502 | ||
2503 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2504 | PyObject *resultobj; | |
2505 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2506 | bool result; | |
2507 | PyObject * obj0 = 0 ; | |
2508 | char *kwnames[] = { | |
2509 | (char *) "self", NULL | |
2510 | }; | |
2511 | ||
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2514 | { | |
2515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2516 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2517 | ||
2518 | wxPyEndAllowThreads(__tstate); | |
2519 | if (PyErr_Occurred()) SWIG_fail; | |
2520 | } | |
4d5c3d91 | 2521 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2522 | return resultobj; |
2523 | fail: | |
2524 | return NULL; | |
2525 | } | |
2526 | ||
2527 | ||
2528 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2529 | PyObject *resultobj; | |
2530 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2531 | wxIcon result; | |
2532 | PyObject * obj0 = 0 ; | |
2533 | char *kwnames[] = { | |
2534 | (char *) "self", NULL | |
2535 | }; | |
2536 | ||
2537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2539 | { | |
2540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2541 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2542 | ||
2543 | wxPyEndAllowThreads(__tstate); | |
2544 | if (PyErr_Occurred()) SWIG_fail; | |
2545 | } | |
2546 | { | |
2547 | wxIcon * resultptr; | |
2548 | resultptr = new wxIcon((wxIcon &) result); | |
2549 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1); | |
2550 | } | |
2551 | return resultobj; | |
2552 | fail: | |
2553 | return NULL; | |
2554 | } | |
2555 | ||
2556 | ||
2557 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2558 | PyObject *resultobj; | |
2559 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2560 | wxIcon *arg2 = 0 ; | |
2561 | PyObject * obj0 = 0 ; | |
2562 | PyObject * obj1 = 0 ; | |
2563 | char *kwnames[] = { | |
2564 | (char *) "self",(char *) "icon", NULL | |
2565 | }; | |
2566 | ||
2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2569 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2570 | if (arg2 == NULL) { | |
2571 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2572 | } | |
2573 | { | |
2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2575 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2576 | ||
2577 | wxPyEndAllowThreads(__tstate); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
2579 | } | |
2580 | Py_INCREF(Py_None); resultobj = Py_None; | |
2581 | return resultobj; | |
2582 | fail: | |
2583 | return NULL; | |
2584 | } | |
2585 | ||
2586 | ||
2587 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2588 | PyObject *resultobj; | |
2589 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2590 | wxIconBundle *arg2 = 0 ; | |
2591 | PyObject * obj0 = 0 ; | |
2592 | PyObject * obj1 = 0 ; | |
2593 | char *kwnames[] = { | |
2594 | (char *) "self",(char *) "icons", NULL | |
2595 | }; | |
2596 | ||
2597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2599 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2600 | if (arg2 == NULL) { | |
2601 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2602 | } | |
2603 | { | |
2604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2605 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2606 | ||
2607 | wxPyEndAllowThreads(__tstate); | |
2608 | if (PyErr_Occurred()) SWIG_fail; | |
2609 | } | |
2610 | Py_INCREF(Py_None); resultobj = Py_None; | |
2611 | return resultobj; | |
2612 | fail: | |
2613 | return NULL; | |
2614 | } | |
2615 | ||
2616 | ||
2617 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2618 | PyObject *resultobj; | |
2619 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2620 | bool arg2 ; | |
2621 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2622 | bool result; | |
2623 | PyObject * obj0 = 0 ; | |
2624 | PyObject * obj1 = 0 ; | |
994141e6 | 2625 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2626 | char *kwnames[] = { |
2627 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2628 | }; | |
2629 | ||
994141e6 | 2630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 2631 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
a41e16b6 | 2632 | { |
994141e6 | 2633 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
2634 | if (PyErr_Occurred()) SWIG_fail; |
2635 | } | |
994141e6 RD |
2636 | if (obj2) { |
2637 | { | |
2638 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
2639 | if (PyErr_Occurred()) SWIG_fail; | |
2640 | } | |
2641 | } | |
d14a1e28 RD |
2642 | { |
2643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2644 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2645 | ||
2646 | wxPyEndAllowThreads(__tstate); | |
2647 | if (PyErr_Occurred()) SWIG_fail; | |
2648 | } | |
4d5c3d91 | 2649 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2650 | return resultobj; |
2651 | fail: | |
2652 | return NULL; | |
2653 | } | |
2654 | ||
2655 | ||
2656 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2657 | PyObject *resultobj; | |
2658 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2659 | bool result; | |
2660 | PyObject * obj0 = 0 ; | |
2661 | char *kwnames[] = { | |
2662 | (char *) "self", NULL | |
2663 | }; | |
2664 | ||
2665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2667 | { | |
2668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2669 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2670 | ||
2671 | wxPyEndAllowThreads(__tstate); | |
2672 | if (PyErr_Occurred()) SWIG_fail; | |
2673 | } | |
4d5c3d91 | 2674 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2675 | return resultobj; |
2676 | fail: | |
2677 | return NULL; | |
2678 | } | |
2679 | ||
2680 | ||
2681 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2682 | PyObject *resultobj; | |
2683 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2684 | wxString *arg2 = 0 ; | |
e811c8ce | 2685 | bool temp2 = False ; |
d14a1e28 RD |
2686 | PyObject * obj0 = 0 ; |
2687 | PyObject * obj1 = 0 ; | |
2688 | char *kwnames[] = { | |
2689 | (char *) "self",(char *) "title", NULL | |
2690 | }; | |
2691 | ||
2692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2693 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2694 | { | |
2695 | arg2 = wxString_in_helper(obj1); | |
2696 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2697 | temp2 = True; |
d14a1e28 RD |
2698 | } |
2699 | { | |
2700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2701 | (arg1)->SetTitle((wxString const &)*arg2); | |
2702 | ||
2703 | wxPyEndAllowThreads(__tstate); | |
2704 | if (PyErr_Occurred()) SWIG_fail; | |
2705 | } | |
2706 | Py_INCREF(Py_None); resultobj = Py_None; | |
2707 | { | |
2708 | if (temp2) | |
2709 | delete arg2; | |
2710 | } | |
2711 | return resultobj; | |
2712 | fail: | |
2713 | { | |
2714 | if (temp2) | |
2715 | delete arg2; | |
2716 | } | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
2721 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2722 | PyObject *resultobj; | |
2723 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2724 | wxString result; | |
2725 | PyObject * obj0 = 0 ; | |
2726 | char *kwnames[] = { | |
2727 | (char *) "self", NULL | |
2728 | }; | |
2729 | ||
2730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2731 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2732 | { | |
2733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2734 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2735 | ||
2736 | wxPyEndAllowThreads(__tstate); | |
2737 | if (PyErr_Occurred()) SWIG_fail; | |
2738 | } | |
2739 | { | |
2740 | #if wxUSE_UNICODE | |
2741 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2742 | #else | |
2743 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2744 | #endif | |
2745 | } | |
2746 | return resultobj; | |
2747 | fail: | |
2748 | return NULL; | |
2749 | } | |
2750 | ||
2751 | ||
2752 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2753 | PyObject *resultobj; | |
2754 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2755 | wxRegion *arg2 = 0 ; | |
2756 | bool result; | |
2757 | PyObject * obj0 = 0 ; | |
2758 | PyObject * obj1 = 0 ; | |
2759 | char *kwnames[] = { | |
2760 | (char *) "self",(char *) "region", NULL | |
2761 | }; | |
2762 | ||
2763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2765 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2766 | if (arg2 == NULL) { | |
2767 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2768 | } | |
2769 | { | |
2770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2771 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2772 | ||
2773 | wxPyEndAllowThreads(__tstate); | |
2774 | if (PyErr_Occurred()) SWIG_fail; | |
2775 | } | |
4d5c3d91 | 2776 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2777 | return resultobj; |
2778 | fail: | |
2779 | return NULL; | |
2780 | } | |
2781 | ||
2782 | ||
2783 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2784 | PyObject *obj; | |
2785 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2786 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2787 | Py_INCREF(obj); | |
2788 | return Py_BuildValue((char *)""); | |
2789 | } | |
2790 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2791 | PyObject *resultobj; | |
2792 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2793 | int arg2 ; |
d14a1e28 RD |
2794 | wxString *arg3 = 0 ; |
2795 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2796 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2797 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2798 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2799 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2800 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2801 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2802 | wxFrame *result; | |
e811c8ce | 2803 | bool temp3 = False ; |
d14a1e28 RD |
2804 | wxPoint temp4 ; |
2805 | wxSize temp5 ; | |
e811c8ce | 2806 | bool temp7 = False ; |
d14a1e28 | 2807 | PyObject * obj0 = 0 ; |
994141e6 | 2808 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2809 | PyObject * obj2 = 0 ; |
2810 | PyObject * obj3 = 0 ; | |
2811 | PyObject * obj4 = 0 ; | |
994141e6 | 2812 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2813 | PyObject * obj6 = 0 ; |
2814 | char *kwnames[] = { | |
2815 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2816 | }; | |
2817 | ||
994141e6 | 2818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 2819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
2820 | { |
2821 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
2822 | if (PyErr_Occurred()) SWIG_fail; | |
2823 | } | |
d14a1e28 RD |
2824 | { |
2825 | arg3 = wxString_in_helper(obj2); | |
2826 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2827 | temp3 = True; |
d14a1e28 RD |
2828 | } |
2829 | if (obj3) { | |
2830 | { | |
2831 | arg4 = &temp4; | |
2832 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2833 | } | |
2834 | } | |
2835 | if (obj4) { | |
2836 | { | |
2837 | arg5 = &temp5; | |
2838 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2839 | } | |
2840 | } | |
994141e6 RD |
2841 | if (obj5) { |
2842 | { | |
2843 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
2844 | if (PyErr_Occurred()) SWIG_fail; | |
2845 | } | |
2846 | } | |
d14a1e28 RD |
2847 | if (obj6) { |
2848 | { | |
2849 | arg7 = wxString_in_helper(obj6); | |
2850 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 2851 | temp7 = True; |
d14a1e28 RD |
2852 | } |
2853 | } | |
2854 | { | |
2855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2856 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2857 | ||
2858 | wxPyEndAllowThreads(__tstate); | |
2859 | if (PyErr_Occurred()) SWIG_fail; | |
2860 | } | |
2861 | { | |
2862 | resultobj = wxPyMake_wxObject(result); | |
2863 | } | |
2864 | { | |
2865 | if (temp3) | |
2866 | delete arg3; | |
2867 | } | |
2868 | { | |
2869 | if (temp7) | |
2870 | delete arg7; | |
2871 | } | |
2872 | return resultobj; | |
2873 | fail: | |
2874 | { | |
2875 | if (temp3) | |
2876 | delete arg3; | |
2877 | } | |
2878 | { | |
2879 | if (temp7) | |
2880 | delete arg7; | |
2881 | } | |
2882 | return NULL; | |
2883 | } | |
2884 | ||
2885 | ||
2886 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2887 | PyObject *resultobj; | |
2888 | wxFrame *result; | |
2889 | char *kwnames[] = { | |
2890 | NULL | |
2891 | }; | |
2892 | ||
2893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2894 | { | |
2895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2896 | result = (wxFrame *)new wxFrame(); | |
2897 | ||
2898 | wxPyEndAllowThreads(__tstate); | |
2899 | if (PyErr_Occurred()) SWIG_fail; | |
2900 | } | |
2901 | { | |
2902 | resultobj = wxPyMake_wxObject(result); | |
2903 | } | |
2904 | return resultobj; | |
2905 | fail: | |
2906 | return NULL; | |
2907 | } | |
2908 | ||
2909 | ||
2910 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2911 | PyObject *resultobj; | |
2912 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2913 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 2914 | int arg3 ; |
d14a1e28 RD |
2915 | wxString *arg4 = 0 ; |
2916 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2917 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2918 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2919 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2920 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2921 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2922 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2923 | bool result; | |
e811c8ce | 2924 | bool temp4 = False ; |
d14a1e28 RD |
2925 | wxPoint temp5 ; |
2926 | wxSize temp6 ; | |
e811c8ce | 2927 | bool temp8 = False ; |
d14a1e28 RD |
2928 | PyObject * obj0 = 0 ; |
2929 | PyObject * obj1 = 0 ; | |
994141e6 | 2930 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2931 | PyObject * obj3 = 0 ; |
2932 | PyObject * obj4 = 0 ; | |
2933 | PyObject * obj5 = 0 ; | |
994141e6 | 2934 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
2935 | PyObject * obj7 = 0 ; |
2936 | char *kwnames[] = { | |
2937 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2938 | }; | |
2939 | ||
994141e6 | 2940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
2941 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
2942 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
2943 | { |
2944 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
2945 | if (PyErr_Occurred()) SWIG_fail; | |
2946 | } | |
d14a1e28 RD |
2947 | { |
2948 | arg4 = wxString_in_helper(obj3); | |
2949 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 2950 | temp4 = True; |
d14a1e28 RD |
2951 | } |
2952 | if (obj4) { | |
2953 | { | |
2954 | arg5 = &temp5; | |
2955 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
2956 | } | |
2957 | } | |
2958 | if (obj5) { | |
2959 | { | |
2960 | arg6 = &temp6; | |
2961 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
2962 | } | |
2963 | } | |
994141e6 RD |
2964 | if (obj6) { |
2965 | { | |
2966 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
2967 | if (PyErr_Occurred()) SWIG_fail; | |
2968 | } | |
2969 | } | |
d14a1e28 RD |
2970 | if (obj7) { |
2971 | { | |
2972 | arg8 = wxString_in_helper(obj7); | |
2973 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 2974 | temp8 = True; |
d14a1e28 RD |
2975 | } |
2976 | } | |
2977 | { | |
2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2979 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
2980 | ||
2981 | wxPyEndAllowThreads(__tstate); | |
2982 | if (PyErr_Occurred()) SWIG_fail; | |
2983 | } | |
4d5c3d91 | 2984 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2985 | { |
2986 | if (temp4) | |
2987 | delete arg4; | |
2988 | } | |
2989 | { | |
2990 | if (temp8) | |
2991 | delete arg8; | |
2992 | } | |
2993 | return resultobj; | |
2994 | fail: | |
2995 | { | |
2996 | if (temp4) | |
2997 | delete arg4; | |
2998 | } | |
2999 | { | |
3000 | if (temp8) | |
3001 | delete arg8; | |
3002 | } | |
3003 | return NULL; | |
3004 | } | |
3005 | ||
3006 | ||
3007 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3008 | PyObject *resultobj; | |
3009 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3010 | wxPoint result; | |
3011 | PyObject * obj0 = 0 ; | |
3012 | char *kwnames[] = { | |
3013 | (char *) "self", NULL | |
3014 | }; | |
3015 | ||
3016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
3017 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3018 | { | |
3019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3020 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3021 | ||
3022 | wxPyEndAllowThreads(__tstate); | |
3023 | if (PyErr_Occurred()) SWIG_fail; | |
3024 | } | |
3025 | { | |
3026 | wxPoint * resultptr; | |
3027 | resultptr = new wxPoint((wxPoint &) result); | |
3028 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
3029 | } | |
3030 | return resultobj; | |
3031 | fail: | |
3032 | return NULL; | |
3033 | } | |
3034 | ||
3035 | ||
3036 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3037 | PyObject *resultobj; | |
3038 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3039 | PyObject * obj0 = 0 ; | |
3040 | char *kwnames[] = { | |
3041 | (char *) "self", NULL | |
3042 | }; | |
3043 | ||
3044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
3045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3046 | { | |
3047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3048 | (arg1)->SendSizeEvent(); | |
3049 | ||
3050 | wxPyEndAllowThreads(__tstate); | |
3051 | if (PyErr_Occurred()) SWIG_fail; | |
3052 | } | |
3053 | Py_INCREF(Py_None); resultobj = Py_None; | |
3054 | return resultobj; | |
3055 | fail: | |
3056 | return NULL; | |
3057 | } | |
3058 | ||
3059 | ||
3060 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3061 | PyObject *resultobj; | |
3062 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3063 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3064 | PyObject * obj0 = 0 ; | |
3065 | PyObject * obj1 = 0 ; | |
3066 | char *kwnames[] = { | |
3067 | (char *) "self",(char *) "menubar", NULL | |
3068 | }; | |
3069 | ||
3070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
3071 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3072 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3073 | { | |
3074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3075 | (arg1)->SetMenuBar(arg2); | |
3076 | ||
3077 | wxPyEndAllowThreads(__tstate); | |
3078 | if (PyErr_Occurred()) SWIG_fail; | |
3079 | } | |
3080 | Py_INCREF(Py_None); resultobj = Py_None; | |
3081 | return resultobj; | |
3082 | fail: | |
3083 | return NULL; | |
3084 | } | |
3085 | ||
3086 | ||
3087 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3088 | PyObject *resultobj; | |
3089 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3090 | wxMenuBar *result; | |
3091 | PyObject * obj0 = 0 ; | |
3092 | char *kwnames[] = { | |
3093 | (char *) "self", NULL | |
3094 | }; | |
3095 | ||
3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
3097 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3098 | { | |
3099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3100 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3101 | ||
3102 | wxPyEndAllowThreads(__tstate); | |
3103 | if (PyErr_Occurred()) SWIG_fail; | |
3104 | } | |
3105 | { | |
3106 | resultobj = wxPyMake_wxObject(result); | |
3107 | } | |
3108 | return resultobj; | |
3109 | fail: | |
3110 | return NULL; | |
3111 | } | |
3112 | ||
3113 | ||
3114 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3115 | PyObject *resultobj; | |
3116 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3117 | int arg2 ; | |
3118 | bool result; | |
3119 | PyObject * obj0 = 0 ; | |
994141e6 | 3120 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3121 | char *kwnames[] = { |
3122 | (char *) "self",(char *) "winid", NULL | |
3123 | }; | |
3124 | ||
994141e6 | 3125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3126 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3127 | { |
3128 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3129 | if (PyErr_Occurred()) SWIG_fail; | |
3130 | } | |
d14a1e28 RD |
3131 | { |
3132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3133 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3134 | ||
3135 | wxPyEndAllowThreads(__tstate); | |
3136 | if (PyErr_Occurred()) SWIG_fail; | |
3137 | } | |
4d5c3d91 | 3138 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3139 | return resultobj; |
3140 | fail: | |
3141 | return NULL; | |
3142 | } | |
3143 | ||
3144 | ||
3145 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3146 | PyObject *resultobj; | |
3147 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3148 | int arg2 = (int) 1 ; | |
3149 | long arg3 = (long) wxST_SIZEGRIP ; | |
e811c8ce | 3150 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3151 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3152 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3153 | wxStatusBar *result; | |
e811c8ce | 3154 | bool temp5 = False ; |
d14a1e28 | 3155 | PyObject * obj0 = 0 ; |
994141e6 RD |
3156 | PyObject * obj1 = 0 ; |
3157 | PyObject * obj2 = 0 ; | |
3158 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3159 | PyObject * obj4 = 0 ; |
3160 | char *kwnames[] = { | |
3161 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3162 | }; | |
3163 | ||
994141e6 | 3164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 3165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3166 | if (obj1) { |
3167 | { | |
3168 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3169 | if (PyErr_Occurred()) SWIG_fail; | |
3170 | } | |
3171 | } | |
3172 | if (obj2) { | |
3173 | { | |
3174 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
3175 | if (PyErr_Occurred()) SWIG_fail; | |
3176 | } | |
3177 | } | |
3178 | if (obj3) { | |
3179 | { | |
3180 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
3181 | if (PyErr_Occurred()) SWIG_fail; | |
3182 | } | |
3183 | } | |
d14a1e28 RD |
3184 | if (obj4) { |
3185 | { | |
3186 | arg5 = wxString_in_helper(obj4); | |
3187 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3188 | temp5 = True; |
d14a1e28 RD |
3189 | } |
3190 | } | |
3191 | { | |
3192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3193 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3194 | ||
3195 | wxPyEndAllowThreads(__tstate); | |
3196 | if (PyErr_Occurred()) SWIG_fail; | |
3197 | } | |
3198 | { | |
3199 | resultobj = wxPyMake_wxObject(result); | |
3200 | } | |
3201 | { | |
3202 | if (temp5) | |
3203 | delete arg5; | |
3204 | } | |
3205 | return resultobj; | |
3206 | fail: | |
3207 | { | |
3208 | if (temp5) | |
3209 | delete arg5; | |
3210 | } | |
3211 | return NULL; | |
3212 | } | |
3213 | ||
3214 | ||
3215 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3216 | PyObject *resultobj; | |
3217 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3218 | wxStatusBar *result; | |
3219 | PyObject * obj0 = 0 ; | |
3220 | char *kwnames[] = { | |
3221 | (char *) "self", NULL | |
3222 | }; | |
3223 | ||
3224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
3225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3226 | { | |
3227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3228 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3229 | ||
3230 | wxPyEndAllowThreads(__tstate); | |
3231 | if (PyErr_Occurred()) SWIG_fail; | |
3232 | } | |
3233 | { | |
3234 | resultobj = wxPyMake_wxObject(result); | |
3235 | } | |
3236 | return resultobj; | |
3237 | fail: | |
3238 | return NULL; | |
3239 | } | |
3240 | ||
3241 | ||
3242 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3243 | PyObject *resultobj; | |
3244 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3245 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3246 | PyObject * obj0 = 0 ; | |
3247 | PyObject * obj1 = 0 ; | |
3248 | char *kwnames[] = { | |
3249 | (char *) "self",(char *) "statBar", NULL | |
3250 | }; | |
3251 | ||
3252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
3253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3254 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3255 | { | |
3256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3257 | (arg1)->SetStatusBar(arg2); | |
3258 | ||
3259 | wxPyEndAllowThreads(__tstate); | |
3260 | if (PyErr_Occurred()) SWIG_fail; | |
3261 | } | |
3262 | Py_INCREF(Py_None); resultobj = Py_None; | |
3263 | return resultobj; | |
3264 | fail: | |
3265 | return NULL; | |
3266 | } | |
3267 | ||
3268 | ||
3269 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3270 | PyObject *resultobj; | |
3271 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3272 | wxString *arg2 = 0 ; | |
3273 | int arg3 = (int) 0 ; | |
e811c8ce | 3274 | bool temp2 = False ; |
d14a1e28 RD |
3275 | PyObject * obj0 = 0 ; |
3276 | PyObject * obj1 = 0 ; | |
994141e6 | 3277 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3278 | char *kwnames[] = { |
3279 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3280 | }; | |
3281 | ||
994141e6 | 3282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
3283 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3284 | { | |
3285 | arg2 = wxString_in_helper(obj1); | |
3286 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3287 | temp2 = True; |
d14a1e28 | 3288 | } |
994141e6 RD |
3289 | if (obj2) { |
3290 | { | |
3291 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
3293 | } | |
3294 | } | |
d14a1e28 RD |
3295 | { |
3296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3297 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3298 | ||
3299 | wxPyEndAllowThreads(__tstate); | |
3300 | if (PyErr_Occurred()) SWIG_fail; | |
3301 | } | |
3302 | Py_INCREF(Py_None); resultobj = Py_None; | |
3303 | { | |
3304 | if (temp2) | |
3305 | delete arg2; | |
3306 | } | |
3307 | return resultobj; | |
3308 | fail: | |
3309 | { | |
3310 | if (temp2) | |
3311 | delete arg2; | |
3312 | } | |
3313 | return NULL; | |
3314 | } | |
3315 | ||
3316 | ||
3317 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3318 | PyObject *resultobj; | |
3319 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3320 | int arg2 ; | |
3321 | int *arg3 = (int *) 0 ; | |
3322 | PyObject * obj0 = 0 ; | |
3323 | PyObject * obj1 = 0 ; | |
3324 | char *kwnames[] = { | |
3325 | (char *) "self",(char *) "widths", NULL | |
3326 | }; | |
3327 | ||
3328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
3329 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3330 | { | |
3331 | arg2 = PyList_Size(obj1); | |
3332 | arg3 = int_LIST_helper(obj1); | |
3333 | if (arg3 == NULL) SWIG_fail; | |
3334 | } | |
3335 | { | |
3336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3337 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3338 | ||
3339 | wxPyEndAllowThreads(__tstate); | |
3340 | if (PyErr_Occurred()) SWIG_fail; | |
3341 | } | |
3342 | Py_INCREF(Py_None); resultobj = Py_None; | |
3343 | { | |
3344 | if (arg3) delete [] arg3; | |
3345 | } | |
3346 | return resultobj; | |
3347 | fail: | |
3348 | { | |
3349 | if (arg3) delete [] arg3; | |
3350 | } | |
3351 | return NULL; | |
3352 | } | |
3353 | ||
3354 | ||
3355 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3356 | PyObject *resultobj; | |
3357 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3358 | wxString *arg2 = 0 ; | |
3359 | int arg3 = (int) 0 ; | |
e811c8ce | 3360 | bool temp2 = False ; |
d14a1e28 RD |
3361 | PyObject * obj0 = 0 ; |
3362 | PyObject * obj1 = 0 ; | |
994141e6 | 3363 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3364 | char *kwnames[] = { |
3365 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3366 | }; | |
3367 | ||
994141e6 | 3368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
3369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3370 | { | |
3371 | arg2 = wxString_in_helper(obj1); | |
3372 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3373 | temp2 = True; |
d14a1e28 | 3374 | } |
994141e6 RD |
3375 | if (obj2) { |
3376 | { | |
3377 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3378 | if (PyErr_Occurred()) SWIG_fail; | |
3379 | } | |
3380 | } | |
d14a1e28 RD |
3381 | { |
3382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3383 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3384 | ||
3385 | wxPyEndAllowThreads(__tstate); | |
3386 | if (PyErr_Occurred()) SWIG_fail; | |
3387 | } | |
3388 | Py_INCREF(Py_None); resultobj = Py_None; | |
3389 | { | |
3390 | if (temp2) | |
3391 | delete arg2; | |
3392 | } | |
3393 | return resultobj; | |
3394 | fail: | |
3395 | { | |
3396 | if (temp2) | |
3397 | delete arg2; | |
3398 | } | |
3399 | return NULL; | |
3400 | } | |
3401 | ||
3402 | ||
3403 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3404 | PyObject *resultobj; | |
3405 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3406 | int arg2 = (int) 0 ; | |
3407 | PyObject * obj0 = 0 ; | |
994141e6 | 3408 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3409 | char *kwnames[] = { |
3410 | (char *) "self",(char *) "number", NULL | |
3411 | }; | |
3412 | ||
994141e6 | 3413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3414 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3415 | if (obj1) { |
3416 | { | |
3417 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3418 | if (PyErr_Occurred()) SWIG_fail; | |
3419 | } | |
3420 | } | |
d14a1e28 RD |
3421 | { |
3422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3423 | (arg1)->PopStatusText(arg2); | |
3424 | ||
3425 | wxPyEndAllowThreads(__tstate); | |
3426 | if (PyErr_Occurred()) SWIG_fail; | |
3427 | } | |
3428 | Py_INCREF(Py_None); resultobj = Py_None; | |
3429 | return resultobj; | |
3430 | fail: | |
3431 | return NULL; | |
3432 | } | |
3433 | ||
3434 | ||
3435 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3436 | PyObject *resultobj; | |
3437 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3438 | int arg2 ; | |
3439 | PyObject * obj0 = 0 ; | |
994141e6 | 3440 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3441 | char *kwnames[] = { |
3442 | (char *) "self",(char *) "n", NULL | |
3443 | }; | |
3444 | ||
994141e6 | 3445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3447 | { |
3448 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3449 | if (PyErr_Occurred()) SWIG_fail; | |
3450 | } | |
d14a1e28 RD |
3451 | { |
3452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3453 | (arg1)->SetStatusBarPane(arg2); | |
3454 | ||
3455 | wxPyEndAllowThreads(__tstate); | |
3456 | if (PyErr_Occurred()) SWIG_fail; | |
3457 | } | |
3458 | Py_INCREF(Py_None); resultobj = Py_None; | |
3459 | return resultobj; | |
3460 | fail: | |
3461 | return NULL; | |
3462 | } | |
3463 | ||
3464 | ||
3465 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3466 | PyObject *resultobj; | |
3467 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3468 | int result; | |
3469 | PyObject * obj0 = 0 ; | |
3470 | char *kwnames[] = { | |
3471 | (char *) "self", NULL | |
3472 | }; | |
3473 | ||
3474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
3475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3476 | { | |
3477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3478 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3479 | ||
3480 | wxPyEndAllowThreads(__tstate); | |
3481 | if (PyErr_Occurred()) SWIG_fail; | |
3482 | } | |
994141e6 | 3483 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
3484 | return resultobj; |
3485 | fail: | |
3486 | return NULL; | |
3487 | } | |
3488 | ||
3489 | ||
3490 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3491 | PyObject *resultobj; | |
3492 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3493 | long arg2 = (long) -1 ; | |
e811c8ce | 3494 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3495 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3496 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3497 | wxToolBar *result; | |
e811c8ce | 3498 | bool temp4 = False ; |
d14a1e28 | 3499 | PyObject * obj0 = 0 ; |
994141e6 RD |
3500 | PyObject * obj1 = 0 ; |
3501 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3502 | PyObject * obj3 = 0 ; |
3503 | char *kwnames[] = { | |
3504 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3505 | }; | |
3506 | ||
994141e6 | 3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 3508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3509 | if (obj1) { |
3510 | { | |
3511 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
3512 | if (PyErr_Occurred()) SWIG_fail; | |
3513 | } | |
3514 | } | |
3515 | if (obj2) { | |
3516 | { | |
3517 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3518 | if (PyErr_Occurred()) SWIG_fail; | |
3519 | } | |
3520 | } | |
d14a1e28 RD |
3521 | if (obj3) { |
3522 | { | |
3523 | arg4 = wxString_in_helper(obj3); | |
3524 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3525 | temp4 = True; |
d14a1e28 RD |
3526 | } |
3527 | } | |
3528 | { | |
3529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3530 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3531 | ||
3532 | wxPyEndAllowThreads(__tstate); | |
3533 | if (PyErr_Occurred()) SWIG_fail; | |
3534 | } | |
3535 | { | |
3536 | resultobj = wxPyMake_wxObject(result); | |
3537 | } | |
3538 | { | |
3539 | if (temp4) | |
3540 | delete arg4; | |
3541 | } | |
3542 | return resultobj; | |
3543 | fail: | |
3544 | { | |
3545 | if (temp4) | |
3546 | delete arg4; | |
3547 | } | |
3548 | return NULL; | |
3549 | } | |
3550 | ||
3551 | ||
3552 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3553 | PyObject *resultobj; | |
3554 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3555 | wxToolBar *result; | |
3556 | PyObject * obj0 = 0 ; | |
3557 | char *kwnames[] = { | |
3558 | (char *) "self", NULL | |
3559 | }; | |
3560 | ||
3561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
3562 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3563 | { | |
3564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3565 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3566 | ||
3567 | wxPyEndAllowThreads(__tstate); | |
3568 | if (PyErr_Occurred()) SWIG_fail; | |
3569 | } | |
3570 | { | |
3571 | resultobj = wxPyMake_wxObject(result); | |
3572 | } | |
3573 | return resultobj; | |
3574 | fail: | |
3575 | return NULL; | |
3576 | } | |
3577 | ||
3578 | ||
3579 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3580 | PyObject *resultobj; | |
3581 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3582 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3583 | PyObject * obj0 = 0 ; | |
3584 | PyObject * obj1 = 0 ; | |
3585 | char *kwnames[] = { | |
3586 | (char *) "self",(char *) "toolbar", NULL | |
3587 | }; | |
3588 | ||
3589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
3590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3591 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3592 | { | |
3593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3594 | (arg1)->SetToolBar(arg2); | |
3595 | ||
3596 | wxPyEndAllowThreads(__tstate); | |
3597 | if (PyErr_Occurred()) SWIG_fail; | |
3598 | } | |
3599 | Py_INCREF(Py_None); resultobj = Py_None; | |
3600 | return resultobj; | |
3601 | fail: | |
3602 | return NULL; | |
3603 | } | |
3604 | ||
3605 | ||
3606 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3607 | PyObject *resultobj; | |
3608 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3609 | wxString *arg2 = 0 ; | |
3610 | bool arg3 ; | |
e811c8ce | 3611 | bool temp2 = False ; |
d14a1e28 RD |
3612 | PyObject * obj0 = 0 ; |
3613 | PyObject * obj1 = 0 ; | |
3614 | PyObject * obj2 = 0 ; | |
3615 | char *kwnames[] = { | |
3616 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3617 | }; | |
3618 | ||
3619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3620 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3621 | { | |
3622 | arg2 = wxString_in_helper(obj1); | |
3623 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3624 | temp2 = True; |
d14a1e28 | 3625 | } |
a41e16b6 | 3626 | { |
994141e6 | 3627 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
a41e16b6 RD |
3628 | if (PyErr_Occurred()) SWIG_fail; |
3629 | } | |
d14a1e28 RD |
3630 | { |
3631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3632 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3633 | ||
3634 | wxPyEndAllowThreads(__tstate); | |
3635 | if (PyErr_Occurred()) SWIG_fail; | |
3636 | } | |
3637 | Py_INCREF(Py_None); resultobj = Py_None; | |
3638 | { | |
3639 | if (temp2) | |
3640 | delete arg2; | |
3641 | } | |
3642 | return resultobj; | |
3643 | fail: | |
3644 | { | |
3645 | if (temp2) | |
3646 | delete arg2; | |
3647 | } | |
3648 | return NULL; | |
3649 | } | |
3650 | ||
3651 | ||
3652 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3653 | PyObject *resultobj; | |
3654 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3655 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3656 | PyObject * obj0 = 0 ; | |
3657 | PyObject * obj1 = 0 ; | |
3658 | char *kwnames[] = { | |
3659 | (char *) "self",(char *) "menu", NULL | |
3660 | }; | |
3661 | ||
3662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
3663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3664 | if (obj1) { | |
3665 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3666 | } | |
3667 | { | |
3668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3669 | (arg1)->DoMenuUpdates(arg2); | |
3670 | ||
3671 | wxPyEndAllowThreads(__tstate); | |
3672 | if (PyErr_Occurred()) SWIG_fail; | |
3673 | } | |
3674 | Py_INCREF(Py_None); resultobj = Py_None; | |
3675 | return resultobj; | |
3676 | fail: | |
3677 | return NULL; | |
3678 | } | |
3679 | ||
3680 | ||
3681 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3682 | PyObject *obj; | |
3683 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3684 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3685 | Py_INCREF(obj); | |
3686 | return Py_BuildValue((char *)""); | |
3687 | } | |
3688 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3689 | PyObject *resultobj; | |
3690 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 3691 | int arg2 ; |
d14a1e28 RD |
3692 | wxString *arg3 = 0 ; |
3693 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3694 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3695 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3696 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3697 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3698 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3699 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3700 | wxDialog *result; | |
e811c8ce | 3701 | bool temp3 = False ; |
d14a1e28 RD |
3702 | wxPoint temp4 ; |
3703 | wxSize temp5 ; | |
e811c8ce | 3704 | bool temp7 = False ; |
d14a1e28 | 3705 | PyObject * obj0 = 0 ; |
994141e6 | 3706 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3707 | PyObject * obj2 = 0 ; |
3708 | PyObject * obj3 = 0 ; | |
3709 | PyObject * obj4 = 0 ; | |
994141e6 | 3710 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3711 | PyObject * obj6 = 0 ; |
3712 | char *kwnames[] = { | |
3713 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3714 | }; | |
3715 | ||
994141e6 | 3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 3717 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3718 | { |
3719 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
3720 | if (PyErr_Occurred()) SWIG_fail; | |
3721 | } | |
d14a1e28 RD |
3722 | { |
3723 | arg3 = wxString_in_helper(obj2); | |
3724 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3725 | temp3 = True; |
d14a1e28 RD |
3726 | } |
3727 | if (obj3) { | |
3728 | { | |
3729 | arg4 = &temp4; | |
3730 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3731 | } | |
3732 | } | |
3733 | if (obj4) { | |
3734 | { | |
3735 | arg5 = &temp5; | |
3736 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3737 | } | |
3738 | } | |
994141e6 RD |
3739 | if (obj5) { |
3740 | { | |
3741 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
3742 | if (PyErr_Occurred()) SWIG_fail; | |
3743 | } | |
3744 | } | |
d14a1e28 RD |
3745 | if (obj6) { |
3746 | { | |
3747 | arg7 = wxString_in_helper(obj6); | |
3748 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3749 | temp7 = True; |
d14a1e28 RD |
3750 | } |
3751 | } | |
3752 | { | |
3753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3754 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3755 | ||
3756 | wxPyEndAllowThreads(__tstate); | |
3757 | if (PyErr_Occurred()) SWIG_fail; | |
3758 | } | |
3759 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3760 | { | |
3761 | if (temp3) | |
3762 | delete arg3; | |
3763 | } | |
3764 | { | |
3765 | if (temp7) | |
3766 | delete arg7; | |
3767 | } | |
3768 | return resultobj; | |
3769 | fail: | |
3770 | { | |
3771 | if (temp3) | |
3772 | delete arg3; | |
3773 | } | |
3774 | { | |
3775 | if (temp7) | |
3776 | delete arg7; | |
3777 | } | |
3778 | return NULL; | |
3779 | } | |
3780 | ||
3781 | ||
3782 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3783 | PyObject *resultobj; | |
3784 | wxDialog *result; | |
3785 | char *kwnames[] = { | |
3786 | NULL | |
3787 | }; | |
3788 | ||
3789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3790 | { | |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3792 | result = (wxDialog *)new wxDialog(); | |
3793 | ||
3794 | wxPyEndAllowThreads(__tstate); | |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3798 | return resultobj; | |
3799 | fail: | |
3800 | return NULL; | |
3801 | } | |
3802 | ||
3803 | ||
3804 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3805 | PyObject *resultobj; | |
3806 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3807 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3808 | int arg3 ; |
d14a1e28 RD |
3809 | wxString *arg4 = 0 ; |
3810 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3811 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3812 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3813 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3814 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3815 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3816 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3817 | bool result; | |
e811c8ce | 3818 | bool temp4 = False ; |
d14a1e28 RD |
3819 | wxPoint temp5 ; |
3820 | wxSize temp6 ; | |
e811c8ce | 3821 | bool temp8 = False ; |
d14a1e28 RD |
3822 | PyObject * obj0 = 0 ; |
3823 | PyObject * obj1 = 0 ; | |
994141e6 | 3824 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3825 | PyObject * obj3 = 0 ; |
3826 | PyObject * obj4 = 0 ; | |
3827 | PyObject * obj5 = 0 ; | |
994141e6 | 3828 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3829 | PyObject * obj7 = 0 ; |
3830 | char *kwnames[] = { | |
3831 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3832 | }; | |
3833 | ||
994141e6 | 3834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
3835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3836 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
3837 | { |
3838 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
3839 | if (PyErr_Occurred()) SWIG_fail; | |
3840 | } | |
d14a1e28 RD |
3841 | { |
3842 | arg4 = wxString_in_helper(obj3); | |
3843 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3844 | temp4 = True; |
d14a1e28 RD |
3845 | } |
3846 | if (obj4) { | |
3847 | { | |
3848 | arg5 = &temp5; | |
3849 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3850 | } | |
3851 | } | |
3852 | if (obj5) { | |
3853 | { | |
3854 | arg6 = &temp6; | |
3855 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3856 | } | |
3857 | } | |
994141e6 RD |
3858 | if (obj6) { |
3859 | { | |
3860 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
3861 | if (PyErr_Occurred()) SWIG_fail; | |
3862 | } | |
3863 | } | |
d14a1e28 RD |
3864 | if (obj7) { |
3865 | { | |
3866 | arg8 = wxString_in_helper(obj7); | |
3867 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3868 | temp8 = True; |
d14a1e28 RD |
3869 | } |
3870 | } | |
3871 | { | |
3872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3873 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3874 | ||
3875 | wxPyEndAllowThreads(__tstate); | |
3876 | if (PyErr_Occurred()) SWIG_fail; | |
3877 | } | |
4d5c3d91 | 3878 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3879 | { |
3880 | if (temp4) | |
3881 | delete arg4; | |
3882 | } | |
3883 | { | |
3884 | if (temp8) | |
3885 | delete arg8; | |
3886 | } | |
3887 | return resultobj; | |
3888 | fail: | |
3889 | { | |
3890 | if (temp4) | |
3891 | delete arg4; | |
3892 | } | |
3893 | { | |
3894 | if (temp8) | |
3895 | delete arg8; | |
3896 | } | |
3897 | return NULL; | |
3898 | } | |
3899 | ||
3900 | ||
3901 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3902 | PyObject *resultobj; | |
3903 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3904 | int arg2 ; | |
3905 | PyObject * obj0 = 0 ; | |
994141e6 | 3906 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3907 | char *kwnames[] = { |
3908 | (char *) "self",(char *) "returnCode", NULL | |
3909 | }; | |
3910 | ||
994141e6 | 3911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3912 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
3913 | { |
3914 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3915 | if (PyErr_Occurred()) SWIG_fail; | |
3916 | } | |
d14a1e28 RD |
3917 | { |
3918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3919 | (arg1)->SetReturnCode(arg2); | |
3920 | ||
3921 | wxPyEndAllowThreads(__tstate); | |
3922 | if (PyErr_Occurred()) SWIG_fail; | |
3923 | } | |
3924 | Py_INCREF(Py_None); resultobj = Py_None; | |
3925 | return resultobj; | |
3926 | fail: | |
3927 | return NULL; | |
3928 | } | |
3929 | ||
3930 | ||
3931 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3932 | PyObject *resultobj; | |
3933 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3934 | int result; | |
3935 | PyObject * obj0 = 0 ; | |
3936 | char *kwnames[] = { | |
3937 | (char *) "self", NULL | |
3938 | }; | |
3939 | ||
3940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
3941 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3942 | { | |
3943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3944 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
3945 | ||
3946 | wxPyEndAllowThreads(__tstate); | |
3947 | if (PyErr_Occurred()) SWIG_fail; | |
3948 | } | |
994141e6 | 3949 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
3950 | return resultobj; |
3951 | fail: | |
3952 | return NULL; | |
3953 | } | |
3954 | ||
3955 | ||
3956 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3957 | PyObject *resultobj; | |
3958 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3959 | wxString *arg2 = 0 ; | |
3960 | wxSizer *result; | |
e811c8ce | 3961 | bool temp2 = False ; |
d14a1e28 RD |
3962 | PyObject * obj0 = 0 ; |
3963 | PyObject * obj1 = 0 ; | |
3964 | char *kwnames[] = { | |
3965 | (char *) "self",(char *) "message", NULL | |
3966 | }; | |
3967 | ||
3968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
3969 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3970 | { | |
3971 | arg2 = wxString_in_helper(obj1); | |
3972 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3973 | temp2 = True; |
d14a1e28 RD |
3974 | } |
3975 | { | |
3976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3977 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
3978 | ||
3979 | wxPyEndAllowThreads(__tstate); | |
3980 | if (PyErr_Occurred()) SWIG_fail; | |
3981 | } | |
3982 | { | |
3983 | resultobj = wxPyMake_wxSizer(result); | |
3984 | } | |
3985 | { | |
3986 | if (temp2) | |
3987 | delete arg2; | |
3988 | } | |
3989 | return resultobj; | |
3990 | fail: | |
3991 | { | |
3992 | if (temp2) | |
3993 | delete arg2; | |
3994 | } | |
3995 | return NULL; | |
3996 | } | |
3997 | ||
3998 | ||
3999 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4000 | PyObject *resultobj; | |
4001 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4002 | long arg2 ; | |
4003 | wxSizer *result; | |
4004 | PyObject * obj0 = 0 ; | |
994141e6 | 4005 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4006 | char *kwnames[] = { |
4007 | (char *) "self",(char *) "flags", NULL | |
4008 | }; | |
4009 | ||
994141e6 | 4010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4011 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4012 | { |
4013 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
4015 | } | |
d14a1e28 RD |
4016 | { |
4017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4018 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4019 | ||
4020 | wxPyEndAllowThreads(__tstate); | |
4021 | if (PyErr_Occurred()) SWIG_fail; | |
4022 | } | |
4023 | { | |
4024 | resultobj = wxPyMake_wxSizer(result); | |
4025 | } | |
4026 | return resultobj; | |
4027 | fail: | |
4028 | return NULL; | |
4029 | } | |
4030 | ||
4031 | ||
d14a1e28 RD |
4032 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4033 | PyObject *resultobj; | |
4034 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4035 | bool result; | |
4036 | PyObject * obj0 = 0 ; | |
4037 | char *kwnames[] = { | |
4038 | (char *) "self", NULL | |
4039 | }; | |
4040 | ||
4041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
4042 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4043 | { | |
4044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4045 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4046 | ||
4047 | wxPyEndAllowThreads(__tstate); | |
4048 | if (PyErr_Occurred()) SWIG_fail; | |
4049 | } | |
4d5c3d91 | 4050 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4051 | return resultobj; |
4052 | fail: | |
4053 | return NULL; | |
4054 | } | |
4055 | ||
4056 | ||
4057 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4058 | PyObject *resultobj; | |
4059 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4060 | int result; | |
4061 | PyObject * obj0 = 0 ; | |
4062 | char *kwnames[] = { | |
4063 | (char *) "self", NULL | |
4064 | }; | |
4065 | ||
4066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
4067 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4068 | { | |
4069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4070 | result = (int)(arg1)->ShowModal(); | |
4071 | ||
4072 | wxPyEndAllowThreads(__tstate); | |
4073 | if (PyErr_Occurred()) SWIG_fail; | |
4074 | } | |
994141e6 | 4075 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4076 | return resultobj; |
4077 | fail: | |
4078 | return NULL; | |
4079 | } | |
4080 | ||
4081 | ||
4082 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4083 | PyObject *resultobj; | |
4084 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4085 | int arg2 ; | |
4086 | PyObject * obj0 = 0 ; | |
994141e6 | 4087 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4088 | char *kwnames[] = { |
4089 | (char *) "self",(char *) "retCode", NULL | |
4090 | }; | |
4091 | ||
994141e6 | 4092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4093 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4094 | { |
4095 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4096 | if (PyErr_Occurred()) SWIG_fail; | |
4097 | } | |
d14a1e28 RD |
4098 | { |
4099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4100 | (arg1)->EndModal(arg2); | |
4101 | ||
4102 | wxPyEndAllowThreads(__tstate); | |
4103 | if (PyErr_Occurred()) SWIG_fail; | |
4104 | } | |
4105 | Py_INCREF(Py_None); resultobj = Py_None; | |
4106 | return resultobj; | |
4107 | fail: | |
4108 | return NULL; | |
4109 | } | |
4110 | ||
4111 | ||
4112 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4113 | PyObject *resultobj; | |
4114 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4115 | bool result; | |
4116 | PyObject * obj0 = 0 ; | |
4117 | char *kwnames[] = { | |
4118 | (char *) "self", NULL | |
4119 | }; | |
4120 | ||
4121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
4122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4123 | { | |
4124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4125 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4126 | ||
4127 | wxPyEndAllowThreads(__tstate); | |
4128 | if (PyErr_Occurred()) SWIG_fail; | |
4129 | } | |
4d5c3d91 | 4130 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4131 | return resultobj; |
4132 | fail: | |
4133 | return NULL; | |
4134 | } | |
4135 | ||
4136 | ||
4137 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4138 | PyObject *obj; | |
4139 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4140 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4141 | Py_INCREF(obj); | |
4142 | return Py_BuildValue((char *)""); | |
4143 | } | |
4144 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4145 | PyObject *resultobj; | |
4146 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4147 | int arg2 ; |
d14a1e28 RD |
4148 | wxString *arg3 = 0 ; |
4149 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4150 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4151 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4152 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4153 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4154 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4155 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4156 | wxMiniFrame *result; | |
e811c8ce | 4157 | bool temp3 = False ; |
d14a1e28 RD |
4158 | wxPoint temp4 ; |
4159 | wxSize temp5 ; | |
e811c8ce | 4160 | bool temp7 = False ; |
d14a1e28 | 4161 | PyObject * obj0 = 0 ; |
994141e6 | 4162 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4163 | PyObject * obj2 = 0 ; |
4164 | PyObject * obj3 = 0 ; | |
4165 | PyObject * obj4 = 0 ; | |
994141e6 | 4166 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4167 | PyObject * obj6 = 0 ; |
4168 | char *kwnames[] = { | |
4169 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4170 | }; | |
4171 | ||
994141e6 | 4172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 4173 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4174 | { |
4175 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
4176 | if (PyErr_Occurred()) SWIG_fail; | |
4177 | } | |
d14a1e28 RD |
4178 | { |
4179 | arg3 = wxString_in_helper(obj2); | |
4180 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4181 | temp3 = True; |
d14a1e28 RD |
4182 | } |
4183 | if (obj3) { | |
4184 | { | |
4185 | arg4 = &temp4; | |
4186 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4187 | } | |
4188 | } | |
4189 | if (obj4) { | |
4190 | { | |
4191 | arg5 = &temp5; | |
4192 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4193 | } | |
4194 | } | |
994141e6 RD |
4195 | if (obj5) { |
4196 | { | |
4197 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
4198 | if (PyErr_Occurred()) SWIG_fail; | |
4199 | } | |
4200 | } | |
d14a1e28 RD |
4201 | if (obj6) { |
4202 | { | |
4203 | arg7 = wxString_in_helper(obj6); | |
4204 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4205 | temp7 = True; |
d14a1e28 RD |
4206 | } |
4207 | } | |
4208 | { | |
4209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4210 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4211 | ||
4212 | wxPyEndAllowThreads(__tstate); | |
4213 | if (PyErr_Occurred()) SWIG_fail; | |
4214 | } | |
4215 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4216 | { | |
4217 | if (temp3) | |
4218 | delete arg3; | |
4219 | } | |
4220 | { | |
4221 | if (temp7) | |
4222 | delete arg7; | |
4223 | } | |
4224 | return resultobj; | |
4225 | fail: | |
4226 | { | |
4227 | if (temp3) | |
4228 | delete arg3; | |
4229 | } | |
4230 | { | |
4231 | if (temp7) | |
4232 | delete arg7; | |
4233 | } | |
4234 | return NULL; | |
4235 | } | |
4236 | ||
4237 | ||
4238 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4239 | PyObject *resultobj; | |
4240 | wxMiniFrame *result; | |
4241 | char *kwnames[] = { | |
4242 | NULL | |
4243 | }; | |
4244 | ||
4245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4246 | { | |
4247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4248 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4249 | ||
4250 | wxPyEndAllowThreads(__tstate); | |
4251 | if (PyErr_Occurred()) SWIG_fail; | |
4252 | } | |
4253 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4254 | return resultobj; | |
4255 | fail: | |
4256 | return NULL; | |
4257 | } | |
4258 | ||
4259 | ||
4260 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4261 | PyObject *resultobj; | |
4262 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4263 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4264 | int arg3 ; |
d14a1e28 RD |
4265 | wxString *arg4 = 0 ; |
4266 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4267 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4268 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4269 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4270 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4271 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4272 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4273 | bool result; | |
e811c8ce | 4274 | bool temp4 = False ; |
d14a1e28 RD |
4275 | wxPoint temp5 ; |
4276 | wxSize temp6 ; | |
e811c8ce | 4277 | bool temp8 = False ; |
d14a1e28 RD |
4278 | PyObject * obj0 = 0 ; |
4279 | PyObject * obj1 = 0 ; | |
994141e6 | 4280 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4281 | PyObject * obj3 = 0 ; |
4282 | PyObject * obj4 = 0 ; | |
4283 | PyObject * obj5 = 0 ; | |
994141e6 | 4284 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4285 | PyObject * obj7 = 0 ; |
4286 | char *kwnames[] = { | |
4287 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4288 | }; | |
4289 | ||
994141e6 | 4290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
4291 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4292 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
4293 | { |
4294 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
4295 | if (PyErr_Occurred()) SWIG_fail; | |
4296 | } | |
d14a1e28 RD |
4297 | { |
4298 | arg4 = wxString_in_helper(obj3); | |
4299 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4300 | temp4 = True; |
d14a1e28 RD |
4301 | } |
4302 | if (obj4) { | |
4303 | { | |
4304 | arg5 = &temp5; | |
4305 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4306 | } | |
4307 | } | |
4308 | if (obj5) { | |
4309 | { | |
4310 | arg6 = &temp6; | |
4311 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4312 | } | |
4313 | } | |
994141e6 RD |
4314 | if (obj6) { |
4315 | { | |
4316 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
4317 | if (PyErr_Occurred()) SWIG_fail; | |
4318 | } | |
4319 | } | |
d14a1e28 RD |
4320 | if (obj7) { |
4321 | { | |
4322 | arg8 = wxString_in_helper(obj7); | |
4323 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4324 | temp8 = True; |
d14a1e28 RD |
4325 | } |
4326 | } | |
4327 | { | |
4328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4329 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4330 | ||
4331 | wxPyEndAllowThreads(__tstate); | |
4332 | if (PyErr_Occurred()) SWIG_fail; | |
4333 | } | |
4d5c3d91 | 4334 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4335 | { |
4336 | if (temp4) | |
4337 | delete arg4; | |
4338 | } | |
4339 | { | |
4340 | if (temp8) | |
4341 | delete arg8; | |
4342 | } | |
4343 | return resultobj; | |
4344 | fail: | |
4345 | { | |
4346 | if (temp4) | |
4347 | delete arg4; | |
4348 | } | |
4349 | { | |
4350 | if (temp8) | |
4351 | delete arg8; | |
4352 | } | |
4353 | return NULL; | |
4354 | } | |
4355 | ||
4356 | ||
4357 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4358 | PyObject *obj; | |
4359 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4360 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4361 | Py_INCREF(obj); | |
4362 | return Py_BuildValue((char *)""); | |
4363 | } | |
4364 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4365 | PyObject *resultobj; | |
4366 | wxBitmap *arg1 = 0 ; | |
4367 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4368 | int arg3 ; |
d14a1e28 RD |
4369 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4370 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4371 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4372 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4373 | long arg6 = (long) wxNO_BORDER ; | |
4374 | wxSplashScreenWindow *result; | |
4375 | wxPoint temp4 ; | |
4376 | wxSize temp5 ; | |
4377 | PyObject * obj0 = 0 ; | |
4378 | PyObject * obj1 = 0 ; | |
994141e6 | 4379 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4380 | PyObject * obj3 = 0 ; |
4381 | PyObject * obj4 = 0 ; | |
994141e6 | 4382 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4383 | char *kwnames[] = { |
4384 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4385 | }; | |
4386 | ||
994141e6 | 4387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
4388 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4389 | if (arg1 == NULL) { | |
4390 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4391 | } | |
4392 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
4393 | { |
4394 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4395 | if (PyErr_Occurred()) SWIG_fail; | |
4396 | } | |
d14a1e28 RD |
4397 | if (obj3) { |
4398 | { | |
4399 | arg4 = &temp4; | |
4400 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4401 | } | |
4402 | } | |
4403 | if (obj4) { | |
4404 | { | |
4405 | arg5 = &temp5; | |
4406 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4407 | } | |
4408 | } | |
994141e6 RD |
4409 | if (obj5) { |
4410 | { | |
4411 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
4412 | if (PyErr_Occurred()) SWIG_fail; | |
4413 | } | |
4414 | } | |
d14a1e28 RD |
4415 | { |
4416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4417 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4418 | ||
4419 | wxPyEndAllowThreads(__tstate); | |
4420 | if (PyErr_Occurred()) SWIG_fail; | |
4421 | } | |
4422 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1); | |
4423 | return resultobj; | |
4424 | fail: | |
4425 | return NULL; | |
4426 | } | |
4427 | ||
4428 | ||
4429 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4430 | PyObject *resultobj; | |
4431 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4432 | wxBitmap *arg2 = 0 ; | |
4433 | PyObject * obj0 = 0 ; | |
4434 | PyObject * obj1 = 0 ; | |
4435 | char *kwnames[] = { | |
4436 | (char *) "self",(char *) "bitmap", NULL | |
4437 | }; | |
4438 | ||
4439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
4440 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4441 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4442 | if (arg2 == NULL) { | |
4443 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4444 | } | |
4445 | { | |
4446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4447 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4448 | ||
4449 | wxPyEndAllowThreads(__tstate); | |
4450 | if (PyErr_Occurred()) SWIG_fail; | |
4451 | } | |
4452 | Py_INCREF(Py_None); resultobj = Py_None; | |
4453 | return resultobj; | |
4454 | fail: | |
4455 | return NULL; | |
4456 | } | |
4457 | ||
4458 | ||
4459 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4460 | PyObject *resultobj; | |
4461 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4462 | wxBitmap *result; | |
4463 | PyObject * obj0 = 0 ; | |
4464 | char *kwnames[] = { | |
4465 | (char *) "self", NULL | |
4466 | }; | |
4467 | ||
4468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
4469 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4470 | { | |
4471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4472 | { | |
4473 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4474 | result = (wxBitmap *) &_result_ref; | |
4475 | } | |
4476 | ||
4477 | wxPyEndAllowThreads(__tstate); | |
4478 | if (PyErr_Occurred()) SWIG_fail; | |
4479 | } | |
4480 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0); | |
4481 | return resultobj; | |
4482 | fail: | |
4483 | return NULL; | |
4484 | } | |
4485 | ||
4486 | ||
4487 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4488 | PyObject *obj; | |
4489 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4490 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4491 | Py_INCREF(obj); | |
4492 | return Py_BuildValue((char *)""); | |
4493 | } | |
4494 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4495 | PyObject *resultobj; | |
4496 | wxBitmap *arg1 = 0 ; | |
4497 | long arg2 ; | |
4498 | int arg3 ; | |
4499 | wxWindow *arg4 = (wxWindow *) 0 ; | |
e811c8ce | 4500 | int arg5 ; |
d14a1e28 RD |
4501 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4502 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4503 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4504 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4505 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4506 | wxSplashScreen *result; | |
4507 | wxPoint temp6 ; | |
4508 | wxSize temp7 ; | |
4509 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4510 | PyObject * obj1 = 0 ; |
4511 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4512 | PyObject * obj3 = 0 ; |
994141e6 | 4513 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4514 | PyObject * obj5 = 0 ; |
4515 | PyObject * obj6 = 0 ; | |
994141e6 | 4516 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4517 | char *kwnames[] = { |
4518 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4519 | }; | |
4520 | ||
994141e6 | 4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
4522 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4523 | if (arg1 == NULL) { | |
4524 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4525 | } | |
994141e6 RD |
4526 | { |
4527 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
4528 | if (PyErr_Occurred()) SWIG_fail; | |
4529 | } | |
4530 | { | |
4531 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4532 | if (PyErr_Occurred()) SWIG_fail; | |
4533 | } | |
d14a1e28 | 4534 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4535 | { |
4536 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
4537 | if (PyErr_Occurred()) SWIG_fail; | |
4538 | } | |
d14a1e28 RD |
4539 | if (obj5) { |
4540 | { | |
4541 | arg6 = &temp6; | |
4542 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4543 | } | |
4544 | } | |
4545 | if (obj6) { | |
4546 | { | |
4547 | arg7 = &temp7; | |
4548 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4549 | } | |
4550 | } | |
994141e6 RD |
4551 | if (obj7) { |
4552 | { | |
4553 | arg8 = (long) SWIG_PyObj_AsLong(obj7); | |
4554 | if (PyErr_Occurred()) SWIG_fail; | |
4555 | } | |
4556 | } | |
d14a1e28 RD |
4557 | { |
4558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4559 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4560 | ||
4561 | wxPyEndAllowThreads(__tstate); | |
4562 | if (PyErr_Occurred()) SWIG_fail; | |
4563 | } | |
4564 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1); | |
4565 | return resultobj; | |
4566 | fail: | |
4567 | return NULL; | |
4568 | } | |
4569 | ||
4570 | ||
4571 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4572 | PyObject *resultobj; | |
4573 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4574 | long result; | |
4575 | PyObject * obj0 = 0 ; | |
4576 | char *kwnames[] = { | |
4577 | (char *) "self", NULL | |
4578 | }; | |
4579 | ||
4580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
4581 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4582 | { | |
4583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4584 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4585 | ||
4586 | wxPyEndAllowThreads(__tstate); | |
4587 | if (PyErr_Occurred()) SWIG_fail; | |
4588 | } | |
994141e6 | 4589 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
4590 | return resultobj; |
4591 | fail: | |
4592 | return NULL; | |
4593 | } | |
4594 | ||
4595 | ||
4596 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4597 | PyObject *resultobj; | |
4598 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4599 | wxSplashScreenWindow *result; | |
4600 | PyObject * obj0 = 0 ; | |
4601 | char *kwnames[] = { | |
4602 | (char *) "self", NULL | |
4603 | }; | |
4604 | ||
4605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
4606 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4607 | { | |
4608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4609 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4610 | ||
4611 | wxPyEndAllowThreads(__tstate); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | } | |
4614 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0); | |
4615 | return resultobj; | |
4616 | fail: | |
4617 | return NULL; | |
4618 | } | |
4619 | ||
4620 | ||
4621 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4622 | PyObject *resultobj; | |
4623 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4624 | int result; | |
4625 | PyObject * obj0 = 0 ; | |
4626 | char *kwnames[] = { | |
4627 | (char *) "self", NULL | |
4628 | }; | |
4629 | ||
4630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
4631 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4632 | { | |
4633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4634 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4635 | ||
4636 | wxPyEndAllowThreads(__tstate); | |
4637 | if (PyErr_Occurred()) SWIG_fail; | |
4638 | } | |
994141e6 | 4639 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4640 | return resultobj; |
4641 | fail: | |
4642 | return NULL; | |
4643 | } | |
4644 | ||
4645 | ||
4646 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4647 | PyObject *obj; | |
4648 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4649 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4650 | Py_INCREF(obj); | |
4651 | return Py_BuildValue((char *)""); | |
4652 | } | |
4653 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4654 | PyObject *resultobj; | |
4655 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4656 | int arg2 = (int) -1 ; |
d14a1e28 RD |
4657 | long arg3 = (long) wxST_SIZEGRIP ; |
4658 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4659 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4660 | wxStatusBar *result; | |
e811c8ce | 4661 | bool temp4 = False ; |
d14a1e28 | 4662 | PyObject * obj0 = 0 ; |
994141e6 RD |
4663 | PyObject * obj1 = 0 ; |
4664 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4665 | PyObject * obj3 = 0 ; |
4666 | char *kwnames[] = { | |
4667 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4668 | }; | |
4669 | ||
994141e6 | 4670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 4671 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4672 | if (obj1) { |
4673 | { | |
4674 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4675 | if (PyErr_Occurred()) SWIG_fail; | |
4676 | } | |
4677 | } | |
4678 | if (obj2) { | |
4679 | { | |
4680 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
4681 | if (PyErr_Occurred()) SWIG_fail; | |
4682 | } | |
4683 | } | |
d14a1e28 RD |
4684 | if (obj3) { |
4685 | { | |
4686 | arg4 = wxString_in_helper(obj3); | |
4687 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4688 | temp4 = True; |
d14a1e28 RD |
4689 | } |
4690 | } | |
4691 | { | |
4692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4693 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4694 | ||
4695 | wxPyEndAllowThreads(__tstate); | |
4696 | if (PyErr_Occurred()) SWIG_fail; | |
4697 | } | |
4698 | { | |
4699 | resultobj = wxPyMake_wxObject(result); | |
4700 | } | |
4701 | { | |
4702 | if (temp4) | |
4703 | delete arg4; | |
4704 | } | |
4705 | return resultobj; | |
4706 | fail: | |
4707 | { | |
4708 | if (temp4) | |
4709 | delete arg4; | |
4710 | } | |
4711 | return NULL; | |
4712 | } | |
4713 | ||
4714 | ||
4715 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4716 | PyObject *resultobj; | |
4717 | wxStatusBar *result; | |
4718 | char *kwnames[] = { | |
4719 | NULL | |
4720 | }; | |
4721 | ||
4722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4723 | { | |
4724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4725 | result = (wxStatusBar *)new wxStatusBar(); | |
4726 | ||
4727 | wxPyEndAllowThreads(__tstate); | |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
4729 | } | |
4730 | { | |
4731 | resultobj = wxPyMake_wxObject(result); | |
4732 | } | |
4733 | return resultobj; | |
4734 | fail: | |
4735 | return NULL; | |
4736 | } | |
4737 | ||
4738 | ||
4739 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4740 | PyObject *resultobj; | |
4741 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4742 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4743 | int arg3 ; |
d14a1e28 RD |
4744 | long arg4 = (long) wxST_SIZEGRIP ; |
4745 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4746 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4747 | bool result; | |
e811c8ce | 4748 | bool temp5 = False ; |
d14a1e28 RD |
4749 | PyObject * obj0 = 0 ; |
4750 | PyObject * obj1 = 0 ; | |
994141e6 RD |
4751 | PyObject * obj2 = 0 ; |
4752 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4753 | PyObject * obj4 = 0 ; |
4754 | char *kwnames[] = { | |
4755 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4756 | }; | |
4757 | ||
994141e6 | 4758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
4759 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4760 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
4761 | { |
4762 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4763 | if (PyErr_Occurred()) SWIG_fail; | |
4764 | } | |
4765 | if (obj3) { | |
4766 | { | |
4767 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
4768 | if (PyErr_Occurred()) SWIG_fail; | |
4769 | } | |
4770 | } | |
d14a1e28 RD |
4771 | if (obj4) { |
4772 | { | |
4773 | arg5 = wxString_in_helper(obj4); | |
4774 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 4775 | temp5 = True; |
d14a1e28 RD |
4776 | } |
4777 | } | |
4778 | { | |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
4d5c3d91 | 4785 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4786 | { |
4787 | if (temp5) | |
4788 | delete arg5; | |
4789 | } | |
4790 | return resultobj; | |
4791 | fail: | |
4792 | { | |
4793 | if (temp5) | |
4794 | delete arg5; | |
4795 | } | |
4796 | return NULL; | |
4797 | } | |
4798 | ||
4799 | ||
4800 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4801 | PyObject *resultobj; | |
4802 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4803 | int arg2 = (int) 1 ; | |
4804 | PyObject * obj0 = 0 ; | |
994141e6 | 4805 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4806 | char *kwnames[] = { |
4807 | (char *) "self",(char *) "number", NULL | |
4808 | }; | |
4809 | ||
994141e6 | 4810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4811 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4812 | if (obj1) { |
4813 | { | |
4814 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4815 | if (PyErr_Occurred()) SWIG_fail; | |
4816 | } | |
4817 | } | |
d14a1e28 RD |
4818 | { |
4819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4820 | (arg1)->SetFieldsCount(arg2); | |
4821 | ||
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | Py_INCREF(Py_None); resultobj = Py_None; | |
4826 | return resultobj; | |
4827 | fail: | |
4828 | return NULL; | |
4829 | } | |
4830 | ||
4831 | ||
4832 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4833 | PyObject *resultobj; | |
4834 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4835 | int result; | |
4836 | PyObject * obj0 = 0 ; | |
4837 | char *kwnames[] = { | |
4838 | (char *) "self", NULL | |
4839 | }; | |
4840 | ||
4841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
4842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4843 | { | |
4844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4845 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4846 | ||
4847 | wxPyEndAllowThreads(__tstate); | |
4848 | if (PyErr_Occurred()) SWIG_fail; | |
4849 | } | |
994141e6 | 4850 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4851 | return resultobj; |
4852 | fail: | |
4853 | return NULL; | |
4854 | } | |
4855 | ||
4856 | ||
4857 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4858 | PyObject *resultobj; | |
4859 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4860 | wxString *arg2 = 0 ; | |
4861 | int arg3 = (int) 0 ; | |
e811c8ce | 4862 | bool temp2 = False ; |
d14a1e28 RD |
4863 | PyObject * obj0 = 0 ; |
4864 | PyObject * obj1 = 0 ; | |
994141e6 | 4865 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4866 | char *kwnames[] = { |
4867 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4868 | }; | |
4869 | ||
994141e6 | 4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
4871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4872 | { | |
4873 | arg2 = wxString_in_helper(obj1); | |
4874 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4875 | temp2 = True; |
d14a1e28 | 4876 | } |
994141e6 RD |
4877 | if (obj2) { |
4878 | { | |
4879 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4880 | if (PyErr_Occurred()) SWIG_fail; | |
4881 | } | |
4882 | } | |
d14a1e28 RD |
4883 | { |
4884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4885 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4886 | ||
4887 | wxPyEndAllowThreads(__tstate); | |
4888 | if (PyErr_Occurred()) SWIG_fail; | |
4889 | } | |
4890 | Py_INCREF(Py_None); resultobj = Py_None; | |
4891 | { | |
4892 | if (temp2) | |
4893 | delete arg2; | |
4894 | } | |
4895 | return resultobj; | |
4896 | fail: | |
4897 | { | |
4898 | if (temp2) | |
4899 | delete arg2; | |
4900 | } | |
4901 | return NULL; | |
4902 | } | |
4903 | ||
4904 | ||
4905 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4906 | PyObject *resultobj; | |
4907 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4908 | int arg2 = (int) 0 ; | |
4909 | wxString result; | |
4910 | PyObject * obj0 = 0 ; | |
994141e6 | 4911 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4912 | char *kwnames[] = { |
4913 | (char *) "self",(char *) "number", NULL | |
4914 | }; | |
4915 | ||
994141e6 | 4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4917 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
4918 | if (obj1) { |
4919 | { | |
4920 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4921 | if (PyErr_Occurred()) SWIG_fail; | |
4922 | } | |
4923 | } | |
d14a1e28 RD |
4924 | { |
4925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4926 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
4927 | ||
4928 | wxPyEndAllowThreads(__tstate); | |
4929 | if (PyErr_Occurred()) SWIG_fail; | |
4930 | } | |
4931 | { | |
4932 | #if wxUSE_UNICODE | |
4933 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4934 | #else | |
4935 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4936 | #endif | |
4937 | } | |
4938 | return resultobj; | |
4939 | fail: | |
4940 | return NULL; | |
4941 | } | |
4942 | ||
4943 | ||
4944 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4945 | PyObject *resultobj; | |
4946 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4947 | wxString *arg2 = 0 ; | |
4948 | int arg3 = (int) 0 ; | |
e811c8ce | 4949 | bool temp2 = False ; |
d14a1e28 RD |
4950 | PyObject * obj0 = 0 ; |
4951 | PyObject * obj1 = 0 ; | |
994141e6 | 4952 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4953 | char *kwnames[] = { |
4954 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4955 | }; | |
4956 | ||
994141e6 | 4957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
4958 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4959 | { | |
4960 | arg2 = wxString_in_helper(obj1); | |
4961 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4962 | temp2 = True; |
d14a1e28 | 4963 | } |
994141e6 RD |
4964 | if (obj2) { |
4965 | { | |
4966 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4967 | if (PyErr_Occurred()) SWIG_fail; | |
4968 | } | |
4969 | } | |
d14a1e28 RD |
4970 | { |
4971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4972 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
4973 | ||
4974 | wxPyEndAllowThreads(__tstate); | |
4975 | if (PyErr_Occurred()) SWIG_fail; | |
4976 | } | |
4977 | Py_INCREF(Py_None); resultobj = Py_None; | |
4978 | { | |
4979 | if (temp2) | |
4980 | delete arg2; | |
4981 | } | |
4982 | return resultobj; | |
4983 | fail: | |
4984 | { | |
4985 | if (temp2) | |
4986 | delete arg2; | |
4987 | } | |
4988 | return NULL; | |
4989 | } | |
4990 | ||
4991 | ||
4992 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4993 | PyObject *resultobj; | |
4994 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4995 | int arg2 = (int) 0 ; | |
4996 | PyObject * obj0 = 0 ; | |
994141e6 | 4997 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4998 | char *kwnames[] = { |
4999 | (char *) "self",(char *) "number", NULL | |
5000 | }; | |
5001 | ||
994141e6 | 5002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5003 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5004 | if (obj1) { |
5005 | { | |
5006 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5007 | if (PyErr_Occurred()) SWIG_fail; | |
5008 | } | |
5009 | } | |
d14a1e28 RD |
5010 | { |
5011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5012 | (arg1)->PopStatusText(arg2); | |
5013 | ||
5014 | wxPyEndAllowThreads(__tstate); | |
5015 | if (PyErr_Occurred()) SWIG_fail; | |
5016 | } | |
5017 | Py_INCREF(Py_None); resultobj = Py_None; | |
5018 | return resultobj; | |
5019 | fail: | |
5020 | return NULL; | |
5021 | } | |
5022 | ||
5023 | ||
5024 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5025 | PyObject *resultobj; | |
5026 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5027 | int arg2 ; | |
5028 | int *arg3 = (int *) 0 ; | |
5029 | PyObject * obj0 = 0 ; | |
5030 | PyObject * obj1 = 0 ; | |
5031 | char *kwnames[] = { | |
5032 | (char *) "self",(char *) "widths", NULL | |
5033 | }; | |
5034 | ||
5035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
5036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5037 | { | |
5038 | arg2 = PyList_Size(obj1); | |
5039 | arg3 = int_LIST_helper(obj1); | |
5040 | if (arg3 == NULL) SWIG_fail; | |
5041 | } | |
5042 | { | |
5043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5044 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5045 | ||
5046 | wxPyEndAllowThreads(__tstate); | |
5047 | if (PyErr_Occurred()) SWIG_fail; | |
5048 | } | |
5049 | Py_INCREF(Py_None); resultobj = Py_None; | |
5050 | { | |
5051 | if (arg3) delete [] arg3; | |
5052 | } | |
5053 | return resultobj; | |
5054 | fail: | |
5055 | { | |
5056 | if (arg3) delete [] arg3; | |
5057 | } | |
5058 | return NULL; | |
5059 | } | |
5060 | ||
5061 | ||
5062 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5063 | PyObject *resultobj; | |
5064 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5065 | int arg2 ; | |
7722248d | 5066 | wxRect result; |
d14a1e28 | 5067 | PyObject * obj0 = 0 ; |
994141e6 | 5068 | PyObject * obj1 = 0 ; |
d14a1e28 | 5069 | char *kwnames[] = { |
7722248d | 5070 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5071 | }; |
5072 | ||
994141e6 | 5073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5075 | { |
5076 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5077 | if (PyErr_Occurred()) SWIG_fail; | |
5078 | } | |
d14a1e28 RD |
5079 | { |
5080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5081 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5082 | |
5083 | wxPyEndAllowThreads(__tstate); | |
5084 | if (PyErr_Occurred()) SWIG_fail; | |
5085 | } | |
7722248d RD |
5086 | { |
5087 | wxRect * resultptr; | |
5088 | resultptr = new wxRect((wxRect &) result); | |
5089 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
5090 | } | |
d14a1e28 RD |
5091 | return resultobj; |
5092 | fail: | |
5093 | return NULL; | |
5094 | } | |
5095 | ||
5096 | ||
5097 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5098 | PyObject *resultobj; | |
5099 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5100 | int arg2 ; | |
5101 | PyObject * obj0 = 0 ; | |
994141e6 | 5102 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5103 | char *kwnames[] = { |
5104 | (char *) "self",(char *) "height", NULL | |
5105 | }; | |
5106 | ||
994141e6 | 5107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5109 | { |
5110 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5111 | if (PyErr_Occurred()) SWIG_fail; | |
5112 | } | |
d14a1e28 RD |
5113 | { |
5114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5115 | (arg1)->SetMinHeight(arg2); | |
5116 | ||
5117 | wxPyEndAllowThreads(__tstate); | |
5118 | if (PyErr_Occurred()) SWIG_fail; | |
5119 | } | |
5120 | Py_INCREF(Py_None); resultobj = Py_None; | |
5121 | return resultobj; | |
5122 | fail: | |
5123 | return NULL; | |
5124 | } | |
5125 | ||
5126 | ||
5127 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5128 | PyObject *resultobj; | |
5129 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5130 | int result; | |
5131 | PyObject * obj0 = 0 ; | |
5132 | char *kwnames[] = { | |
5133 | (char *) "self", NULL | |
5134 | }; | |
5135 | ||
5136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
5137 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5138 | { | |
5139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5140 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5141 | ||
5142 | wxPyEndAllowThreads(__tstate); | |
5143 | if (PyErr_Occurred()) SWIG_fail; | |
5144 | } | |
994141e6 | 5145 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5146 | return resultobj; |
5147 | fail: | |
5148 | return NULL; | |
5149 | } | |
5150 | ||
5151 | ||
5152 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5153 | PyObject *resultobj; | |
5154 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5155 | int result; | |
5156 | PyObject * obj0 = 0 ; | |
5157 | char *kwnames[] = { | |
5158 | (char *) "self", NULL | |
5159 | }; | |
5160 | ||
5161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
5162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5163 | { | |
5164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5165 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5166 | ||
5167 | wxPyEndAllowThreads(__tstate); | |
5168 | if (PyErr_Occurred()) SWIG_fail; | |
5169 | } | |
994141e6 | 5170 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5171 | return resultobj; |
5172 | fail: | |
5173 | return NULL; | |
5174 | } | |
5175 | ||
5176 | ||
5177 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5178 | PyObject *obj; | |
5179 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5180 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5181 | Py_INCREF(obj); | |
5182 | return Py_BuildValue((char *)""); | |
5183 | } | |
b2dc1044 RD |
5184 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5185 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5186 | return 1; | |
5187 | } | |
5188 | ||
5189 | ||
5190 | static PyObject *_wrap_SplitterNameStr_get() { | |
5191 | PyObject *pyobj; | |
5192 | ||
5193 | { | |
5194 | #if wxUSE_UNICODE | |
5195 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5196 | #else | |
5197 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5198 | #endif | |
5199 | } | |
5200 | return pyobj; | |
5201 | } | |
5202 | ||
5203 | ||
d14a1e28 RD |
5204 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5205 | PyObject *resultobj; | |
5206 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5207 | int arg2 ; |
d14a1e28 RD |
5208 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5209 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5210 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5211 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5212 | long arg5 = (long) wxSP_3D ; | |
5213 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5214 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5215 | wxSplitterWindow *result; | |
5216 | wxPoint temp3 ; | |
5217 | wxSize temp4 ; | |
e811c8ce | 5218 | bool temp6 = False ; |
d14a1e28 | 5219 | PyObject * obj0 = 0 ; |
994141e6 | 5220 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5221 | PyObject * obj2 = 0 ; |
5222 | PyObject * obj3 = 0 ; | |
994141e6 | 5223 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5224 | PyObject * obj5 = 0 ; |
5225 | char *kwnames[] = { | |
994141e6 | 5226 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5227 | }; |
5228 | ||
994141e6 | 5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 5230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5231 | { |
5232 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5233 | if (PyErr_Occurred()) SWIG_fail; | |
5234 | } | |
d14a1e28 RD |
5235 | if (obj2) { |
5236 | { | |
5237 | arg3 = &temp3; | |
5238 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5239 | } | |
5240 | } | |
5241 | if (obj3) { | |
5242 | { | |
5243 | arg4 = &temp4; | |
5244 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5245 | } | |
5246 | } | |
994141e6 RD |
5247 | if (obj4) { |
5248 | { | |
5249 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
5250 | if (PyErr_Occurred()) SWIG_fail; | |
5251 | } | |
5252 | } | |
d14a1e28 RD |
5253 | if (obj5) { |
5254 | { | |
5255 | arg6 = wxString_in_helper(obj5); | |
5256 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5257 | temp6 = True; |
d14a1e28 RD |
5258 | } |
5259 | } | |
5260 | { | |
5261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5262 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5263 | ||
5264 | wxPyEndAllowThreads(__tstate); | |
5265 | if (PyErr_Occurred()) SWIG_fail; | |
5266 | } | |
5267 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5268 | { | |
5269 | if (temp6) | |
5270 | delete arg6; | |
5271 | } | |
5272 | return resultobj; | |
5273 | fail: | |
5274 | { | |
5275 | if (temp6) | |
5276 | delete arg6; | |
5277 | } | |
5278 | return NULL; | |
5279 | } | |
5280 | ||
5281 | ||
5282 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5283 | PyObject *resultobj; | |
5284 | wxSplitterWindow *result; | |
5285 | char *kwnames[] = { | |
5286 | NULL | |
5287 | }; | |
5288 | ||
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5290 | { | |
5291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5292 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5293 | ||
5294 | wxPyEndAllowThreads(__tstate); | |
5295 | if (PyErr_Occurred()) SWIG_fail; | |
5296 | } | |
5297 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5298 | return resultobj; | |
5299 | fail: | |
5300 | return NULL; | |
5301 | } | |
5302 | ||
5303 | ||
5304 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5305 | PyObject *resultobj; | |
5306 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5307 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 5308 | int arg3 ; |
d14a1e28 RD |
5309 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5310 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5311 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5312 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5313 | long arg6 = (long) wxSP_3D ; | |
5314 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5315 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5316 | bool result; | |
5317 | wxPoint temp4 ; | |
5318 | wxSize temp5 ; | |
e811c8ce | 5319 | bool temp7 = False ; |
d14a1e28 RD |
5320 | PyObject * obj0 = 0 ; |
5321 | PyObject * obj1 = 0 ; | |
994141e6 | 5322 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5323 | PyObject * obj3 = 0 ; |
5324 | PyObject * obj4 = 0 ; | |
994141e6 | 5325 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5326 | PyObject * obj6 = 0 ; |
5327 | char *kwnames[] = { | |
994141e6 | 5328 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5329 | }; |
5330 | ||
994141e6 | 5331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
5332 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5333 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
5334 | { |
5335 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
5336 | if (PyErr_Occurred()) SWIG_fail; | |
5337 | } | |
d14a1e28 RD |
5338 | if (obj3) { |
5339 | { | |
5340 | arg4 = &temp4; | |
5341 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5342 | } | |
5343 | } | |
5344 | if (obj4) { | |
5345 | { | |
5346 | arg5 = &temp5; | |
5347 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5348 | } | |
5349 | } | |
994141e6 RD |
5350 | if (obj5) { |
5351 | { | |
5352 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
5353 | if (PyErr_Occurred()) SWIG_fail; | |
5354 | } | |
5355 | } | |
d14a1e28 RD |
5356 | if (obj6) { |
5357 | { | |
5358 | arg7 = wxString_in_helper(obj6); | |
5359 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5360 | temp7 = True; |
d14a1e28 RD |
5361 | } |
5362 | } | |
5363 | { | |
5364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5365 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5366 | ||
5367 | wxPyEndAllowThreads(__tstate); | |
5368 | if (PyErr_Occurred()) SWIG_fail; | |
5369 | } | |
4d5c3d91 | 5370 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5371 | { |
5372 | if (temp7) | |
5373 | delete arg7; | |
5374 | } | |
5375 | return resultobj; | |
5376 | fail: | |
5377 | { | |
5378 | if (temp7) | |
5379 | delete arg7; | |
5380 | } | |
5381 | return NULL; | |
5382 | } | |
5383 | ||
5384 | ||
5385 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5386 | PyObject *resultobj; | |
5387 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5388 | wxWindow *result; | |
5389 | PyObject * obj0 = 0 ; | |
5390 | char *kwnames[] = { | |
5391 | (char *) "self", NULL | |
5392 | }; | |
5393 | ||
5394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
5395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5396 | { | |
5397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5398 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5399 | ||
5400 | wxPyEndAllowThreads(__tstate); | |
5401 | if (PyErr_Occurred()) SWIG_fail; | |
5402 | } | |
5403 | { | |
5404 | resultobj = wxPyMake_wxObject(result); | |
5405 | } | |
5406 | return resultobj; | |
5407 | fail: | |
5408 | return NULL; | |
5409 | } | |
5410 | ||
5411 | ||
5412 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5413 | PyObject *resultobj; | |
5414 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5415 | wxWindow *result; | |
5416 | PyObject * obj0 = 0 ; | |
5417 | char *kwnames[] = { | |
5418 | (char *) "self", NULL | |
5419 | }; | |
5420 | ||
5421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
5422 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5423 | { | |
5424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5425 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5426 | ||
5427 | wxPyEndAllowThreads(__tstate); | |
5428 | if (PyErr_Occurred()) SWIG_fail; | |
5429 | } | |
5430 | { | |
5431 | resultobj = wxPyMake_wxObject(result); | |
5432 | } | |
5433 | return resultobj; | |
5434 | fail: | |
5435 | return NULL; | |
5436 | } | |
5437 | ||
5438 | ||
5439 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5440 | PyObject *resultobj; | |
5441 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5442 | int arg2 ; | |
5443 | PyObject * obj0 = 0 ; | |
994141e6 | 5444 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5445 | char *kwnames[] = { |
5446 | (char *) "self",(char *) "mode", NULL | |
5447 | }; | |
5448 | ||
994141e6 | 5449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5451 | { |
5452 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5453 | if (PyErr_Occurred()) SWIG_fail; | |
5454 | } | |
d14a1e28 RD |
5455 | { |
5456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5457 | (arg1)->SetSplitMode(arg2); | |
5458 | ||
5459 | wxPyEndAllowThreads(__tstate); | |
5460 | if (PyErr_Occurred()) SWIG_fail; | |
5461 | } | |
5462 | Py_INCREF(Py_None); resultobj = Py_None; | |
5463 | return resultobj; | |
5464 | fail: | |
5465 | return NULL; | |
5466 | } | |
5467 | ||
5468 | ||
5469 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5470 | PyObject *resultobj; | |
5471 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5472 | int result; | |
5473 | PyObject * obj0 = 0 ; | |
5474 | char *kwnames[] = { | |
5475 | (char *) "self", NULL | |
5476 | }; | |
5477 | ||
5478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
5479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5480 | { | |
5481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5482 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5483 | ||
5484 | wxPyEndAllowThreads(__tstate); | |
5485 | if (PyErr_Occurred()) SWIG_fail; | |
5486 | } | |
994141e6 | 5487 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5488 | return resultobj; |
5489 | fail: | |
5490 | return NULL; | |
5491 | } | |
5492 | ||
5493 | ||
5494 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5495 | PyObject *resultobj; | |
5496 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5497 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5498 | PyObject * obj0 = 0 ; | |
5499 | PyObject * obj1 = 0 ; | |
5500 | char *kwnames[] = { | |
5501 | (char *) "self",(char *) "window", NULL | |
5502 | }; | |
5503 | ||
5504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
5505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5506 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5507 | { | |
5508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5509 | (arg1)->Initialize(arg2); | |
5510 | ||
5511 | wxPyEndAllowThreads(__tstate); | |
5512 | if (PyErr_Occurred()) SWIG_fail; | |
5513 | } | |
5514 | Py_INCREF(Py_None); resultobj = Py_None; | |
5515 | return resultobj; | |
5516 | fail: | |
5517 | return NULL; | |
5518 | } | |
5519 | ||
5520 | ||
5521 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5522 | PyObject *resultobj; | |
5523 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5524 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5525 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5526 | int arg4 = (int) 0 ; | |
5527 | bool result; | |
5528 | PyObject * obj0 = 0 ; | |
5529 | PyObject * obj1 = 0 ; | |
5530 | PyObject * obj2 = 0 ; | |
994141e6 | 5531 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5532 | char *kwnames[] = { |
5533 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5534 | }; | |
5535 | ||
994141e6 | 5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
5537 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5538 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5539 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
5540 | if (obj3) { |
5541 | { | |
5542 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
5543 | if (PyErr_Occurred()) SWIG_fail; | |
5544 | } | |
5545 | } | |
d14a1e28 RD |
5546 | { |
5547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5548 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5549 | ||
5550 | wxPyEndAllowThreads(__tstate); | |
5551 | if (PyErr_Occurred()) SWIG_fail; | |
5552 | } | |
4d5c3d91 | 5553 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5554 | return resultobj; |
5555 | fail: | |
5556 | return NULL; | |
5557 | } | |
5558 | ||
5559 | ||
5560 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5561 | PyObject *resultobj; | |
5562 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5563 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5564 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5565 | int arg4 = (int) 0 ; | |
5566 | bool result; | |
5567 | PyObject * obj0 = 0 ; | |
5568 | PyObject * obj1 = 0 ; | |
5569 | PyObject * obj2 = 0 ; | |
994141e6 | 5570 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5571 | char *kwnames[] = { |
5572 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5573 | }; | |
5574 | ||
994141e6 | 5575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
5576 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5577 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5578 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
5579 | if (obj3) { |
5580 | { | |
5581 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
5582 | if (PyErr_Occurred()) SWIG_fail; | |
5583 | } | |
5584 | } | |
d14a1e28 RD |
5585 | { |
5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5587 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5588 | ||
5589 | wxPyEndAllowThreads(__tstate); | |
5590 | if (PyErr_Occurred()) SWIG_fail; | |
5591 | } | |
4d5c3d91 | 5592 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5593 | return resultobj; |
5594 | fail: | |
5595 | return NULL; | |
5596 | } | |
5597 | ||
5598 | ||
5599 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5600 | PyObject *resultobj; | |
5601 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5602 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5603 | bool result; | |
5604 | PyObject * obj0 = 0 ; | |
5605 | PyObject * obj1 = 0 ; | |
5606 | char *kwnames[] = { | |
5607 | (char *) "self",(char *) "toRemove", NULL | |
5608 | }; | |
5609 | ||
5610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
5611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5612 | if (obj1) { | |
5613 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5614 | } | |
5615 | { | |
5616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5617 | result = (bool)(arg1)->Unsplit(arg2); | |
5618 | ||
5619 | wxPyEndAllowThreads(__tstate); | |
5620 | if (PyErr_Occurred()) SWIG_fail; | |
5621 | } | |
4d5c3d91 | 5622 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5623 | return resultobj; |
5624 | fail: | |
5625 | return NULL; | |
5626 | } | |
5627 | ||
5628 | ||
5629 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5630 | PyObject *resultobj; | |
5631 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5632 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5633 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5634 | bool result; | |
5635 | PyObject * obj0 = 0 ; | |
5636 | PyObject * obj1 = 0 ; | |
5637 | PyObject * obj2 = 0 ; | |
5638 | char *kwnames[] = { | |
5639 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5640 | }; | |
5641 | ||
5642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5643 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5644 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5645 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5646 | { | |
5647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5648 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5649 | ||
5650 | wxPyEndAllowThreads(__tstate); | |
5651 | if (PyErr_Occurred()) SWIG_fail; | |
5652 | } | |
4d5c3d91 | 5653 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5654 | return resultobj; |
5655 | fail: | |
5656 | return NULL; | |
5657 | } | |
5658 | ||
5659 | ||
5660 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject *resultobj; | |
5662 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5663 | bool result; | |
5664 | PyObject * obj0 = 0 ; | |
5665 | char *kwnames[] = { | |
5666 | (char *) "self", NULL | |
5667 | }; | |
5668 | ||
5669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
5670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5671 | { | |
5672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5673 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5674 | ||
5675 | wxPyEndAllowThreads(__tstate); | |
5676 | if (PyErr_Occurred()) SWIG_fail; | |
5677 | } | |
4d5c3d91 | 5678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5679 | return resultobj; |
5680 | fail: | |
5681 | return NULL; | |
5682 | } | |
5683 | ||
5684 | ||
5685 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5686 | PyObject *resultobj; | |
5687 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5688 | int arg2 ; | |
5689 | PyObject * obj0 = 0 ; | |
994141e6 | 5690 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5691 | char *kwnames[] = { |
5692 | (char *) "self",(char *) "width", NULL | |
5693 | }; | |
5694 | ||
994141e6 | 5695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5696 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5697 | { |
5698 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5699 | if (PyErr_Occurred()) SWIG_fail; | |
5700 | } | |
d14a1e28 RD |
5701 | { |
5702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5703 | (arg1)->SetSashSize(arg2); | |
5704 | ||
5705 | wxPyEndAllowThreads(__tstate); | |
5706 | if (PyErr_Occurred()) SWIG_fail; | |
5707 | } | |
5708 | Py_INCREF(Py_None); resultobj = Py_None; | |
5709 | return resultobj; | |
5710 | fail: | |
5711 | return NULL; | |
5712 | } | |
5713 | ||
5714 | ||
5715 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5716 | PyObject *resultobj; | |
5717 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5718 | int arg2 ; | |
5719 | PyObject * obj0 = 0 ; | |
994141e6 | 5720 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5721 | char *kwnames[] = { |
5722 | (char *) "self",(char *) "width", NULL | |
5723 | }; | |
5724 | ||
994141e6 | 5725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5726 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5727 | { |
5728 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5729 | if (PyErr_Occurred()) SWIG_fail; | |
5730 | } | |
d14a1e28 RD |
5731 | { |
5732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5733 | (arg1)->SetBorderSize(arg2); | |
5734 | ||
5735 | wxPyEndAllowThreads(__tstate); | |
5736 | if (PyErr_Occurred()) SWIG_fail; | |
5737 | } | |
5738 | Py_INCREF(Py_None); resultobj = Py_None; | |
5739 | return resultobj; | |
5740 | fail: | |
5741 | return NULL; | |
5742 | } | |
5743 | ||
5744 | ||
5745 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5746 | PyObject *resultobj; | |
5747 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5748 | int result; | |
5749 | PyObject * obj0 = 0 ; | |
5750 | char *kwnames[] = { | |
5751 | (char *) "self", NULL | |
5752 | }; | |
5753 | ||
5754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
5755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5756 | { | |
5757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5758 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5759 | ||
5760 | wxPyEndAllowThreads(__tstate); | |
5761 | if (PyErr_Occurred()) SWIG_fail; | |
5762 | } | |
994141e6 | 5763 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5764 | return resultobj; |
5765 | fail: | |
5766 | return NULL; | |
5767 | } | |
5768 | ||
5769 | ||
5770 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5771 | PyObject *resultobj; | |
5772 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5773 | int result; | |
5774 | PyObject * obj0 = 0 ; | |
5775 | char *kwnames[] = { | |
5776 | (char *) "self", NULL | |
5777 | }; | |
5778 | ||
5779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
5780 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5781 | { | |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5784 | ||
5785 | wxPyEndAllowThreads(__tstate); | |
5786 | if (PyErr_Occurred()) SWIG_fail; | |
5787 | } | |
994141e6 | 5788 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5789 | return resultobj; |
5790 | fail: | |
5791 | return NULL; | |
5792 | } | |
5793 | ||
5794 | ||
5795 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5796 | PyObject *resultobj; | |
5797 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5798 | int arg2 ; | |
e811c8ce | 5799 | bool arg3 = (bool) True ; |
d14a1e28 | 5800 | PyObject * obj0 = 0 ; |
994141e6 | 5801 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5802 | PyObject * obj2 = 0 ; |
5803 | char *kwnames[] = { | |
5804 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5805 | }; | |
5806 | ||
994141e6 | 5807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 5808 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5809 | { |
5810 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5811 | if (PyErr_Occurred()) SWIG_fail; | |
5812 | } | |
d14a1e28 | 5813 | if (obj2) { |
a41e16b6 | 5814 | { |
994141e6 | 5815 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
a41e16b6 RD |
5816 | if (PyErr_Occurred()) SWIG_fail; |
5817 | } | |
d14a1e28 RD |
5818 | } |
5819 | { | |
5820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5821 | (arg1)->SetSashPosition(arg2,arg3); | |
5822 | ||
5823 | wxPyEndAllowThreads(__tstate); | |
5824 | if (PyErr_Occurred()) SWIG_fail; | |
5825 | } | |
5826 | Py_INCREF(Py_None); resultobj = Py_None; | |
5827 | return resultobj; | |
5828 | fail: | |
5829 | return NULL; | |
5830 | } | |
5831 | ||
5832 | ||
5833 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5834 | PyObject *resultobj; | |
5835 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5836 | int result; | |
5837 | PyObject * obj0 = 0 ; | |
5838 | char *kwnames[] = { | |
5839 | (char *) "self", NULL | |
5840 | }; | |
5841 | ||
5842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
5843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5844 | { | |
5845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5846 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5847 | ||
5848 | wxPyEndAllowThreads(__tstate); | |
5849 | if (PyErr_Occurred()) SWIG_fail; | |
5850 | } | |
994141e6 | 5851 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5852 | return resultobj; |
5853 | fail: | |
5854 | return NULL; | |
5855 | } | |
5856 | ||
5857 | ||
5858 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5859 | PyObject *resultobj; | |
5860 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5861 | int arg2 ; | |
5862 | PyObject * obj0 = 0 ; | |
994141e6 | 5863 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5864 | char *kwnames[] = { |
5865 | (char *) "self",(char *) "min", NULL | |
5866 | }; | |
5867 | ||
994141e6 | 5868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5870 | { |
5871 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5872 | if (PyErr_Occurred()) SWIG_fail; | |
5873 | } | |
d14a1e28 RD |
5874 | { |
5875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5876 | (arg1)->SetMinimumPaneSize(arg2); | |
5877 | ||
5878 | wxPyEndAllowThreads(__tstate); | |
5879 | if (PyErr_Occurred()) SWIG_fail; | |
5880 | } | |
5881 | Py_INCREF(Py_None); resultobj = Py_None; | |
5882 | return resultobj; | |
5883 | fail: | |
5884 | return NULL; | |
5885 | } | |
5886 | ||
5887 | ||
5888 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5889 | PyObject *resultobj; | |
5890 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5891 | int result; | |
5892 | PyObject * obj0 = 0 ; | |
5893 | char *kwnames[] = { | |
5894 | (char *) "self", NULL | |
5895 | }; | |
5896 | ||
5897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
5898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5899 | { | |
5900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5901 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5902 | ||
5903 | wxPyEndAllowThreads(__tstate); | |
5904 | if (PyErr_Occurred()) SWIG_fail; | |
5905 | } | |
994141e6 | 5906 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5907 | return resultobj; |
5908 | fail: | |
5909 | return NULL; | |
5910 | } | |
5911 | ||
5912 | ||
5913 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5914 | PyObject *resultobj; | |
5915 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5916 | int arg2 ; | |
5917 | int arg3 ; | |
5918 | int arg4 = (int) 5 ; | |
5919 | bool result; | |
5920 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5921 | PyObject * obj1 = 0 ; |
5922 | PyObject * obj2 = 0 ; | |
5923 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5924 | char *kwnames[] = { |
5925 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
5926 | }; | |
5927 | ||
994141e6 | 5928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 5929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
5930 | { |
5931 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5932 | if (PyErr_Occurred()) SWIG_fail; | |
5933 | } | |
5934 | { | |
5935 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
5936 | if (PyErr_Occurred()) SWIG_fail; | |
5937 | } | |
5938 | if (obj3) { | |
5939 | { | |
5940 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
5941 | if (PyErr_Occurred()) SWIG_fail; | |
5942 | } | |
5943 | } | |
d14a1e28 RD |
5944 | { |
5945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5946 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
5947 | ||
5948 | wxPyEndAllowThreads(__tstate); | |
5949 | if (PyErr_Occurred()) SWIG_fail; | |
5950 | } | |
4d5c3d91 | 5951 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5952 | return resultobj; |
5953 | fail: | |
5954 | return NULL; | |
5955 | } | |
5956 | ||
5957 | ||
5958 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5959 | PyObject *resultobj; | |
5960 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5961 | PyObject * obj0 = 0 ; | |
5962 | char *kwnames[] = { | |
5963 | (char *) "self", NULL | |
5964 | }; | |
5965 | ||
5966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
5967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5968 | { | |
5969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5970 | (arg1)->SizeWindows(); | |
5971 | ||
5972 | wxPyEndAllowThreads(__tstate); | |
5973 | if (PyErr_Occurred()) SWIG_fail; | |
5974 | } | |
5975 | Py_INCREF(Py_None); resultobj = Py_None; | |
5976 | return resultobj; | |
5977 | fail: | |
5978 | return NULL; | |
5979 | } | |
5980 | ||
5981 | ||
5982 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5983 | PyObject *resultobj; | |
5984 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5985 | bool arg2 ; | |
5986 | PyObject * obj0 = 0 ; | |
5987 | PyObject * obj1 = 0 ; | |
5988 | char *kwnames[] = { | |
5989 | (char *) "self",(char *) "needUpdating", NULL | |
5990 | }; | |
5991 | ||
5992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
5993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 5994 | { |
994141e6 | 5995 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
5996 | if (PyErr_Occurred()) SWIG_fail; |
5997 | } | |
d14a1e28 RD |
5998 | { |
5999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6000 | (arg1)->SetNeedUpdating(arg2); | |
6001 | ||
6002 | wxPyEndAllowThreads(__tstate); | |
6003 | if (PyErr_Occurred()) SWIG_fail; | |
6004 | } | |
6005 | Py_INCREF(Py_None); resultobj = Py_None; | |
6006 | return resultobj; | |
6007 | fail: | |
6008 | return NULL; | |
6009 | } | |
6010 | ||
6011 | ||
6012 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6013 | PyObject *resultobj; | |
6014 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6015 | bool result; | |
6016 | PyObject * obj0 = 0 ; | |
6017 | char *kwnames[] = { | |
6018 | (char *) "self", NULL | |
6019 | }; | |
6020 | ||
6021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
6022 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6023 | { | |
6024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6025 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6026 | ||
6027 | wxPyEndAllowThreads(__tstate); | |
6028 | if (PyErr_Occurred()) SWIG_fail; | |
6029 | } | |
4d5c3d91 | 6030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6031 | return resultobj; |
6032 | fail: | |
6033 | return NULL; | |
6034 | } | |
6035 | ||
6036 | ||
6037 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6038 | PyObject *obj; | |
6039 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6040 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6041 | Py_INCREF(obj); | |
6042 | return Py_BuildValue((char *)""); | |
6043 | } | |
6044 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6045 | PyObject *resultobj; | |
6046 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6047 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6048 | wxSplitterEvent *result; | |
994141e6 | 6049 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6050 | PyObject * obj1 = 0 ; |
6051 | char *kwnames[] = { | |
6052 | (char *) "type",(char *) "splitter", NULL | |
6053 | }; | |
6054 | ||
994141e6 RD |
6055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6056 | if (obj0) { | |
6057 | { | |
6058 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
6059 | if (PyErr_Occurred()) SWIG_fail; | |
6060 | } | |
6061 | } | |
d14a1e28 RD |
6062 | if (obj1) { |
6063 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6064 | } | |
6065 | { | |
6066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6067 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6068 | ||
6069 | wxPyEndAllowThreads(__tstate); | |
6070 | if (PyErr_Occurred()) SWIG_fail; | |
6071 | } | |
6072 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1); | |
6073 | return resultobj; | |
6074 | fail: | |
6075 | return NULL; | |
6076 | } | |
6077 | ||
6078 | ||
6079 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6080 | PyObject *resultobj; | |
6081 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6082 | int arg2 ; | |
6083 | PyObject * obj0 = 0 ; | |
994141e6 | 6084 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6085 | char *kwnames[] = { |
6086 | (char *) "self",(char *) "pos", NULL | |
6087 | }; | |
6088 | ||
994141e6 | 6089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6091 | { |
6092 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6093 | if (PyErr_Occurred()) SWIG_fail; | |
6094 | } | |
d14a1e28 RD |
6095 | { |
6096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6097 | (arg1)->SetSashPosition(arg2); | |
6098 | ||
6099 | wxPyEndAllowThreads(__tstate); | |
6100 | if (PyErr_Occurred()) SWIG_fail; | |
6101 | } | |
6102 | Py_INCREF(Py_None); resultobj = Py_None; | |
6103 | return resultobj; | |
6104 | fail: | |
6105 | return NULL; | |
6106 | } | |
6107 | ||
6108 | ||
6109 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6110 | PyObject *resultobj; | |
6111 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6112 | int result; | |
6113 | PyObject * obj0 = 0 ; | |
6114 | char *kwnames[] = { | |
6115 | (char *) "self", NULL | |
6116 | }; | |
6117 | ||
6118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
6119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6120 | { | |
6121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6122 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6123 | ||
6124 | wxPyEndAllowThreads(__tstate); | |
6125 | if (PyErr_Occurred()) SWIG_fail; | |
6126 | } | |
994141e6 | 6127 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6128 | return resultobj; |
6129 | fail: | |
6130 | return NULL; | |
6131 | } | |
6132 | ||
6133 | ||
6134 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6135 | PyObject *resultobj; | |
6136 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6137 | wxWindow *result; | |
6138 | PyObject * obj0 = 0 ; | |
6139 | char *kwnames[] = { | |
6140 | (char *) "self", NULL | |
6141 | }; | |
6142 | ||
6143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
6144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6145 | { | |
6146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6147 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6148 | ||
6149 | wxPyEndAllowThreads(__tstate); | |
6150 | if (PyErr_Occurred()) SWIG_fail; | |
6151 | } | |
6152 | { | |
6153 | resultobj = wxPyMake_wxObject(result); | |
6154 | } | |
6155 | return resultobj; | |
6156 | fail: | |
6157 | return NULL; | |
6158 | } | |
6159 | ||
6160 | ||
6161 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject *resultobj; | |
6163 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6164 | int result; | |
6165 | PyObject * obj0 = 0 ; | |
6166 | char *kwnames[] = { | |
6167 | (char *) "self", NULL | |
6168 | }; | |
6169 | ||
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
6171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6172 | { | |
6173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6174 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6175 | ||
6176 | wxPyEndAllowThreads(__tstate); | |
6177 | if (PyErr_Occurred()) SWIG_fail; | |
6178 | } | |
994141e6 | 6179 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6180 | return resultobj; |
6181 | fail: | |
6182 | return NULL; | |
6183 | } | |
6184 | ||
6185 | ||
6186 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6187 | PyObject *resultobj; | |
6188 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6189 | int result; | |
6190 | PyObject * obj0 = 0 ; | |
6191 | char *kwnames[] = { | |
6192 | (char *) "self", NULL | |
6193 | }; | |
6194 | ||
6195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
6196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6197 | { | |
6198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6199 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6200 | ||
6201 | wxPyEndAllowThreads(__tstate); | |
6202 | if (PyErr_Occurred()) SWIG_fail; | |
6203 | } | |
994141e6 | 6204 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6205 | return resultobj; |
6206 | fail: | |
6207 | return NULL; | |
6208 | } | |
6209 | ||
6210 | ||
6211 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6212 | PyObject *obj; | |
6213 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6214 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6215 | Py_INCREF(obj); | |
6216 | return Py_BuildValue((char *)""); | |
6217 | } | |
b2dc1044 RD |
6218 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6219 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6220 | return 1; | |
6221 | } | |
6222 | ||
6223 | ||
6224 | static PyObject *_wrap_SashNameStr_get() { | |
6225 | PyObject *pyobj; | |
6226 | ||
6227 | { | |
6228 | #if wxUSE_UNICODE | |
6229 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6230 | #else | |
6231 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6232 | #endif | |
6233 | } | |
6234 | return pyobj; | |
6235 | } | |
6236 | ||
6237 | ||
6238 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6239 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6240 | return 1; | |
6241 | } | |
6242 | ||
6243 | ||
6244 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6245 | PyObject *pyobj; | |
6246 | ||
6247 | { | |
6248 | #if wxUSE_UNICODE | |
6249 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6250 | #else | |
6251 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6252 | #endif | |
6253 | } | |
6254 | return pyobj; | |
6255 | } | |
6256 | ||
6257 | ||
d14a1e28 RD |
6258 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6259 | PyObject *resultobj; | |
6260 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 6261 | int arg2 ; |
d14a1e28 RD |
6262 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6263 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6264 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6265 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6266 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6267 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6268 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6269 | wxSashWindow *result; | |
6270 | wxPoint temp3 ; | |
6271 | wxSize temp4 ; | |
e811c8ce | 6272 | bool temp6 = False ; |
d14a1e28 | 6273 | PyObject * obj0 = 0 ; |
994141e6 | 6274 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6275 | PyObject * obj2 = 0 ; |
6276 | PyObject * obj3 = 0 ; | |
994141e6 | 6277 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6278 | PyObject * obj5 = 0 ; |
6279 | char *kwnames[] = { | |
6280 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6281 | }; | |
6282 | ||
994141e6 | 6283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 6284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6285 | { |
6286 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6287 | if (PyErr_Occurred()) SWIG_fail; | |
6288 | } | |
d14a1e28 RD |
6289 | if (obj2) { |
6290 | { | |
6291 | arg3 = &temp3; | |
6292 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6293 | } | |
6294 | } | |
6295 | if (obj3) { | |
6296 | { | |
6297 | arg4 = &temp4; | |
6298 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6299 | } | |
6300 | } | |
994141e6 RD |
6301 | if (obj4) { |
6302 | { | |
6303 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
6304 | if (PyErr_Occurred()) SWIG_fail; | |
6305 | } | |
6306 | } | |
d14a1e28 RD |
6307 | if (obj5) { |
6308 | { | |
6309 | arg6 = wxString_in_helper(obj5); | |
6310 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6311 | temp6 = True; |
d14a1e28 RD |
6312 | } |
6313 | } | |
6314 | { | |
6315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6316 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6317 | ||
6318 | wxPyEndAllowThreads(__tstate); | |
6319 | if (PyErr_Occurred()) SWIG_fail; | |
6320 | } | |
6321 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
6322 | { | |
6323 | if (temp6) | |
6324 | delete arg6; | |
6325 | } | |
6326 | return resultobj; | |
6327 | fail: | |
6328 | { | |
6329 | if (temp6) | |
6330 | delete arg6; | |
6331 | } | |
6332 | return NULL; | |
6333 | } | |
6334 | ||
6335 | ||
6336 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6337 | PyObject *resultobj; | |
6338 | wxSashWindow *result; | |
6339 | char *kwnames[] = { | |
6340 | NULL | |
6341 | }; | |
6342 | ||
6343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6344 | { | |
6345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6346 | result = (wxSashWindow *)new wxSashWindow(); | |
6347 | ||
6348 | wxPyEndAllowThreads(__tstate); | |
6349 | if (PyErr_Occurred()) SWIG_fail; | |
6350 | } | |
6351 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
6352 | return resultobj; | |
6353 | fail: | |
6354 | return NULL; | |
6355 | } | |
6356 | ||
6357 | ||
6358 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6359 | PyObject *resultobj; | |
6360 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6361 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6362 | int arg3 ; |
d14a1e28 RD |
6363 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6364 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6365 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6366 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6367 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6368 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6369 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6370 | bool result; | |
6371 | wxPoint temp4 ; | |
6372 | wxSize temp5 ; | |
e811c8ce | 6373 | bool temp7 = False ; |
d14a1e28 RD |
6374 | PyObject * obj0 = 0 ; |
6375 | PyObject * obj1 = 0 ; | |
994141e6 | 6376 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6377 | PyObject * obj3 = 0 ; |
6378 | PyObject * obj4 = 0 ; | |
994141e6 | 6379 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6380 | PyObject * obj6 = 0 ; |
6381 | char *kwnames[] = { | |
6382 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6383 | }; | |
6384 | ||
994141e6 | 6385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
6386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
6387 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
6388 | { |
6389 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
6390 | if (PyErr_Occurred()) SWIG_fail; | |
6391 | } | |
d14a1e28 RD |
6392 | if (obj3) { |
6393 | { | |
6394 | arg4 = &temp4; | |
6395 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6396 | } | |
6397 | } | |
6398 | if (obj4) { | |
6399 | { | |
6400 | arg5 = &temp5; | |
6401 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6402 | } | |
6403 | } | |
994141e6 RD |
6404 | if (obj5) { |
6405 | { | |
6406 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
6407 | if (PyErr_Occurred()) SWIG_fail; | |
6408 | } | |
6409 | } | |
d14a1e28 RD |
6410 | if (obj6) { |
6411 | { | |
6412 | arg7 = wxString_in_helper(obj6); | |
6413 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6414 | temp7 = True; |
d14a1e28 RD |
6415 | } |
6416 | } | |
6417 | { | |
6418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6419 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6420 | ||
6421 | wxPyEndAllowThreads(__tstate); | |
6422 | if (PyErr_Occurred()) SWIG_fail; | |
6423 | } | |
4d5c3d91 | 6424 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6425 | { |
6426 | if (temp7) | |
6427 | delete arg7; | |
6428 | } | |
6429 | return resultobj; | |
6430 | fail: | |
6431 | { | |
6432 | if (temp7) | |
6433 | delete arg7; | |
6434 | } | |
6435 | return NULL; | |
6436 | } | |
6437 | ||
6438 | ||
6439 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6440 | PyObject *resultobj; | |
6441 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6442 | int arg2 ; | |
6443 | bool arg3 ; | |
6444 | PyObject * obj0 = 0 ; | |
994141e6 | 6445 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6446 | PyObject * obj2 = 0 ; |
6447 | char *kwnames[] = { | |
6448 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6449 | }; | |
6450 | ||
994141e6 | 6451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 6452 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
a41e16b6 | 6453 | { |
994141e6 RD |
6454 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); |
6455 | if (PyErr_Occurred()) SWIG_fail; | |
6456 | } | |
6457 | { | |
6458 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); | |
a41e16b6 RD |
6459 | if (PyErr_Occurred()) SWIG_fail; |
6460 | } | |
d14a1e28 RD |
6461 | { |
6462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6463 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6464 | ||
6465 | wxPyEndAllowThreads(__tstate); | |
6466 | if (PyErr_Occurred()) SWIG_fail; | |
6467 | } | |
6468 | Py_INCREF(Py_None); resultobj = Py_None; | |
6469 | return resultobj; | |
6470 | fail: | |
6471 | return NULL; | |
6472 | } | |
6473 | ||
6474 | ||
6475 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6476 | PyObject *resultobj; | |
6477 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6478 | int arg2 ; | |
6479 | bool result; | |
6480 | PyObject * obj0 = 0 ; | |
994141e6 | 6481 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6482 | char *kwnames[] = { |
6483 | (char *) "self",(char *) "edge", NULL | |
6484 | }; | |
6485 | ||
994141e6 | 6486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6487 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6488 | { |
6489 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6490 | if (PyErr_Occurred()) SWIG_fail; | |
6491 | } | |
d14a1e28 RD |
6492 | { |
6493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6494 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6495 | ||
6496 | wxPyEndAllowThreads(__tstate); | |
6497 | if (PyErr_Occurred()) SWIG_fail; | |
6498 | } | |
4d5c3d91 | 6499 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6500 | return resultobj; |
6501 | fail: | |
6502 | return NULL; | |
6503 | } | |
6504 | ||
6505 | ||
6506 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6507 | PyObject *resultobj; | |
6508 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6509 | int arg2 ; | |
6510 | bool arg3 ; | |
6511 | PyObject * obj0 = 0 ; | |
994141e6 | 6512 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6513 | PyObject * obj2 = 0 ; |
6514 | char *kwnames[] = { | |
6515 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6516 | }; | |
6517 | ||
994141e6 | 6518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 6519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
a41e16b6 | 6520 | { |
994141e6 RD |
6521 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); |
6522 | if (PyErr_Occurred()) SWIG_fail; | |
6523 | } | |
6524 | { | |
6525 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); | |
a41e16b6 RD |
6526 | if (PyErr_Occurred()) SWIG_fail; |
6527 | } | |
d14a1e28 RD |
6528 | { |
6529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6530 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6531 | ||
6532 | wxPyEndAllowThreads(__tstate); | |
6533 | if (PyErr_Occurred()) SWIG_fail; | |
6534 | } | |
6535 | Py_INCREF(Py_None); resultobj = Py_None; | |
6536 | return resultobj; | |
6537 | fail: | |
6538 | return NULL; | |
6539 | } | |
6540 | ||
6541 | ||
6542 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6543 | PyObject *resultobj; | |
6544 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6545 | int arg2 ; | |
6546 | bool result; | |
6547 | PyObject * obj0 = 0 ; | |
994141e6 | 6548 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6549 | char *kwnames[] = { |
6550 | (char *) "self",(char *) "edge", NULL | |
6551 | }; | |
6552 | ||
994141e6 | 6553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6555 | { |
6556 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6557 | if (PyErr_Occurred()) SWIG_fail; | |
6558 | } | |
d14a1e28 RD |
6559 | { |
6560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6561 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6562 | ||
6563 | wxPyEndAllowThreads(__tstate); | |
6564 | if (PyErr_Occurred()) SWIG_fail; | |
6565 | } | |
4d5c3d91 | 6566 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6567 | return resultobj; |
6568 | fail: | |
6569 | return NULL; | |
6570 | } | |
6571 | ||
6572 | ||
6573 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6574 | PyObject *resultobj; | |
6575 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6576 | int arg2 ; | |
6577 | int result; | |
6578 | PyObject * obj0 = 0 ; | |
994141e6 | 6579 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6580 | char *kwnames[] = { |
6581 | (char *) "self",(char *) "edge", NULL | |
6582 | }; | |
6583 | ||
994141e6 | 6584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6585 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6586 | { |
6587 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6588 | if (PyErr_Occurred()) SWIG_fail; | |
6589 | } | |
d14a1e28 RD |
6590 | { |
6591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6592 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6593 | ||
6594 | wxPyEndAllowThreads(__tstate); | |
6595 | if (PyErr_Occurred()) SWIG_fail; | |
6596 | } | |
994141e6 | 6597 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6598 | return resultobj; |
6599 | fail: | |
6600 | return NULL; | |
6601 | } | |
6602 | ||
6603 | ||
6604 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6605 | PyObject *resultobj; | |
6606 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6607 | int arg2 ; | |
6608 | PyObject * obj0 = 0 ; | |
994141e6 | 6609 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6610 | char *kwnames[] = { |
6611 | (char *) "self",(char *) "width", NULL | |
6612 | }; | |
6613 | ||
994141e6 | 6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6615 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6616 | { |
6617 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6618 | if (PyErr_Occurred()) SWIG_fail; | |
6619 | } | |
d14a1e28 RD |
6620 | { |
6621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6622 | (arg1)->SetDefaultBorderSize(arg2); | |
6623 | ||
6624 | wxPyEndAllowThreads(__tstate); | |
6625 | if (PyErr_Occurred()) SWIG_fail; | |
6626 | } | |
6627 | Py_INCREF(Py_None); resultobj = Py_None; | |
6628 | return resultobj; | |
6629 | fail: | |
6630 | return NULL; | |
6631 | } | |
6632 | ||
6633 | ||
6634 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject *resultobj; | |
6636 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6637 | int result; | |
6638 | PyObject * obj0 = 0 ; | |
6639 | char *kwnames[] = { | |
6640 | (char *) "self", NULL | |
6641 | }; | |
6642 | ||
6643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
6644 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6645 | { | |
6646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6647 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6648 | ||
6649 | wxPyEndAllowThreads(__tstate); | |
6650 | if (PyErr_Occurred()) SWIG_fail; | |
6651 | } | |
994141e6 | 6652 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6653 | return resultobj; |
6654 | fail: | |
6655 | return NULL; | |
6656 | } | |
6657 | ||
6658 | ||
6659 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6660 | PyObject *resultobj; | |
6661 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6662 | int arg2 ; | |
6663 | PyObject * obj0 = 0 ; | |
994141e6 | 6664 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6665 | char *kwnames[] = { |
6666 | (char *) "self",(char *) "width", NULL | |
6667 | }; | |
6668 | ||
994141e6 | 6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6671 | { |
6672 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6673 | if (PyErr_Occurred()) SWIG_fail; | |
6674 | } | |
d14a1e28 RD |
6675 | { |
6676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6677 | (arg1)->SetExtraBorderSize(arg2); | |
6678 | ||
6679 | wxPyEndAllowThreads(__tstate); | |
6680 | if (PyErr_Occurred()) SWIG_fail; | |
6681 | } | |
6682 | Py_INCREF(Py_None); resultobj = Py_None; | |
6683 | return resultobj; | |
6684 | fail: | |
6685 | return NULL; | |
6686 | } | |
6687 | ||
6688 | ||
6689 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6690 | PyObject *resultobj; | |
6691 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6692 | int result; | |
6693 | PyObject * obj0 = 0 ; | |
6694 | char *kwnames[] = { | |
6695 | (char *) "self", NULL | |
6696 | }; | |
6697 | ||
6698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
6699 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6700 | { | |
6701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6702 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6703 | ||
6704 | wxPyEndAllowThreads(__tstate); | |
6705 | if (PyErr_Occurred()) SWIG_fail; | |
6706 | } | |
994141e6 | 6707 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6708 | return resultobj; |
6709 | fail: | |
6710 | return NULL; | |
6711 | } | |
6712 | ||
6713 | ||
6714 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6715 | PyObject *resultobj; | |
6716 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6717 | int arg2 ; | |
6718 | PyObject * obj0 = 0 ; | |
994141e6 | 6719 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6720 | char *kwnames[] = { |
6721 | (char *) "self",(char *) "min", NULL | |
6722 | }; | |
6723 | ||
994141e6 | 6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6726 | { |
6727 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6728 | if (PyErr_Occurred()) SWIG_fail; | |
6729 | } | |
d14a1e28 RD |
6730 | { |
6731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6732 | (arg1)->SetMinimumSizeX(arg2); | |
6733 | ||
6734 | wxPyEndAllowThreads(__tstate); | |
6735 | if (PyErr_Occurred()) SWIG_fail; | |
6736 | } | |
6737 | Py_INCREF(Py_None); resultobj = Py_None; | |
6738 | return resultobj; | |
6739 | fail: | |
6740 | return NULL; | |
6741 | } | |
6742 | ||
6743 | ||
6744 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6745 | PyObject *resultobj; | |
6746 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6747 | int arg2 ; | |
6748 | PyObject * obj0 = 0 ; | |
994141e6 | 6749 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6750 | char *kwnames[] = { |
6751 | (char *) "self",(char *) "min", NULL | |
6752 | }; | |
6753 | ||
994141e6 | 6754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6756 | { |
6757 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6758 | if (PyErr_Occurred()) SWIG_fail; | |
6759 | } | |
d14a1e28 RD |
6760 | { |
6761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6762 | (arg1)->SetMinimumSizeY(arg2); | |
6763 | ||
6764 | wxPyEndAllowThreads(__tstate); | |
6765 | if (PyErr_Occurred()) SWIG_fail; | |
6766 | } | |
6767 | Py_INCREF(Py_None); resultobj = Py_None; | |
6768 | return resultobj; | |
6769 | fail: | |
6770 | return NULL; | |
6771 | } | |
6772 | ||
6773 | ||
6774 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6775 | PyObject *resultobj; | |
6776 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6777 | int result; | |
6778 | PyObject * obj0 = 0 ; | |
6779 | char *kwnames[] = { | |
6780 | (char *) "self", NULL | |
6781 | }; | |
6782 | ||
6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
6784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6785 | { | |
6786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6787 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6788 | ||
6789 | wxPyEndAllowThreads(__tstate); | |
6790 | if (PyErr_Occurred()) SWIG_fail; | |
6791 | } | |
994141e6 | 6792 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6793 | return resultobj; |
6794 | fail: | |
6795 | return NULL; | |
6796 | } | |
6797 | ||
6798 | ||
6799 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6800 | PyObject *resultobj; | |
6801 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6802 | int result; | |
6803 | PyObject * obj0 = 0 ; | |
6804 | char *kwnames[] = { | |
6805 | (char *) "self", NULL | |
6806 | }; | |
6807 | ||
6808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
6809 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6810 | { | |
6811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6812 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6813 | ||
6814 | wxPyEndAllowThreads(__tstate); | |
6815 | if (PyErr_Occurred()) SWIG_fail; | |
6816 | } | |
994141e6 | 6817 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6818 | return resultobj; |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
6824 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6825 | PyObject *resultobj; | |
6826 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6827 | int arg2 ; | |
6828 | PyObject * obj0 = 0 ; | |
994141e6 | 6829 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6830 | char *kwnames[] = { |
6831 | (char *) "self",(char *) "max", NULL | |
6832 | }; | |
6833 | ||
994141e6 | 6834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6836 | { |
6837 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6838 | if (PyErr_Occurred()) SWIG_fail; | |
6839 | } | |
d14a1e28 RD |
6840 | { |
6841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6842 | (arg1)->SetMaximumSizeX(arg2); | |
6843 | ||
6844 | wxPyEndAllowThreads(__tstate); | |
6845 | if (PyErr_Occurred()) SWIG_fail; | |
6846 | } | |
6847 | Py_INCREF(Py_None); resultobj = Py_None; | |
6848 | return resultobj; | |
6849 | fail: | |
6850 | return NULL; | |
6851 | } | |
6852 | ||
6853 | ||
6854 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6855 | PyObject *resultobj; | |
6856 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6857 | int arg2 ; | |
6858 | PyObject * obj0 = 0 ; | |
994141e6 | 6859 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6860 | char *kwnames[] = { |
6861 | (char *) "self",(char *) "max", NULL | |
6862 | }; | |
6863 | ||
994141e6 | 6864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6865 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6866 | { |
6867 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6868 | if (PyErr_Occurred()) SWIG_fail; | |
6869 | } | |
d14a1e28 RD |
6870 | { |
6871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6872 | (arg1)->SetMaximumSizeY(arg2); | |
6873 | ||
6874 | wxPyEndAllowThreads(__tstate); | |
6875 | if (PyErr_Occurred()) SWIG_fail; | |
6876 | } | |
6877 | Py_INCREF(Py_None); resultobj = Py_None; | |
6878 | return resultobj; | |
6879 | fail: | |
6880 | return NULL; | |
6881 | } | |
6882 | ||
6883 | ||
6884 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6885 | PyObject *resultobj; | |
6886 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6887 | int result; | |
6888 | PyObject * obj0 = 0 ; | |
6889 | char *kwnames[] = { | |
6890 | (char *) "self", NULL | |
6891 | }; | |
6892 | ||
6893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
6894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6895 | { | |
6896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6897 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6898 | ||
6899 | wxPyEndAllowThreads(__tstate); | |
6900 | if (PyErr_Occurred()) SWIG_fail; | |
6901 | } | |
994141e6 | 6902 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6903 | return resultobj; |
6904 | fail: | |
6905 | return NULL; | |
6906 | } | |
6907 | ||
6908 | ||
6909 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6910 | PyObject *resultobj; | |
6911 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6912 | int result; | |
6913 | PyObject * obj0 = 0 ; | |
6914 | char *kwnames[] = { | |
6915 | (char *) "self", NULL | |
6916 | }; | |
6917 | ||
6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
6919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6920 | { | |
6921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6922 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
6923 | ||
6924 | wxPyEndAllowThreads(__tstate); | |
6925 | if (PyErr_Occurred()) SWIG_fail; | |
6926 | } | |
994141e6 | 6927 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6928 | return resultobj; |
6929 | fail: | |
6930 | return NULL; | |
6931 | } | |
6932 | ||
6933 | ||
6934 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6935 | PyObject *resultobj; | |
6936 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6937 | int arg2 ; | |
6938 | int arg3 ; | |
6939 | int arg4 = (int) 2 ; | |
6940 | int result; | |
6941 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6942 | PyObject * obj1 = 0 ; |
6943 | PyObject * obj2 = 0 ; | |
6944 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6945 | char *kwnames[] = { |
6946 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6947 | }; | |
6948 | ||
994141e6 | 6949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 6950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
6951 | { |
6952 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6953 | if (PyErr_Occurred()) SWIG_fail; | |
6954 | } | |
6955 | { | |
6956 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
6959 | if (obj3) { | |
6960 | { | |
6961 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
6962 | if (PyErr_Occurred()) SWIG_fail; | |
6963 | } | |
6964 | } | |
d14a1e28 RD |
6965 | { |
6966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6967 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6968 | ||
6969 | wxPyEndAllowThreads(__tstate); | |
6970 | if (PyErr_Occurred()) SWIG_fail; | |
6971 | } | |
994141e6 | 6972 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6973 | return resultobj; |
6974 | fail: | |
6975 | return NULL; | |
6976 | } | |
6977 | ||
6978 | ||
6979 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6980 | PyObject *resultobj; | |
6981 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6982 | PyObject * obj0 = 0 ; | |
6983 | char *kwnames[] = { | |
6984 | (char *) "self", NULL | |
6985 | }; | |
6986 | ||
6987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6989 | { | |
6990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6991 | (arg1)->SizeWindows(); | |
6992 | ||
6993 | wxPyEndAllowThreads(__tstate); | |
6994 | if (PyErr_Occurred()) SWIG_fail; | |
6995 | } | |
6996 | Py_INCREF(Py_None); resultobj = Py_None; | |
6997 | return resultobj; | |
6998 | fail: | |
6999 | return NULL; | |
7000 | } | |
7001 | ||
7002 | ||
7003 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7004 | PyObject *obj; | |
7005 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7006 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7007 | Py_INCREF(obj); | |
7008 | return Py_BuildValue((char *)""); | |
7009 | } | |
7010 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7011 | PyObject *resultobj; | |
7012 | int arg1 = (int) 0 ; | |
7013 | int arg2 = (int) wxSASH_NONE ; | |
7014 | wxSashEvent *result; | |
994141e6 RD |
7015 | PyObject * obj0 = 0 ; |
7016 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7017 | char *kwnames[] = { |
7018 | (char *) "id",(char *) "edge", NULL | |
7019 | }; | |
7020 | ||
994141e6 RD |
7021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7022 | if (obj0) { | |
7023 | { | |
7024 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7025 | if (PyErr_Occurred()) SWIG_fail; | |
7026 | } | |
7027 | } | |
7028 | if (obj1) { | |
7029 | { | |
7030 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
7031 | if (PyErr_Occurred()) SWIG_fail; | |
7032 | } | |
7033 | } | |
d14a1e28 RD |
7034 | { |
7035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7036 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7037 | ||
7038 | wxPyEndAllowThreads(__tstate); | |
7039 | if (PyErr_Occurred()) SWIG_fail; | |
7040 | } | |
7041 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1); | |
7042 | return resultobj; | |
7043 | fail: | |
7044 | return NULL; | |
7045 | } | |
7046 | ||
7047 | ||
7048 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7049 | PyObject *resultobj; | |
7050 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7051 | int arg2 ; | |
7052 | PyObject * obj0 = 0 ; | |
994141e6 | 7053 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7054 | char *kwnames[] = { |
7055 | (char *) "self",(char *) "edge", NULL | |
7056 | }; | |
7057 | ||
994141e6 | 7058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7059 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7060 | { |
7061 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
7062 | if (PyErr_Occurred()) SWIG_fail; | |
7063 | } | |
d14a1e28 RD |
7064 | { |
7065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7066 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7067 | ||
7068 | wxPyEndAllowThreads(__tstate); | |
7069 | if (PyErr_Occurred()) SWIG_fail; | |
7070 | } | |
7071 | Py_INCREF(Py_None); resultobj = Py_None; | |
7072 | return resultobj; | |
7073 | fail: | |
7074 | return NULL; | |
7075 | } | |
7076 | ||
7077 | ||
7078 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7079 | PyObject *resultobj; | |
7080 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7081 | int result; | |
7082 | PyObject * obj0 = 0 ; | |
7083 | char *kwnames[] = { | |
7084 | (char *) "self", NULL | |
7085 | }; | |
7086 | ||
7087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
7088 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7089 | { | |
7090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7091 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7092 | ||
7093 | wxPyEndAllowThreads(__tstate); | |
7094 | if (PyErr_Occurred()) SWIG_fail; | |
7095 | } | |
994141e6 | 7096 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7097 | return resultobj; |
7098 | fail: | |
7099 | return NULL; | |
7100 | } | |
7101 | ||
7102 | ||
7103 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7104 | PyObject *resultobj; | |
7105 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7106 | wxRect *arg2 = 0 ; | |
7107 | wxRect temp2 ; | |
7108 | PyObject * obj0 = 0 ; | |
7109 | PyObject * obj1 = 0 ; | |
7110 | char *kwnames[] = { | |
7111 | (char *) "self",(char *) "rect", NULL | |
7112 | }; | |
7113 | ||
7114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
7115 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7116 | { | |
7117 | arg2 = &temp2; | |
7118 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7119 | } | |
7120 | { | |
7121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7122 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7123 | ||
7124 | wxPyEndAllowThreads(__tstate); | |
7125 | if (PyErr_Occurred()) SWIG_fail; | |
7126 | } | |
7127 | Py_INCREF(Py_None); resultobj = Py_None; | |
7128 | return resultobj; | |
7129 | fail: | |
7130 | return NULL; | |
7131 | } | |
7132 | ||
7133 | ||
7134 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7135 | PyObject *resultobj; | |
7136 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7137 | wxRect result; | |
7138 | PyObject * obj0 = 0 ; | |
7139 | char *kwnames[] = { | |
7140 | (char *) "self", NULL | |
7141 | }; | |
7142 | ||
7143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
7144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7145 | { | |
7146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7147 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7148 | ||
7149 | wxPyEndAllowThreads(__tstate); | |
7150 | if (PyErr_Occurred()) SWIG_fail; | |
7151 | } | |
7152 | { | |
7153 | wxRect * resultptr; | |
7154 | resultptr = new wxRect((wxRect &) result); | |
7155 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
7156 | } | |
7157 | return resultobj; | |
7158 | fail: | |
7159 | return NULL; | |
7160 | } | |
7161 | ||
7162 | ||
7163 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7164 | PyObject *resultobj; | |
7165 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7166 | int arg2 ; | |
7167 | PyObject * obj0 = 0 ; | |
994141e6 | 7168 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7169 | char *kwnames[] = { |
7170 | (char *) "self",(char *) "status", NULL | |
7171 | }; | |
7172 | ||
994141e6 | 7173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7175 | { |
7176 | arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1); | |
7177 | if (PyErr_Occurred()) SWIG_fail; | |
7178 | } | |
d14a1e28 RD |
7179 | { |
7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7181 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7182 | ||
7183 | wxPyEndAllowThreads(__tstate); | |
7184 | if (PyErr_Occurred()) SWIG_fail; | |
7185 | } | |
7186 | Py_INCREF(Py_None); resultobj = Py_None; | |
7187 | return resultobj; | |
7188 | fail: | |
7189 | return NULL; | |
7190 | } | |
7191 | ||
7192 | ||
7193 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7194 | PyObject *resultobj; | |
7195 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7196 | int result; | |
7197 | PyObject * obj0 = 0 ; | |
7198 | char *kwnames[] = { | |
7199 | (char *) "self", NULL | |
7200 | }; | |
7201 | ||
7202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
7203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7204 | { | |
7205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7206 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7207 | ||
7208 | wxPyEndAllowThreads(__tstate); | |
7209 | if (PyErr_Occurred()) SWIG_fail; | |
7210 | } | |
994141e6 | 7211 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7212 | return resultobj; |
7213 | fail: | |
7214 | return NULL; | |
7215 | } | |
7216 | ||
7217 | ||
7218 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7219 | PyObject *obj; | |
7220 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7221 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7222 | Py_INCREF(obj); | |
7223 | return Py_BuildValue((char *)""); | |
7224 | } | |
7225 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7226 | PyObject *resultobj; | |
e811c8ce | 7227 | int arg1 = (int) 0 ; |
d14a1e28 | 7228 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7229 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7230 | char *kwnames[] = { |
7231 | (char *) "id", NULL | |
7232 | }; | |
7233 | ||
994141e6 RD |
7234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7235 | if (obj0) { | |
7236 | { | |
7237 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7238 | if (PyErr_Occurred()) SWIG_fail; | |
7239 | } | |
7240 | } | |
d14a1e28 RD |
7241 | { |
7242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7243 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7244 | ||
7245 | wxPyEndAllowThreads(__tstate); | |
7246 | if (PyErr_Occurred()) SWIG_fail; | |
7247 | } | |
7248 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
7249 | return resultobj; | |
7250 | fail: | |
7251 | return NULL; | |
7252 | } | |
7253 | ||
7254 | ||
7255 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7256 | PyObject *resultobj; | |
7257 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7258 | int arg2 ; | |
7259 | PyObject * obj0 = 0 ; | |
994141e6 | 7260 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7261 | char *kwnames[] = { |
7262 | (char *) "self",(char *) "length", NULL | |
7263 | }; | |
7264 | ||
994141e6 | 7265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7266 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7267 | { |
7268 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7269 | if (PyErr_Occurred()) SWIG_fail; | |
7270 | } | |
d14a1e28 RD |
7271 | { |
7272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7273 | (arg1)->SetRequestedLength(arg2); | |
7274 | ||
7275 | wxPyEndAllowThreads(__tstate); | |
7276 | if (PyErr_Occurred()) SWIG_fail; | |
7277 | } | |
7278 | Py_INCREF(Py_None); resultobj = Py_None; | |
7279 | return resultobj; | |
7280 | fail: | |
7281 | return NULL; | |
7282 | } | |
7283 | ||
7284 | ||
7285 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7286 | PyObject *resultobj; | |
7287 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7288 | int result; | |
7289 | PyObject * obj0 = 0 ; | |
7290 | char *kwnames[] = { | |
7291 | (char *) "self", NULL | |
7292 | }; | |
7293 | ||
7294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
7295 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7296 | { | |
7297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7298 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7299 | ||
7300 | wxPyEndAllowThreads(__tstate); | |
7301 | if (PyErr_Occurred()) SWIG_fail; | |
7302 | } | |
994141e6 | 7303 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7304 | return resultobj; |
7305 | fail: | |
7306 | return NULL; | |
7307 | } | |
7308 | ||
7309 | ||
7310 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7311 | PyObject *resultobj; | |
7312 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7313 | int arg2 ; | |
7314 | PyObject * obj0 = 0 ; | |
994141e6 | 7315 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7316 | char *kwnames[] = { |
7317 | (char *) "self",(char *) "flags", NULL | |
7318 | }; | |
7319 | ||
994141e6 | 7320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7322 | { |
7323 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7324 | if (PyErr_Occurred()) SWIG_fail; | |
7325 | } | |
d14a1e28 RD |
7326 | { |
7327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7328 | (arg1)->SetFlags(arg2); | |
7329 | ||
7330 | wxPyEndAllowThreads(__tstate); | |
7331 | if (PyErr_Occurred()) SWIG_fail; | |
7332 | } | |
7333 | Py_INCREF(Py_None); resultobj = Py_None; | |
7334 | return resultobj; | |
7335 | fail: | |
7336 | return NULL; | |
7337 | } | |
7338 | ||
7339 | ||
7340 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7341 | PyObject *resultobj; | |
7342 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7343 | int result; | |
7344 | PyObject * obj0 = 0 ; | |
7345 | char *kwnames[] = { | |
7346 | (char *) "self", NULL | |
7347 | }; | |
7348 | ||
7349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7350 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7351 | { | |
7352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7353 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7354 | ||
7355 | wxPyEndAllowThreads(__tstate); | |
7356 | if (PyErr_Occurred()) SWIG_fail; | |
7357 | } | |
994141e6 | 7358 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7359 | return resultobj; |
7360 | fail: | |
7361 | return NULL; | |
7362 | } | |
7363 | ||
7364 | ||
7365 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7366 | PyObject *resultobj; | |
7367 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7368 | wxSize *arg2 = 0 ; | |
7369 | wxSize temp2 ; | |
7370 | PyObject * obj0 = 0 ; | |
7371 | PyObject * obj1 = 0 ; | |
7372 | char *kwnames[] = { | |
7373 | (char *) "self",(char *) "size", NULL | |
7374 | }; | |
7375 | ||
7376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
7377 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7378 | { | |
7379 | arg2 = &temp2; | |
7380 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7381 | } | |
7382 | { | |
7383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7384 | (arg1)->SetSize((wxSize const &)*arg2); | |
7385 | ||
7386 | wxPyEndAllowThreads(__tstate); | |
7387 | if (PyErr_Occurred()) SWIG_fail; | |
7388 | } | |
7389 | Py_INCREF(Py_None); resultobj = Py_None; | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
7396 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7397 | PyObject *resultobj; | |
7398 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7399 | wxSize result; | |
7400 | PyObject * obj0 = 0 ; | |
7401 | char *kwnames[] = { | |
7402 | (char *) "self", NULL | |
7403 | }; | |
7404 | ||
7405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
7406 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7407 | { | |
7408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7409 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7410 | ||
7411 | wxPyEndAllowThreads(__tstate); | |
7412 | if (PyErr_Occurred()) SWIG_fail; | |
7413 | } | |
7414 | { | |
7415 | wxSize * resultptr; | |
7416 | resultptr = new wxSize((wxSize &) result); | |
7417 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
7418 | } | |
7419 | return resultobj; | |
7420 | fail: | |
7421 | return NULL; | |
7422 | } | |
7423 | ||
7424 | ||
7425 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7426 | PyObject *resultobj; | |
7427 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7428 | int arg2 ; | |
7429 | PyObject * obj0 = 0 ; | |
994141e6 | 7430 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7431 | char *kwnames[] = { |
7432 | (char *) "self",(char *) "orient", NULL | |
7433 | }; | |
7434 | ||
994141e6 | 7435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7436 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7437 | { |
7438 | arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1); | |
7439 | if (PyErr_Occurred()) SWIG_fail; | |
7440 | } | |
d14a1e28 RD |
7441 | { |
7442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7443 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7444 | ||
7445 | wxPyEndAllowThreads(__tstate); | |
7446 | if (PyErr_Occurred()) SWIG_fail; | |
7447 | } | |
7448 | Py_INCREF(Py_None); resultobj = Py_None; | |
7449 | return resultobj; | |
7450 | fail: | |
7451 | return NULL; | |
7452 | } | |
7453 | ||
7454 | ||
7455 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7456 | PyObject *resultobj; | |
7457 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7458 | int result; | |
7459 | PyObject * obj0 = 0 ; | |
7460 | char *kwnames[] = { | |
7461 | (char *) "self", NULL | |
7462 | }; | |
7463 | ||
7464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
7465 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7466 | { | |
7467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7468 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7469 | ||
7470 | wxPyEndAllowThreads(__tstate); | |
7471 | if (PyErr_Occurred()) SWIG_fail; | |
7472 | } | |
994141e6 | 7473 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7474 | return resultobj; |
7475 | fail: | |
7476 | return NULL; | |
7477 | } | |
7478 | ||
7479 | ||
7480 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7481 | PyObject *resultobj; | |
7482 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7483 | int arg2 ; | |
7484 | PyObject * obj0 = 0 ; | |
994141e6 | 7485 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7486 | char *kwnames[] = { |
7487 | (char *) "self",(char *) "align", NULL | |
7488 | }; | |
7489 | ||
994141e6 | 7490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7491 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7492 | { |
7493 | arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1); | |
7494 | if (PyErr_Occurred()) SWIG_fail; | |
7495 | } | |
d14a1e28 RD |
7496 | { |
7497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7498 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7499 | ||
7500 | wxPyEndAllowThreads(__tstate); | |
7501 | if (PyErr_Occurred()) SWIG_fail; | |
7502 | } | |
7503 | Py_INCREF(Py_None); resultobj = Py_None; | |
7504 | return resultobj; | |
7505 | fail: | |
7506 | return NULL; | |
7507 | } | |
7508 | ||
7509 | ||
7510 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7511 | PyObject *resultobj; | |
7512 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7513 | int result; | |
7514 | PyObject * obj0 = 0 ; | |
7515 | char *kwnames[] = { | |
7516 | (char *) "self", NULL | |
7517 | }; | |
7518 | ||
7519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
7520 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7521 | { | |
7522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7523 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7524 | ||
7525 | wxPyEndAllowThreads(__tstate); | |
7526 | if (PyErr_Occurred()) SWIG_fail; | |
7527 | } | |
994141e6 | 7528 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7529 | return resultobj; |
7530 | fail: | |
7531 | return NULL; | |
7532 | } | |
7533 | ||
7534 | ||
7535 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7536 | PyObject *obj; | |
7537 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7538 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7539 | Py_INCREF(obj); | |
7540 | return Py_BuildValue((char *)""); | |
7541 | } | |
7542 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7543 | PyObject *resultobj; | |
e811c8ce | 7544 | int arg1 = (int) 0 ; |
d14a1e28 | 7545 | wxCalculateLayoutEvent *result; |
994141e6 | 7546 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7547 | char *kwnames[] = { |
7548 | (char *) "id", NULL | |
7549 | }; | |
7550 | ||
994141e6 RD |
7551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7552 | if (obj0) { | |
7553 | { | |
7554 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7555 | if (PyErr_Occurred()) SWIG_fail; | |
7556 | } | |
7557 | } | |
d14a1e28 RD |
7558 | { |
7559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7560 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7561 | ||
7562 | wxPyEndAllowThreads(__tstate); | |
7563 | if (PyErr_Occurred()) SWIG_fail; | |
7564 | } | |
7565 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
7566 | return resultobj; | |
7567 | fail: | |
7568 | return NULL; | |
7569 | } | |
7570 | ||
7571 | ||
7572 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7573 | PyObject *resultobj; | |
7574 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7575 | int arg2 ; | |
7576 | PyObject * obj0 = 0 ; | |
994141e6 | 7577 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7578 | char *kwnames[] = { |
7579 | (char *) "self",(char *) "flags", NULL | |
7580 | }; | |
7581 | ||
994141e6 | 7582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7583 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7584 | { |
7585 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7586 | if (PyErr_Occurred()) SWIG_fail; | |
7587 | } | |
d14a1e28 RD |
7588 | { |
7589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7590 | (arg1)->SetFlags(arg2); | |
7591 | ||
7592 | wxPyEndAllowThreads(__tstate); | |
7593 | if (PyErr_Occurred()) SWIG_fail; | |
7594 | } | |
7595 | Py_INCREF(Py_None); resultobj = Py_None; | |
7596 | return resultobj; | |
7597 | fail: | |
7598 | return NULL; | |
7599 | } | |
7600 | ||
7601 | ||
7602 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7603 | PyObject *resultobj; | |
7604 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7605 | int result; | |
7606 | PyObject * obj0 = 0 ; | |
7607 | char *kwnames[] = { | |
7608 | (char *) "self", NULL | |
7609 | }; | |
7610 | ||
7611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7612 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7613 | { | |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7616 | ||
7617 | wxPyEndAllowThreads(__tstate); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
994141e6 | 7620 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7621 | return resultobj; |
7622 | fail: | |
7623 | return NULL; | |
7624 | } | |
7625 | ||
7626 | ||
7627 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7628 | PyObject *resultobj; | |
7629 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7630 | wxRect *arg2 = 0 ; | |
7631 | wxRect temp2 ; | |
7632 | PyObject * obj0 = 0 ; | |
7633 | PyObject * obj1 = 0 ; | |
7634 | char *kwnames[] = { | |
7635 | (char *) "self",(char *) "rect", NULL | |
7636 | }; | |
7637 | ||
7638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
7639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7640 | { | |
7641 | arg2 = &temp2; | |
7642 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7643 | } | |
7644 | { | |
7645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7646 | (arg1)->SetRect((wxRect const &)*arg2); | |
7647 | ||
7648 | wxPyEndAllowThreads(__tstate); | |
7649 | if (PyErr_Occurred()) SWIG_fail; | |
7650 | } | |
7651 | Py_INCREF(Py_None); resultobj = Py_None; | |
7652 | return resultobj; | |
7653 | fail: | |
7654 | return NULL; | |
7655 | } | |
7656 | ||
7657 | ||
7658 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7659 | PyObject *resultobj; | |
7660 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7661 | wxRect result; | |
7662 | PyObject * obj0 = 0 ; | |
7663 | char *kwnames[] = { | |
7664 | (char *) "self", NULL | |
7665 | }; | |
7666 | ||
7667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
7668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7669 | { | |
7670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7671 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7672 | ||
7673 | wxPyEndAllowThreads(__tstate); | |
7674 | if (PyErr_Occurred()) SWIG_fail; | |
7675 | } | |
7676 | { | |
7677 | wxRect * resultptr; | |
7678 | resultptr = new wxRect((wxRect &) result); | |
7679 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
7680 | } | |
7681 | return resultobj; | |
7682 | fail: | |
7683 | return NULL; | |
7684 | } | |
7685 | ||
7686 | ||
7687 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7688 | PyObject *obj; | |
7689 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7690 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7691 | Py_INCREF(obj); | |
7692 | return Py_BuildValue((char *)""); | |
7693 | } | |
7694 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7695 | PyObject *resultobj; | |
7696 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 7697 | int arg2 ; |
d14a1e28 RD |
7698 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7699 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7700 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7701 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7702 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7703 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7704 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7705 | wxSashLayoutWindow *result; | |
7706 | wxPoint temp3 ; | |
7707 | wxSize temp4 ; | |
e811c8ce | 7708 | bool temp6 = False ; |
d14a1e28 | 7709 | PyObject * obj0 = 0 ; |
994141e6 | 7710 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7711 | PyObject * obj2 = 0 ; |
7712 | PyObject * obj3 = 0 ; | |
994141e6 | 7713 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7714 | PyObject * obj5 = 0 ; |
7715 | char *kwnames[] = { | |
7716 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7717 | }; | |
7718 | ||
994141e6 | 7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 7720 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7721 | { |
7722 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7723 | if (PyErr_Occurred()) SWIG_fail; | |
7724 | } | |
d14a1e28 RD |
7725 | if (obj2) { |
7726 | { | |
7727 | arg3 = &temp3; | |
7728 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7729 | } | |
7730 | } | |
7731 | if (obj3) { | |
7732 | { | |
7733 | arg4 = &temp4; | |
7734 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7735 | } | |
7736 | } | |
994141e6 RD |
7737 | if (obj4) { |
7738 | { | |
7739 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
7740 | if (PyErr_Occurred()) SWIG_fail; | |
7741 | } | |
7742 | } | |
d14a1e28 RD |
7743 | if (obj5) { |
7744 | { | |
7745 | arg6 = wxString_in_helper(obj5); | |
7746 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 7747 | temp6 = True; |
d14a1e28 RD |
7748 | } |
7749 | } | |
7750 | { | |
7751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7752 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7753 | ||
7754 | wxPyEndAllowThreads(__tstate); | |
7755 | if (PyErr_Occurred()) SWIG_fail; | |
7756 | } | |
7757 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7758 | { | |
7759 | if (temp6) | |
7760 | delete arg6; | |
7761 | } | |
7762 | return resultobj; | |
7763 | fail: | |
7764 | { | |
7765 | if (temp6) | |
7766 | delete arg6; | |
7767 | } | |
7768 | return NULL; | |
7769 | } | |
7770 | ||
7771 | ||
7772 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7773 | PyObject *resultobj; | |
7774 | wxSashLayoutWindow *result; | |
7775 | char *kwnames[] = { | |
7776 | NULL | |
7777 | }; | |
7778 | ||
7779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7780 | { | |
7781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7782 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7783 | ||
7784 | wxPyEndAllowThreads(__tstate); | |
7785 | if (PyErr_Occurred()) SWIG_fail; | |
7786 | } | |
7787 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7788 | return resultobj; | |
7789 | fail: | |
7790 | return NULL; | |
7791 | } | |
7792 | ||
7793 | ||
7794 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7795 | PyObject *resultobj; | |
7796 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7797 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 7798 | int arg3 ; |
d14a1e28 RD |
7799 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7800 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7801 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7802 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7803 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7804 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7805 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7806 | bool result; | |
7807 | wxPoint temp4 ; | |
7808 | wxSize temp5 ; | |
e811c8ce | 7809 | bool temp7 = False ; |
d14a1e28 RD |
7810 | PyObject * obj0 = 0 ; |
7811 | PyObject * obj1 = 0 ; | |
994141e6 | 7812 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7813 | PyObject * obj3 = 0 ; |
7814 | PyObject * obj4 = 0 ; | |
994141e6 | 7815 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7816 | PyObject * obj6 = 0 ; |
7817 | char *kwnames[] = { | |
7818 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7819 | }; | |
7820 | ||
994141e6 | 7821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
7822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
7823 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
7824 | { |
7825 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
7826 | if (PyErr_Occurred()) SWIG_fail; | |
7827 | } | |
d14a1e28 RD |
7828 | if (obj3) { |
7829 | { | |
7830 | arg4 = &temp4; | |
7831 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7832 | } | |
7833 | } | |
7834 | if (obj4) { | |
7835 | { | |
7836 | arg5 = &temp5; | |
7837 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7838 | } | |
7839 | } | |
994141e6 RD |
7840 | if (obj5) { |
7841 | { | |
7842 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
7843 | if (PyErr_Occurred()) SWIG_fail; | |
7844 | } | |
7845 | } | |
d14a1e28 RD |
7846 | if (obj6) { |
7847 | { | |
7848 | arg7 = wxString_in_helper(obj6); | |
7849 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 7850 | temp7 = True; |
d14a1e28 RD |
7851 | } |
7852 | } | |
7853 | { | |
7854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7855 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7856 | ||
7857 | wxPyEndAllowThreads(__tstate); | |
7858 | if (PyErr_Occurred()) SWIG_fail; | |
7859 | } | |
4d5c3d91 | 7860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
7861 | { |
7862 | if (temp7) | |
7863 | delete arg7; | |
7864 | } | |
7865 | return resultobj; | |
7866 | fail: | |
7867 | { | |
7868 | if (temp7) | |
7869 | delete arg7; | |
7870 | } | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
7875 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7876 | PyObject *resultobj; | |
7877 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7878 | int result; | |
7879 | PyObject * obj0 = 0 ; | |
7880 | char *kwnames[] = { | |
7881 | (char *) "self", NULL | |
7882 | }; | |
7883 | ||
7884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
7885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7886 | { | |
7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7888 | result = (int)(arg1)->GetAlignment(); | |
7889 | ||
7890 | wxPyEndAllowThreads(__tstate); | |
7891 | if (PyErr_Occurred()) SWIG_fail; | |
7892 | } | |
994141e6 | 7893 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7894 | return resultobj; |
7895 | fail: | |
7896 | return NULL; | |
7897 | } | |
7898 | ||
7899 | ||
7900 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7901 | PyObject *resultobj; | |
7902 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7903 | int result; | |
7904 | PyObject * obj0 = 0 ; | |
7905 | char *kwnames[] = { | |
7906 | (char *) "self", NULL | |
7907 | }; | |
7908 | ||
7909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
7910 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7911 | { | |
7912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7913 | result = (int)(arg1)->GetOrientation(); | |
7914 | ||
7915 | wxPyEndAllowThreads(__tstate); | |
7916 | if (PyErr_Occurred()) SWIG_fail; | |
7917 | } | |
994141e6 | 7918 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7919 | return resultobj; |
7920 | fail: | |
7921 | return NULL; | |
7922 | } | |
7923 | ||
7924 | ||
7925 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7926 | PyObject *resultobj; | |
7927 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7928 | int arg2 ; | |
7929 | PyObject * obj0 = 0 ; | |
994141e6 | 7930 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7931 | char *kwnames[] = { |
7932 | (char *) "self",(char *) "alignment", NULL | |
7933 | }; | |
7934 | ||
994141e6 | 7935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7936 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7937 | { |
7938 | arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1); | |
7939 | if (PyErr_Occurred()) SWIG_fail; | |
7940 | } | |
d14a1e28 RD |
7941 | { |
7942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7943 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7944 | ||
7945 | wxPyEndAllowThreads(__tstate); | |
7946 | if (PyErr_Occurred()) SWIG_fail; | |
7947 | } | |
7948 | Py_INCREF(Py_None); resultobj = Py_None; | |
7949 | return resultobj; | |
7950 | fail: | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
7955 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7956 | PyObject *resultobj; | |
7957 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7958 | wxSize *arg2 = 0 ; | |
7959 | wxSize temp2 ; | |
7960 | PyObject * obj0 = 0 ; | |
7961 | PyObject * obj1 = 0 ; | |
7962 | char *kwnames[] = { | |
7963 | (char *) "self",(char *) "size", NULL | |
7964 | }; | |
7965 | ||
7966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
7967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7968 | { | |
7969 | arg2 = &temp2; | |
7970 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7971 | } | |
7972 | { | |
7973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7974 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
7975 | ||
7976 | wxPyEndAllowThreads(__tstate); | |
7977 | if (PyErr_Occurred()) SWIG_fail; | |
7978 | } | |
7979 | Py_INCREF(Py_None); resultobj = Py_None; | |
7980 | return resultobj; | |
7981 | fail: | |
7982 | return NULL; | |
7983 | } | |
7984 | ||
7985 | ||
7986 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7987 | PyObject *resultobj; | |
7988 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7989 | int arg2 ; | |
7990 | PyObject * obj0 = 0 ; | |
994141e6 | 7991 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7992 | char *kwnames[] = { |
7993 | (char *) "self",(char *) "orientation", NULL | |
7994 | }; | |
7995 | ||
994141e6 | 7996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7997 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
7998 | { |
7999 | arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1); | |
8000 | if (PyErr_Occurred()) SWIG_fail; | |
8001 | } | |
d14a1e28 RD |
8002 | { |
8003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8004 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8005 | ||
8006 | wxPyEndAllowThreads(__tstate); | |
8007 | if (PyErr_Occurred()) SWIG_fail; | |
8008 | } | |
8009 | Py_INCREF(Py_None); resultobj = Py_None; | |
8010 | return resultobj; | |
8011 | fail: | |
8012 | return NULL; | |
8013 | } | |
8014 | ||
8015 | ||
8016 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8017 | PyObject *obj; | |
8018 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8019 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8020 | Py_INCREF(obj); | |
8021 | return Py_BuildValue((char *)""); | |
8022 | } | |
8023 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8024 | PyObject *resultobj; | |
8025 | wxLayoutAlgorithm *result; | |
8026 | char *kwnames[] = { | |
8027 | NULL | |
8028 | }; | |
8029 | ||
8030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8031 | { | |
8032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8033 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8034 | ||
8035 | wxPyEndAllowThreads(__tstate); | |
8036 | if (PyErr_Occurred()) SWIG_fail; | |
8037 | } | |
8038 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
8039 | return resultobj; | |
8040 | fail: | |
8041 | return NULL; | |
8042 | } | |
8043 | ||
8044 | ||
8045 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8046 | PyObject *resultobj; | |
8047 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8048 | PyObject * obj0 = 0 ; | |
8049 | char *kwnames[] = { | |
8050 | (char *) "self", NULL | |
8051 | }; | |
8052 | ||
8053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
8054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8055 | { | |
8056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8057 | delete arg1; | |
8058 | ||
8059 | wxPyEndAllowThreads(__tstate); | |
8060 | if (PyErr_Occurred()) SWIG_fail; | |
8061 | } | |
8062 | Py_INCREF(Py_None); resultobj = Py_None; | |
8063 | return resultobj; | |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
8069 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject *resultobj; | |
8071 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8072 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8073 | wxRect *arg3 = (wxRect *) NULL ; | |
8074 | bool result; | |
8075 | PyObject * obj0 = 0 ; | |
8076 | PyObject * obj1 = 0 ; | |
8077 | PyObject * obj2 = 0 ; | |
8078 | char *kwnames[] = { | |
8079 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8080 | }; | |
8081 | ||
8082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8083 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8084 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8085 | if (obj2) { | |
8086 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8087 | } | |
8088 | { | |
8089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8090 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8091 | ||
8092 | wxPyEndAllowThreads(__tstate); | |
8093 | if (PyErr_Occurred()) SWIG_fail; | |
8094 | } | |
4d5c3d91 | 8095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8096 | return resultobj; |
8097 | fail: | |
8098 | return NULL; | |
8099 | } | |
8100 | ||
8101 | ||
8102 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8103 | PyObject *resultobj; | |
8104 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8105 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8106 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8107 | bool result; | |
8108 | PyObject * obj0 = 0 ; | |
8109 | PyObject * obj1 = 0 ; | |
8110 | PyObject * obj2 = 0 ; | |
8111 | char *kwnames[] = { | |
8112 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8113 | }; | |
8114 | ||
8115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8116 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8117 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8118 | if (obj2) { | |
8119 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8120 | } | |
8121 | { | |
8122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8123 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8124 | ||
8125 | wxPyEndAllowThreads(__tstate); | |
8126 | if (PyErr_Occurred()) SWIG_fail; | |
8127 | } | |
4d5c3d91 | 8128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8129 | return resultobj; |
8130 | fail: | |
8131 | return NULL; | |
8132 | } | |
8133 | ||
8134 | ||
8135 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8136 | PyObject *resultobj; | |
8137 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8138 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8139 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8140 | bool result; | |
8141 | PyObject * obj0 = 0 ; | |
8142 | PyObject * obj1 = 0 ; | |
8143 | PyObject * obj2 = 0 ; | |
8144 | char *kwnames[] = { | |
8145 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8146 | }; | |
8147 | ||
8148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8150 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8151 | if (obj2) { | |
8152 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8153 | } | |
8154 | { | |
8155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8156 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8157 | ||
8158 | wxPyEndAllowThreads(__tstate); | |
8159 | if (PyErr_Occurred()) SWIG_fail; | |
8160 | } | |
4d5c3d91 | 8161 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8162 | return resultobj; |
8163 | fail: | |
8164 | return NULL; | |
8165 | } | |
8166 | ||
8167 | ||
8168 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8169 | PyObject *obj; | |
8170 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8171 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8172 | Py_INCREF(obj); | |
8173 | return Py_BuildValue((char *)""); | |
8174 | } | |
8175 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8176 | PyObject *resultobj; | |
8177 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8178 | int arg2 = (int) wxBORDER_NONE ; | |
8179 | wxPopupWindow *result; | |
8180 | PyObject * obj0 = 0 ; | |
994141e6 | 8181 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8182 | char *kwnames[] = { |
8183 | (char *) "parent",(char *) "flags", NULL | |
8184 | }; | |
8185 | ||
994141e6 | 8186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8187 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8188 | if (obj1) { |
8189 | { | |
8190 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8191 | if (PyErr_Occurred()) SWIG_fail; | |
8192 | } | |
8193 | } | |
d14a1e28 RD |
8194 | { |
8195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8196 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8197 | ||
8198 | wxPyEndAllowThreads(__tstate); | |
8199 | if (PyErr_Occurred()) SWIG_fail; | |
8200 | } | |
8201 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
8202 | return resultobj; | |
8203 | fail: | |
8204 | return NULL; | |
8205 | } | |
8206 | ||
8207 | ||
8208 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8209 | PyObject *resultobj; | |
8210 | wxPopupWindow *result; | |
8211 | char *kwnames[] = { | |
8212 | NULL | |
8213 | }; | |
8214 | ||
8215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8216 | { | |
8217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8218 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8219 | ||
8220 | wxPyEndAllowThreads(__tstate); | |
8221 | if (PyErr_Occurred()) SWIG_fail; | |
8222 | } | |
8223 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
8224 | return resultobj; | |
8225 | fail: | |
8226 | return NULL; | |
8227 | } | |
8228 | ||
8229 | ||
8230 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8231 | PyObject *resultobj; | |
8232 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8233 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8234 | int arg3 = (int) wxBORDER_NONE ; | |
8235 | bool result; | |
8236 | PyObject * obj0 = 0 ; | |
8237 | PyObject * obj1 = 0 ; | |
994141e6 | 8238 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8239 | char *kwnames[] = { |
8240 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8241 | }; | |
8242 | ||
994141e6 | 8243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
8244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8245 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
8246 | if (obj2) { |
8247 | { | |
8248 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
8251 | } | |
d14a1e28 RD |
8252 | { |
8253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8254 | result = (bool)(arg1)->Create(arg2,arg3); | |
8255 | ||
8256 | wxPyEndAllowThreads(__tstate); | |
8257 | if (PyErr_Occurred()) SWIG_fail; | |
8258 | } | |
4d5c3d91 | 8259 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8260 | return resultobj; |
8261 | fail: | |
8262 | return NULL; | |
8263 | } | |
8264 | ||
8265 | ||
8266 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8267 | PyObject *resultobj; | |
8268 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8269 | wxPoint *arg2 = 0 ; | |
8270 | wxSize *arg3 = 0 ; | |
8271 | wxPoint temp2 ; | |
8272 | wxSize temp3 ; | |
8273 | PyObject * obj0 = 0 ; | |
8274 | PyObject * obj1 = 0 ; | |
8275 | PyObject * obj2 = 0 ; | |
8276 | char *kwnames[] = { | |
8277 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8278 | }; | |
8279 | ||
8280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8282 | { | |
8283 | arg2 = &temp2; | |
8284 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8285 | } | |
8286 | { | |
8287 | arg3 = &temp3; | |
8288 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8289 | } | |
8290 | { | |
8291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8292 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8293 | ||
8294 | wxPyEndAllowThreads(__tstate); | |
8295 | if (PyErr_Occurred()) SWIG_fail; | |
8296 | } | |
8297 | Py_INCREF(Py_None); resultobj = Py_None; | |
8298 | return resultobj; | |
8299 | fail: | |
8300 | return NULL; | |
8301 | } | |
8302 | ||
8303 | ||
8304 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8305 | PyObject *obj; | |
8306 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8307 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8308 | Py_INCREF(obj); | |
8309 | return Py_BuildValue((char *)""); | |
8310 | } | |
8311 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8312 | PyObject *resultobj; | |
8313 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8314 | int arg2 = (int) wxBORDER_NONE ; | |
8315 | wxPyPopupTransientWindow *result; | |
8316 | PyObject * obj0 = 0 ; | |
994141e6 | 8317 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8318 | char *kwnames[] = { |
8319 | (char *) "parent",(char *) "style", NULL | |
8320 | }; | |
8321 | ||
994141e6 | 8322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8323 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8324 | if (obj1) { |
8325 | { | |
8326 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8327 | if (PyErr_Occurred()) SWIG_fail; | |
8328 | } | |
8329 | } | |
d14a1e28 RD |
8330 | { |
8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8332 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8333 | ||
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
8344 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8345 | PyObject *resultobj; | |
8346 | wxPyPopupTransientWindow *result; | |
8347 | char *kwnames[] = { | |
8348 | NULL | |
8349 | }; | |
8350 | ||
8351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8352 | { | |
8353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8354 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8355 | ||
8356 | wxPyEndAllowThreads(__tstate); | |
8357 | if (PyErr_Occurred()) SWIG_fail; | |
8358 | } | |
8359 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8360 | return resultobj; | |
8361 | fail: | |
8362 | return NULL; | |
8363 | } | |
8364 | ||
8365 | ||
8366 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8367 | PyObject *resultobj; | |
8368 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8369 | PyObject *arg2 = (PyObject *) 0 ; | |
8370 | PyObject *arg3 = (PyObject *) 0 ; | |
8371 | PyObject * obj0 = 0 ; | |
8372 | PyObject * obj1 = 0 ; | |
8373 | PyObject * obj2 = 0 ; | |
8374 | char *kwnames[] = { | |
8375 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8376 | }; | |
8377 | ||
8378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8379 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8380 | arg2 = obj1; | |
8381 | arg3 = obj2; | |
8382 | { | |
8383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8384 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8385 | ||
8386 | wxPyEndAllowThreads(__tstate); | |
8387 | if (PyErr_Occurred()) SWIG_fail; | |
8388 | } | |
8389 | Py_INCREF(Py_None); resultobj = Py_None; | |
8390 | return resultobj; | |
8391 | fail: | |
8392 | return NULL; | |
8393 | } | |
8394 | ||
8395 | ||
8396 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8397 | PyObject *resultobj; | |
8398 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8399 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8400 | PyObject * obj0 = 0 ; | |
8401 | PyObject * obj1 = 0 ; | |
8402 | char *kwnames[] = { | |
8403 | (char *) "self",(char *) "focus", NULL | |
8404 | }; | |
8405 | ||
8406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
8407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8408 | if (obj1) { | |
8409 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8410 | } | |
8411 | { | |
8412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8413 | (arg1)->Popup(arg2); | |
8414 | ||
8415 | wxPyEndAllowThreads(__tstate); | |
8416 | if (PyErr_Occurred()) SWIG_fail; | |
8417 | } | |
8418 | Py_INCREF(Py_None); resultobj = Py_None; | |
8419 | return resultobj; | |
8420 | fail: | |
8421 | return NULL; | |
8422 | } | |
8423 | ||
8424 | ||
8425 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8426 | PyObject *resultobj; | |
8427 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8428 | PyObject * obj0 = 0 ; | |
8429 | char *kwnames[] = { | |
8430 | (char *) "self", NULL | |
8431 | }; | |
8432 | ||
8433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
8434 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8435 | { | |
8436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8437 | (arg1)->Dismiss(); | |
8438 | ||
8439 | wxPyEndAllowThreads(__tstate); | |
8440 | if (PyErr_Occurred()) SWIG_fail; | |
8441 | } | |
8442 | Py_INCREF(Py_None); resultobj = Py_None; | |
8443 | return resultobj; | |
8444 | fail: | |
8445 | return NULL; | |
8446 | } | |
8447 | ||
8448 | ||
8449 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8450 | PyObject *obj; | |
8451 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8452 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8453 | Py_INCREF(obj); | |
8454 | return Py_BuildValue((char *)""); | |
8455 | } | |
8456 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8457 | PyObject *resultobj; | |
8458 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8459 | wxString *arg2 = 0 ; |
e811c8ce | 8460 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8461 | wxRect *arg4 = (wxRect *) NULL ; |
8462 | wxTipWindow *result; | |
fd3f2efe | 8463 | bool temp2 = False ; |
d14a1e28 RD |
8464 | PyObject * obj0 = 0 ; |
8465 | PyObject * obj1 = 0 ; | |
994141e6 | 8466 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8467 | PyObject * obj3 = 0 ; |
8468 | char *kwnames[] = { | |
8469 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8470 | }; | |
8471 | ||
994141e6 | 8472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 8473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
fd3f2efe RD |
8474 | { |
8475 | arg2 = wxString_in_helper(obj1); | |
8476 | if (arg2 == NULL) SWIG_fail; | |
8477 | temp2 = True; | |
8478 | } | |
994141e6 RD |
8479 | if (obj2) { |
8480 | { | |
8481 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8482 | if (PyErr_Occurred()) SWIG_fail; | |
8483 | } | |
8484 | } | |
d14a1e28 RD |
8485 | if (obj3) { |
8486 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8487 | } | |
8488 | { | |
8489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
fd3f2efe | 8490 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8491 | |
8492 | wxPyEndAllowThreads(__tstate); | |
8493 | if (PyErr_Occurred()) SWIG_fail; | |
8494 | } | |
8495 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1); | |
fd3f2efe RD |
8496 | { |
8497 | if (temp2) | |
8498 | delete arg2; | |
8499 | } | |
d14a1e28 RD |
8500 | return resultobj; |
8501 | fail: | |
fd3f2efe RD |
8502 | { |
8503 | if (temp2) | |
8504 | delete arg2; | |
8505 | } | |
d14a1e28 RD |
8506 | return NULL; |
8507 | } | |
8508 | ||
8509 | ||
8510 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8511 | PyObject *resultobj; | |
8512 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8513 | wxRect *arg2 = 0 ; | |
8514 | wxRect temp2 ; | |
8515 | PyObject * obj0 = 0 ; | |
8516 | PyObject * obj1 = 0 ; | |
8517 | char *kwnames[] = { | |
8518 | (char *) "self",(char *) "rectBound", NULL | |
8519 | }; | |
8520 | ||
8521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
8522 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8523 | { | |
8524 | arg2 = &temp2; | |
8525 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8526 | } | |
8527 | { | |
8528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8529 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8530 | ||
8531 | wxPyEndAllowThreads(__tstate); | |
8532 | if (PyErr_Occurred()) SWIG_fail; | |
8533 | } | |
8534 | Py_INCREF(Py_None); resultobj = Py_None; | |
8535 | return resultobj; | |
8536 | fail: | |
8537 | return NULL; | |
8538 | } | |
8539 | ||
8540 | ||
8541 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8542 | PyObject *resultobj; | |
8543 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8544 | PyObject * obj0 = 0 ; | |
8545 | char *kwnames[] = { | |
8546 | (char *) "self", NULL | |
8547 | }; | |
8548 | ||
8549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
8550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8551 | { | |
8552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8553 | (arg1)->Close(); | |
8554 | ||
8555 | wxPyEndAllowThreads(__tstate); | |
8556 | if (PyErr_Occurred()) SWIG_fail; | |
8557 | } | |
8558 | Py_INCREF(Py_None); resultobj = Py_None; | |
8559 | return resultobj; | |
8560 | fail: | |
8561 | return NULL; | |
8562 | } | |
8563 | ||
8564 | ||
8565 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8566 | PyObject *obj; | |
8567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8568 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8569 | Py_INCREF(obj); | |
8570 | return Py_BuildValue((char *)""); | |
8571 | } | |
8572 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8573 | PyObject *resultobj; | |
8574 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 8575 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8576 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8577 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8578 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8579 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8580 | long arg5 = (long) 0 ; | |
8581 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8582 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8583 | wxPyVScrolledWindow *result; | |
8584 | wxPoint temp3 ; | |
8585 | wxSize temp4 ; | |
e811c8ce | 8586 | bool temp6 = False ; |
d14a1e28 | 8587 | PyObject * obj0 = 0 ; |
994141e6 | 8588 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8589 | PyObject * obj2 = 0 ; |
8590 | PyObject * obj3 = 0 ; | |
994141e6 | 8591 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8592 | PyObject * obj5 = 0 ; |
8593 | char *kwnames[] = { | |
8594 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8595 | }; | |
8596 | ||
994141e6 | 8597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 8598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8599 | if (obj1) { |
8600 | { | |
8601 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8602 | if (PyErr_Occurred()) SWIG_fail; | |
8603 | } | |
8604 | } | |
d14a1e28 RD |
8605 | if (obj2) { |
8606 | { | |
8607 | arg3 = &temp3; | |
8608 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8609 | } | |
8610 | } | |
8611 | if (obj3) { | |
8612 | { | |
8613 | arg4 = &temp4; | |
8614 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8615 | } | |
8616 | } | |
994141e6 RD |
8617 | if (obj4) { |
8618 | { | |
8619 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
8620 | if (PyErr_Occurred()) SWIG_fail; | |
8621 | } | |
8622 | } | |
d14a1e28 RD |
8623 | if (obj5) { |
8624 | { | |
8625 | arg6 = wxString_in_helper(obj5); | |
8626 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8627 | temp6 = True; |
d14a1e28 RD |
8628 | } |
8629 | } | |
8630 | { | |
8631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8632 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8633 | ||
8634 | wxPyEndAllowThreads(__tstate); | |
8635 | if (PyErr_Occurred()) SWIG_fail; | |
8636 | } | |
8637 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8638 | { | |
8639 | if (temp6) | |
8640 | delete arg6; | |
8641 | } | |
8642 | return resultobj; | |
8643 | fail: | |
8644 | { | |
8645 | if (temp6) | |
8646 | delete arg6; | |
8647 | } | |
8648 | return NULL; | |
8649 | } | |
8650 | ||
8651 | ||
8652 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8653 | PyObject *resultobj; | |
8654 | wxPyVScrolledWindow *result; | |
8655 | char *kwnames[] = { | |
8656 | NULL | |
8657 | }; | |
8658 | ||
8659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8660 | { | |
8661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8662 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8663 | ||
8664 | wxPyEndAllowThreads(__tstate); | |
8665 | if (PyErr_Occurred()) SWIG_fail; | |
8666 | } | |
8667 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8668 | return resultobj; | |
8669 | fail: | |
8670 | return NULL; | |
8671 | } | |
8672 | ||
8673 | ||
8674 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8675 | PyObject *resultobj; | |
8676 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8677 | PyObject *arg2 = (PyObject *) 0 ; | |
8678 | PyObject *arg3 = (PyObject *) 0 ; | |
8679 | PyObject * obj0 = 0 ; | |
8680 | PyObject * obj1 = 0 ; | |
8681 | PyObject * obj2 = 0 ; | |
8682 | char *kwnames[] = { | |
8683 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8684 | }; | |
8685 | ||
8686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8688 | arg2 = obj1; | |
8689 | arg3 = obj2; | |
8690 | { | |
8691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8692 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8693 | ||
8694 | wxPyEndAllowThreads(__tstate); | |
8695 | if (PyErr_Occurred()) SWIG_fail; | |
8696 | } | |
8697 | Py_INCREF(Py_None); resultobj = Py_None; | |
8698 | return resultobj; | |
8699 | fail: | |
8700 | return NULL; | |
8701 | } | |
8702 | ||
8703 | ||
8704 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8705 | PyObject *resultobj; | |
8706 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8707 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 8708 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8709 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8710 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8711 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8712 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8713 | long arg6 = (long) 0 ; | |
8714 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8715 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8716 | bool result; | |
8717 | wxPoint temp4 ; | |
8718 | wxSize temp5 ; | |
e811c8ce | 8719 | bool temp7 = False ; |
d14a1e28 RD |
8720 | PyObject * obj0 = 0 ; |
8721 | PyObject * obj1 = 0 ; | |
994141e6 | 8722 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8723 | PyObject * obj3 = 0 ; |
8724 | PyObject * obj4 = 0 ; | |
994141e6 | 8725 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8726 | PyObject * obj6 = 0 ; |
8727 | char *kwnames[] = { | |
8728 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8729 | }; | |
8730 | ||
994141e6 | 8731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
8732 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8733 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
8734 | if (obj2) { |
8735 | { | |
8736 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8737 | if (PyErr_Occurred()) SWIG_fail; | |
8738 | } | |
8739 | } | |
d14a1e28 RD |
8740 | if (obj3) { |
8741 | { | |
8742 | arg4 = &temp4; | |
8743 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8744 | } | |
8745 | } | |
8746 | if (obj4) { | |
8747 | { | |
8748 | arg5 = &temp5; | |
8749 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8750 | } | |
8751 | } | |
994141e6 RD |
8752 | if (obj5) { |
8753 | { | |
8754 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
8755 | if (PyErr_Occurred()) SWIG_fail; | |
8756 | } | |
8757 | } | |
d14a1e28 RD |
8758 | if (obj6) { |
8759 | { | |
8760 | arg7 = wxString_in_helper(obj6); | |
8761 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8762 | temp7 = True; |
d14a1e28 RD |
8763 | } |
8764 | } | |
8765 | { | |
8766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8767 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8768 | ||
8769 | wxPyEndAllowThreads(__tstate); | |
8770 | if (PyErr_Occurred()) SWIG_fail; | |
8771 | } | |
4d5c3d91 | 8772 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8773 | { |
8774 | if (temp7) | |
8775 | delete arg7; | |
8776 | } | |
8777 | return resultobj; | |
8778 | fail: | |
8779 | { | |
8780 | if (temp7) | |
8781 | delete arg7; | |
8782 | } | |
8783 | return NULL; | |
8784 | } | |
8785 | ||
8786 | ||
8787 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8788 | PyObject *resultobj; | |
8789 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8790 | size_t arg2 ; | |
8791 | PyObject * obj0 = 0 ; | |
8792 | PyObject * obj1 = 0 ; | |
8793 | char *kwnames[] = { | |
8794 | (char *) "self",(char *) "count", NULL | |
8795 | }; | |
8796 | ||
8797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
8798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 8799 | { |
994141e6 | 8800 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
8801 | if (PyErr_Occurred()) SWIG_fail; |
8802 | } | |
d14a1e28 RD |
8803 | { |
8804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8805 | (arg1)->SetLineCount(arg2); | |
8806 | ||
8807 | wxPyEndAllowThreads(__tstate); | |
8808 | if (PyErr_Occurred()) SWIG_fail; | |
8809 | } | |
8810 | Py_INCREF(Py_None); resultobj = Py_None; | |
8811 | return resultobj; | |
8812 | fail: | |
8813 | return NULL; | |
8814 | } | |
8815 | ||
8816 | ||
8817 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8818 | PyObject *resultobj; | |
8819 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8820 | size_t arg2 ; | |
8821 | bool result; | |
8822 | PyObject * obj0 = 0 ; | |
8823 | PyObject * obj1 = 0 ; | |
8824 | char *kwnames[] = { | |
8825 | (char *) "self",(char *) "line", NULL | |
8826 | }; | |
8827 | ||
8828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
8829 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 8830 | { |
994141e6 | 8831 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
8832 | if (PyErr_Occurred()) SWIG_fail; |
8833 | } | |
d14a1e28 RD |
8834 | { |
8835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8836 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8837 | ||
8838 | wxPyEndAllowThreads(__tstate); | |
8839 | if (PyErr_Occurred()) SWIG_fail; | |
8840 | } | |
4d5c3d91 | 8841 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8842 | return resultobj; |
8843 | fail: | |
8844 | return NULL; | |
8845 | } | |
8846 | ||
8847 | ||
8848 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8849 | PyObject *resultobj; | |
8850 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8851 | int arg2 ; | |
8852 | bool result; | |
8853 | PyObject * obj0 = 0 ; | |
994141e6 | 8854 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8855 | char *kwnames[] = { |
8856 | (char *) "self",(char *) "lines", NULL | |
8857 | }; | |
8858 | ||
994141e6 | 8859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8860 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8861 | { |
8862 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8863 | if (PyErr_Occurred()) SWIG_fail; | |
8864 | } | |
d14a1e28 RD |
8865 | { |
8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8867 | result = (bool)(arg1)->ScrollLines(arg2); | |
8868 | ||
8869 | wxPyEndAllowThreads(__tstate); | |
8870 | if (PyErr_Occurred()) SWIG_fail; | |
8871 | } | |
4d5c3d91 | 8872 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8873 | return resultobj; |
8874 | fail: | |
8875 | return NULL; | |
8876 | } | |
8877 | ||
8878 | ||
8879 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8880 | PyObject *resultobj; | |
8881 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8882 | int arg2 ; | |
8883 | bool result; | |
8884 | PyObject * obj0 = 0 ; | |
994141e6 | 8885 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8886 | char *kwnames[] = { |
8887 | (char *) "self",(char *) "pages", NULL | |
8888 | }; | |
8889 | ||
994141e6 | 8890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8891 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8892 | { |
8893 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8894 | if (PyErr_Occurred()) SWIG_fail; | |
8895 | } | |
d14a1e28 RD |
8896 | { |
8897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8898 | result = (bool)(arg1)->ScrollPages(arg2); | |
8899 | ||
8900 | wxPyEndAllowThreads(__tstate); | |
8901 | if (PyErr_Occurred()) SWIG_fail; | |
8902 | } | |
4d5c3d91 | 8903 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8904 | return resultobj; |
8905 | fail: | |
8906 | return NULL; | |
8907 | } | |
8908 | ||
8909 | ||
8910 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8911 | PyObject *resultobj; | |
8912 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8913 | size_t arg2 ; | |
8914 | PyObject * obj0 = 0 ; | |
8915 | PyObject * obj1 = 0 ; | |
8916 | char *kwnames[] = { | |
8917 | (char *) "self",(char *) "line", NULL | |
8918 | }; | |
8919 | ||
8920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
8921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 8922 | { |
994141e6 | 8923 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
8924 | if (PyErr_Occurred()) SWIG_fail; |
8925 | } | |
d14a1e28 RD |
8926 | { |
8927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8928 | (arg1)->RefreshLine(arg2); | |
8929 | ||
8930 | wxPyEndAllowThreads(__tstate); | |
8931 | if (PyErr_Occurred()) SWIG_fail; | |
8932 | } | |
8933 | Py_INCREF(Py_None); resultobj = Py_None; | |
8934 | return resultobj; | |
8935 | fail: | |
8936 | return NULL; | |
8937 | } | |
8938 | ||
8939 | ||
8940 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8941 | PyObject *resultobj; | |
8942 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8943 | size_t arg2 ; | |
8944 | size_t arg3 ; | |
8945 | PyObject * obj0 = 0 ; | |
8946 | PyObject * obj1 = 0 ; | |
8947 | PyObject * obj2 = 0 ; | |
8948 | char *kwnames[] = { | |
8949 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8950 | }; | |
8951 | ||
8952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8953 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 8954 | { |
994141e6 | 8955 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
8956 | if (PyErr_Occurred()) SWIG_fail; |
8957 | } | |
8958 | { | |
994141e6 | 8959 | arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2); |
a41e16b6 RD |
8960 | if (PyErr_Occurred()) SWIG_fail; |
8961 | } | |
d14a1e28 RD |
8962 | { |
8963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8964 | (arg1)->RefreshLines(arg2,arg3); | |
8965 | ||
8966 | wxPyEndAllowThreads(__tstate); | |
8967 | if (PyErr_Occurred()) SWIG_fail; | |
8968 | } | |
8969 | Py_INCREF(Py_None); resultobj = Py_None; | |
8970 | return resultobj; | |
8971 | fail: | |
8972 | return NULL; | |
8973 | } | |
8974 | ||
8975 | ||
8976 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8977 | PyObject *resultobj; | |
8978 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
8979 | int arg2 ; |
8980 | int arg3 ; | |
d14a1e28 RD |
8981 | int result; |
8982 | PyObject * obj0 = 0 ; | |
994141e6 RD |
8983 | PyObject * obj1 = 0 ; |
8984 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
8985 | char *kwnames[] = { |
8986 | (char *) "self",(char *) "x",(char *) "y", NULL | |
8987 | }; | |
8988 | ||
994141e6 | 8989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 8990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
8991 | { |
8992 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8993 | if (PyErr_Occurred()) SWIG_fail; | |
8994 | } | |
8995 | { | |
8996 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
d14a1e28 RD |
8999 | { |
9000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9001 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9002 | ||
9003 | wxPyEndAllowThreads(__tstate); | |
9004 | if (PyErr_Occurred()) SWIG_fail; | |
9005 | } | |
994141e6 | 9006 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9007 | return resultobj; |
9008 | fail: | |
9009 | return NULL; | |
9010 | } | |
9011 | ||
9012 | ||
9013 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9014 | PyObject *resultobj; | |
9015 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9016 | wxPoint *arg2 = 0 ; | |
9017 | int result; | |
9018 | wxPoint temp2 ; | |
9019 | PyObject * obj0 = 0 ; | |
9020 | PyObject * obj1 = 0 ; | |
9021 | char *kwnames[] = { | |
9022 | (char *) "self",(char *) "pt", NULL | |
9023 | }; | |
9024 | ||
9025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
9026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9027 | { | |
9028 | arg2 = &temp2; | |
9029 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9030 | } | |
9031 | { | |
9032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9033 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9034 | ||
9035 | wxPyEndAllowThreads(__tstate); | |
9036 | if (PyErr_Occurred()) SWIG_fail; | |
9037 | } | |
994141e6 | 9038 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9039 | return resultobj; |
9040 | fail: | |
9041 | return NULL; | |
9042 | } | |
9043 | ||
9044 | ||
9045 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9046 | PyObject *resultobj; | |
9047 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9048 | PyObject * obj0 = 0 ; | |
9049 | char *kwnames[] = { | |
9050 | (char *) "self", NULL | |
9051 | }; | |
9052 | ||
9053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
9054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9055 | { | |
9056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9057 | (arg1)->RefreshAll(); | |
9058 | ||
9059 | wxPyEndAllowThreads(__tstate); | |
9060 | if (PyErr_Occurred()) SWIG_fail; | |
9061 | } | |
9062 | Py_INCREF(Py_None); resultobj = Py_None; | |
9063 | return resultobj; | |
9064 | fail: | |
9065 | return NULL; | |
9066 | } | |
9067 | ||
9068 | ||
9069 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9070 | PyObject *resultobj; | |
9071 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9072 | size_t result; | |
9073 | PyObject * obj0 = 0 ; | |
9074 | char *kwnames[] = { | |
9075 | (char *) "self", NULL | |
9076 | }; | |
9077 | ||
9078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
9079 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9080 | { | |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9082 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9083 | ||
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
994141e6 | 9087 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9088 | return resultobj; |
9089 | fail: | |
9090 | return NULL; | |
9091 | } | |
9092 | ||
9093 | ||
9094 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9095 | PyObject *resultobj; | |
9096 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9097 | size_t result; | |
9098 | PyObject * obj0 = 0 ; | |
9099 | char *kwnames[] = { | |
9100 | (char *) "self", NULL | |
9101 | }; | |
9102 | ||
9103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
9104 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9105 | { | |
9106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9107 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9108 | ||
9109 | wxPyEndAllowThreads(__tstate); | |
9110 | if (PyErr_Occurred()) SWIG_fail; | |
9111 | } | |
994141e6 | 9112 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9113 | return resultobj; |
9114 | fail: | |
9115 | return NULL; | |
9116 | } | |
9117 | ||
9118 | ||
9119 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9120 | PyObject *resultobj; | |
9121 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9122 | size_t result; | |
9123 | PyObject * obj0 = 0 ; | |
9124 | char *kwnames[] = { | |
9125 | (char *) "self", NULL | |
9126 | }; | |
9127 | ||
9128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
9129 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9130 | { | |
9131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9132 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9133 | ||
9134 | wxPyEndAllowThreads(__tstate); | |
9135 | if (PyErr_Occurred()) SWIG_fail; | |
9136 | } | |
994141e6 | 9137 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9138 | return resultobj; |
9139 | fail: | |
9140 | return NULL; | |
9141 | } | |
9142 | ||
9143 | ||
9144 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9145 | PyObject *resultobj; | |
9146 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9147 | size_t arg2 ; | |
9148 | bool result; | |
9149 | PyObject * obj0 = 0 ; | |
9150 | PyObject * obj1 = 0 ; | |
9151 | char *kwnames[] = { | |
9152 | (char *) "self",(char *) "line", NULL | |
9153 | }; | |
9154 | ||
9155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
9156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9157 | { |
994141e6 | 9158 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9159 | if (PyErr_Occurred()) SWIG_fail; |
9160 | } | |
d14a1e28 RD |
9161 | { |
9162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9163 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9164 | ||
9165 | wxPyEndAllowThreads(__tstate); | |
9166 | if (PyErr_Occurred()) SWIG_fail; | |
9167 | } | |
4d5c3d91 | 9168 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9169 | return resultobj; |
9170 | fail: | |
9171 | return NULL; | |
9172 | } | |
9173 | ||
9174 | ||
9175 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9176 | PyObject *obj; | |
9177 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9178 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9179 | Py_INCREF(obj); | |
9180 | return Py_BuildValue((char *)""); | |
9181 | } | |
b2dc1044 RD |
9182 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9183 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9184 | return 1; | |
9185 | } | |
9186 | ||
9187 | ||
9188 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9189 | PyObject *pyobj; | |
9190 | ||
9191 | { | |
9192 | #if wxUSE_UNICODE | |
9193 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9194 | #else | |
9195 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9196 | #endif | |
9197 | } | |
9198 | return pyobj; | |
9199 | } | |
9200 | ||
9201 | ||
d14a1e28 RD |
9202 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9203 | PyObject *resultobj; | |
9204 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9205 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9206 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9207 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9208 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9209 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9210 | long arg5 = (long) 0 ; | |
9211 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9212 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9213 | wxPyVListBox *result; | |
9214 | wxPoint temp3 ; | |
9215 | wxSize temp4 ; | |
e811c8ce | 9216 | bool temp6 = False ; |
d14a1e28 | 9217 | PyObject * obj0 = 0 ; |
994141e6 | 9218 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9219 | PyObject * obj2 = 0 ; |
9220 | PyObject * obj3 = 0 ; | |
994141e6 | 9221 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9222 | PyObject * obj5 = 0 ; |
9223 | char *kwnames[] = { | |
9224 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9225 | }; | |
9226 | ||
994141e6 | 9227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 9228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
9229 | if (obj1) { |
9230 | { | |
9231 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9232 | if (PyErr_Occurred()) SWIG_fail; | |
9233 | } | |
9234 | } | |
d14a1e28 RD |
9235 | if (obj2) { |
9236 | { | |
9237 | arg3 = &temp3; | |
9238 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9239 | } | |
9240 | } | |
9241 | if (obj3) { | |
9242 | { | |
9243 | arg4 = &temp4; | |
9244 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9245 | } | |
9246 | } | |
994141e6 RD |
9247 | if (obj4) { |
9248 | { | |
9249 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
9250 | if (PyErr_Occurred()) SWIG_fail; | |
9251 | } | |
9252 | } | |
d14a1e28 RD |
9253 | if (obj5) { |
9254 | { | |
9255 | arg6 = wxString_in_helper(obj5); | |
9256 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9257 | temp6 = True; |
d14a1e28 RD |
9258 | } |
9259 | } | |
9260 | { | |
9261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9262 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9263 | ||
9264 | wxPyEndAllowThreads(__tstate); | |
9265 | if (PyErr_Occurred()) SWIG_fail; | |
9266 | } | |
9267 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
9268 | { | |
9269 | if (temp6) | |
9270 | delete arg6; | |
9271 | } | |
9272 | return resultobj; | |
9273 | fail: | |
9274 | { | |
9275 | if (temp6) | |
9276 | delete arg6; | |
9277 | } | |
9278 | return NULL; | |
9279 | } | |
9280 | ||
9281 | ||
9282 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9283 | PyObject *resultobj; | |
9284 | wxPyVListBox *result; | |
9285 | char *kwnames[] = { | |
9286 | NULL | |
9287 | }; | |
9288 | ||
9289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9290 | { | |
9291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9292 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9293 | ||
9294 | wxPyEndAllowThreads(__tstate); | |
9295 | if (PyErr_Occurred()) SWIG_fail; | |
9296 | } | |
9297 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
9298 | return resultobj; | |
9299 | fail: | |
9300 | return NULL; | |
9301 | } | |
9302 | ||
9303 | ||
9304 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9305 | PyObject *resultobj; | |
9306 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9307 | PyObject *arg2 = (PyObject *) 0 ; | |
9308 | PyObject *arg3 = (PyObject *) 0 ; | |
9309 | PyObject * obj0 = 0 ; | |
9310 | PyObject * obj1 = 0 ; | |
9311 | PyObject * obj2 = 0 ; | |
9312 | char *kwnames[] = { | |
9313 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9314 | }; | |
9315 | ||
9316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9318 | arg2 = obj1; | |
9319 | arg3 = obj2; | |
9320 | { | |
9321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9322 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9323 | ||
9324 | wxPyEndAllowThreads(__tstate); | |
9325 | if (PyErr_Occurred()) SWIG_fail; | |
9326 | } | |
9327 | Py_INCREF(Py_None); resultobj = Py_None; | |
9328 | return resultobj; | |
9329 | fail: | |
9330 | return NULL; | |
9331 | } | |
9332 | ||
9333 | ||
9334 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9335 | PyObject *resultobj; | |
9336 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9337 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9338 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9339 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9340 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9341 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9342 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9343 | long arg6 = (long) 0 ; | |
9344 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9345 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9346 | bool result; | |
9347 | wxPoint temp4 ; | |
9348 | wxSize temp5 ; | |
e811c8ce | 9349 | bool temp7 = False ; |
d14a1e28 RD |
9350 | PyObject * obj0 = 0 ; |
9351 | PyObject * obj1 = 0 ; | |
994141e6 | 9352 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9353 | PyObject * obj3 = 0 ; |
9354 | PyObject * obj4 = 0 ; | |
994141e6 | 9355 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9356 | PyObject * obj6 = 0 ; |
9357 | char *kwnames[] = { | |
9358 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9359 | }; | |
9360 | ||
994141e6 | 9361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
9362 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
9363 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
9364 | if (obj2) { |
9365 | { | |
9366 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
9367 | if (PyErr_Occurred()) SWIG_fail; | |
9368 | } | |
9369 | } | |
d14a1e28 RD |
9370 | if (obj3) { |
9371 | { | |
9372 | arg4 = &temp4; | |
9373 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9374 | } | |
9375 | } | |
9376 | if (obj4) { | |
9377 | { | |
9378 | arg5 = &temp5; | |
9379 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9380 | } | |
9381 | } | |
994141e6 RD |
9382 | if (obj5) { |
9383 | { | |
9384 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
9385 | if (PyErr_Occurred()) SWIG_fail; | |
9386 | } | |
9387 | } | |
d14a1e28 RD |
9388 | if (obj6) { |
9389 | { | |
9390 | arg7 = wxString_in_helper(obj6); | |
9391 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9392 | temp7 = True; |
d14a1e28 RD |
9393 | } |
9394 | } | |
9395 | { | |
9396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9397 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9398 | ||
9399 | wxPyEndAllowThreads(__tstate); | |
9400 | if (PyErr_Occurred()) SWIG_fail; | |
9401 | } | |
4d5c3d91 | 9402 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9403 | { |
9404 | if (temp7) | |
9405 | delete arg7; | |
9406 | } | |
9407 | return resultobj; | |
9408 | fail: | |
9409 | { | |
9410 | if (temp7) | |
9411 | delete arg7; | |
9412 | } | |
9413 | return NULL; | |
9414 | } | |
9415 | ||
9416 | ||
9417 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9418 | PyObject *resultobj; | |
9419 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9420 | size_t result; | |
9421 | PyObject * obj0 = 0 ; | |
9422 | char *kwnames[] = { | |
9423 | (char *) "self", NULL | |
9424 | }; | |
9425 | ||
9426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
9427 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9428 | { | |
9429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9430 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9431 | ||
9432 | wxPyEndAllowThreads(__tstate); | |
9433 | if (PyErr_Occurred()) SWIG_fail; | |
9434 | } | |
994141e6 | 9435 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9436 | return resultobj; |
9437 | fail: | |
9438 | return NULL; | |
9439 | } | |
9440 | ||
9441 | ||
9442 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9443 | PyObject *resultobj; | |
9444 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9445 | bool result; | |
9446 | PyObject * obj0 = 0 ; | |
9447 | char *kwnames[] = { | |
9448 | (char *) "self", NULL | |
9449 | }; | |
9450 | ||
9451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
9452 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9453 | { | |
9454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9455 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9456 | ||
9457 | wxPyEndAllowThreads(__tstate); | |
9458 | if (PyErr_Occurred()) SWIG_fail; | |
9459 | } | |
4d5c3d91 | 9460 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9461 | return resultobj; |
9462 | fail: | |
9463 | return NULL; | |
9464 | } | |
9465 | ||
9466 | ||
9467 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9468 | PyObject *resultobj; | |
9469 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9470 | int result; | |
9471 | PyObject * obj0 = 0 ; | |
9472 | char *kwnames[] = { | |
9473 | (char *) "self", NULL | |
9474 | }; | |
9475 | ||
9476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
9477 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9478 | { | |
9479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9480 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9481 | ||
9482 | wxPyEndAllowThreads(__tstate); | |
9483 | if (PyErr_Occurred()) SWIG_fail; | |
9484 | } | |
994141e6 | 9485 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9486 | return resultobj; |
9487 | fail: | |
9488 | return NULL; | |
9489 | } | |
9490 | ||
9491 | ||
9492 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9493 | PyObject *resultobj; | |
9494 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9495 | size_t arg2 ; | |
9496 | bool result; | |
9497 | PyObject * obj0 = 0 ; | |
9498 | PyObject * obj1 = 0 ; | |
9499 | char *kwnames[] = { | |
9500 | (char *) "self",(char *) "item", NULL | |
9501 | }; | |
9502 | ||
9503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
9504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9505 | { |
994141e6 | 9506 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9507 | if (PyErr_Occurred()) SWIG_fail; |
9508 | } | |
d14a1e28 RD |
9509 | { |
9510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9511 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9512 | ||
9513 | wxPyEndAllowThreads(__tstate); | |
9514 | if (PyErr_Occurred()) SWIG_fail; | |
9515 | } | |
4d5c3d91 | 9516 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9517 | return resultobj; |
9518 | fail: | |
9519 | return NULL; | |
9520 | } | |
9521 | ||
9522 | ||
9523 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9524 | PyObject *resultobj; | |
9525 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9526 | size_t arg2 ; | |
9527 | bool result; | |
9528 | PyObject * obj0 = 0 ; | |
9529 | PyObject * obj1 = 0 ; | |
9530 | char *kwnames[] = { | |
9531 | (char *) "self",(char *) "item", NULL | |
9532 | }; | |
9533 | ||
9534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
9535 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9536 | { |
994141e6 | 9537 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9538 | if (PyErr_Occurred()) SWIG_fail; |
9539 | } | |
d14a1e28 RD |
9540 | { |
9541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9542 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9543 | ||
9544 | wxPyEndAllowThreads(__tstate); | |
9545 | if (PyErr_Occurred()) SWIG_fail; | |
9546 | } | |
4d5c3d91 | 9547 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9548 | return resultobj; |
9549 | fail: | |
9550 | return NULL; | |
9551 | } | |
9552 | ||
9553 | ||
9554 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9555 | PyObject *resultobj; | |
9556 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9557 | size_t result; | |
9558 | PyObject * obj0 = 0 ; | |
9559 | char *kwnames[] = { | |
9560 | (char *) "self", NULL | |
9561 | }; | |
9562 | ||
9563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
9564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9565 | { | |
9566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9567 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9568 | ||
9569 | wxPyEndAllowThreads(__tstate); | |
9570 | if (PyErr_Occurred()) SWIG_fail; | |
9571 | } | |
994141e6 | 9572 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9573 | return resultobj; |
9574 | fail: | |
9575 | return NULL; | |
9576 | } | |
9577 | ||
9578 | ||
9579 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9580 | PyObject *resultobj; | |
9581 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9582 | unsigned long *arg2 = 0 ; | |
9583 | int result; | |
9584 | PyObject * obj0 = 0 ; | |
9585 | PyObject * obj1 = 0 ; | |
9586 | char *kwnames[] = { | |
9587 | (char *) "self",(char *) "cookie", NULL | |
9588 | }; | |
9589 | ||
9590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
9591 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9592 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9593 | if (arg2 == NULL) { | |
9594 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9595 | } | |
9596 | { | |
9597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9598 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9599 | ||
9600 | wxPyEndAllowThreads(__tstate); | |
9601 | if (PyErr_Occurred()) SWIG_fail; | |
9602 | } | |
994141e6 | 9603 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9604 | return resultobj; |
9605 | fail: | |
9606 | return NULL; | |
9607 | } | |
9608 | ||
9609 | ||
9610 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9611 | PyObject *resultobj; | |
9612 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9613 | unsigned long *arg2 = 0 ; | |
9614 | int result; | |
9615 | PyObject * obj0 = 0 ; | |
9616 | PyObject * obj1 = 0 ; | |
9617 | char *kwnames[] = { | |
9618 | (char *) "self",(char *) "cookie", NULL | |
9619 | }; | |
9620 | ||
9621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
9622 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9623 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9624 | if (arg2 == NULL) { | |
9625 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9626 | } | |
9627 | { | |
9628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9629 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9630 | ||
9631 | wxPyEndAllowThreads(__tstate); | |
9632 | if (PyErr_Occurred()) SWIG_fail; | |
9633 | } | |
994141e6 | 9634 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9635 | return resultobj; |
9636 | fail: | |
9637 | return NULL; | |
9638 | } | |
9639 | ||
9640 | ||
9641 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9642 | PyObject *resultobj; | |
9643 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9644 | wxPoint result; | |
9645 | PyObject * obj0 = 0 ; | |
9646 | char *kwnames[] = { | |
9647 | (char *) "self", NULL | |
9648 | }; | |
9649 | ||
9650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
9651 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9652 | { | |
9653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9654 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9655 | ||
9656 | wxPyEndAllowThreads(__tstate); | |
9657 | if (PyErr_Occurred()) SWIG_fail; | |
9658 | } | |
9659 | { | |
9660 | wxPoint * resultptr; | |
9661 | resultptr = new wxPoint((wxPoint &) result); | |
9662 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
9663 | } | |
9664 | return resultobj; | |
9665 | fail: | |
9666 | return NULL; | |
9667 | } | |
9668 | ||
9669 | ||
9670 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9671 | PyObject *resultobj; | |
9672 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9673 | wxColour *result; | |
9674 | PyObject * obj0 = 0 ; | |
9675 | char *kwnames[] = { | |
9676 | (char *) "self", NULL | |
9677 | }; | |
9678 | ||
9679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
9680 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9681 | { | |
9682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9683 | { | |
9684 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9685 | result = (wxColour *) &_result_ref; | |
9686 | } | |
9687 | ||
9688 | wxPyEndAllowThreads(__tstate); | |
9689 | if (PyErr_Occurred()) SWIG_fail; | |
9690 | } | |
9691 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
9692 | return resultobj; | |
9693 | fail: | |
9694 | return NULL; | |
9695 | } | |
9696 | ||
9697 | ||
9698 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9699 | PyObject *resultobj; | |
9700 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9701 | size_t arg2 ; | |
9702 | PyObject * obj0 = 0 ; | |
9703 | PyObject * obj1 = 0 ; | |
9704 | char *kwnames[] = { | |
9705 | (char *) "self",(char *) "count", NULL | |
9706 | }; | |
9707 | ||
9708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
9709 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9710 | { |
994141e6 | 9711 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9712 | if (PyErr_Occurred()) SWIG_fail; |
9713 | } | |
d14a1e28 RD |
9714 | { |
9715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9716 | (arg1)->SetItemCount(arg2); | |
9717 | ||
9718 | wxPyEndAllowThreads(__tstate); | |
9719 | if (PyErr_Occurred()) SWIG_fail; | |
9720 | } | |
9721 | Py_INCREF(Py_None); resultobj = Py_None; | |
9722 | return resultobj; | |
9723 | fail: | |
9724 | return NULL; | |
9725 | } | |
9726 | ||
9727 | ||
9728 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9729 | PyObject *resultobj; | |
9730 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9731 | PyObject * obj0 = 0 ; | |
9732 | char *kwnames[] = { | |
9733 | (char *) "self", NULL | |
9734 | }; | |
9735 | ||
9736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
9737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9738 | { | |
9739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9740 | (arg1)->Clear(); | |
9741 | ||
9742 | wxPyEndAllowThreads(__tstate); | |
9743 | if (PyErr_Occurred()) SWIG_fail; | |
9744 | } | |
9745 | Py_INCREF(Py_None); resultobj = Py_None; | |
9746 | return resultobj; | |
9747 | fail: | |
9748 | return NULL; | |
9749 | } | |
9750 | ||
9751 | ||
9752 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9753 | PyObject *resultobj; | |
9754 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9755 | int arg2 ; | |
9756 | PyObject * obj0 = 0 ; | |
994141e6 | 9757 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9758 | char *kwnames[] = { |
9759 | (char *) "self",(char *) "selection", NULL | |
9760 | }; | |
9761 | ||
994141e6 | 9762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 9763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
9764 | { |
9765 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9766 | if (PyErr_Occurred()) SWIG_fail; | |
9767 | } | |
d14a1e28 RD |
9768 | { |
9769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9770 | (arg1)->SetSelection(arg2); | |
9771 | ||
9772 | wxPyEndAllowThreads(__tstate); | |
9773 | if (PyErr_Occurred()) SWIG_fail; | |
9774 | } | |
9775 | Py_INCREF(Py_None); resultobj = Py_None; | |
9776 | return resultobj; | |
9777 | fail: | |
9778 | return NULL; | |
9779 | } | |
9780 | ||
9781 | ||
9782 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9783 | PyObject *resultobj; | |
9784 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9785 | size_t arg2 ; | |
e811c8ce | 9786 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9787 | bool result; |
9788 | PyObject * obj0 = 0 ; | |
9789 | PyObject * obj1 = 0 ; | |
9790 | PyObject * obj2 = 0 ; | |
9791 | char *kwnames[] = { | |
9792 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9793 | }; | |
9794 | ||
9795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9797 | { |
994141e6 | 9798 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
d14a1e28 RD |
9799 | if (PyErr_Occurred()) SWIG_fail; |
9800 | } | |
a41e16b6 RD |
9801 | if (obj2) { |
9802 | { | |
994141e6 | 9803 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
a41e16b6 RD |
9804 | if (PyErr_Occurred()) SWIG_fail; |
9805 | } | |
9806 | } | |
d14a1e28 RD |
9807 | { |
9808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9809 | result = (bool)(arg1)->Select(arg2,arg3); | |
9810 | ||
9811 | wxPyEndAllowThreads(__tstate); | |
9812 | if (PyErr_Occurred()) SWIG_fail; | |
9813 | } | |
4d5c3d91 | 9814 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9815 | return resultobj; |
9816 | fail: | |
9817 | return NULL; | |
9818 | } | |
9819 | ||
9820 | ||
9821 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9822 | PyObject *resultobj; | |
9823 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9824 | size_t arg2 ; | |
9825 | size_t arg3 ; | |
9826 | bool result; | |
9827 | PyObject * obj0 = 0 ; | |
9828 | PyObject * obj1 = 0 ; | |
9829 | PyObject * obj2 = 0 ; | |
9830 | char *kwnames[] = { | |
9831 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9832 | }; | |
9833 | ||
9834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9836 | { |
994141e6 | 9837 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9838 | if (PyErr_Occurred()) SWIG_fail; |
9839 | } | |
9840 | { | |
994141e6 | 9841 | arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2); |
a41e16b6 RD |
9842 | if (PyErr_Occurred()) SWIG_fail; |
9843 | } | |
d14a1e28 RD |
9844 | { |
9845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9846 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9847 | ||
9848 | wxPyEndAllowThreads(__tstate); | |
9849 | if (PyErr_Occurred()) SWIG_fail; | |
9850 | } | |
4d5c3d91 | 9851 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9852 | return resultobj; |
9853 | fail: | |
9854 | return NULL; | |
9855 | } | |
9856 | ||
9857 | ||
9858 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9859 | PyObject *resultobj; | |
9860 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9861 | size_t arg2 ; | |
9862 | PyObject * obj0 = 0 ; | |
9863 | PyObject * obj1 = 0 ; | |
9864 | char *kwnames[] = { | |
9865 | (char *) "self",(char *) "item", NULL | |
9866 | }; | |
9867 | ||
9868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
9869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 9870 | { |
994141e6 | 9871 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
9872 | if (PyErr_Occurred()) SWIG_fail; |
9873 | } | |
d14a1e28 RD |
9874 | { |
9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9876 | (arg1)->Toggle(arg2); | |
9877 | ||
9878 | wxPyEndAllowThreads(__tstate); | |
9879 | if (PyErr_Occurred()) SWIG_fail; | |
9880 | } | |
9881 | Py_INCREF(Py_None); resultobj = Py_None; | |
9882 | return resultobj; | |
9883 | fail: | |
9884 | return NULL; | |
9885 | } | |
9886 | ||
9887 | ||
9888 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9889 | PyObject *resultobj; | |
9890 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9891 | bool result; | |
9892 | PyObject * obj0 = 0 ; | |
9893 | char *kwnames[] = { | |
9894 | (char *) "self", NULL | |
9895 | }; | |
9896 | ||
9897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
9898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9899 | { | |
9900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9901 | result = (bool)(arg1)->SelectAll(); | |
9902 | ||
9903 | wxPyEndAllowThreads(__tstate); | |
9904 | if (PyErr_Occurred()) SWIG_fail; | |
9905 | } | |
4d5c3d91 | 9906 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9907 | return resultobj; |
9908 | fail: | |
9909 | return NULL; | |
9910 | } | |
9911 | ||
9912 | ||
9913 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9914 | PyObject *resultobj; | |
9915 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9916 | bool result; | |
9917 | PyObject * obj0 = 0 ; | |
9918 | char *kwnames[] = { | |
9919 | (char *) "self", NULL | |
9920 | }; | |
9921 | ||
9922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
9923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9924 | { | |
9925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9926 | result = (bool)(arg1)->DeselectAll(); | |
9927 | ||
9928 | wxPyEndAllowThreads(__tstate); | |
9929 | if (PyErr_Occurred()) SWIG_fail; | |
9930 | } | |
4d5c3d91 | 9931 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9932 | return resultobj; |
9933 | fail: | |
9934 | return NULL; | |
9935 | } | |
9936 | ||
9937 | ||
9938 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9939 | PyObject *resultobj; | |
9940 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9941 | wxPoint *arg2 = 0 ; | |
9942 | wxPoint temp2 ; | |
9943 | PyObject * obj0 = 0 ; | |
9944 | PyObject * obj1 = 0 ; | |
9945 | char *kwnames[] = { | |
9946 | (char *) "self",(char *) "pt", NULL | |
9947 | }; | |
9948 | ||
9949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
9950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9951 | { | |
9952 | arg2 = &temp2; | |
9953 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9954 | } | |
9955 | { | |
9956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9957 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
9958 | ||
9959 | wxPyEndAllowThreads(__tstate); | |
9960 | if (PyErr_Occurred()) SWIG_fail; | |
9961 | } | |
9962 | Py_INCREF(Py_None); resultobj = Py_None; | |
9963 | return resultobj; | |
9964 | fail: | |
9965 | return NULL; | |
9966 | } | |
9967 | ||
9968 | ||
9969 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9970 | PyObject *resultobj; | |
9971 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
9972 | int arg2 ; |
9973 | int arg3 ; | |
d14a1e28 | 9974 | PyObject * obj0 = 0 ; |
994141e6 RD |
9975 | PyObject * obj1 = 0 ; |
9976 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9977 | char *kwnames[] = { |
9978 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9979 | }; | |
9980 | ||
994141e6 | 9981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 9982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
9983 | { |
9984 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9985 | if (PyErr_Occurred()) SWIG_fail; | |
9986 | } | |
9987 | { | |
9988 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
9989 | if (PyErr_Occurred()) SWIG_fail; | |
9990 | } | |
d14a1e28 RD |
9991 | { |
9992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9993 | (arg1)->SetMargins(arg2,arg3); | |
9994 | ||
9995 | wxPyEndAllowThreads(__tstate); | |
9996 | if (PyErr_Occurred()) SWIG_fail; | |
9997 | } | |
9998 | Py_INCREF(Py_None); resultobj = Py_None; | |
9999 | return resultobj; | |
10000 | fail: | |
10001 | return NULL; | |
10002 | } | |
10003 | ||
10004 | ||
10005 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10006 | PyObject *resultobj; | |
10007 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10008 | wxColour *arg2 = 0 ; | |
10009 | wxColour temp2 ; | |
10010 | PyObject * obj0 = 0 ; | |
10011 | PyObject * obj1 = 0 ; | |
10012 | char *kwnames[] = { | |
10013 | (char *) "self",(char *) "col", NULL | |
10014 | }; | |
10015 | ||
10016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
10017 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10018 | { | |
10019 | arg2 = &temp2; | |
10020 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10021 | } | |
10022 | { | |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10024 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10025 | ||
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
10029 | Py_INCREF(Py_None); resultobj = Py_None; | |
10030 | return resultobj; | |
10031 | fail: | |
10032 | return NULL; | |
10033 | } | |
10034 | ||
10035 | ||
10036 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10037 | PyObject *obj; | |
10038 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10039 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10040 | Py_INCREF(obj); | |
10041 | return Py_BuildValue((char *)""); | |
10042 | } | |
10043 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10044 | PyObject *resultobj; | |
10045 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10046 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10047 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10048 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10049 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10050 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10051 | long arg5 = (long) 0 ; | |
10052 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10053 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10054 | wxPyHtmlListBox *result; | |
10055 | wxPoint temp3 ; | |
10056 | wxSize temp4 ; | |
e811c8ce | 10057 | bool temp6 = False ; |
d14a1e28 | 10058 | PyObject * obj0 = 0 ; |
994141e6 | 10059 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10060 | PyObject * obj2 = 0 ; |
10061 | PyObject * obj3 = 0 ; | |
994141e6 | 10062 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10063 | PyObject * obj5 = 0 ; |
10064 | char *kwnames[] = { | |
10065 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10066 | }; | |
10067 | ||
994141e6 | 10068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 10069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
10070 | if (obj1) { |
10071 | { | |
10072 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10073 | if (PyErr_Occurred()) SWIG_fail; | |
10074 | } | |
10075 | } | |
d14a1e28 RD |
10076 | if (obj2) { |
10077 | { | |
10078 | arg3 = &temp3; | |
10079 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10080 | } | |
10081 | } | |
10082 | if (obj3) { | |
10083 | { | |
10084 | arg4 = &temp4; | |
10085 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10086 | } | |
10087 | } | |
994141e6 RD |
10088 | if (obj4) { |
10089 | { | |
10090 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
10091 | if (PyErr_Occurred()) SWIG_fail; | |
10092 | } | |
10093 | } | |
d14a1e28 RD |
10094 | if (obj5) { |
10095 | { | |
10096 | arg6 = wxString_in_helper(obj5); | |
10097 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10098 | temp6 = True; |
d14a1e28 RD |
10099 | } |
10100 | } | |
10101 | { | |
10102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10103 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10104 | ||
10105 | wxPyEndAllowThreads(__tstate); | |
10106 | if (PyErr_Occurred()) SWIG_fail; | |
10107 | } | |
10108 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10109 | { | |
10110 | if (temp6) | |
10111 | delete arg6; | |
10112 | } | |
10113 | return resultobj; | |
10114 | fail: | |
10115 | { | |
10116 | if (temp6) | |
10117 | delete arg6; | |
10118 | } | |
10119 | return NULL; | |
10120 | } | |
10121 | ||
10122 | ||
10123 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10124 | PyObject *resultobj; | |
10125 | wxPyHtmlListBox *result; | |
10126 | char *kwnames[] = { | |
10127 | NULL | |
10128 | }; | |
10129 | ||
10130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10131 | { | |
10132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10133 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10134 | ||
10135 | wxPyEndAllowThreads(__tstate); | |
10136 | if (PyErr_Occurred()) SWIG_fail; | |
10137 | } | |
10138 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10139 | return resultobj; | |
10140 | fail: | |
10141 | return NULL; | |
10142 | } | |
10143 | ||
10144 | ||
10145 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10146 | PyObject *resultobj; | |
10147 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10148 | PyObject *arg2 = (PyObject *) 0 ; | |
10149 | PyObject *arg3 = (PyObject *) 0 ; | |
10150 | PyObject * obj0 = 0 ; | |
10151 | PyObject * obj1 = 0 ; | |
10152 | PyObject * obj2 = 0 ; | |
10153 | char *kwnames[] = { | |
10154 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10155 | }; | |
10156 | ||
10157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10158 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10159 | arg2 = obj1; | |
10160 | arg3 = obj2; | |
10161 | { | |
10162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10163 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10164 | ||
10165 | wxPyEndAllowThreads(__tstate); | |
10166 | if (PyErr_Occurred()) SWIG_fail; | |
10167 | } | |
10168 | Py_INCREF(Py_None); resultobj = Py_None; | |
10169 | return resultobj; | |
10170 | fail: | |
10171 | return NULL; | |
10172 | } | |
10173 | ||
10174 | ||
10175 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10176 | PyObject *resultobj; | |
10177 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10178 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10179 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10180 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10181 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10182 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10183 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10184 | long arg6 = (long) 0 ; | |
10185 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10186 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10187 | bool result; | |
10188 | wxPoint temp4 ; | |
10189 | wxSize temp5 ; | |
e811c8ce | 10190 | bool temp7 = False ; |
d14a1e28 RD |
10191 | PyObject * obj0 = 0 ; |
10192 | PyObject * obj1 = 0 ; | |
994141e6 | 10193 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10194 | PyObject * obj3 = 0 ; |
10195 | PyObject * obj4 = 0 ; | |
994141e6 | 10196 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10197 | PyObject * obj6 = 0 ; |
10198 | char *kwnames[] = { | |
10199 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10200 | }; | |
10201 | ||
994141e6 | 10202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
10203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
10204 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
10205 | if (obj2) { |
10206 | { | |
10207 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
10208 | if (PyErr_Occurred()) SWIG_fail; | |
10209 | } | |
10210 | } | |
d14a1e28 RD |
10211 | if (obj3) { |
10212 | { | |
10213 | arg4 = &temp4; | |
10214 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10215 | } | |
10216 | } | |
10217 | if (obj4) { | |
10218 | { | |
10219 | arg5 = &temp5; | |
10220 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10221 | } | |
10222 | } | |
994141e6 RD |
10223 | if (obj5) { |
10224 | { | |
10225 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
10226 | if (PyErr_Occurred()) SWIG_fail; | |
10227 | } | |
10228 | } | |
d14a1e28 RD |
10229 | if (obj6) { |
10230 | { | |
10231 | arg7 = wxString_in_helper(obj6); | |
10232 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10233 | temp7 = True; |
d14a1e28 RD |
10234 | } |
10235 | } | |
10236 | { | |
10237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10238 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10239 | ||
10240 | wxPyEndAllowThreads(__tstate); | |
10241 | if (PyErr_Occurred()) SWIG_fail; | |
10242 | } | |
4d5c3d91 | 10243 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10244 | { |
10245 | if (temp7) | |
10246 | delete arg7; | |
10247 | } | |
10248 | return resultobj; | |
10249 | fail: | |
10250 | { | |
10251 | if (temp7) | |
10252 | delete arg7; | |
10253 | } | |
10254 | return NULL; | |
10255 | } | |
10256 | ||
10257 | ||
10258 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10259 | PyObject *resultobj; | |
10260 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10261 | PyObject * obj0 = 0 ; | |
10262 | char *kwnames[] = { | |
10263 | (char *) "self", NULL | |
10264 | }; | |
10265 | ||
10266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
10267 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10268 | { | |
10269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10270 | (arg1)->RefreshAll(); | |
10271 | ||
10272 | wxPyEndAllowThreads(__tstate); | |
10273 | if (PyErr_Occurred()) SWIG_fail; | |
10274 | } | |
10275 | Py_INCREF(Py_None); resultobj = Py_None; | |
10276 | return resultobj; | |
10277 | fail: | |
10278 | return NULL; | |
10279 | } | |
10280 | ||
10281 | ||
10282 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10283 | PyObject *resultobj; | |
10284 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10285 | size_t arg2 ; | |
10286 | PyObject * obj0 = 0 ; | |
10287 | PyObject * obj1 = 0 ; | |
10288 | char *kwnames[] = { | |
10289 | (char *) "self",(char *) "count", NULL | |
10290 | }; | |
10291 | ||
10292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 10294 | { |
994141e6 | 10295 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
a41e16b6 RD |
10296 | if (PyErr_Occurred()) SWIG_fail; |
10297 | } | |
d14a1e28 RD |
10298 | { |
10299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10300 | (arg1)->SetItemCount(arg2); | |
10301 | ||
10302 | wxPyEndAllowThreads(__tstate); | |
10303 | if (PyErr_Occurred()) SWIG_fail; | |
10304 | } | |
10305 | Py_INCREF(Py_None); resultobj = Py_None; | |
10306 | return resultobj; | |
10307 | fail: | |
10308 | return NULL; | |
10309 | } | |
10310 | ||
10311 | ||
10312 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10313 | PyObject *obj; | |
10314 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10315 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10316 | Py_INCREF(obj); | |
10317 | return Py_BuildValue((char *)""); | |
10318 | } | |
10319 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10320 | PyObject *resultobj; | |
10321 | wxTaskBarIcon *result; | |
10322 | char *kwnames[] = { | |
10323 | NULL | |
10324 | }; | |
10325 | ||
10326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10327 | { | |
10328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10329 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10330 | ||
10331 | wxPyEndAllowThreads(__tstate); | |
10332 | if (PyErr_Occurred()) SWIG_fail; | |
10333 | } | |
10334 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1); | |
10335 | return resultobj; | |
10336 | fail: | |
10337 | return NULL; | |
10338 | } | |
10339 | ||
10340 | ||
10341 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10342 | PyObject *resultobj; | |
10343 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10344 | PyObject * obj0 = 0 ; | |
10345 | char *kwnames[] = { | |
10346 | (char *) "self", NULL | |
10347 | }; | |
10348 | ||
10349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
10350 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10351 | { | |
10352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10353 | delete arg1; | |
10354 | ||
10355 | wxPyEndAllowThreads(__tstate); | |
10356 | if (PyErr_Occurred()) SWIG_fail; | |
10357 | } | |
10358 | Py_INCREF(Py_None); resultobj = Py_None; | |
10359 | return resultobj; | |
10360 | fail: | |
10361 | return NULL; | |
10362 | } | |
10363 | ||
10364 | ||
10365 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10366 | PyObject *resultobj; | |
10367 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10368 | bool result; | |
10369 | PyObject * obj0 = 0 ; | |
10370 | char *kwnames[] = { | |
10371 | (char *) "self", NULL | |
10372 | }; | |
10373 | ||
10374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
10375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10376 | { | |
10377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10378 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10379 | ||
10380 | wxPyEndAllowThreads(__tstate); | |
10381 | if (PyErr_Occurred()) SWIG_fail; | |
10382 | } | |
4d5c3d91 | 10383 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10384 | return resultobj; |
10385 | fail: | |
10386 | return NULL; | |
10387 | } | |
10388 | ||
10389 | ||
10390 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10391 | PyObject *resultobj; | |
10392 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10393 | bool result; | |
10394 | PyObject * obj0 = 0 ; | |
10395 | char *kwnames[] = { | |
10396 | (char *) "self", NULL | |
10397 | }; | |
10398 | ||
10399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
10400 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10401 | { | |
10402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10403 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10404 | ||
10405 | wxPyEndAllowThreads(__tstate); | |
10406 | if (PyErr_Occurred()) SWIG_fail; | |
10407 | } | |
4d5c3d91 | 10408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10409 | return resultobj; |
10410 | fail: | |
10411 | return NULL; | |
10412 | } | |
10413 | ||
10414 | ||
10415 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10416 | PyObject *resultobj; | |
10417 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10418 | wxIcon *arg2 = 0 ; | |
10419 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10420 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10421 | bool result; | |
e811c8ce | 10422 | bool temp3 = False ; |
d14a1e28 RD |
10423 | PyObject * obj0 = 0 ; |
10424 | PyObject * obj1 = 0 ; | |
10425 | PyObject * obj2 = 0 ; | |
10426 | char *kwnames[] = { | |
10427 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10428 | }; | |
10429 | ||
10430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10432 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10433 | if (arg2 == NULL) { | |
10434 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
10435 | } | |
10436 | if (obj2) { | |
10437 | { | |
10438 | arg3 = wxString_in_helper(obj2); | |
10439 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 10440 | temp3 = True; |
d14a1e28 RD |
10441 | } |
10442 | } | |
10443 | { | |
10444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10445 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10446 | ||
10447 | wxPyEndAllowThreads(__tstate); | |
10448 | if (PyErr_Occurred()) SWIG_fail; | |
10449 | } | |
4d5c3d91 | 10450 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10451 | { |
10452 | if (temp3) | |
10453 | delete arg3; | |
10454 | } | |
10455 | return resultobj; | |
10456 | fail: | |
10457 | { | |
10458 | if (temp3) | |
10459 | delete arg3; | |
10460 | } | |
10461 | return NULL; | |
10462 | } | |
10463 | ||
10464 | ||
10465 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10466 | PyObject *resultobj; | |
10467 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10468 | bool result; | |
10469 | PyObject * obj0 = 0 ; | |
10470 | char *kwnames[] = { | |
10471 | (char *) "self", NULL | |
10472 | }; | |
10473 | ||
10474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
10475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10476 | { | |
10477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10478 | result = (bool)(arg1)->RemoveIcon(); | |
10479 | ||
10480 | wxPyEndAllowThreads(__tstate); | |
10481 | if (PyErr_Occurred()) SWIG_fail; | |
10482 | } | |
4d5c3d91 | 10483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10484 | return resultobj; |
10485 | fail: | |
10486 | return NULL; | |
10487 | } | |
10488 | ||
10489 | ||
10490 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10491 | PyObject *resultobj; | |
10492 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10493 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10494 | bool result; | |
10495 | PyObject * obj0 = 0 ; | |
10496 | PyObject * obj1 = 0 ; | |
10497 | char *kwnames[] = { | |
10498 | (char *) "self",(char *) "menu", NULL | |
10499 | }; | |
10500 | ||
10501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
10502 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10503 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10504 | { | |
10505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10506 | result = (bool)(arg1)->PopupMenu(arg2); | |
10507 | ||
10508 | wxPyEndAllowThreads(__tstate); | |
10509 | if (PyErr_Occurred()) SWIG_fail; | |
10510 | } | |
4d5c3d91 | 10511 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10512 | return resultobj; |
10513 | fail: | |
10514 | return NULL; | |
10515 | } | |
10516 | ||
10517 | ||
10518 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10519 | PyObject *obj; | |
10520 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10521 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10522 | Py_INCREF(obj); | |
10523 | return Py_BuildValue((char *)""); | |
10524 | } | |
10525 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10526 | PyObject *resultobj; | |
10527 | wxEventType arg1 ; | |
10528 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10529 | wxTaskBarIconEvent *result; | |
994141e6 | 10530 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10531 | PyObject * obj1 = 0 ; |
10532 | char *kwnames[] = { | |
10533 | (char *) "evtType",(char *) "tbIcon", NULL | |
10534 | }; | |
10535 | ||
994141e6 RD |
10536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
10537 | { | |
10538 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
10539 | if (PyErr_Occurred()) SWIG_fail; | |
10540 | } | |
d14a1e28 RD |
10541 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
10542 | { | |
10543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10544 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10545 | ||
10546 | wxPyEndAllowThreads(__tstate); | |
10547 | if (PyErr_Occurred()) SWIG_fail; | |
10548 | } | |
10549 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
10550 | return resultobj; | |
10551 | fail: | |
10552 | return NULL; | |
10553 | } | |
10554 | ||
10555 | ||
10556 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10557 | PyObject *obj; | |
10558 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10559 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10560 | Py_INCREF(obj); | |
10561 | return Py_BuildValue((char *)""); | |
10562 | } | |
b2dc1044 RD |
10563 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
10564 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
10565 | return 1; | |
10566 | } | |
10567 | ||
10568 | ||
10569 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10570 | PyObject *pyobj; | |
10571 | ||
10572 | { | |
10573 | #if wxUSE_UNICODE | |
10574 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10575 | #else | |
10576 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10577 | #endif | |
10578 | } | |
10579 | return pyobj; | |
10580 | } | |
10581 | ||
10582 | ||
10583 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
10584 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
10585 | return 1; | |
10586 | } | |
10587 | ||
10588 | ||
10589 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10590 | PyObject *pyobj; | |
10591 | ||
10592 | { | |
10593 | #if wxUSE_UNICODE | |
10594 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10595 | #else | |
10596 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10597 | #endif | |
10598 | } | |
10599 | return pyobj; | |
10600 | } | |
10601 | ||
10602 | ||
10603 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
10604 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
10605 | return 1; | |
10606 | } | |
10607 | ||
10608 | ||
10609 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10610 | PyObject *pyobj; | |
10611 | ||
10612 | { | |
10613 | #if wxUSE_UNICODE | |
10614 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10615 | #else | |
10616 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10617 | #endif | |
10618 | } | |
10619 | return pyobj; | |
10620 | } | |
10621 | ||
10622 | ||
10623 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
10624 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
10625 | return 1; | |
10626 | } | |
10627 | ||
10628 | ||
10629 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10630 | PyObject *pyobj; | |
10631 | ||
10632 | { | |
10633 | #if wxUSE_UNICODE | |
10634 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10635 | #else | |
10636 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10637 | #endif | |
10638 | } | |
10639 | return pyobj; | |
10640 | } | |
10641 | ||
10642 | ||
10643 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
10644 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
10645 | return 1; | |
10646 | } | |
10647 | ||
10648 | ||
10649 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10650 | PyObject *pyobj; | |
10651 | ||
10652 | { | |
10653 | #if wxUSE_UNICODE | |
10654 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10655 | #else | |
10656 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10657 | #endif | |
10658 | } | |
10659 | return pyobj; | |
10660 | } | |
10661 | ||
10662 | ||
10663 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
10664 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
10665 | return 1; | |
10666 | } | |
10667 | ||
10668 | ||
10669 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10670 | PyObject *pyobj; | |
10671 | ||
10672 | { | |
10673 | #if wxUSE_UNICODE | |
10674 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10675 | #else | |
10676 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10677 | #endif | |
10678 | } | |
10679 | return pyobj; | |
10680 | } | |
10681 | ||
10682 | ||
d14a1e28 RD |
10683 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10684 | PyObject *resultobj; | |
10685 | wxColourData *result; | |
10686 | char *kwnames[] = { | |
10687 | NULL | |
10688 | }; | |
10689 | ||
10690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10691 | { | |
10692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10693 | result = (wxColourData *)new wxColourData(); | |
10694 | ||
10695 | wxPyEndAllowThreads(__tstate); | |
10696 | if (PyErr_Occurred()) SWIG_fail; | |
10697 | } | |
10698 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1); | |
10699 | return resultobj; | |
10700 | fail: | |
10701 | return NULL; | |
10702 | } | |
10703 | ||
10704 | ||
10705 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10706 | PyObject *resultobj; | |
10707 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10708 | PyObject * obj0 = 0 ; | |
10709 | char *kwnames[] = { | |
10710 | (char *) "self", NULL | |
10711 | }; | |
10712 | ||
10713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
10714 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10715 | { | |
10716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10717 | delete arg1; | |
10718 | ||
10719 | wxPyEndAllowThreads(__tstate); | |
10720 | if (PyErr_Occurred()) SWIG_fail; | |
10721 | } | |
10722 | Py_INCREF(Py_None); resultobj = Py_None; | |
10723 | return resultobj; | |
10724 | fail: | |
10725 | return NULL; | |
10726 | } | |
10727 | ||
10728 | ||
10729 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10730 | PyObject *resultobj; | |
10731 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10732 | bool result; | |
10733 | PyObject * obj0 = 0 ; | |
10734 | char *kwnames[] = { | |
10735 | (char *) "self", NULL | |
10736 | }; | |
10737 | ||
10738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
10739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10740 | { | |
10741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10742 | result = (bool)(arg1)->GetChooseFull(); | |
10743 | ||
10744 | wxPyEndAllowThreads(__tstate); | |
10745 | if (PyErr_Occurred()) SWIG_fail; | |
10746 | } | |
4d5c3d91 | 10747 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10748 | return resultobj; |
10749 | fail: | |
10750 | return NULL; | |
10751 | } | |
10752 | ||
10753 | ||
10754 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10755 | PyObject *resultobj; | |
10756 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10757 | wxColour result; | |
10758 | PyObject * obj0 = 0 ; | |
10759 | char *kwnames[] = { | |
10760 | (char *) "self", NULL | |
10761 | }; | |
10762 | ||
10763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
10764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10765 | { | |
10766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10767 | result = (arg1)->GetColour(); | |
10768 | ||
10769 | wxPyEndAllowThreads(__tstate); | |
10770 | if (PyErr_Occurred()) SWIG_fail; | |
10771 | } | |
10772 | { | |
10773 | wxColour * resultptr; | |
10774 | resultptr = new wxColour((wxColour &) result); | |
10775 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
10776 | } | |
10777 | return resultobj; | |
10778 | fail: | |
10779 | return NULL; | |
10780 | } | |
10781 | ||
10782 | ||
10783 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10784 | PyObject *resultobj; | |
10785 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10786 | int arg2 ; | |
10787 | wxColour result; | |
10788 | PyObject * obj0 = 0 ; | |
994141e6 | 10789 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10790 | char *kwnames[] = { |
10791 | (char *) "self",(char *) "i", NULL | |
10792 | }; | |
10793 | ||
994141e6 | 10794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 10795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
10796 | { |
10797 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10798 | if (PyErr_Occurred()) SWIG_fail; | |
10799 | } | |
d14a1e28 RD |
10800 | { |
10801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10802 | result = (arg1)->GetCustomColour(arg2); | |
10803 | ||
10804 | wxPyEndAllowThreads(__tstate); | |
10805 | if (PyErr_Occurred()) SWIG_fail; | |
10806 | } | |
10807 | { | |
10808 | wxColour * resultptr; | |
10809 | resultptr = new wxColour((wxColour &) result); | |
10810 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
10811 | } | |
10812 | return resultobj; | |
10813 | fail: | |
10814 | return NULL; | |
10815 | } | |
10816 | ||
10817 | ||
10818 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10819 | PyObject *resultobj; | |
10820 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10821 | int arg2 ; | |
10822 | PyObject * obj0 = 0 ; | |
994141e6 | 10823 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10824 | char *kwnames[] = { |
10825 | (char *) "self",(char *) "flag", NULL | |
10826 | }; | |
10827 | ||
994141e6 | 10828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 10829 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
10830 | { |
10831 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10832 | if (PyErr_Occurred()) SWIG_fail; | |
10833 | } | |
d14a1e28 RD |
10834 | { |
10835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10836 | (arg1)->SetChooseFull(arg2); | |
10837 | ||
10838 | wxPyEndAllowThreads(__tstate); | |
10839 | if (PyErr_Occurred()) SWIG_fail; | |
10840 | } | |
10841 | Py_INCREF(Py_None); resultobj = Py_None; | |
10842 | return resultobj; | |
10843 | fail: | |
10844 | return NULL; | |
10845 | } | |
10846 | ||
10847 | ||
10848 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10849 | PyObject *resultobj; | |
10850 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10851 | wxColour *arg2 = 0 ; | |
10852 | wxColour temp2 ; | |
10853 | PyObject * obj0 = 0 ; | |
10854 | PyObject * obj1 = 0 ; | |
10855 | char *kwnames[] = { | |
10856 | (char *) "self",(char *) "colour", NULL | |
10857 | }; | |
10858 | ||
10859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
10860 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10861 | { | |
10862 | arg2 = &temp2; | |
10863 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10864 | } | |
10865 | { | |
10866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10867 | (arg1)->SetColour((wxColour const &)*arg2); | |
10868 | ||
10869 | wxPyEndAllowThreads(__tstate); | |
10870 | if (PyErr_Occurred()) SWIG_fail; | |
10871 | } | |
10872 | Py_INCREF(Py_None); resultobj = Py_None; | |
10873 | return resultobj; | |
10874 | fail: | |
10875 | return NULL; | |
10876 | } | |
10877 | ||
10878 | ||
10879 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10880 | PyObject *resultobj; | |
10881 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10882 | int arg2 ; | |
10883 | wxColour *arg3 = 0 ; | |
10884 | wxColour temp3 ; | |
10885 | PyObject * obj0 = 0 ; | |
994141e6 | 10886 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10887 | PyObject * obj2 = 0 ; |
10888 | char *kwnames[] = { | |
10889 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
10890 | }; | |
10891 | ||
994141e6 | 10892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 10893 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
10894 | { |
10895 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10896 | if (PyErr_Occurred()) SWIG_fail; | |
10897 | } | |
d14a1e28 RD |
10898 | { |
10899 | arg3 = &temp3; | |
10900 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10901 | } | |
10902 | { | |
10903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10904 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
10905 | ||
10906 | wxPyEndAllowThreads(__tstate); | |
10907 | if (PyErr_Occurred()) SWIG_fail; | |
10908 | } | |
10909 | Py_INCREF(Py_None); resultobj = Py_None; | |
10910 | return resultobj; | |
10911 | fail: | |
10912 | return NULL; | |
10913 | } | |
10914 | ||
10915 | ||
10916 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
10917 | PyObject *obj; | |
10918 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10919 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
10920 | Py_INCREF(obj); | |
10921 | return Py_BuildValue((char *)""); | |
10922 | } | |
10923 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10924 | PyObject *resultobj; | |
10925 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10926 | wxColourData *arg2 = (wxColourData *) NULL ; | |
10927 | wxColourDialog *result; | |
10928 | PyObject * obj0 = 0 ; | |
10929 | PyObject * obj1 = 0 ; | |
10930 | char *kwnames[] = { | |
10931 | (char *) "parent",(char *) "data", NULL | |
10932 | }; | |
10933 | ||
10934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
10935 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10936 | if (obj1) { | |
10937 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10938 | } | |
10939 | { | |
10940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10941 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
10942 | ||
10943 | wxPyEndAllowThreads(__tstate); | |
10944 | if (PyErr_Occurred()) SWIG_fail; | |
10945 | } | |
10946 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1); | |
10947 | return resultobj; | |
10948 | fail: | |
10949 | return NULL; | |
10950 | } | |
10951 | ||
10952 | ||
10953 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10954 | PyObject *resultobj; | |
10955 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
10956 | wxColourData *result; | |
10957 | PyObject * obj0 = 0 ; | |
10958 | char *kwnames[] = { | |
10959 | (char *) "self", NULL | |
10960 | }; | |
10961 | ||
10962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
10963 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10964 | { | |
10965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10966 | { | |
10967 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
10968 | result = (wxColourData *) &_result_ref; | |
10969 | } | |
10970 | ||
10971 | wxPyEndAllowThreads(__tstate); | |
10972 | if (PyErr_Occurred()) SWIG_fail; | |
10973 | } | |
10974 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0); | |
10975 | return resultobj; | |
10976 | fail: | |
10977 | return NULL; | |
10978 | } | |
10979 | ||
10980 | ||
d14a1e28 RD |
10981 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
10982 | PyObject *obj; | |
10983 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10984 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
10985 | Py_INCREF(obj); | |
10986 | return Py_BuildValue((char *)""); | |
10987 | } | |
10988 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10989 | PyObject *resultobj; | |
10990 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10991 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
10992 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
10993 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10994 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10995 | long arg4 = (long) 0 ; | |
10996 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
10997 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
10998 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
10999 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11000 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11001 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11002 | wxDirDialog *result; | |
e811c8ce RD |
11003 | bool temp2 = False ; |
11004 | bool temp3 = False ; | |
d14a1e28 RD |
11005 | wxPoint temp5 ; |
11006 | wxSize temp6 ; | |
e811c8ce | 11007 | bool temp7 = False ; |
d14a1e28 RD |
11008 | PyObject * obj0 = 0 ; |
11009 | PyObject * obj1 = 0 ; | |
11010 | PyObject * obj2 = 0 ; | |
994141e6 | 11011 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11012 | PyObject * obj4 = 0 ; |
11013 | PyObject * obj5 = 0 ; | |
11014 | PyObject * obj6 = 0 ; | |
11015 | char *kwnames[] = { | |
11016 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11017 | }; | |
11018 | ||
994141e6 | 11019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
11020 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
11021 | if (obj1) { | |
11022 | { | |
11023 | arg2 = wxString_in_helper(obj1); | |
11024 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11025 | temp2 = True; |
d14a1e28 RD |
11026 | } |
11027 | } | |
11028 | if (obj2) { | |
11029 | { | |
11030 | arg3 = wxString_in_helper(obj2); | |
11031 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11032 | temp3 = True; |
d14a1e28 RD |
11033 | } |
11034 | } | |
994141e6 RD |
11035 | if (obj3) { |
11036 | { | |
11037 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
11038 | if (PyErr_Occurred()) SWIG_fail; | |
11039 | } | |
11040 | } | |
d14a1e28 RD |
11041 | if (obj4) { |
11042 | { | |
11043 | arg5 = &temp5; | |
11044 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11045 | } | |
11046 | } | |
11047 | if (obj5) { | |
11048 | { | |
11049 | arg6 = &temp6; | |
11050 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11051 | } | |
11052 | } | |
11053 | if (obj6) { | |
11054 | { | |
11055 | arg7 = wxString_in_helper(obj6); | |
11056 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11057 | temp7 = True; |
d14a1e28 RD |
11058 | } |
11059 | } | |
11060 | { | |
11061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11062 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11063 | ||
11064 | wxPyEndAllowThreads(__tstate); | |
11065 | if (PyErr_Occurred()) SWIG_fail; | |
11066 | } | |
11067 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1); | |
11068 | { | |
11069 | if (temp2) | |
11070 | delete arg2; | |
11071 | } | |
11072 | { | |
11073 | if (temp3) | |
11074 | delete arg3; | |
11075 | } | |
11076 | { | |
11077 | if (temp7) | |
11078 | delete arg7; | |
11079 | } | |
11080 | return resultobj; | |
11081 | fail: | |
11082 | { | |
11083 | if (temp2) | |
11084 | delete arg2; | |
11085 | } | |
11086 | { | |
11087 | if (temp3) | |
11088 | delete arg3; | |
11089 | } | |
11090 | { | |
11091 | if (temp7) | |
11092 | delete arg7; | |
11093 | } | |
11094 | return NULL; | |
11095 | } | |
11096 | ||
11097 | ||
11098 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11099 | PyObject *resultobj; | |
11100 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11101 | wxString result; | |
11102 | PyObject * obj0 = 0 ; | |
11103 | char *kwnames[] = { | |
11104 | (char *) "self", NULL | |
11105 | }; | |
11106 | ||
11107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
11108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11109 | { | |
11110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11111 | result = (arg1)->GetPath(); | |
11112 | ||
11113 | wxPyEndAllowThreads(__tstate); | |
11114 | if (PyErr_Occurred()) SWIG_fail; | |
11115 | } | |
11116 | { | |
11117 | #if wxUSE_UNICODE | |
11118 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11119 | #else | |
11120 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11121 | #endif | |
11122 | } | |
11123 | return resultobj; | |
11124 | fail: | |
11125 | return NULL; | |
11126 | } | |
11127 | ||
11128 | ||
11129 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11130 | PyObject *resultobj; | |
11131 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11132 | wxString result; | |
11133 | PyObject * obj0 = 0 ; | |
11134 | char *kwnames[] = { | |
11135 | (char *) "self", NULL | |
11136 | }; | |
11137 | ||
11138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11139 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11140 | { | |
11141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11142 | result = (arg1)->GetMessage(); | |
11143 | ||
11144 | wxPyEndAllowThreads(__tstate); | |
11145 | if (PyErr_Occurred()) SWIG_fail; | |
11146 | } | |
11147 | { | |
11148 | #if wxUSE_UNICODE | |
11149 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11150 | #else | |
11151 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11152 | #endif | |
11153 | } | |
11154 | return resultobj; | |
11155 | fail: | |
11156 | return NULL; | |
11157 | } | |
11158 | ||
11159 | ||
11160 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11161 | PyObject *resultobj; | |
11162 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11163 | long result; | |
11164 | PyObject * obj0 = 0 ; | |
11165 | char *kwnames[] = { | |
11166 | (char *) "self", NULL | |
11167 | }; | |
11168 | ||
11169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11170 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11171 | { | |
11172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11173 | result = (long)(arg1)->GetStyle(); | |
11174 | ||
11175 | wxPyEndAllowThreads(__tstate); | |
11176 | if (PyErr_Occurred()) SWIG_fail; | |
11177 | } | |
994141e6 | 11178 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
11179 | return resultobj; |
11180 | fail: | |
11181 | return NULL; | |
11182 | } | |
11183 | ||
11184 | ||
11185 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11186 | PyObject *resultobj; | |
11187 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11188 | wxString *arg2 = 0 ; | |
e811c8ce | 11189 | bool temp2 = False ; |
d14a1e28 RD |
11190 | PyObject * obj0 = 0 ; |
11191 | PyObject * obj1 = 0 ; | |
11192 | char *kwnames[] = { | |
11193 | (char *) "self",(char *) "message", NULL | |
11194 | }; | |
11195 | ||
11196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11197 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11198 | { | |
11199 | arg2 = wxString_in_helper(obj1); | |
11200 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11201 | temp2 = True; |
d14a1e28 RD |
11202 | } |
11203 | { | |
11204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11205 | (arg1)->SetMessage((wxString const &)*arg2); | |
11206 | ||
11207 | wxPyEndAllowThreads(__tstate); | |
11208 | if (PyErr_Occurred()) SWIG_fail; | |
11209 | } | |
11210 | Py_INCREF(Py_None); resultobj = Py_None; | |
11211 | { | |
11212 | if (temp2) | |
11213 | delete arg2; | |
11214 | } | |
11215 | return resultobj; | |
11216 | fail: | |
11217 | { | |
11218 | if (temp2) | |
11219 | delete arg2; | |
11220 | } | |
11221 | return NULL; | |
11222 | } | |
11223 | ||
11224 | ||
11225 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11226 | PyObject *resultobj; | |
11227 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11228 | wxString *arg2 = 0 ; | |
e811c8ce | 11229 | bool temp2 = False ; |
d14a1e28 RD |
11230 | PyObject * obj0 = 0 ; |
11231 | PyObject * obj1 = 0 ; | |
11232 | char *kwnames[] = { | |
11233 | (char *) "self",(char *) "path", NULL | |
11234 | }; | |
11235 | ||
11236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
11237 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11238 | { | |
11239 | arg2 = wxString_in_helper(obj1); | |
11240 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11241 | temp2 = True; |
d14a1e28 RD |
11242 | } |
11243 | { | |
11244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11245 | (arg1)->SetPath((wxString const &)*arg2); | |
11246 | ||
11247 | wxPyEndAllowThreads(__tstate); | |
11248 | if (PyErr_Occurred()) SWIG_fail; | |
11249 | } | |
11250 | Py_INCREF(Py_None); resultobj = Py_None; | |
11251 | { | |
11252 | if (temp2) | |
11253 | delete arg2; | |
11254 | } | |
11255 | return resultobj; | |
11256 | fail: | |
11257 | { | |
11258 | if (temp2) | |
11259 | delete arg2; | |
11260 | } | |
11261 | return NULL; | |
11262 | } | |
11263 | ||
11264 | ||
d14a1e28 RD |
11265 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11266 | PyObject *obj; | |
11267 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11268 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11269 | Py_INCREF(obj); | |
11270 | return Py_BuildValue((char *)""); | |
11271 | } | |
11272 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11273 | PyObject *resultobj; | |
11274 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11275 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11276 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11277 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11278 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11279 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11280 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11281 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11282 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11283 | long arg6 = (long) 0 ; | |
11284 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11285 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11286 | wxFileDialog *result; | |
e811c8ce RD |
11287 | bool temp2 = False ; |
11288 | bool temp3 = False ; | |
11289 | bool temp4 = False ; | |
11290 | bool temp5 = False ; | |
d14a1e28 RD |
11291 | wxPoint temp7 ; |
11292 | PyObject * obj0 = 0 ; | |
11293 | PyObject * obj1 = 0 ; | |
11294 | PyObject * obj2 = 0 ; | |
11295 | PyObject * obj3 = 0 ; | |
11296 | PyObject * obj4 = 0 ; | |
994141e6 | 11297 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11298 | PyObject * obj6 = 0 ; |
11299 | char *kwnames[] = { | |
11300 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11301 | }; | |
11302 | ||
994141e6 | 11303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
11304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
11305 | if (obj1) { | |
11306 | { | |
11307 | arg2 = wxString_in_helper(obj1); | |
11308 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11309 | temp2 = True; |
d14a1e28 RD |
11310 | } |
11311 | } | |
11312 | if (obj2) { | |
11313 | { | |
11314 | arg3 = wxString_in_helper(obj2); | |
11315 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11316 | temp3 = True; |
d14a1e28 RD |
11317 | } |
11318 | } | |
11319 | if (obj3) { | |
11320 | { | |
11321 | arg4 = wxString_in_helper(obj3); | |
11322 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11323 | temp4 = True; |
d14a1e28 RD |
11324 | } |
11325 | } | |
11326 | if (obj4) { | |
11327 | { | |
11328 | arg5 = wxString_in_helper(obj4); | |
11329 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11330 | temp5 = True; |
d14a1e28 RD |
11331 | } |
11332 | } | |
994141e6 RD |
11333 | if (obj5) { |
11334 | { | |
11335 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
11336 | if (PyErr_Occurred()) SWIG_fail; | |
11337 | } | |
11338 | } | |
d14a1e28 RD |
11339 | if (obj6) { |
11340 | { | |
11341 | arg7 = &temp7; | |
11342 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11343 | } | |
11344 | } | |
11345 | { | |
11346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11347 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11348 | ||
11349 | wxPyEndAllowThreads(__tstate); | |
11350 | if (PyErr_Occurred()) SWIG_fail; | |
11351 | } | |
11352 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1); | |
11353 | { | |
11354 | if (temp2) | |
11355 | delete arg2; | |
11356 | } | |
11357 | { | |
11358 | if (temp3) | |
11359 | delete arg3; | |
11360 | } | |
11361 | { | |
11362 | if (temp4) | |
11363 | delete arg4; | |
11364 | } | |
11365 | { | |
11366 | if (temp5) | |
11367 | delete arg5; | |
11368 | } | |
11369 | return resultobj; | |
11370 | fail: | |
11371 | { | |
11372 | if (temp2) | |
11373 | delete arg2; | |
11374 | } | |
11375 | { | |
11376 | if (temp3) | |
11377 | delete arg3; | |
11378 | } | |
11379 | { | |
11380 | if (temp4) | |
11381 | delete arg4; | |
11382 | } | |
11383 | { | |
11384 | if (temp5) | |
11385 | delete arg5; | |
11386 | } | |
11387 | return NULL; | |
11388 | } | |
11389 | ||
11390 | ||
11391 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11392 | PyObject *resultobj; | |
11393 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11394 | wxString *arg2 = 0 ; | |
e811c8ce | 11395 | bool temp2 = False ; |
d14a1e28 RD |
11396 | PyObject * obj0 = 0 ; |
11397 | PyObject * obj1 = 0 ; | |
11398 | char *kwnames[] = { | |
11399 | (char *) "self",(char *) "message", NULL | |
11400 | }; | |
11401 | ||
11402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11403 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11404 | { | |
11405 | arg2 = wxString_in_helper(obj1); | |
11406 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11407 | temp2 = True; |
d14a1e28 RD |
11408 | } |
11409 | { | |
11410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11411 | (arg1)->SetMessage((wxString const &)*arg2); | |
11412 | ||
11413 | wxPyEndAllowThreads(__tstate); | |
11414 | if (PyErr_Occurred()) SWIG_fail; | |
11415 | } | |
11416 | Py_INCREF(Py_None); resultobj = Py_None; | |
11417 | { | |
11418 | if (temp2) | |
11419 | delete arg2; | |
11420 | } | |
11421 | return resultobj; | |
11422 | fail: | |
11423 | { | |
11424 | if (temp2) | |
11425 | delete arg2; | |
11426 | } | |
11427 | return NULL; | |
11428 | } | |
11429 | ||
11430 | ||
11431 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11432 | PyObject *resultobj; | |
11433 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11434 | wxString *arg2 = 0 ; | |
e811c8ce | 11435 | bool temp2 = False ; |
d14a1e28 RD |
11436 | PyObject * obj0 = 0 ; |
11437 | PyObject * obj1 = 0 ; | |
11438 | char *kwnames[] = { | |
11439 | (char *) "self",(char *) "path", NULL | |
11440 | }; | |
11441 | ||
11442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
11443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11444 | { | |
11445 | arg2 = wxString_in_helper(obj1); | |
11446 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11447 | temp2 = True; |
d14a1e28 RD |
11448 | } |
11449 | { | |
11450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11451 | (arg1)->SetPath((wxString const &)*arg2); | |
11452 | ||
11453 | wxPyEndAllowThreads(__tstate); | |
11454 | if (PyErr_Occurred()) SWIG_fail; | |
11455 | } | |
11456 | Py_INCREF(Py_None); resultobj = Py_None; | |
11457 | { | |
11458 | if (temp2) | |
11459 | delete arg2; | |
11460 | } | |
11461 | return resultobj; | |
11462 | fail: | |
11463 | { | |
11464 | if (temp2) | |
11465 | delete arg2; | |
11466 | } | |
11467 | return NULL; | |
11468 | } | |
11469 | ||
11470 | ||
11471 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11472 | PyObject *resultobj; | |
11473 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11474 | wxString *arg2 = 0 ; | |
e811c8ce | 11475 | bool temp2 = False ; |
d14a1e28 RD |
11476 | PyObject * obj0 = 0 ; |
11477 | PyObject * obj1 = 0 ; | |
11478 | char *kwnames[] = { | |
11479 | (char *) "self",(char *) "dir", NULL | |
11480 | }; | |
11481 | ||
11482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
11483 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11484 | { | |
11485 | arg2 = wxString_in_helper(obj1); | |
11486 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11487 | temp2 = True; |
d14a1e28 RD |
11488 | } |
11489 | { | |
11490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11491 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11492 | ||
11493 | wxPyEndAllowThreads(__tstate); | |
11494 | if (PyErr_Occurred()) SWIG_fail; | |
11495 | } | |
11496 | Py_INCREF(Py_None); resultobj = Py_None; | |
11497 | { | |
11498 | if (temp2) | |
11499 | delete arg2; | |
11500 | } | |
11501 | return resultobj; | |
11502 | fail: | |
11503 | { | |
11504 | if (temp2) | |
11505 | delete arg2; | |
11506 | } | |
11507 | return NULL; | |
11508 | } | |
11509 | ||
11510 | ||
11511 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11512 | PyObject *resultobj; | |
11513 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11514 | wxString *arg2 = 0 ; | |
e811c8ce | 11515 | bool temp2 = False ; |
d14a1e28 RD |
11516 | PyObject * obj0 = 0 ; |
11517 | PyObject * obj1 = 0 ; | |
11518 | char *kwnames[] = { | |
11519 | (char *) "self",(char *) "name", NULL | |
11520 | }; | |
11521 | ||
11522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
11523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11524 | { | |
11525 | arg2 = wxString_in_helper(obj1); | |
11526 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11527 | temp2 = True; |
d14a1e28 RD |
11528 | } |
11529 | { | |
11530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11531 | (arg1)->SetFilename((wxString const &)*arg2); | |
11532 | ||
11533 | wxPyEndAllowThreads(__tstate); | |
11534 | if (PyErr_Occurred()) SWIG_fail; | |
11535 | } | |
11536 | Py_INCREF(Py_None); resultobj = Py_None; | |
11537 | { | |
11538 | if (temp2) | |
11539 | delete arg2; | |
11540 | } | |
11541 | return resultobj; | |
11542 | fail: | |
11543 | { | |
11544 | if (temp2) | |
11545 | delete arg2; | |
11546 | } | |
11547 | return NULL; | |
11548 | } | |
11549 | ||
11550 | ||
11551 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11552 | PyObject *resultobj; | |
11553 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11554 | wxString *arg2 = 0 ; | |
e811c8ce | 11555 | bool temp2 = False ; |
d14a1e28 RD |
11556 | PyObject * obj0 = 0 ; |
11557 | PyObject * obj1 = 0 ; | |
11558 | char *kwnames[] = { | |
11559 | (char *) "self",(char *) "wildCard", NULL | |
11560 | }; | |
11561 | ||
11562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
11563 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11564 | { | |
11565 | arg2 = wxString_in_helper(obj1); | |
11566 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11567 | temp2 = True; |
d14a1e28 RD |
11568 | } |
11569 | { | |
11570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11571 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11572 | ||
11573 | wxPyEndAllowThreads(__tstate); | |
11574 | if (PyErr_Occurred()) SWIG_fail; | |
11575 | } | |
11576 | Py_INCREF(Py_None); resultobj = Py_None; | |
11577 | { | |
11578 | if (temp2) | |
11579 | delete arg2; | |
11580 | } | |
11581 | return resultobj; | |
11582 | fail: | |
11583 | { | |
11584 | if (temp2) | |
11585 | delete arg2; | |
11586 | } | |
11587 | return NULL; | |
11588 | } | |
11589 | ||
11590 | ||
11591 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11592 | PyObject *resultobj; | |
11593 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11594 | long arg2 ; | |
11595 | PyObject * obj0 = 0 ; | |
994141e6 | 11596 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11597 | char *kwnames[] = { |
11598 | (char *) "self",(char *) "style", NULL | |
11599 | }; | |
11600 | ||
994141e6 | 11601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 11602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
11603 | { |
11604 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
11605 | if (PyErr_Occurred()) SWIG_fail; | |
11606 | } | |
d14a1e28 RD |
11607 | { |
11608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11609 | (arg1)->SetStyle(arg2); | |
11610 | ||
11611 | wxPyEndAllowThreads(__tstate); | |
11612 | if (PyErr_Occurred()) SWIG_fail; | |
11613 | } | |
11614 | Py_INCREF(Py_None); resultobj = Py_None; | |
11615 | return resultobj; | |
11616 | fail: | |
11617 | return NULL; | |
11618 | } | |
11619 | ||
11620 | ||
11621 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11622 | PyObject *resultobj; | |
11623 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11624 | int arg2 ; | |
11625 | PyObject * obj0 = 0 ; | |
994141e6 | 11626 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11627 | char *kwnames[] = { |
11628 | (char *) "self",(char *) "filterIndex", NULL | |
11629 | }; | |
11630 | ||
994141e6 | 11631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 11632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
11633 | { |
11634 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
11635 | if (PyErr_Occurred()) SWIG_fail; | |
11636 | } | |
d14a1e28 RD |
11637 | { |
11638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11639 | (arg1)->SetFilterIndex(arg2); | |
11640 | ||
11641 | wxPyEndAllowThreads(__tstate); | |
11642 | if (PyErr_Occurred()) SWIG_fail; | |
11643 | } | |
11644 | Py_INCREF(Py_None); resultobj = Py_None; | |
11645 | return resultobj; | |
11646 | fail: | |
11647 | return NULL; | |
11648 | } | |
11649 | ||
11650 | ||
11651 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11652 | PyObject *resultobj; | |
11653 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11654 | wxString result; | |
11655 | PyObject * obj0 = 0 ; | |
11656 | char *kwnames[] = { | |
11657 | (char *) "self", NULL | |
11658 | }; | |
11659 | ||
11660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11661 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11662 | { | |
11663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11664 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11665 | ||
11666 | wxPyEndAllowThreads(__tstate); | |
11667 | if (PyErr_Occurred()) SWIG_fail; | |
11668 | } | |
11669 | { | |
11670 | #if wxUSE_UNICODE | |
11671 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11672 | #else | |
11673 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11674 | #endif | |
11675 | } | |
11676 | return resultobj; | |
11677 | fail: | |
11678 | return NULL; | |
11679 | } | |
11680 | ||
11681 | ||
11682 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11683 | PyObject *resultobj; | |
11684 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11685 | wxString result; | |
11686 | PyObject * obj0 = 0 ; | |
11687 | char *kwnames[] = { | |
11688 | (char *) "self", NULL | |
11689 | }; | |
11690 | ||
11691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
11692 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11693 | { | |
11694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11695 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11696 | ||
11697 | wxPyEndAllowThreads(__tstate); | |
11698 | if (PyErr_Occurred()) SWIG_fail; | |
11699 | } | |
11700 | { | |
11701 | #if wxUSE_UNICODE | |
11702 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11703 | #else | |
11704 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11705 | #endif | |
11706 | } | |
11707 | return resultobj; | |
11708 | fail: | |
11709 | return NULL; | |
11710 | } | |
11711 | ||
11712 | ||
11713 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11714 | PyObject *resultobj; | |
11715 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11716 | wxString result; | |
11717 | PyObject * obj0 = 0 ; | |
11718 | char *kwnames[] = { | |
11719 | (char *) "self", NULL | |
11720 | }; | |
11721 | ||
11722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
11723 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11724 | { | |
11725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11726 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11727 | ||
11728 | wxPyEndAllowThreads(__tstate); | |
11729 | if (PyErr_Occurred()) SWIG_fail; | |
11730 | } | |
11731 | { | |
11732 | #if wxUSE_UNICODE | |
11733 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11734 | #else | |
11735 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11736 | #endif | |
11737 | } | |
11738 | return resultobj; | |
11739 | fail: | |
11740 | return NULL; | |
11741 | } | |
11742 | ||
11743 | ||
11744 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11745 | PyObject *resultobj; | |
11746 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11747 | wxString result; | |
11748 | PyObject * obj0 = 0 ; | |
11749 | char *kwnames[] = { | |
11750 | (char *) "self", NULL | |
11751 | }; | |
11752 | ||
11753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
11754 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11755 | { | |
11756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11757 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11758 | ||
11759 | wxPyEndAllowThreads(__tstate); | |
11760 | if (PyErr_Occurred()) SWIG_fail; | |
11761 | } | |
11762 | { | |
11763 | #if wxUSE_UNICODE | |
11764 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11765 | #else | |
11766 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11767 | #endif | |
11768 | } | |
11769 | return resultobj; | |
11770 | fail: | |
11771 | return NULL; | |
11772 | } | |
11773 | ||
11774 | ||
11775 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11776 | PyObject *resultobj; | |
11777 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11778 | wxString result; | |
11779 | PyObject * obj0 = 0 ; | |
11780 | char *kwnames[] = { | |
11781 | (char *) "self", NULL | |
11782 | }; | |
11783 | ||
11784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
11785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11786 | { | |
11787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11788 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
11789 | ||
11790 | wxPyEndAllowThreads(__tstate); | |
11791 | if (PyErr_Occurred()) SWIG_fail; | |
11792 | } | |
11793 | { | |
11794 | #if wxUSE_UNICODE | |
11795 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11796 | #else | |
11797 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11798 | #endif | |
11799 | } | |
11800 | return resultobj; | |
11801 | fail: | |
11802 | return NULL; | |
11803 | } | |
11804 | ||
11805 | ||
11806 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11807 | PyObject *resultobj; | |
11808 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11809 | long result; | |
11810 | PyObject * obj0 = 0 ; | |
11811 | char *kwnames[] = { | |
11812 | (char *) "self", NULL | |
11813 | }; | |
11814 | ||
11815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11817 | { | |
11818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11819 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
11820 | ||
11821 | wxPyEndAllowThreads(__tstate); | |
11822 | if (PyErr_Occurred()) SWIG_fail; | |
11823 | } | |
994141e6 | 11824 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
11825 | return resultobj; |
11826 | fail: | |
11827 | return NULL; | |
11828 | } | |
11829 | ||
11830 | ||
11831 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11832 | PyObject *resultobj; | |
11833 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11834 | int result; | |
11835 | PyObject * obj0 = 0 ; | |
11836 | char *kwnames[] = { | |
11837 | (char *) "self", NULL | |
11838 | }; | |
11839 | ||
11840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
11841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11842 | { | |
11843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11844 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11845 | ||
11846 | wxPyEndAllowThreads(__tstate); | |
11847 | if (PyErr_Occurred()) SWIG_fail; | |
11848 | } | |
994141e6 | 11849 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
11850 | return resultobj; |
11851 | fail: | |
11852 | return NULL; | |
11853 | } | |
11854 | ||
11855 | ||
11856 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11857 | PyObject *resultobj; | |
11858 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11859 | PyObject *result; | |
11860 | PyObject * obj0 = 0 ; | |
11861 | char *kwnames[] = { | |
11862 | (char *) "self", NULL | |
11863 | }; | |
11864 | ||
11865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
11866 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11867 | { | |
11868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11869 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
11870 | ||
11871 | wxPyEndAllowThreads(__tstate); | |
11872 | if (PyErr_Occurred()) SWIG_fail; | |
11873 | } | |
11874 | resultobj = result; | |
11875 | return resultobj; | |
11876 | fail: | |
11877 | return NULL; | |
11878 | } | |
11879 | ||
11880 | ||
11881 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11882 | PyObject *resultobj; | |
11883 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11884 | PyObject *result; | |
11885 | PyObject * obj0 = 0 ; | |
11886 | char *kwnames[] = { | |
11887 | (char *) "self", NULL | |
11888 | }; | |
11889 | ||
11890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
11891 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11892 | { | |
11893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11894 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
11895 | ||
11896 | wxPyEndAllowThreads(__tstate); | |
11897 | if (PyErr_Occurred()) SWIG_fail; | |
11898 | } | |
11899 | resultobj = result; | |
11900 | return resultobj; | |
11901 | fail: | |
11902 | return NULL; | |
11903 | } | |
11904 | ||
11905 | ||
11906 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
11907 | PyObject *obj; | |
11908 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11909 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
11910 | Py_INCREF(obj); | |
11911 | return Py_BuildValue((char *)""); | |
11912 | } | |
11913 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11914 | PyObject *resultobj; | |
11915 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11916 | wxString *arg2 = 0 ; | |
11917 | wxString *arg3 = 0 ; | |
4d5c3d91 | 11918 | int arg4 = (int) 0 ; |
d14a1e28 RD |
11919 | wxString *arg5 = (wxString *) 0 ; |
11920 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11921 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11922 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11923 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
11924 | bool temp2 = False ; |
11925 | bool temp3 = False ; | |
4d5c3d91 | 11926 | wxPoint temp6 ; |
d14a1e28 RD |
11927 | PyObject * obj0 = 0 ; |
11928 | PyObject * obj1 = 0 ; | |
11929 | PyObject * obj2 = 0 ; | |
994141e6 | 11930 | PyObject * obj3 = 0 ; |
d14a1e28 | 11931 | PyObject * obj4 = 0 ; |
994141e6 | 11932 | PyObject * obj5 = 0 ; |
d14a1e28 | 11933 | char *kwnames[] = { |
4d5c3d91 | 11934 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
11935 | }; |
11936 | ||
4d5c3d91 | 11937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
11938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
11939 | { | |
11940 | arg2 = wxString_in_helper(obj1); | |
11941 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11942 | temp2 = True; |
d14a1e28 RD |
11943 | } |
11944 | { | |
11945 | arg3 = wxString_in_helper(obj2); | |
11946 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11947 | temp3 = True; |
d14a1e28 | 11948 | } |
4d5c3d91 RD |
11949 | if (obj3) { |
11950 | { | |
11951 | arg4 = PyList_Size(obj3); | |
11952 | arg5 = wxString_LIST_helper(obj3); | |
11953 | if (arg5 == NULL) SWIG_fail; | |
11954 | } | |
7eae615b | 11955 | } |
4d5c3d91 | 11956 | if (obj4) { |
994141e6 | 11957 | { |
4d5c3d91 | 11958 | arg6 = (long) SWIG_PyObj_AsLong(obj4); |
994141e6 RD |
11959 | if (PyErr_Occurred()) SWIG_fail; |
11960 | } | |
11961 | } | |
4d5c3d91 | 11962 | if (obj5) { |
d14a1e28 | 11963 | { |
4d5c3d91 RD |
11964 | arg7 = &temp6; |
11965 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
11966 | } |
11967 | } | |
11968 | { | |
11969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11970 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
11971 | ||
11972 | wxPyEndAllowThreads(__tstate); | |
11973 | if (PyErr_Occurred()) SWIG_fail; | |
11974 | } | |
11975 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
11976 | { | |
11977 | if (temp2) | |
11978 | delete arg2; | |
11979 | } | |
11980 | { | |
11981 | if (temp3) | |
11982 | delete arg3; | |
11983 | } | |
7eae615b | 11984 | { |
4d5c3d91 | 11985 | if (arg5) delete [] arg5; |
7eae615b | 11986 | } |
d14a1e28 RD |
11987 | return resultobj; |
11988 | fail: | |
11989 | { | |
11990 | if (temp2) | |
11991 | delete arg2; | |
11992 | } | |
11993 | { | |
11994 | if (temp3) | |
11995 | delete arg3; | |
11996 | } | |
7eae615b | 11997 | { |
4d5c3d91 | 11998 | if (arg5) delete [] arg5; |
7eae615b | 11999 | } |
d14a1e28 RD |
12000 | return NULL; |
12001 | } | |
12002 | ||
12003 | ||
12004 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12005 | PyObject *resultobj; | |
12006 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12007 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12008 | bool temp2 = False ; |
d14a1e28 RD |
12009 | PyObject * obj0 = 0 ; |
12010 | PyObject * obj1 = 0 ; | |
12011 | char *kwnames[] = { | |
12012 | (char *) "self",(char *) "selections", NULL | |
12013 | }; | |
12014 | ||
12015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
12016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12017 | { | |
12018 | if (! PySequence_Check(obj1)) { | |
12019 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12020 | SWIG_fail; | |
12021 | } | |
12022 | arg2 = new wxArrayInt; | |
3adfb63b | 12023 | temp2 = True; |
d14a1e28 RD |
12024 | int i, len=PySequence_Length(obj1); |
12025 | for (i=0; i<len; i++) { | |
12026 | PyObject* item = PySequence_GetItem(obj1, i); | |
12027 | PyObject* number = PyNumber_Int(item); | |
12028 | arg2->Add(PyInt_AS_LONG(number)); | |
12029 | Py_DECREF(item); | |
12030 | Py_DECREF(number); | |
12031 | } | |
12032 | } | |
12033 | { | |
12034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12035 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12036 | ||
12037 | wxPyEndAllowThreads(__tstate); | |
12038 | if (PyErr_Occurred()) SWIG_fail; | |
12039 | } | |
12040 | Py_INCREF(Py_None); resultobj = Py_None; | |
12041 | { | |
3adfb63b | 12042 | if (temp2) delete arg2; |
d14a1e28 RD |
12043 | } |
12044 | return resultobj; | |
12045 | fail: | |
12046 | { | |
3adfb63b | 12047 | if (temp2) delete arg2; |
d14a1e28 RD |
12048 | } |
12049 | return NULL; | |
12050 | } | |
12051 | ||
12052 | ||
12053 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12054 | PyObject *resultobj; | |
12055 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12056 | PyObject *result; | |
12057 | PyObject * obj0 = 0 ; | |
12058 | char *kwnames[] = { | |
12059 | (char *) "self", NULL | |
12060 | }; | |
12061 | ||
12062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
12063 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12064 | { | |
12065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12066 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12067 | ||
12068 | wxPyEndAllowThreads(__tstate); | |
12069 | if (PyErr_Occurred()) SWIG_fail; | |
12070 | } | |
12071 | resultobj = result; | |
12072 | return resultobj; | |
12073 | fail: | |
12074 | return NULL; | |
12075 | } | |
12076 | ||
12077 | ||
12078 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12079 | PyObject *obj; | |
12080 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12081 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12082 | Py_INCREF(obj); | |
12083 | return Py_BuildValue((char *)""); | |
12084 | } | |
12085 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12086 | PyObject *resultobj; | |
12087 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12088 | wxString *arg2 = 0 ; | |
12089 | wxString *arg3 = 0 ; | |
12090 | int arg4 ; | |
12091 | wxString *arg5 = (wxString *) 0 ; | |
12092 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12093 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12094 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12095 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12096 | bool temp2 = False ; |
12097 | bool temp3 = False ; | |
d14a1e28 RD |
12098 | wxPoint temp6 ; |
12099 | PyObject * obj0 = 0 ; | |
12100 | PyObject * obj1 = 0 ; | |
12101 | PyObject * obj2 = 0 ; | |
12102 | PyObject * obj3 = 0 ; | |
994141e6 | 12103 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12104 | PyObject * obj5 = 0 ; |
12105 | char *kwnames[] = { | |
12106 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12107 | }; | |
12108 | ||
994141e6 | 12109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
12110 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12111 | { | |
12112 | arg2 = wxString_in_helper(obj1); | |
12113 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12114 | temp2 = True; |
d14a1e28 RD |
12115 | } |
12116 | { | |
12117 | arg3 = wxString_in_helper(obj2); | |
12118 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12119 | temp3 = True; |
d14a1e28 RD |
12120 | } |
12121 | { | |
12122 | arg4 = PyList_Size(obj3); | |
12123 | arg5 = wxString_LIST_helper(obj3); | |
12124 | if (arg5 == NULL) SWIG_fail; | |
12125 | } | |
994141e6 RD |
12126 | if (obj4) { |
12127 | { | |
12128 | arg6 = (long) SWIG_PyObj_AsLong(obj4); | |
12129 | if (PyErr_Occurred()) SWIG_fail; | |
12130 | } | |
12131 | } | |
d14a1e28 RD |
12132 | if (obj5) { |
12133 | { | |
12134 | arg7 = &temp6; | |
12135 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12136 | } | |
12137 | } | |
12138 | { | |
12139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12140 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12141 | ||
12142 | wxPyEndAllowThreads(__tstate); | |
12143 | if (PyErr_Occurred()) SWIG_fail; | |
12144 | } | |
12145 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
12146 | { | |
12147 | if (temp2) | |
12148 | delete arg2; | |
12149 | } | |
12150 | { | |
12151 | if (temp3) | |
12152 | delete arg3; | |
12153 | } | |
12154 | { | |
12155 | if (arg5) delete [] arg5; | |
12156 | } | |
12157 | return resultobj; | |
12158 | fail: | |
12159 | { | |
12160 | if (temp2) | |
12161 | delete arg2; | |
12162 | } | |
12163 | { | |
12164 | if (temp3) | |
12165 | delete arg3; | |
12166 | } | |
12167 | { | |
12168 | if (arg5) delete [] arg5; | |
12169 | } | |
12170 | return NULL; | |
12171 | } | |
12172 | ||
12173 | ||
12174 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12175 | PyObject *resultobj; | |
12176 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12177 | int result; | |
12178 | PyObject * obj0 = 0 ; | |
12179 | char *kwnames[] = { | |
12180 | (char *) "self", NULL | |
12181 | }; | |
12182 | ||
12183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
12184 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12185 | { | |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | result = (int)(arg1)->GetSelection(); | |
12188 | ||
12189 | wxPyEndAllowThreads(__tstate); | |
12190 | if (PyErr_Occurred()) SWIG_fail; | |
12191 | } | |
994141e6 | 12192 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
12193 | return resultobj; |
12194 | fail: | |
12195 | return NULL; | |
12196 | } | |
12197 | ||
12198 | ||
12199 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12200 | PyObject *resultobj; | |
12201 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12202 | wxString result; | |
12203 | PyObject * obj0 = 0 ; | |
12204 | char *kwnames[] = { | |
12205 | (char *) "self", NULL | |
12206 | }; | |
12207 | ||
12208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
12209 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12210 | { | |
12211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12212 | result = (arg1)->GetStringSelection(); | |
12213 | ||
12214 | wxPyEndAllowThreads(__tstate); | |
12215 | if (PyErr_Occurred()) SWIG_fail; | |
12216 | } | |
12217 | { | |
12218 | #if wxUSE_UNICODE | |
12219 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12220 | #else | |
12221 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12222 | #endif | |
12223 | } | |
12224 | return resultobj; | |
12225 | fail: | |
12226 | return NULL; | |
12227 | } | |
12228 | ||
12229 | ||
12230 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12231 | PyObject *resultobj; | |
12232 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12233 | int arg2 ; | |
12234 | PyObject * obj0 = 0 ; | |
994141e6 | 12235 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12236 | char *kwnames[] = { |
12237 | (char *) "self",(char *) "sel", NULL | |
12238 | }; | |
12239 | ||
994141e6 | 12240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 12241 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
12242 | { |
12243 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
12244 | if (PyErr_Occurred()) SWIG_fail; | |
12245 | } | |
d14a1e28 RD |
12246 | { |
12247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12248 | (arg1)->SetSelection(arg2); | |
12249 | ||
12250 | wxPyEndAllowThreads(__tstate); | |
12251 | if (PyErr_Occurred()) SWIG_fail; | |
12252 | } | |
12253 | Py_INCREF(Py_None); resultobj = Py_None; | |
12254 | return resultobj; | |
12255 | fail: | |
12256 | return NULL; | |
12257 | } | |
12258 | ||
12259 | ||
d14a1e28 RD |
12260 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12261 | PyObject *obj; | |
12262 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12263 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12264 | Py_INCREF(obj); | |
12265 | return Py_BuildValue((char *)""); | |
12266 | } | |
12267 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12268 | PyObject *resultobj; | |
12269 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12270 | wxString *arg2 = 0 ; | |
12271 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12272 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12273 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12274 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12275 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12276 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12277 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12278 | wxTextEntryDialog *result; | |
e811c8ce RD |
12279 | bool temp2 = False ; |
12280 | bool temp3 = False ; | |
12281 | bool temp4 = False ; | |
d14a1e28 RD |
12282 | wxPoint temp6 ; |
12283 | PyObject * obj0 = 0 ; | |
12284 | PyObject * obj1 = 0 ; | |
12285 | PyObject * obj2 = 0 ; | |
12286 | PyObject * obj3 = 0 ; | |
994141e6 | 12287 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12288 | PyObject * obj5 = 0 ; |
12289 | char *kwnames[] = { | |
12290 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12291 | }; | |
12292 | ||
994141e6 | 12293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
12294 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12295 | { | |
12296 | arg2 = wxString_in_helper(obj1); | |
12297 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12298 | temp2 = True; |
d14a1e28 RD |
12299 | } |
12300 | if (obj2) { | |
12301 | { | |
12302 | arg3 = wxString_in_helper(obj2); | |
12303 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12304 | temp3 = True; |
d14a1e28 RD |
12305 | } |
12306 | } | |
12307 | if (obj3) { | |
12308 | { | |
12309 | arg4 = wxString_in_helper(obj3); | |
12310 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12311 | temp4 = True; |
d14a1e28 RD |
12312 | } |
12313 | } | |
994141e6 RD |
12314 | if (obj4) { |
12315 | { | |
12316 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
12317 | if (PyErr_Occurred()) SWIG_fail; | |
12318 | } | |
12319 | } | |
d14a1e28 RD |
12320 | if (obj5) { |
12321 | { | |
12322 | arg6 = &temp6; | |
12323 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12324 | } | |
12325 | } | |
12326 | { | |
12327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12328 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12329 | ||
12330 | wxPyEndAllowThreads(__tstate); | |
12331 | if (PyErr_Occurred()) SWIG_fail; | |
12332 | } | |
12333 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1); | |
12334 | { | |
12335 | if (temp2) | |
12336 | delete arg2; | |
12337 | } | |
12338 | { | |
12339 | if (temp3) | |
12340 | delete arg3; | |
12341 | } | |
12342 | { | |
12343 | if (temp4) | |
12344 | delete arg4; | |
12345 | } | |
12346 | return resultobj; | |
12347 | fail: | |
12348 | { | |
12349 | if (temp2) | |
12350 | delete arg2; | |
12351 | } | |
12352 | { | |
12353 | if (temp3) | |
12354 | delete arg3; | |
12355 | } | |
12356 | { | |
12357 | if (temp4) | |
12358 | delete arg4; | |
12359 | } | |
12360 | return NULL; | |
12361 | } | |
12362 | ||
12363 | ||
12364 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12365 | PyObject *resultobj; | |
12366 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12367 | wxString result; | |
12368 | PyObject * obj0 = 0 ; | |
12369 | char *kwnames[] = { | |
12370 | (char *) "self", NULL | |
12371 | }; | |
12372 | ||
12373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
12374 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12375 | { | |
12376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12377 | result = (arg1)->GetValue(); | |
12378 | ||
12379 | wxPyEndAllowThreads(__tstate); | |
12380 | if (PyErr_Occurred()) SWIG_fail; | |
12381 | } | |
12382 | { | |
12383 | #if wxUSE_UNICODE | |
12384 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12385 | #else | |
12386 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12387 | #endif | |
12388 | } | |
12389 | return resultobj; | |
12390 | fail: | |
12391 | return NULL; | |
12392 | } | |
12393 | ||
12394 | ||
12395 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12396 | PyObject *resultobj; | |
12397 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12398 | wxString *arg2 = 0 ; | |
e811c8ce | 12399 | bool temp2 = False ; |
d14a1e28 RD |
12400 | PyObject * obj0 = 0 ; |
12401 | PyObject * obj1 = 0 ; | |
12402 | char *kwnames[] = { | |
12403 | (char *) "self",(char *) "value", NULL | |
12404 | }; | |
12405 | ||
12406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
12407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12408 | { | |
12409 | arg2 = wxString_in_helper(obj1); | |
12410 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12411 | temp2 = True; |
d14a1e28 RD |
12412 | } |
12413 | { | |
12414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12415 | (arg1)->SetValue((wxString const &)*arg2); | |
12416 | ||
12417 | wxPyEndAllowThreads(__tstate); | |
12418 | if (PyErr_Occurred()) SWIG_fail; | |
12419 | } | |
12420 | Py_INCREF(Py_None); resultobj = Py_None; | |
12421 | { | |
12422 | if (temp2) | |
12423 | delete arg2; | |
12424 | } | |
12425 | return resultobj; | |
12426 | fail: | |
12427 | { | |
12428 | if (temp2) | |
12429 | delete arg2; | |
12430 | } | |
12431 | return NULL; | |
12432 | } | |
12433 | ||
12434 | ||
d14a1e28 RD |
12435 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12436 | PyObject *obj; | |
12437 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12438 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12439 | Py_INCREF(obj); | |
12440 | return Py_BuildValue((char *)""); | |
12441 | } | |
12442 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12443 | PyObject *resultobj; | |
12444 | wxFontData *result; | |
12445 | char *kwnames[] = { | |
12446 | NULL | |
12447 | }; | |
12448 | ||
12449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12450 | { | |
12451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12452 | result = (wxFontData *)new wxFontData(); | |
12453 | ||
12454 | wxPyEndAllowThreads(__tstate); | |
12455 | if (PyErr_Occurred()) SWIG_fail; | |
12456 | } | |
12457 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1); | |
12458 | return resultobj; | |
12459 | fail: | |
12460 | return NULL; | |
12461 | } | |
12462 | ||
12463 | ||
12464 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12465 | PyObject *resultobj; | |
12466 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12467 | PyObject * obj0 = 0 ; | |
12468 | char *kwnames[] = { | |
12469 | (char *) "self", NULL | |
12470 | }; | |
12471 | ||
12472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
12473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12474 | { | |
12475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12476 | delete arg1; | |
12477 | ||
12478 | wxPyEndAllowThreads(__tstate); | |
12479 | if (PyErr_Occurred()) SWIG_fail; | |
12480 | } | |
12481 | Py_INCREF(Py_None); resultobj = Py_None; | |
12482 | return resultobj; | |
12483 | fail: | |
12484 | return NULL; | |
12485 | } | |
12486 | ||
12487 | ||
12488 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12489 | PyObject *resultobj; | |
12490 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12491 | bool arg2 ; | |
12492 | PyObject * obj0 = 0 ; | |
12493 | PyObject * obj1 = 0 ; | |
12494 | char *kwnames[] = { | |
12495 | (char *) "self",(char *) "enable", NULL | |
12496 | }; | |
12497 | ||
12498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
12499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 12500 | { |
994141e6 | 12501 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
12502 | if (PyErr_Occurred()) SWIG_fail; |
12503 | } | |
d14a1e28 RD |
12504 | { |
12505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12506 | (arg1)->EnableEffects(arg2); | |
12507 | ||
12508 | wxPyEndAllowThreads(__tstate); | |
12509 | if (PyErr_Occurred()) SWIG_fail; | |
12510 | } | |
12511 | Py_INCREF(Py_None); resultobj = Py_None; | |
12512 | return resultobj; | |
12513 | fail: | |
12514 | return NULL; | |
12515 | } | |
12516 | ||
12517 | ||
12518 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12519 | PyObject *resultobj; | |
12520 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12521 | bool result; | |
12522 | PyObject * obj0 = 0 ; | |
12523 | char *kwnames[] = { | |
12524 | (char *) "self", NULL | |
12525 | }; | |
12526 | ||
12527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
12528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12529 | { | |
12530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12531 | result = (bool)(arg1)->GetAllowSymbols(); | |
12532 | ||
12533 | wxPyEndAllowThreads(__tstate); | |
12534 | if (PyErr_Occurred()) SWIG_fail; | |
12535 | } | |
4d5c3d91 | 12536 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12537 | return resultobj; |
12538 | fail: | |
12539 | return NULL; | |
12540 | } | |
12541 | ||
12542 | ||
12543 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12544 | PyObject *resultobj; | |
12545 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12546 | wxColour result; | |
12547 | PyObject * obj0 = 0 ; | |
12548 | char *kwnames[] = { | |
12549 | (char *) "self", NULL | |
12550 | }; | |
12551 | ||
12552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
12553 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12554 | { | |
12555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12556 | result = (arg1)->GetColour(); | |
12557 | ||
12558 | wxPyEndAllowThreads(__tstate); | |
12559 | if (PyErr_Occurred()) SWIG_fail; | |
12560 | } | |
12561 | { | |
12562 | wxColour * resultptr; | |
12563 | resultptr = new wxColour((wxColour &) result); | |
12564 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
12565 | } | |
12566 | return resultobj; | |
12567 | fail: | |
12568 | return NULL; | |
12569 | } | |
12570 | ||
12571 | ||
12572 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12573 | PyObject *resultobj; | |
12574 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12575 | wxFont result; | |
12576 | PyObject * obj0 = 0 ; | |
12577 | char *kwnames[] = { | |
12578 | (char *) "self", NULL | |
12579 | }; | |
12580 | ||
12581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
12582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12583 | { | |
12584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12585 | result = (arg1)->GetChosenFont(); | |
12586 | ||
12587 | wxPyEndAllowThreads(__tstate); | |
12588 | if (PyErr_Occurred()) SWIG_fail; | |
12589 | } | |
12590 | { | |
12591 | wxFont * resultptr; | |
12592 | resultptr = new wxFont((wxFont &) result); | |
12593 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
12594 | } | |
12595 | return resultobj; | |
12596 | fail: | |
12597 | return NULL; | |
12598 | } | |
12599 | ||
12600 | ||
12601 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12602 | PyObject *resultobj; | |
12603 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12604 | bool result; | |
12605 | PyObject * obj0 = 0 ; | |
12606 | char *kwnames[] = { | |
12607 | (char *) "self", NULL | |
12608 | }; | |
12609 | ||
12610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
12611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12612 | { | |
12613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12614 | result = (bool)(arg1)->GetEnableEffects(); | |
12615 | ||
12616 | wxPyEndAllowThreads(__tstate); | |
12617 | if (PyErr_Occurred()) SWIG_fail; | |
12618 | } | |
4d5c3d91 | 12619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12620 | return resultobj; |
12621 | fail: | |
12622 | return NULL; | |
12623 | } | |
12624 | ||
12625 | ||
12626 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12627 | PyObject *resultobj; | |
12628 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12629 | wxFont result; | |
12630 | PyObject * obj0 = 0 ; | |
12631 | char *kwnames[] = { | |
12632 | (char *) "self", NULL | |
12633 | }; | |
12634 | ||
12635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
12636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12637 | { | |
12638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12639 | result = (arg1)->GetInitialFont(); | |
12640 | ||
12641 | wxPyEndAllowThreads(__tstate); | |
12642 | if (PyErr_Occurred()) SWIG_fail; | |
12643 | } | |
12644 | { | |
12645 | wxFont * resultptr; | |
12646 | resultptr = new wxFont((wxFont &) result); | |
12647 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
12648 | } | |
12649 | return resultobj; | |
12650 | fail: | |
12651 | return NULL; | |
12652 | } | |
12653 | ||
12654 | ||
12655 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12656 | PyObject *resultobj; | |
12657 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12658 | bool result; | |
12659 | PyObject * obj0 = 0 ; | |
12660 | char *kwnames[] = { | |
12661 | (char *) "self", NULL | |
12662 | }; | |
12663 | ||
12664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
12665 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12666 | { | |
12667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12668 | result = (bool)(arg1)->GetShowHelp(); | |
12669 | ||
12670 | wxPyEndAllowThreads(__tstate); | |
12671 | if (PyErr_Occurred()) SWIG_fail; | |
12672 | } | |
4d5c3d91 | 12673 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12674 | return resultobj; |
12675 | fail: | |
12676 | return NULL; | |
12677 | } | |
12678 | ||
12679 | ||
12680 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12681 | PyObject *resultobj; | |
12682 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12683 | bool arg2 ; | |
12684 | PyObject * obj0 = 0 ; | |
12685 | PyObject * obj1 = 0 ; | |
12686 | char *kwnames[] = { | |
12687 | (char *) "self",(char *) "allowSymbols", NULL | |
12688 | }; | |
12689 | ||
12690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
12691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 12692 | { |
994141e6 | 12693 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
12694 | if (PyErr_Occurred()) SWIG_fail; |
12695 | } | |
d14a1e28 RD |
12696 | { |
12697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12698 | (arg1)->SetAllowSymbols(arg2); | |
12699 | ||
12700 | wxPyEndAllowThreads(__tstate); | |
12701 | if (PyErr_Occurred()) SWIG_fail; | |
12702 | } | |
12703 | Py_INCREF(Py_None); resultobj = Py_None; | |
12704 | return resultobj; | |
12705 | fail: | |
12706 | return NULL; | |
12707 | } | |
12708 | ||
12709 | ||
12710 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12711 | PyObject *resultobj; | |
12712 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12713 | wxFont *arg2 = 0 ; | |
12714 | PyObject * obj0 = 0 ; | |
12715 | PyObject * obj1 = 0 ; | |
12716 | char *kwnames[] = { | |
12717 | (char *) "self",(char *) "font", NULL | |
12718 | }; | |
12719 | ||
12720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
12721 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12722 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12723 | if (arg2 == NULL) { | |
12724 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12725 | } | |
12726 | { | |
12727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12728 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12729 | ||
12730 | wxPyEndAllowThreads(__tstate); | |
12731 | if (PyErr_Occurred()) SWIG_fail; | |
12732 | } | |
12733 | Py_INCREF(Py_None); resultobj = Py_None; | |
12734 | return resultobj; | |
12735 | fail: | |
12736 | return NULL; | |
12737 | } | |
12738 | ||
12739 | ||
12740 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12741 | PyObject *resultobj; | |
12742 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12743 | wxColour *arg2 = 0 ; | |
12744 | wxColour temp2 ; | |
12745 | PyObject * obj0 = 0 ; | |
12746 | PyObject * obj1 = 0 ; | |
12747 | char *kwnames[] = { | |
12748 | (char *) "self",(char *) "colour", NULL | |
12749 | }; | |
12750 | ||
12751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
12752 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12753 | { | |
12754 | arg2 = &temp2; | |
12755 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12756 | } | |
12757 | { | |
12758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12759 | (arg1)->SetColour((wxColour const &)*arg2); | |
12760 | ||
12761 | wxPyEndAllowThreads(__tstate); | |
12762 | if (PyErr_Occurred()) SWIG_fail; | |
12763 | } | |
12764 | Py_INCREF(Py_None); resultobj = Py_None; | |
12765 | return resultobj; | |
12766 | fail: | |
12767 | return NULL; | |
12768 | } | |
12769 | ||
12770 | ||
12771 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12772 | PyObject *resultobj; | |
12773 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12774 | wxFont *arg2 = 0 ; | |
12775 | PyObject * obj0 = 0 ; | |
12776 | PyObject * obj1 = 0 ; | |
12777 | char *kwnames[] = { | |
12778 | (char *) "self",(char *) "font", NULL | |
12779 | }; | |
12780 | ||
12781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
12782 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12783 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12784 | if (arg2 == NULL) { | |
12785 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12786 | } | |
12787 | { | |
12788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12789 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
12790 | ||
12791 | wxPyEndAllowThreads(__tstate); | |
12792 | if (PyErr_Occurred()) SWIG_fail; | |
12793 | } | |
12794 | Py_INCREF(Py_None); resultobj = Py_None; | |
12795 | return resultobj; | |
12796 | fail: | |
12797 | return NULL; | |
12798 | } | |
12799 | ||
12800 | ||
12801 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12802 | PyObject *resultobj; | |
12803 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12804 | int arg2 ; | |
12805 | int arg3 ; | |
12806 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12807 | PyObject * obj1 = 0 ; |
12808 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12809 | char *kwnames[] = { |
12810 | (char *) "self",(char *) "min",(char *) "max", NULL | |
12811 | }; | |
12812 | ||
994141e6 | 12813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 12814 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
12815 | { |
12816 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
12817 | if (PyErr_Occurred()) SWIG_fail; | |
12818 | } | |
12819 | { | |
12820 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
12821 | if (PyErr_Occurred()) SWIG_fail; | |
12822 | } | |
d14a1e28 RD |
12823 | { |
12824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12825 | (arg1)->SetRange(arg2,arg3); | |
12826 | ||
12827 | wxPyEndAllowThreads(__tstate); | |
12828 | if (PyErr_Occurred()) SWIG_fail; | |
12829 | } | |
12830 | Py_INCREF(Py_None); resultobj = Py_None; | |
12831 | return resultobj; | |
12832 | fail: | |
12833 | return NULL; | |
12834 | } | |
12835 | ||
12836 | ||
12837 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12838 | PyObject *resultobj; | |
12839 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12840 | bool arg2 ; | |
12841 | PyObject * obj0 = 0 ; | |
12842 | PyObject * obj1 = 0 ; | |
12843 | char *kwnames[] = { | |
12844 | (char *) "self",(char *) "showHelp", NULL | |
12845 | }; | |
12846 | ||
12847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
12848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 12849 | { |
994141e6 | 12850 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
12851 | if (PyErr_Occurred()) SWIG_fail; |
12852 | } | |
d14a1e28 RD |
12853 | { |
12854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12855 | (arg1)->SetShowHelp(arg2); | |
12856 | ||
12857 | wxPyEndAllowThreads(__tstate); | |
12858 | if (PyErr_Occurred()) SWIG_fail; | |
12859 | } | |
12860 | Py_INCREF(Py_None); resultobj = Py_None; | |
12861 | return resultobj; | |
12862 | fail: | |
12863 | return NULL; | |
12864 | } | |
12865 | ||
12866 | ||
12867 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
12868 | PyObject *obj; | |
12869 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12870 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
12871 | Py_INCREF(obj); | |
12872 | return Py_BuildValue((char *)""); | |
12873 | } | |
e498079e | 12874 | static PyObject *_wrap_new_FontDialog__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
12875 | PyObject *resultobj; |
12876 | wxWindow *arg1 = (wxWindow *) 0 ; | |
d14a1e28 RD |
12877 | wxFontDialog *result; |
12878 | PyObject * obj0 = 0 ; | |
d14a1e28 | 12879 | |
e498079e | 12880 | if(!PyArg_ParseTuple(args,(char *)"O:new_FontDialog",&obj0)) goto fail; |
d14a1e28 | 12881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
d14a1e28 RD |
12882 | { |
12883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 12884 | result = (wxFontDialog *)new wxFontDialog(arg1); |
d14a1e28 RD |
12885 | |
12886 | wxPyEndAllowThreads(__tstate); | |
12887 | if (PyErr_Occurred()) SWIG_fail; | |
12888 | } | |
12889 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1); | |
12890 | return resultobj; | |
12891 | fail: | |
12892 | return NULL; | |
12893 | } | |
12894 | ||
12895 | ||
e498079e | 12896 | static PyObject *_wrap_new_FontDialog__SWIG_1(PyObject *self, PyObject *args) { |
d14a1e28 | 12897 | PyObject *resultobj; |
e498079e RD |
12898 | wxWindow *arg1 = (wxWindow *) 0 ; |
12899 | wxFontData *arg2 = 0 ; | |
12900 | wxFontDialog *result; | |
d14a1e28 | 12901 | PyObject * obj0 = 0 ; |
e498079e | 12902 | PyObject * obj1 = 0 ; |
d14a1e28 | 12903 | |
e498079e RD |
12904 | if(!PyArg_ParseTuple(args,(char *)"OO:new_FontDialog",&obj0,&obj1)) goto fail; |
12905 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12906 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12907 | if (arg2 == NULL) { | |
12908 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12909 | } | |
d14a1e28 RD |
12910 | { |
12911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 12912 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
12913 | |
12914 | wxPyEndAllowThreads(__tstate); | |
12915 | if (PyErr_Occurred()) SWIG_fail; | |
12916 | } | |
e498079e | 12917 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
12918 | return resultobj; |
12919 | fail: | |
12920 | return NULL; | |
12921 | } | |
12922 | ||
12923 | ||
e498079e RD |
12924 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args) { |
12925 | int argc; | |
12926 | PyObject *argv[3]; | |
12927 | int ii; | |
12928 | ||
12929 | argc = PyObject_Length(args); | |
12930 | for (ii = 0; (ii < argc) && (ii < 2); ii++) { | |
12931 | argv[ii] = PyTuple_GetItem(args,ii); | |
12932 | } | |
12933 | if (argc == 1) { | |
12934 | int _v; | |
12935 | { | |
12936 | void *ptr; | |
12937 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) { | |
12938 | _v = 0; | |
12939 | PyErr_Clear(); | |
12940 | } else { | |
12941 | _v = 1; | |
12942 | } | |
12943 | } | |
12944 | if (_v) { | |
12945 | return _wrap_new_FontDialog__SWIG_0(self,args); | |
12946 | } | |
12947 | } | |
12948 | if (argc == 2) { | |
12949 | int _v; | |
12950 | { | |
12951 | void *ptr; | |
12952 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) { | |
12953 | _v = 0; | |
12954 | PyErr_Clear(); | |
12955 | } else { | |
12956 | _v = 1; | |
12957 | } | |
12958 | } | |
12959 | if (_v) { | |
12960 | { | |
12961 | void *ptr; | |
12962 | if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxFontData, 0) == -1) { | |
12963 | _v = 0; | |
12964 | PyErr_Clear(); | |
12965 | } else { | |
12966 | _v = 1; | |
12967 | } | |
12968 | } | |
12969 | if (_v) { | |
12970 | return _wrap_new_FontDialog__SWIG_1(self,args); | |
12971 | } | |
12972 | } | |
12973 | } | |
12974 | ||
12975 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_FontDialog'"); | |
12976 | return NULL; | |
12977 | } | |
12978 | ||
12979 | ||
12980 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d14a1e28 RD |
12981 | PyObject *resultobj; |
12982 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 12983 | wxFontData *result; |
d14a1e28 RD |
12984 | PyObject * obj0 = 0 ; |
12985 | char *kwnames[] = { | |
12986 | (char *) "self", NULL | |
12987 | }; | |
12988 | ||
e498079e | 12989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
d14a1e28 RD |
12990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12991 | { | |
12992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
12993 | { |
12994 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
12995 | result = (wxFontData *) &_result_ref; | |
12996 | } | |
d14a1e28 RD |
12997 | |
12998 | wxPyEndAllowThreads(__tstate); | |
12999 | if (PyErr_Occurred()) SWIG_fail; | |
13000 | } | |
e498079e | 13001 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13002 | return resultobj; |
13003 | fail: | |
13004 | return NULL; | |
13005 | } | |
13006 | ||
13007 | ||
13008 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13009 | PyObject *obj; | |
13010 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13011 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13012 | Py_INCREF(obj); | |
13013 | return Py_BuildValue((char *)""); | |
13014 | } | |
13015 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13016 | PyObject *resultobj; | |
13017 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13018 | wxString *arg2 = 0 ; | |
13019 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13020 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13021 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13022 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13023 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13024 | wxMessageDialog *result; | |
e811c8ce RD |
13025 | bool temp2 = False ; |
13026 | bool temp3 = False ; | |
d14a1e28 RD |
13027 | wxPoint temp5 ; |
13028 | PyObject * obj0 = 0 ; | |
13029 | PyObject * obj1 = 0 ; | |
13030 | PyObject * obj2 = 0 ; | |
994141e6 | 13031 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13032 | PyObject * obj4 = 0 ; |
13033 | char *kwnames[] = { | |
13034 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13035 | }; | |
13036 | ||
994141e6 | 13037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
13039 | { | |
13040 | arg2 = wxString_in_helper(obj1); | |
13041 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13042 | temp2 = True; |
d14a1e28 RD |
13043 | } |
13044 | if (obj2) { | |
13045 | { | |
13046 | arg3 = wxString_in_helper(obj2); | |
13047 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13048 | temp3 = True; |
d14a1e28 RD |
13049 | } |
13050 | } | |
994141e6 RD |
13051 | if (obj3) { |
13052 | { | |
13053 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
13054 | if (PyErr_Occurred()) SWIG_fail; | |
13055 | } | |
13056 | } | |
d14a1e28 RD |
13057 | if (obj4) { |
13058 | { | |
13059 | arg5 = &temp5; | |
13060 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13061 | } | |
13062 | } | |
13063 | { | |
13064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13065 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13066 | ||
13067 | wxPyEndAllowThreads(__tstate); | |
13068 | if (PyErr_Occurred()) SWIG_fail; | |
13069 | } | |
13070 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1); | |
13071 | { | |
13072 | if (temp2) | |
13073 | delete arg2; | |
13074 | } | |
13075 | { | |
13076 | if (temp3) | |
13077 | delete arg3; | |
13078 | } | |
13079 | return resultobj; | |
13080 | fail: | |
13081 | { | |
13082 | if (temp2) | |
13083 | delete arg2; | |
13084 | } | |
13085 | { | |
13086 | if (temp3) | |
13087 | delete arg3; | |
13088 | } | |
13089 | return NULL; | |
13090 | } | |
13091 | ||
13092 | ||
d14a1e28 RD |
13093 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13094 | PyObject *obj; | |
13095 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13096 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13097 | Py_INCREF(obj); | |
13098 | return Py_BuildValue((char *)""); | |
13099 | } | |
13100 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13101 | PyObject *resultobj; | |
13102 | wxString *arg1 = 0 ; | |
13103 | wxString *arg2 = 0 ; | |
13104 | int arg3 = (int) 100 ; | |
13105 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13106 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13107 | wxProgressDialog *result; | |
e811c8ce RD |
13108 | bool temp1 = False ; |
13109 | bool temp2 = False ; | |
d14a1e28 RD |
13110 | PyObject * obj0 = 0 ; |
13111 | PyObject * obj1 = 0 ; | |
994141e6 | 13112 | PyObject * obj2 = 0 ; |
d14a1e28 | 13113 | PyObject * obj3 = 0 ; |
994141e6 | 13114 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13115 | char *kwnames[] = { |
13116 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13117 | }; | |
13118 | ||
994141e6 | 13119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13120 | { |
13121 | arg1 = wxString_in_helper(obj0); | |
13122 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13123 | temp1 = True; |
d14a1e28 RD |
13124 | } |
13125 | { | |
13126 | arg2 = wxString_in_helper(obj1); | |
13127 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13128 | temp2 = True; |
d14a1e28 | 13129 | } |
994141e6 RD |
13130 | if (obj2) { |
13131 | { | |
13132 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
13133 | if (PyErr_Occurred()) SWIG_fail; | |
13134 | } | |
13135 | } | |
d14a1e28 RD |
13136 | if (obj3) { |
13137 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13138 | } | |
994141e6 RD |
13139 | if (obj4) { |
13140 | { | |
13141 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
13142 | if (PyErr_Occurred()) SWIG_fail; | |
13143 | } | |
13144 | } | |
d14a1e28 RD |
13145 | { |
13146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13147 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13148 | ||
13149 | wxPyEndAllowThreads(__tstate); | |
13150 | if (PyErr_Occurred()) SWIG_fail; | |
13151 | } | |
13152 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1); | |
13153 | { | |
13154 | if (temp1) | |
13155 | delete arg1; | |
13156 | } | |
13157 | { | |
13158 | if (temp2) | |
13159 | delete arg2; | |
13160 | } | |
13161 | return resultobj; | |
13162 | fail: | |
13163 | { | |
13164 | if (temp1) | |
13165 | delete arg1; | |
13166 | } | |
13167 | { | |
13168 | if (temp2) | |
13169 | delete arg2; | |
13170 | } | |
13171 | return NULL; | |
13172 | } | |
13173 | ||
13174 | ||
13175 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13176 | PyObject *resultobj; | |
13177 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13178 | int arg2 ; | |
13179 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13180 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13181 | bool result; | |
e811c8ce | 13182 | bool temp3 = False ; |
d14a1e28 | 13183 | PyObject * obj0 = 0 ; |
994141e6 | 13184 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13185 | PyObject * obj2 = 0 ; |
13186 | char *kwnames[] = { | |
13187 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13188 | }; | |
13189 | ||
994141e6 | 13190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 13191 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
13192 | { |
13193 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13194 | if (PyErr_Occurred()) SWIG_fail; | |
13195 | } | |
d14a1e28 RD |
13196 | if (obj2) { |
13197 | { | |
13198 | arg3 = wxString_in_helper(obj2); | |
13199 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13200 | temp3 = True; |
d14a1e28 RD |
13201 | } |
13202 | } | |
13203 | { | |
13204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13205 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13206 | ||
13207 | wxPyEndAllowThreads(__tstate); | |
13208 | if (PyErr_Occurred()) SWIG_fail; | |
13209 | } | |
4d5c3d91 | 13210 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13211 | { |
13212 | if (temp3) | |
13213 | delete arg3; | |
13214 | } | |
13215 | return resultobj; | |
13216 | fail: | |
13217 | { | |
13218 | if (temp3) | |
13219 | delete arg3; | |
13220 | } | |
13221 | return NULL; | |
13222 | } | |
13223 | ||
13224 | ||
13225 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13226 | PyObject *resultobj; | |
13227 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13228 | PyObject * obj0 = 0 ; | |
13229 | char *kwnames[] = { | |
13230 | (char *) "self", NULL | |
13231 | }; | |
13232 | ||
13233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
13234 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13235 | { | |
13236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13237 | (arg1)->Resume(); | |
13238 | ||
13239 | wxPyEndAllowThreads(__tstate); | |
13240 | if (PyErr_Occurred()) SWIG_fail; | |
13241 | } | |
13242 | Py_INCREF(Py_None); resultobj = Py_None; | |
13243 | return resultobj; | |
13244 | fail: | |
13245 | return NULL; | |
13246 | } | |
13247 | ||
13248 | ||
13249 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13250 | PyObject *obj; | |
13251 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13252 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13253 | Py_INCREF(obj); | |
13254 | return Py_BuildValue((char *)""); | |
13255 | } | |
13256 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13257 | PyObject *resultobj; | |
13258 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13259 | int arg2 = (int) 0 ; | |
13260 | wxFindDialogEvent *result; | |
994141e6 RD |
13261 | PyObject * obj0 = 0 ; |
13262 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13263 | char *kwnames[] = { |
13264 | (char *) "commandType",(char *) "id", NULL | |
13265 | }; | |
13266 | ||
994141e6 RD |
13267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13268 | if (obj0) { | |
13269 | { | |
13270 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
13271 | if (PyErr_Occurred()) SWIG_fail; | |
13272 | } | |
13273 | } | |
13274 | if (obj1) { | |
13275 | { | |
13276 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13277 | if (PyErr_Occurred()) SWIG_fail; | |
13278 | } | |
13279 | } | |
d14a1e28 RD |
13280 | { |
13281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13282 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13283 | ||
13284 | wxPyEndAllowThreads(__tstate); | |
13285 | if (PyErr_Occurred()) SWIG_fail; | |
13286 | } | |
13287 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1); | |
13288 | return resultobj; | |
13289 | fail: | |
13290 | return NULL; | |
13291 | } | |
13292 | ||
13293 | ||
13294 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13295 | PyObject *resultobj; | |
13296 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13297 | int result; | |
13298 | PyObject * obj0 = 0 ; | |
13299 | char *kwnames[] = { | |
13300 | (char *) "self", NULL | |
13301 | }; | |
13302 | ||
13303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
13304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13305 | { | |
13306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13307 | result = (int)(arg1)->GetFlags(); | |
13308 | ||
13309 | wxPyEndAllowThreads(__tstate); | |
13310 | if (PyErr_Occurred()) SWIG_fail; | |
13311 | } | |
994141e6 | 13312 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13313 | return resultobj; |
13314 | fail: | |
13315 | return NULL; | |
13316 | } | |
13317 | ||
13318 | ||
13319 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13320 | PyObject *resultobj; | |
13321 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13322 | wxString *result; |
d14a1e28 RD |
13323 | PyObject * obj0 = 0 ; |
13324 | char *kwnames[] = { | |
13325 | (char *) "self", NULL | |
13326 | }; | |
13327 | ||
13328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
13329 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13330 | { | |
13331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13332 | { |
13333 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13334 | result = (wxString *) &_result_ref; | |
13335 | } | |
d14a1e28 RD |
13336 | |
13337 | wxPyEndAllowThreads(__tstate); | |
13338 | if (PyErr_Occurred()) SWIG_fail; | |
13339 | } | |
13340 | { | |
13341 | #if wxUSE_UNICODE | |
cc6dd355 | 13342 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13343 | #else |
cc6dd355 | 13344 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13345 | #endif |
13346 | } | |
13347 | return resultobj; | |
13348 | fail: | |
13349 | return NULL; | |
13350 | } | |
13351 | ||
13352 | ||
13353 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13354 | PyObject *resultobj; | |
13355 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13356 | wxString *result; | |
13357 | PyObject * obj0 = 0 ; | |
13358 | char *kwnames[] = { | |
13359 | (char *) "self", NULL | |
13360 | }; | |
13361 | ||
13362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
13363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13364 | { | |
13365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13366 | { | |
13367 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13368 | result = (wxString *) &_result_ref; | |
13369 | } | |
13370 | ||
13371 | wxPyEndAllowThreads(__tstate); | |
13372 | if (PyErr_Occurred()) SWIG_fail; | |
13373 | } | |
cc6dd355 RD |
13374 | { |
13375 | #if wxUSE_UNICODE | |
13376 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13377 | #else | |
13378 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13379 | #endif | |
13380 | } | |
d14a1e28 RD |
13381 | return resultobj; |
13382 | fail: | |
13383 | return NULL; | |
13384 | } | |
13385 | ||
13386 | ||
13387 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13388 | PyObject *resultobj; | |
13389 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13390 | wxFindReplaceDialog *result; | |
13391 | PyObject * obj0 = 0 ; | |
13392 | char *kwnames[] = { | |
13393 | (char *) "self", NULL | |
13394 | }; | |
13395 | ||
13396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
13397 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13398 | { | |
13399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13400 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13401 | ||
13402 | wxPyEndAllowThreads(__tstate); | |
13403 | if (PyErr_Occurred()) SWIG_fail; | |
13404 | } | |
13405 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0); | |
13406 | return resultobj; | |
13407 | fail: | |
13408 | return NULL; | |
13409 | } | |
13410 | ||
13411 | ||
13412 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13413 | PyObject *resultobj; | |
13414 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13415 | int arg2 ; | |
13416 | PyObject * obj0 = 0 ; | |
994141e6 | 13417 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13418 | char *kwnames[] = { |
13419 | (char *) "self",(char *) "flags", NULL | |
13420 | }; | |
13421 | ||
994141e6 | 13422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 13423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
13424 | { |
13425 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13426 | if (PyErr_Occurred()) SWIG_fail; | |
13427 | } | |
d14a1e28 RD |
13428 | { |
13429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13430 | (arg1)->SetFlags(arg2); | |
13431 | ||
13432 | wxPyEndAllowThreads(__tstate); | |
13433 | if (PyErr_Occurred()) SWIG_fail; | |
13434 | } | |
13435 | Py_INCREF(Py_None); resultobj = Py_None; | |
13436 | return resultobj; | |
13437 | fail: | |
13438 | return NULL; | |
13439 | } | |
13440 | ||
13441 | ||
13442 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13443 | PyObject *resultobj; | |
13444 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13445 | wxString *arg2 = 0 ; | |
e811c8ce | 13446 | bool temp2 = False ; |
d14a1e28 RD |
13447 | PyObject * obj0 = 0 ; |
13448 | PyObject * obj1 = 0 ; | |
13449 | char *kwnames[] = { | |
13450 | (char *) "self",(char *) "str", NULL | |
13451 | }; | |
13452 | ||
13453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
13454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13455 | { | |
13456 | arg2 = wxString_in_helper(obj1); | |
13457 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13458 | temp2 = True; |
d14a1e28 RD |
13459 | } |
13460 | { | |
13461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13462 | (arg1)->SetFindString((wxString const &)*arg2); | |
13463 | ||
13464 | wxPyEndAllowThreads(__tstate); | |
13465 | if (PyErr_Occurred()) SWIG_fail; | |
13466 | } | |
13467 | Py_INCREF(Py_None); resultobj = Py_None; | |
13468 | { | |
13469 | if (temp2) | |
13470 | delete arg2; | |
13471 | } | |
13472 | return resultobj; | |
13473 | fail: | |
13474 | { | |
13475 | if (temp2) | |
13476 | delete arg2; | |
13477 | } | |
13478 | return NULL; | |
13479 | } | |
13480 | ||
13481 | ||
13482 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13483 | PyObject *resultobj; | |
13484 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13485 | wxString *arg2 = 0 ; | |
e811c8ce | 13486 | bool temp2 = False ; |
d14a1e28 RD |
13487 | PyObject * obj0 = 0 ; |
13488 | PyObject * obj1 = 0 ; | |
13489 | char *kwnames[] = { | |
13490 | (char *) "self",(char *) "str", NULL | |
13491 | }; | |
13492 | ||
13493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
13494 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13495 | { | |
13496 | arg2 = wxString_in_helper(obj1); | |
13497 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13498 | temp2 = True; |
d14a1e28 RD |
13499 | } |
13500 | { | |
13501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13502 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13503 | ||
13504 | wxPyEndAllowThreads(__tstate); | |
13505 | if (PyErr_Occurred()) SWIG_fail; | |
13506 | } | |
13507 | Py_INCREF(Py_None); resultobj = Py_None; | |
13508 | { | |
13509 | if (temp2) | |
13510 | delete arg2; | |
13511 | } | |
13512 | return resultobj; | |
13513 | fail: | |
13514 | { | |
13515 | if (temp2) | |
13516 | delete arg2; | |
13517 | } | |
13518 | return NULL; | |
13519 | } | |
13520 | ||
13521 | ||
13522 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13523 | PyObject *obj; | |
13524 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13525 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13526 | Py_INCREF(obj); | |
13527 | return Py_BuildValue((char *)""); | |
13528 | } | |
13529 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13530 | PyObject *resultobj; | |
13531 | int arg1 = (int) 0 ; | |
13532 | wxFindReplaceData *result; | |
994141e6 | 13533 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13534 | char *kwnames[] = { |
13535 | (char *) "flags", NULL | |
13536 | }; | |
13537 | ||
994141e6 RD |
13538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13539 | if (obj0) { | |
13540 | { | |
13541 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
13542 | if (PyErr_Occurred()) SWIG_fail; | |
13543 | } | |
13544 | } | |
d14a1e28 RD |
13545 | { |
13546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13547 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13548 | ||
13549 | wxPyEndAllowThreads(__tstate); | |
13550 | if (PyErr_Occurred()) SWIG_fail; | |
13551 | } | |
13552 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1); | |
13553 | return resultobj; | |
13554 | fail: | |
13555 | return NULL; | |
13556 | } | |
13557 | ||
13558 | ||
13559 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13560 | PyObject *resultobj; | |
13561 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13562 | PyObject * obj0 = 0 ; | |
13563 | char *kwnames[] = { | |
13564 | (char *) "self", NULL | |
13565 | }; | |
13566 | ||
13567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
13568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13569 | { | |
13570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13571 | delete arg1; | |
13572 | ||
13573 | wxPyEndAllowThreads(__tstate); | |
13574 | if (PyErr_Occurred()) SWIG_fail; | |
13575 | } | |
13576 | Py_INCREF(Py_None); resultobj = Py_None; | |
13577 | return resultobj; | |
13578 | fail: | |
13579 | return NULL; | |
13580 | } | |
13581 | ||
13582 | ||
13583 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13584 | PyObject *resultobj; | |
13585 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13586 | wxString *result; | |
13587 | PyObject * obj0 = 0 ; | |
13588 | char *kwnames[] = { | |
13589 | (char *) "self", NULL | |
13590 | }; | |
13591 | ||
13592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
13593 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13594 | { | |
13595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13596 | { | |
13597 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13598 | result = (wxString *) &_result_ref; | |
13599 | } | |
13600 | ||
13601 | wxPyEndAllowThreads(__tstate); | |
13602 | if (PyErr_Occurred()) SWIG_fail; | |
13603 | } | |
cc6dd355 RD |
13604 | { |
13605 | #if wxUSE_UNICODE | |
13606 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13607 | #else | |
13608 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13609 | #endif | |
13610 | } | |
d14a1e28 RD |
13611 | return resultobj; |
13612 | fail: | |
13613 | return NULL; | |
13614 | } | |
13615 | ||
13616 | ||
13617 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13618 | PyObject *resultobj; | |
13619 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13620 | wxString *result; | |
13621 | PyObject * obj0 = 0 ; | |
13622 | char *kwnames[] = { | |
13623 | (char *) "self", NULL | |
13624 | }; | |
13625 | ||
13626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
13627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13628 | { | |
13629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13630 | { | |
13631 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13632 | result = (wxString *) &_result_ref; | |
13633 | } | |
13634 | ||
13635 | wxPyEndAllowThreads(__tstate); | |
13636 | if (PyErr_Occurred()) SWIG_fail; | |
13637 | } | |
cc6dd355 RD |
13638 | { |
13639 | #if wxUSE_UNICODE | |
13640 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13641 | #else | |
13642 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13643 | #endif | |
13644 | } | |
d14a1e28 RD |
13645 | return resultobj; |
13646 | fail: | |
13647 | return NULL; | |
13648 | } | |
13649 | ||
13650 | ||
13651 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13652 | PyObject *resultobj; | |
13653 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13654 | int result; | |
13655 | PyObject * obj0 = 0 ; | |
13656 | char *kwnames[] = { | |
13657 | (char *) "self", NULL | |
13658 | }; | |
13659 | ||
13660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
13661 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13662 | { | |
13663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13664 | result = (int)(arg1)->GetFlags(); | |
13665 | ||
13666 | wxPyEndAllowThreads(__tstate); | |
13667 | if (PyErr_Occurred()) SWIG_fail; | |
13668 | } | |
994141e6 | 13669 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13670 | return resultobj; |
13671 | fail: | |
13672 | return NULL; | |
13673 | } | |
13674 | ||
13675 | ||
13676 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13677 | PyObject *resultobj; | |
13678 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13679 | int arg2 ; | |
13680 | PyObject * obj0 = 0 ; | |
994141e6 | 13681 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13682 | char *kwnames[] = { |
13683 | (char *) "self",(char *) "flags", NULL | |
13684 | }; | |
13685 | ||
994141e6 | 13686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 13687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
13688 | { |
13689 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13690 | if (PyErr_Occurred()) SWIG_fail; | |
13691 | } | |
d14a1e28 RD |
13692 | { |
13693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13694 | (arg1)->SetFlags(arg2); | |
13695 | ||
13696 | wxPyEndAllowThreads(__tstate); | |
13697 | if (PyErr_Occurred()) SWIG_fail; | |
13698 | } | |
13699 | Py_INCREF(Py_None); resultobj = Py_None; | |
13700 | return resultobj; | |
13701 | fail: | |
13702 | return NULL; | |
13703 | } | |
13704 | ||
13705 | ||
13706 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13707 | PyObject *resultobj; | |
13708 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13709 | wxString *arg2 = 0 ; | |
e811c8ce | 13710 | bool temp2 = False ; |
d14a1e28 RD |
13711 | PyObject * obj0 = 0 ; |
13712 | PyObject * obj1 = 0 ; | |
13713 | char *kwnames[] = { | |
13714 | (char *) "self",(char *) "str", NULL | |
13715 | }; | |
13716 | ||
13717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
13718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13719 | { | |
13720 | arg2 = wxString_in_helper(obj1); | |
13721 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13722 | temp2 = True; |
d14a1e28 RD |
13723 | } |
13724 | { | |
13725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13726 | (arg1)->SetFindString((wxString const &)*arg2); | |
13727 | ||
13728 | wxPyEndAllowThreads(__tstate); | |
13729 | if (PyErr_Occurred()) SWIG_fail; | |
13730 | } | |
13731 | Py_INCREF(Py_None); resultobj = Py_None; | |
13732 | { | |
13733 | if (temp2) | |
13734 | delete arg2; | |
13735 | } | |
13736 | return resultobj; | |
13737 | fail: | |
13738 | { | |
13739 | if (temp2) | |
13740 | delete arg2; | |
13741 | } | |
13742 | return NULL; | |
13743 | } | |
13744 | ||
13745 | ||
13746 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13747 | PyObject *resultobj; | |
13748 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13749 | wxString *arg2 = 0 ; | |
e811c8ce | 13750 | bool temp2 = False ; |
d14a1e28 RD |
13751 | PyObject * obj0 = 0 ; |
13752 | PyObject * obj1 = 0 ; | |
13753 | char *kwnames[] = { | |
13754 | (char *) "self",(char *) "str", NULL | |
13755 | }; | |
13756 | ||
13757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
13758 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13759 | { | |
13760 | arg2 = wxString_in_helper(obj1); | |
13761 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13762 | temp2 = True; |
d14a1e28 RD |
13763 | } |
13764 | { | |
13765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13766 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13767 | ||
13768 | wxPyEndAllowThreads(__tstate); | |
13769 | if (PyErr_Occurred()) SWIG_fail; | |
13770 | } | |
13771 | Py_INCREF(Py_None); resultobj = Py_None; | |
13772 | { | |
13773 | if (temp2) | |
13774 | delete arg2; | |
13775 | } | |
13776 | return resultobj; | |
13777 | fail: | |
13778 | { | |
13779 | if (temp2) | |
13780 | delete arg2; | |
13781 | } | |
13782 | return NULL; | |
13783 | } | |
13784 | ||
13785 | ||
13786 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
13787 | PyObject *obj; | |
13788 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13789 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13790 | Py_INCREF(obj); | |
13791 | return Py_BuildValue((char *)""); | |
13792 | } | |
13793 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13794 | PyObject *resultobj; | |
13795 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13796 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13797 | wxString *arg3 = 0 ; | |
13798 | int arg4 = (int) 0 ; | |
13799 | wxFindReplaceDialog *result; | |
e811c8ce | 13800 | bool temp3 = False ; |
d14a1e28 RD |
13801 | PyObject * obj0 = 0 ; |
13802 | PyObject * obj1 = 0 ; | |
13803 | PyObject * obj2 = 0 ; | |
994141e6 | 13804 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13805 | char *kwnames[] = { |
13806 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13807 | }; | |
13808 | ||
994141e6 | 13809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
13810 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
13811 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13812 | { | |
13813 | arg3 = wxString_in_helper(obj2); | |
13814 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13815 | temp3 = True; |
d14a1e28 | 13816 | } |
994141e6 RD |
13817 | if (obj3) { |
13818 | { | |
13819 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
13820 | if (PyErr_Occurred()) SWIG_fail; | |
13821 | } | |
13822 | } | |
d14a1e28 RD |
13823 | { |
13824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13825 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13826 | ||
13827 | wxPyEndAllowThreads(__tstate); | |
13828 | if (PyErr_Occurred()) SWIG_fail; | |
13829 | } | |
13830 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
13831 | { | |
13832 | if (temp3) | |
13833 | delete arg3; | |
13834 | } | |
13835 | return resultobj; | |
13836 | fail: | |
13837 | { | |
13838 | if (temp3) | |
13839 | delete arg3; | |
13840 | } | |
13841 | return NULL; | |
13842 | } | |
13843 | ||
13844 | ||
13845 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13846 | PyObject *resultobj; | |
13847 | wxFindReplaceDialog *result; | |
13848 | char *kwnames[] = { | |
13849 | NULL | |
13850 | }; | |
13851 | ||
13852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
13853 | { | |
13854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13855 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
13856 | ||
13857 | wxPyEndAllowThreads(__tstate); | |
13858 | if (PyErr_Occurred()) SWIG_fail; | |
13859 | } | |
13860 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
13861 | return resultobj; | |
13862 | fail: | |
13863 | return NULL; | |
13864 | } | |
13865 | ||
13866 | ||
13867 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13868 | PyObject *resultobj; | |
13869 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13870 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13871 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
13872 | wxString *arg4 = 0 ; | |
13873 | int arg5 = (int) 0 ; | |
13874 | bool result; | |
e811c8ce | 13875 | bool temp4 = False ; |
d14a1e28 RD |
13876 | PyObject * obj0 = 0 ; |
13877 | PyObject * obj1 = 0 ; | |
13878 | PyObject * obj2 = 0 ; | |
13879 | PyObject * obj3 = 0 ; | |
994141e6 | 13880 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13881 | char *kwnames[] = { |
13882 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13883 | }; | |
13884 | ||
994141e6 | 13885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13886 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
13887 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13888 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13889 | { | |
13890 | arg4 = wxString_in_helper(obj3); | |
13891 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 13892 | temp4 = True; |
d14a1e28 | 13893 | } |
994141e6 RD |
13894 | if (obj4) { |
13895 | { | |
13896 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
13897 | if (PyErr_Occurred()) SWIG_fail; | |
13898 | } | |
13899 | } | |
d14a1e28 RD |
13900 | { |
13901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13902 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
13903 | ||
13904 | wxPyEndAllowThreads(__tstate); | |
13905 | if (PyErr_Occurred()) SWIG_fail; | |
13906 | } | |
4d5c3d91 | 13907 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13908 | { |
13909 | if (temp4) | |
13910 | delete arg4; | |
13911 | } | |
13912 | return resultobj; | |
13913 | fail: | |
13914 | { | |
13915 | if (temp4) | |
13916 | delete arg4; | |
13917 | } | |
13918 | return NULL; | |
13919 | } | |
13920 | ||
13921 | ||
13922 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13923 | PyObject *resultobj; | |
13924 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13925 | wxFindReplaceData *result; | |
13926 | PyObject * obj0 = 0 ; | |
13927 | char *kwnames[] = { | |
13928 | (char *) "self", NULL | |
13929 | }; | |
13930 | ||
13931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
13932 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13933 | { | |
13934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13935 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
13936 | ||
13937 | wxPyEndAllowThreads(__tstate); | |
13938 | if (PyErr_Occurred()) SWIG_fail; | |
13939 | } | |
13940 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0); | |
13941 | return resultobj; | |
13942 | fail: | |
13943 | return NULL; | |
13944 | } | |
13945 | ||
13946 | ||
13947 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13948 | PyObject *resultobj; | |
13949 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13950 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13951 | PyObject * obj0 = 0 ; | |
13952 | PyObject * obj1 = 0 ; | |
13953 | char *kwnames[] = { | |
13954 | (char *) "self",(char *) "data", NULL | |
13955 | }; | |
13956 | ||
13957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
13958 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13959 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13960 | { | |
13961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13962 | (arg1)->SetData(arg2); | |
13963 | ||
13964 | wxPyEndAllowThreads(__tstate); | |
13965 | if (PyErr_Occurred()) SWIG_fail; | |
13966 | } | |
13967 | Py_INCREF(Py_None); resultobj = Py_None; | |
13968 | return resultobj; | |
13969 | fail: | |
13970 | return NULL; | |
13971 | } | |
13972 | ||
13973 | ||
13974 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
13975 | PyObject *obj; | |
13976 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13977 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
13978 | Py_INCREF(obj); | |
13979 | return Py_BuildValue((char *)""); | |
13980 | } | |
13981 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13982 | PyObject *resultobj; | |
13983 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 13984 | int arg2 ; |
d14a1e28 RD |
13985 | wxString *arg3 = 0 ; |
13986 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13987 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13988 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13989 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13990 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13991 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
13992 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13993 | wxMDIParentFrame *result; | |
e811c8ce | 13994 | bool temp3 = False ; |
d14a1e28 RD |
13995 | wxPoint temp4 ; |
13996 | wxSize temp5 ; | |
e811c8ce | 13997 | bool temp7 = False ; |
d14a1e28 | 13998 | PyObject * obj0 = 0 ; |
994141e6 | 13999 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14000 | PyObject * obj2 = 0 ; |
14001 | PyObject * obj3 = 0 ; | |
14002 | PyObject * obj4 = 0 ; | |
994141e6 | 14003 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14004 | PyObject * obj6 = 0 ; |
14005 | char *kwnames[] = { | |
14006 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14007 | }; | |
14008 | ||
994141e6 | 14009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 14010 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14011 | { |
14012 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
14013 | if (PyErr_Occurred()) SWIG_fail; | |
14014 | } | |
d14a1e28 RD |
14015 | { |
14016 | arg3 = wxString_in_helper(obj2); | |
14017 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14018 | temp3 = True; |
d14a1e28 RD |
14019 | } |
14020 | if (obj3) { | |
14021 | { | |
14022 | arg4 = &temp4; | |
14023 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14024 | } | |
14025 | } | |
14026 | if (obj4) { | |
14027 | { | |
14028 | arg5 = &temp5; | |
14029 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14030 | } | |
14031 | } | |
994141e6 RD |
14032 | if (obj5) { |
14033 | { | |
14034 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
14035 | if (PyErr_Occurred()) SWIG_fail; | |
14036 | } | |
14037 | } | |
d14a1e28 RD |
14038 | if (obj6) { |
14039 | { | |
14040 | arg7 = wxString_in_helper(obj6); | |
14041 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14042 | temp7 = True; |
d14a1e28 RD |
14043 | } |
14044 | } | |
14045 | { | |
14046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14047 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14048 | ||
14049 | wxPyEndAllowThreads(__tstate); | |
14050 | if (PyErr_Occurred()) SWIG_fail; | |
14051 | } | |
14052 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
14053 | { | |
14054 | if (temp3) | |
14055 | delete arg3; | |
14056 | } | |
14057 | { | |
14058 | if (temp7) | |
14059 | delete arg7; | |
14060 | } | |
14061 | return resultobj; | |
14062 | fail: | |
14063 | { | |
14064 | if (temp3) | |
14065 | delete arg3; | |
14066 | } | |
14067 | { | |
14068 | if (temp7) | |
14069 | delete arg7; | |
14070 | } | |
14071 | return NULL; | |
14072 | } | |
14073 | ||
14074 | ||
14075 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14076 | PyObject *resultobj; | |
14077 | wxMDIParentFrame *result; | |
14078 | char *kwnames[] = { | |
14079 | NULL | |
14080 | }; | |
14081 | ||
14082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14083 | { | |
14084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14085 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14086 | ||
14087 | wxPyEndAllowThreads(__tstate); | |
14088 | if (PyErr_Occurred()) SWIG_fail; | |
14089 | } | |
14090 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
14091 | return resultobj; | |
14092 | fail: | |
14093 | return NULL; | |
14094 | } | |
14095 | ||
14096 | ||
14097 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14098 | PyObject *resultobj; | |
14099 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14100 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 14101 | int arg3 ; |
d14a1e28 RD |
14102 | wxString *arg4 = 0 ; |
14103 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14104 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14105 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14106 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14107 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14108 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14109 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14110 | bool result; | |
e811c8ce | 14111 | bool temp4 = False ; |
d14a1e28 RD |
14112 | wxPoint temp5 ; |
14113 | wxSize temp6 ; | |
e811c8ce | 14114 | bool temp8 = False ; |
d14a1e28 RD |
14115 | PyObject * obj0 = 0 ; |
14116 | PyObject * obj1 = 0 ; | |
994141e6 | 14117 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14118 | PyObject * obj3 = 0 ; |
14119 | PyObject * obj4 = 0 ; | |
14120 | PyObject * obj5 = 0 ; | |
994141e6 | 14121 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14122 | PyObject * obj7 = 0 ; |
14123 | char *kwnames[] = { | |
14124 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14125 | }; | |
14126 | ||
994141e6 | 14127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
14128 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14129 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
14130 | { |
14131 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
14132 | if (PyErr_Occurred()) SWIG_fail; | |
14133 | } | |
d14a1e28 RD |
14134 | { |
14135 | arg4 = wxString_in_helper(obj3); | |
14136 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14137 | temp4 = True; |
d14a1e28 RD |
14138 | } |
14139 | if (obj4) { | |
14140 | { | |
14141 | arg5 = &temp5; | |
14142 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14143 | } | |
14144 | } | |
14145 | if (obj5) { | |
14146 | { | |
14147 | arg6 = &temp6; | |
14148 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14149 | } | |
14150 | } | |
994141e6 RD |
14151 | if (obj6) { |
14152 | { | |
14153 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
14154 | if (PyErr_Occurred()) SWIG_fail; | |
14155 | } | |
14156 | } | |
d14a1e28 RD |
14157 | if (obj7) { |
14158 | { | |
14159 | arg8 = wxString_in_helper(obj7); | |
14160 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14161 | temp8 = True; |
d14a1e28 RD |
14162 | } |
14163 | } | |
14164 | { | |
14165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14166 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14167 | ||
14168 | wxPyEndAllowThreads(__tstate); | |
14169 | if (PyErr_Occurred()) SWIG_fail; | |
14170 | } | |
4d5c3d91 | 14171 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14172 | { |
14173 | if (temp4) | |
14174 | delete arg4; | |
14175 | } | |
14176 | { | |
14177 | if (temp8) | |
14178 | delete arg8; | |
14179 | } | |
14180 | return resultobj; | |
14181 | fail: | |
14182 | { | |
14183 | if (temp4) | |
14184 | delete arg4; | |
14185 | } | |
14186 | { | |
14187 | if (temp8) | |
14188 | delete arg8; | |
14189 | } | |
14190 | return NULL; | |
14191 | } | |
14192 | ||
14193 | ||
14194 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14195 | PyObject *resultobj; | |
14196 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14197 | PyObject * obj0 = 0 ; | |
14198 | char *kwnames[] = { | |
14199 | (char *) "self", NULL | |
14200 | }; | |
14201 | ||
14202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
14203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14204 | { | |
14205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14206 | (arg1)->ActivateNext(); | |
14207 | ||
14208 | wxPyEndAllowThreads(__tstate); | |
14209 | if (PyErr_Occurred()) SWIG_fail; | |
14210 | } | |
14211 | Py_INCREF(Py_None); resultobj = Py_None; | |
14212 | return resultobj; | |
14213 | fail: | |
14214 | return NULL; | |
14215 | } | |
14216 | ||
14217 | ||
14218 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14219 | PyObject *resultobj; | |
14220 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14221 | PyObject * obj0 = 0 ; | |
14222 | char *kwnames[] = { | |
14223 | (char *) "self", NULL | |
14224 | }; | |
14225 | ||
14226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
14227 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14228 | { | |
14229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14230 | (arg1)->ActivatePrevious(); | |
14231 | ||
14232 | wxPyEndAllowThreads(__tstate); | |
14233 | if (PyErr_Occurred()) SWIG_fail; | |
14234 | } | |
14235 | Py_INCREF(Py_None); resultobj = Py_None; | |
14236 | return resultobj; | |
14237 | fail: | |
14238 | return NULL; | |
14239 | } | |
14240 | ||
14241 | ||
14242 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14243 | PyObject *resultobj; | |
14244 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14245 | PyObject * obj0 = 0 ; | |
14246 | char *kwnames[] = { | |
14247 | (char *) "self", NULL | |
14248 | }; | |
14249 | ||
14250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
14251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14252 | { | |
14253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14254 | (arg1)->ArrangeIcons(); | |
14255 | ||
14256 | wxPyEndAllowThreads(__tstate); | |
14257 | if (PyErr_Occurred()) SWIG_fail; | |
14258 | } | |
14259 | Py_INCREF(Py_None); resultobj = Py_None; | |
14260 | return resultobj; | |
14261 | fail: | |
14262 | return NULL; | |
14263 | } | |
14264 | ||
14265 | ||
14266 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14267 | PyObject *resultobj; | |
14268 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14269 | PyObject * obj0 = 0 ; | |
14270 | char *kwnames[] = { | |
14271 | (char *) "self", NULL | |
14272 | }; | |
14273 | ||
14274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
14275 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14276 | { | |
14277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14278 | (arg1)->Cascade(); | |
14279 | ||
14280 | wxPyEndAllowThreads(__tstate); | |
14281 | if (PyErr_Occurred()) SWIG_fail; | |
14282 | } | |
14283 | Py_INCREF(Py_None); resultobj = Py_None; | |
14284 | return resultobj; | |
14285 | fail: | |
14286 | return NULL; | |
14287 | } | |
14288 | ||
14289 | ||
14290 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14291 | PyObject *resultobj; | |
14292 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14293 | wxMDIChildFrame *result; | |
14294 | PyObject * obj0 = 0 ; | |
14295 | char *kwnames[] = { | |
14296 | (char *) "self", NULL | |
14297 | }; | |
14298 | ||
14299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
14300 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14301 | { | |
14302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14303 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14304 | ||
14305 | wxPyEndAllowThreads(__tstate); | |
14306 | if (PyErr_Occurred()) SWIG_fail; | |
14307 | } | |
14308 | { | |
14309 | resultobj = wxPyMake_wxObject(result); | |
14310 | } | |
14311 | return resultobj; | |
14312 | fail: | |
14313 | return NULL; | |
14314 | } | |
14315 | ||
14316 | ||
14317 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14318 | PyObject *resultobj; | |
14319 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14320 | wxMDIClientWindow *result; | |
14321 | PyObject * obj0 = 0 ; | |
14322 | char *kwnames[] = { | |
14323 | (char *) "self", NULL | |
14324 | }; | |
14325 | ||
14326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
14327 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14328 | { | |
14329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14330 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14331 | ||
14332 | wxPyEndAllowThreads(__tstate); | |
14333 | if (PyErr_Occurred()) SWIG_fail; | |
14334 | } | |
14335 | { | |
14336 | resultobj = wxPyMake_wxObject(result); | |
14337 | } | |
14338 | return resultobj; | |
14339 | fail: | |
14340 | return NULL; | |
14341 | } | |
14342 | ||
14343 | ||
14344 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14345 | PyObject *resultobj; | |
14346 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14347 | wxWindow *result; | |
14348 | PyObject * obj0 = 0 ; | |
14349 | char *kwnames[] = { | |
14350 | (char *) "self", NULL | |
14351 | }; | |
14352 | ||
14353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
14354 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14355 | { | |
14356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14357 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14358 | ||
14359 | wxPyEndAllowThreads(__tstate); | |
14360 | if (PyErr_Occurred()) SWIG_fail; | |
14361 | } | |
14362 | { | |
14363 | resultobj = wxPyMake_wxObject(result); | |
14364 | } | |
14365 | return resultobj; | |
14366 | fail: | |
14367 | return NULL; | |
14368 | } | |
14369 | ||
14370 | ||
14371 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14372 | PyObject *resultobj; | |
14373 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14374 | PyObject * obj0 = 0 ; | |
14375 | char *kwnames[] = { | |
14376 | (char *) "self", NULL | |
14377 | }; | |
14378 | ||
14379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
14380 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14381 | { | |
14382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14383 | (arg1)->Tile(); | |
14384 | ||
14385 | wxPyEndAllowThreads(__tstate); | |
14386 | if (PyErr_Occurred()) SWIG_fail; | |
14387 | } | |
14388 | Py_INCREF(Py_None); resultobj = Py_None; | |
14389 | return resultobj; | |
14390 | fail: | |
14391 | return NULL; | |
14392 | } | |
14393 | ||
14394 | ||
14395 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14396 | PyObject *obj; | |
14397 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14398 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14399 | Py_INCREF(obj); | |
14400 | return Py_BuildValue((char *)""); | |
14401 | } | |
14402 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14403 | PyObject *resultobj; | |
14404 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14405 | int arg2 ; |
d14a1e28 RD |
14406 | wxString *arg3 = 0 ; |
14407 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14408 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14409 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14410 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14411 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14412 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14413 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14414 | wxMDIChildFrame *result; | |
e811c8ce | 14415 | bool temp3 = False ; |
d14a1e28 RD |
14416 | wxPoint temp4 ; |
14417 | wxSize temp5 ; | |
e811c8ce | 14418 | bool temp7 = False ; |
d14a1e28 | 14419 | PyObject * obj0 = 0 ; |
994141e6 | 14420 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14421 | PyObject * obj2 = 0 ; |
14422 | PyObject * obj3 = 0 ; | |
14423 | PyObject * obj4 = 0 ; | |
994141e6 | 14424 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14425 | PyObject * obj6 = 0 ; |
14426 | char *kwnames[] = { | |
14427 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14428 | }; | |
14429 | ||
994141e6 | 14430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 14431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14432 | { |
14433 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
14434 | if (PyErr_Occurred()) SWIG_fail; | |
14435 | } | |
d14a1e28 RD |
14436 | { |
14437 | arg3 = wxString_in_helper(obj2); | |
14438 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14439 | temp3 = True; |
d14a1e28 RD |
14440 | } |
14441 | if (obj3) { | |
14442 | { | |
14443 | arg4 = &temp4; | |
14444 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14445 | } | |
14446 | } | |
14447 | if (obj4) { | |
14448 | { | |
14449 | arg5 = &temp5; | |
14450 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14451 | } | |
14452 | } | |
994141e6 RD |
14453 | if (obj5) { |
14454 | { | |
14455 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
14456 | if (PyErr_Occurred()) SWIG_fail; | |
14457 | } | |
14458 | } | |
d14a1e28 RD |
14459 | if (obj6) { |
14460 | { | |
14461 | arg7 = wxString_in_helper(obj6); | |
14462 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14463 | temp7 = True; |
d14a1e28 RD |
14464 | } |
14465 | } | |
14466 | { | |
14467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14468 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14469 | ||
14470 | wxPyEndAllowThreads(__tstate); | |
14471 | if (PyErr_Occurred()) SWIG_fail; | |
14472 | } | |
14473 | { | |
14474 | resultobj = wxPyMake_wxObject(result); | |
14475 | } | |
14476 | { | |
14477 | if (temp3) | |
14478 | delete arg3; | |
14479 | } | |
14480 | { | |
14481 | if (temp7) | |
14482 | delete arg7; | |
14483 | } | |
14484 | return resultobj; | |
14485 | fail: | |
14486 | { | |
14487 | if (temp3) | |
14488 | delete arg3; | |
14489 | } | |
14490 | { | |
14491 | if (temp7) | |
14492 | delete arg7; | |
14493 | } | |
14494 | return NULL; | |
14495 | } | |
14496 | ||
14497 | ||
14498 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14499 | PyObject *resultobj; | |
14500 | wxMDIChildFrame *result; | |
14501 | char *kwnames[] = { | |
14502 | NULL | |
14503 | }; | |
14504 | ||
14505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14506 | { | |
14507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14508 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14509 | ||
14510 | wxPyEndAllowThreads(__tstate); | |
14511 | if (PyErr_Occurred()) SWIG_fail; | |
14512 | } | |
14513 | { | |
14514 | resultobj = wxPyMake_wxObject(result); | |
14515 | } | |
14516 | return resultobj; | |
14517 | fail: | |
14518 | return NULL; | |
14519 | } | |
14520 | ||
14521 | ||
14522 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14523 | PyObject *resultobj; | |
14524 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14525 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14526 | int arg3 ; |
d14a1e28 RD |
14527 | wxString *arg4 = 0 ; |
14528 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14529 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14530 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14531 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14532 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14533 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14534 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14535 | bool result; | |
e811c8ce | 14536 | bool temp4 = False ; |
d14a1e28 RD |
14537 | wxPoint temp5 ; |
14538 | wxSize temp6 ; | |
e811c8ce | 14539 | bool temp8 = False ; |
d14a1e28 RD |
14540 | PyObject * obj0 = 0 ; |
14541 | PyObject * obj1 = 0 ; | |
994141e6 | 14542 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14543 | PyObject * obj3 = 0 ; |
14544 | PyObject * obj4 = 0 ; | |
14545 | PyObject * obj5 = 0 ; | |
994141e6 | 14546 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14547 | PyObject * obj7 = 0 ; |
14548 | char *kwnames[] = { | |
14549 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14550 | }; | |
14551 | ||
994141e6 | 14552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
14553 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14554 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
14555 | { |
14556 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
14557 | if (PyErr_Occurred()) SWIG_fail; | |
14558 | } | |
d14a1e28 RD |
14559 | { |
14560 | arg4 = wxString_in_helper(obj3); | |
14561 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14562 | temp4 = True; |
d14a1e28 RD |
14563 | } |
14564 | if (obj4) { | |
14565 | { | |
14566 | arg5 = &temp5; | |
14567 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14568 | } | |
14569 | } | |
14570 | if (obj5) { | |
14571 | { | |
14572 | arg6 = &temp6; | |
14573 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14574 | } | |
14575 | } | |
994141e6 RD |
14576 | if (obj6) { |
14577 | { | |
14578 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
14579 | if (PyErr_Occurred()) SWIG_fail; | |
14580 | } | |
14581 | } | |
d14a1e28 RD |
14582 | if (obj7) { |
14583 | { | |
14584 | arg8 = wxString_in_helper(obj7); | |
14585 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14586 | temp8 = True; |
d14a1e28 RD |
14587 | } |
14588 | } | |
14589 | { | |
14590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14591 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14592 | ||
14593 | wxPyEndAllowThreads(__tstate); | |
14594 | if (PyErr_Occurred()) SWIG_fail; | |
14595 | } | |
4d5c3d91 | 14596 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14597 | { |
14598 | if (temp4) | |
14599 | delete arg4; | |
14600 | } | |
14601 | { | |
14602 | if (temp8) | |
14603 | delete arg8; | |
14604 | } | |
14605 | return resultobj; | |
14606 | fail: | |
14607 | { | |
14608 | if (temp4) | |
14609 | delete arg4; | |
14610 | } | |
14611 | { | |
14612 | if (temp8) | |
14613 | delete arg8; | |
14614 | } | |
14615 | return NULL; | |
14616 | } | |
14617 | ||
14618 | ||
14619 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14620 | PyObject *resultobj; | |
14621 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14622 | PyObject * obj0 = 0 ; | |
14623 | char *kwnames[] = { | |
14624 | (char *) "self", NULL | |
14625 | }; | |
14626 | ||
14627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
14628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14629 | { | |
14630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14631 | (arg1)->Activate(); | |
14632 | ||
14633 | wxPyEndAllowThreads(__tstate); | |
14634 | if (PyErr_Occurred()) SWIG_fail; | |
14635 | } | |
14636 | Py_INCREF(Py_None); resultobj = Py_None; | |
14637 | return resultobj; | |
14638 | fail: | |
14639 | return NULL; | |
14640 | } | |
14641 | ||
14642 | ||
14643 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14644 | PyObject *resultobj; | |
14645 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14646 | bool arg2 ; | |
14647 | PyObject * obj0 = 0 ; | |
14648 | PyObject * obj1 = 0 ; | |
14649 | char *kwnames[] = { | |
14650 | (char *) "self",(char *) "maximize", NULL | |
14651 | }; | |
14652 | ||
14653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
14654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 14655 | { |
994141e6 | 14656 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
14657 | if (PyErr_Occurred()) SWIG_fail; |
14658 | } | |
d14a1e28 RD |
14659 | { |
14660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14661 | (arg1)->Maximize(arg2); | |
14662 | ||
14663 | wxPyEndAllowThreads(__tstate); | |
14664 | if (PyErr_Occurred()) SWIG_fail; | |
14665 | } | |
14666 | Py_INCREF(Py_None); resultobj = Py_None; | |
14667 | return resultobj; | |
14668 | fail: | |
14669 | return NULL; | |
14670 | } | |
14671 | ||
14672 | ||
14673 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14674 | PyObject *resultobj; | |
14675 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14676 | PyObject * obj0 = 0 ; | |
14677 | char *kwnames[] = { | |
14678 | (char *) "self", NULL | |
14679 | }; | |
14680 | ||
14681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
14682 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14683 | { | |
14684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14685 | (arg1)->Restore(); | |
14686 | ||
14687 | wxPyEndAllowThreads(__tstate); | |
14688 | if (PyErr_Occurred()) SWIG_fail; | |
14689 | } | |
14690 | Py_INCREF(Py_None); resultobj = Py_None; | |
14691 | return resultobj; | |
14692 | fail: | |
14693 | return NULL; | |
14694 | } | |
14695 | ||
14696 | ||
14697 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14698 | PyObject *obj; | |
14699 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14700 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14701 | Py_INCREF(obj); | |
14702 | return Py_BuildValue((char *)""); | |
14703 | } | |
14704 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14705 | PyObject *resultobj; | |
14706 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14707 | long arg2 = (long) 0 ; | |
14708 | wxMDIClientWindow *result; | |
14709 | PyObject * obj0 = 0 ; | |
994141e6 | 14710 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14711 | char *kwnames[] = { |
14712 | (char *) "parent",(char *) "style", NULL | |
14713 | }; | |
14714 | ||
994141e6 | 14715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 14716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14717 | if (obj1) { |
14718 | { | |
14719 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
14720 | if (PyErr_Occurred()) SWIG_fail; | |
14721 | } | |
14722 | } | |
d14a1e28 RD |
14723 | { |
14724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14725 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14726 | ||
14727 | wxPyEndAllowThreads(__tstate); | |
14728 | if (PyErr_Occurred()) SWIG_fail; | |
14729 | } | |
14730 | { | |
14731 | resultobj = wxPyMake_wxObject(result); | |
14732 | } | |
14733 | return resultobj; | |
14734 | fail: | |
14735 | return NULL; | |
14736 | } | |
14737 | ||
14738 | ||
14739 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14740 | PyObject *resultobj; | |
14741 | wxMDIClientWindow *result; | |
14742 | char *kwnames[] = { | |
14743 | NULL | |
14744 | }; | |
14745 | ||
14746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14747 | { | |
14748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14749 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14750 | ||
14751 | wxPyEndAllowThreads(__tstate); | |
14752 | if (PyErr_Occurred()) SWIG_fail; | |
14753 | } | |
14754 | { | |
14755 | resultobj = wxPyMake_wxObject(result); | |
14756 | } | |
14757 | return resultobj; | |
14758 | fail: | |
14759 | return NULL; | |
14760 | } | |
14761 | ||
14762 | ||
14763 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14764 | PyObject *resultobj; | |
14765 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14766 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14767 | long arg3 = (long) 0 ; | |
14768 | bool result; | |
14769 | PyObject * obj0 = 0 ; | |
14770 | PyObject * obj1 = 0 ; | |
994141e6 | 14771 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14772 | char *kwnames[] = { |
14773 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14774 | }; | |
14775 | ||
994141e6 | 14776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
14777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14778 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
14779 | if (obj2) { |
14780 | { | |
14781 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
14782 | if (PyErr_Occurred()) SWIG_fail; | |
14783 | } | |
14784 | } | |
d14a1e28 RD |
14785 | { |
14786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14787 | result = (bool)(arg1)->Create(arg2,arg3); | |
14788 | ||
14789 | wxPyEndAllowThreads(__tstate); | |
14790 | if (PyErr_Occurred()) SWIG_fail; | |
14791 | } | |
4d5c3d91 | 14792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14793 | return resultobj; |
14794 | fail: | |
14795 | return NULL; | |
14796 | } | |
14797 | ||
14798 | ||
14799 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
14800 | PyObject *obj; | |
14801 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14802 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
14803 | Py_INCREF(obj); | |
14804 | return Py_BuildValue((char *)""); | |
14805 | } | |
14806 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14807 | PyObject *resultobj; | |
14808 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14809 | int arg2 ; |
d14a1e28 RD |
14810 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
14811 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14812 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14813 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14814 | long arg5 = (long) 0 ; | |
14815 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
14816 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
14817 | wxPyWindow *result; | |
14818 | wxPoint temp3 ; | |
14819 | wxSize temp4 ; | |
e811c8ce | 14820 | bool temp6 = False ; |
d14a1e28 | 14821 | PyObject * obj0 = 0 ; |
994141e6 | 14822 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14823 | PyObject * obj2 = 0 ; |
14824 | PyObject * obj3 = 0 ; | |
994141e6 | 14825 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14826 | PyObject * obj5 = 0 ; |
14827 | char *kwnames[] = { | |
14828 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14829 | }; | |
14830 | ||
994141e6 | 14831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 14832 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14833 | { |
14834 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
14835 | if (PyErr_Occurred()) SWIG_fail; | |
14836 | } | |
d14a1e28 RD |
14837 | if (obj2) { |
14838 | { | |
14839 | arg3 = &temp3; | |
14840 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14841 | } | |
14842 | } | |
14843 | if (obj3) { | |
14844 | { | |
14845 | arg4 = &temp4; | |
14846 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14847 | } | |
14848 | } | |
994141e6 RD |
14849 | if (obj4) { |
14850 | { | |
14851 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
14852 | if (PyErr_Occurred()) SWIG_fail; | |
14853 | } | |
14854 | } | |
d14a1e28 RD |
14855 | if (obj5) { |
14856 | { | |
14857 | arg6 = wxString_in_helper(obj5); | |
14858 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 14859 | temp6 = True; |
d14a1e28 RD |
14860 | } |
14861 | } | |
14862 | { | |
14863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14864 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
14865 | ||
14866 | wxPyEndAllowThreads(__tstate); | |
14867 | if (PyErr_Occurred()) SWIG_fail; | |
14868 | } | |
14869 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1); | |
14870 | { | |
14871 | if (temp6) | |
14872 | delete arg6; | |
14873 | } | |
14874 | return resultobj; | |
14875 | fail: | |
14876 | { | |
14877 | if (temp6) | |
14878 | delete arg6; | |
14879 | } | |
14880 | return NULL; | |
14881 | } | |
14882 | ||
14883 | ||
14884 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14885 | PyObject *resultobj; | |
14886 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14887 | PyObject *arg2 = (PyObject *) 0 ; | |
14888 | PyObject *arg3 = (PyObject *) 0 ; | |
14889 | PyObject * obj0 = 0 ; | |
14890 | PyObject * obj1 = 0 ; | |
14891 | PyObject * obj2 = 0 ; | |
14892 | char *kwnames[] = { | |
14893 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
14894 | }; | |
14895 | ||
14896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14898 | arg2 = obj1; | |
14899 | arg3 = obj2; | |
14900 | { | |
14901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14902 | (arg1)->_setCallbackInfo(arg2,arg3); | |
14903 | ||
14904 | wxPyEndAllowThreads(__tstate); | |
14905 | if (PyErr_Occurred()) SWIG_fail; | |
14906 | } | |
14907 | Py_INCREF(Py_None); resultobj = Py_None; | |
14908 | return resultobj; | |
14909 | fail: | |
14910 | return NULL; | |
14911 | } | |
14912 | ||
14913 | ||
14914 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14915 | PyObject *resultobj; | |
14916 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14917 | int arg2 ; | |
14918 | int arg3 ; | |
14919 | int arg4 ; | |
14920 | int arg5 ; | |
14921 | PyObject * obj0 = 0 ; | |
994141e6 RD |
14922 | PyObject * obj1 = 0 ; |
14923 | PyObject * obj2 = 0 ; | |
14924 | PyObject * obj3 = 0 ; | |
14925 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
14926 | char *kwnames[] = { |
14927 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
14928 | }; | |
14929 | ||
994141e6 | 14930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 14931 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14932 | { |
14933 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
14934 | if (PyErr_Occurred()) SWIG_fail; | |
14935 | } | |
14936 | { | |
14937 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
14938 | if (PyErr_Occurred()) SWIG_fail; | |
14939 | } | |
14940 | { | |
14941 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
14942 | if (PyErr_Occurred()) SWIG_fail; | |
14943 | } | |
14944 | { | |
14945 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
14946 | if (PyErr_Occurred()) SWIG_fail; | |
14947 | } | |
d14a1e28 RD |
14948 | { |
14949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14950 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
14951 | ||
14952 | wxPyEndAllowThreads(__tstate); | |
14953 | if (PyErr_Occurred()) SWIG_fail; | |
14954 | } | |
14955 | Py_INCREF(Py_None); resultobj = Py_None; | |
14956 | return resultobj; | |
14957 | fail: | |
14958 | return NULL; | |
14959 | } | |
14960 | ||
14961 | ||
14962 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14963 | PyObject *resultobj; | |
14964 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14965 | int arg2 ; | |
14966 | int arg3 ; | |
14967 | int arg4 ; | |
14968 | int arg5 ; | |
14969 | int arg6 = (int) wxSIZE_AUTO ; | |
14970 | PyObject * obj0 = 0 ; | |
994141e6 RD |
14971 | PyObject * obj1 = 0 ; |
14972 | PyObject * obj2 = 0 ; | |
14973 | PyObject * obj3 = 0 ; | |
14974 | PyObject * obj4 = 0 ; | |
14975 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
14976 | char *kwnames[] = { |
14977 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
14978 | }; | |
14979 | ||
994141e6 | 14980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 14981 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
14982 | { |
14983 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
14984 | if (PyErr_Occurred()) SWIG_fail; | |
14985 | } | |
14986 | { | |
14987 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
14988 | if (PyErr_Occurred()) SWIG_fail; | |
14989 | } | |
14990 | { | |
14991 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
14992 | if (PyErr_Occurred()) SWIG_fail; | |
14993 | } | |
14994 | { | |
14995 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
14996 | if (PyErr_Occurred()) SWIG_fail; | |
14997 | } | |
14998 | if (obj5) { | |
14999 | { | |
15000 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
15001 | if (PyErr_Occurred()) SWIG_fail; | |
15002 | } | |
15003 | } | |
d14a1e28 RD |
15004 | { |
15005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15006 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15007 | ||
15008 | wxPyEndAllowThreads(__tstate); | |
15009 | if (PyErr_Occurred()) SWIG_fail; | |
15010 | } | |
15011 | Py_INCREF(Py_None); resultobj = Py_None; | |
15012 | return resultobj; | |
15013 | fail: | |
15014 | return NULL; | |
15015 | } | |
15016 | ||
15017 | ||
15018 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15019 | PyObject *resultobj; | |
15020 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15021 | int arg2 ; | |
15022 | int arg3 ; | |
15023 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15024 | PyObject * obj1 = 0 ; |
15025 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15026 | char *kwnames[] = { |
15027 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15028 | }; | |
15029 | ||
994141e6 | 15030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15031 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15032 | { |
15033 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15034 | if (PyErr_Occurred()) SWIG_fail; | |
15035 | } | |
15036 | { | |
15037 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15038 | if (PyErr_Occurred()) SWIG_fail; | |
15039 | } | |
d14a1e28 RD |
15040 | { |
15041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15042 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15043 | ||
15044 | wxPyEndAllowThreads(__tstate); | |
15045 | if (PyErr_Occurred()) SWIG_fail; | |
15046 | } | |
15047 | Py_INCREF(Py_None); resultobj = Py_None; | |
15048 | return resultobj; | |
15049 | fail: | |
15050 | return NULL; | |
15051 | } | |
15052 | ||
15053 | ||
15054 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15055 | PyObject *resultobj; | |
15056 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15057 | int arg2 ; | |
15058 | int arg3 ; | |
15059 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15060 | PyObject * obj1 = 0 ; |
15061 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15062 | char *kwnames[] = { |
15063 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15064 | }; | |
15065 | ||
994141e6 | 15066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15067 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15068 | { |
15069 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15070 | if (PyErr_Occurred()) SWIG_fail; | |
15071 | } | |
15072 | { | |
15073 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15074 | if (PyErr_Occurred()) SWIG_fail; | |
15075 | } | |
d14a1e28 RD |
15076 | { |
15077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15078 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15079 | ||
15080 | wxPyEndAllowThreads(__tstate); | |
15081 | if (PyErr_Occurred()) SWIG_fail; | |
15082 | } | |
15083 | Py_INCREF(Py_None); resultobj = Py_None; | |
15084 | return resultobj; | |
15085 | fail: | |
15086 | return NULL; | |
15087 | } | |
15088 | ||
15089 | ||
15090 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15091 | PyObject *resultobj; | |
15092 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15093 | int *arg2 = (int *) 0 ; | |
15094 | int *arg3 = (int *) 0 ; | |
15095 | int temp2 ; | |
15096 | int temp3 ; | |
15097 | PyObject * obj0 = 0 ; | |
15098 | char *kwnames[] = { | |
15099 | (char *) "self", NULL | |
15100 | }; | |
15101 | ||
15102 | arg2 = &temp2; | |
15103 | arg3 = &temp3; | |
15104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15105 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15106 | { | |
15107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15108 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15109 | ||
15110 | wxPyEndAllowThreads(__tstate); | |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
15112 | } | |
15113 | Py_INCREF(Py_None); resultobj = Py_None; | |
15114 | { | |
15115 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15116 | resultobj = t_output_helper(resultobj,o); | |
15117 | } | |
15118 | { | |
15119 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15120 | resultobj = t_output_helper(resultobj,o); | |
15121 | } | |
15122 | return resultobj; | |
15123 | fail: | |
15124 | return NULL; | |
15125 | } | |
15126 | ||
15127 | ||
15128 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15129 | PyObject *resultobj; | |
15130 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15131 | int *arg2 = (int *) 0 ; | |
15132 | int *arg3 = (int *) 0 ; | |
15133 | int temp2 ; | |
15134 | int temp3 ; | |
15135 | PyObject * obj0 = 0 ; | |
15136 | char *kwnames[] = { | |
15137 | (char *) "self", NULL | |
15138 | }; | |
15139 | ||
15140 | arg2 = &temp2; | |
15141 | arg3 = &temp3; | |
15142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15143 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15144 | { | |
15145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15146 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15147 | ||
15148 | wxPyEndAllowThreads(__tstate); | |
15149 | if (PyErr_Occurred()) SWIG_fail; | |
15150 | } | |
15151 | Py_INCREF(Py_None); resultobj = Py_None; | |
15152 | { | |
15153 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15154 | resultobj = t_output_helper(resultobj,o); | |
15155 | } | |
15156 | { | |
15157 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15158 | resultobj = t_output_helper(resultobj,o); | |
15159 | } | |
15160 | return resultobj; | |
15161 | fail: | |
15162 | return NULL; | |
15163 | } | |
15164 | ||
15165 | ||
15166 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15167 | PyObject *resultobj; | |
15168 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15169 | int *arg2 = (int *) 0 ; | |
15170 | int *arg3 = (int *) 0 ; | |
15171 | int temp2 ; | |
15172 | int temp3 ; | |
15173 | PyObject * obj0 = 0 ; | |
15174 | char *kwnames[] = { | |
15175 | (char *) "self", NULL | |
15176 | }; | |
15177 | ||
15178 | arg2 = &temp2; | |
15179 | arg3 = &temp3; | |
15180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15181 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15182 | { | |
15183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15184 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15185 | ||
15186 | wxPyEndAllowThreads(__tstate); | |
15187 | if (PyErr_Occurred()) SWIG_fail; | |
15188 | } | |
15189 | Py_INCREF(Py_None); resultobj = Py_None; | |
15190 | { | |
15191 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15192 | resultobj = t_output_helper(resultobj,o); | |
15193 | } | |
15194 | { | |
15195 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15196 | resultobj = t_output_helper(resultobj,o); | |
15197 | } | |
15198 | return resultobj; | |
15199 | fail: | |
15200 | return NULL; | |
15201 | } | |
15202 | ||
15203 | ||
15204 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15205 | PyObject *resultobj; | |
15206 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15207 | wxSize result; | |
15208 | PyObject * obj0 = 0 ; | |
15209 | char *kwnames[] = { | |
15210 | (char *) "self", NULL | |
15211 | }; | |
15212 | ||
15213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15214 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15215 | { | |
15216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15217 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15218 | ||
15219 | wxPyEndAllowThreads(__tstate); | |
15220 | if (PyErr_Occurred()) SWIG_fail; | |
15221 | } | |
15222 | { | |
15223 | wxSize * resultptr; | |
15224 | resultptr = new wxSize((wxSize &) result); | |
15225 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15226 | } | |
15227 | return resultobj; | |
15228 | fail: | |
15229 | return NULL; | |
15230 | } | |
15231 | ||
15232 | ||
15233 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15234 | PyObject *resultobj; | |
15235 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15236 | wxSize result; | |
15237 | PyObject * obj0 = 0 ; | |
15238 | char *kwnames[] = { | |
15239 | (char *) "self", NULL | |
15240 | }; | |
15241 | ||
15242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15244 | { | |
15245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15246 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15247 | ||
15248 | wxPyEndAllowThreads(__tstate); | |
15249 | if (PyErr_Occurred()) SWIG_fail; | |
15250 | } | |
15251 | { | |
15252 | wxSize * resultptr; | |
15253 | resultptr = new wxSize((wxSize &) result); | |
15254 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15255 | } | |
15256 | return resultobj; | |
15257 | fail: | |
15258 | return NULL; | |
15259 | } | |
15260 | ||
15261 | ||
15262 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15263 | PyObject *resultobj; | |
15264 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15265 | PyObject * obj0 = 0 ; | |
15266 | char *kwnames[] = { | |
15267 | (char *) "self", NULL | |
15268 | }; | |
15269 | ||
15270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15271 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15272 | { | |
15273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15274 | (arg1)->base_InitDialog(); | |
15275 | ||
15276 | wxPyEndAllowThreads(__tstate); | |
15277 | if (PyErr_Occurred()) SWIG_fail; | |
15278 | } | |
15279 | Py_INCREF(Py_None); resultobj = Py_None; | |
15280 | return resultobj; | |
15281 | fail: | |
15282 | return NULL; | |
15283 | } | |
15284 | ||
15285 | ||
15286 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15287 | PyObject *resultobj; | |
15288 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15289 | bool result; | |
15290 | PyObject * obj0 = 0 ; | |
15291 | char *kwnames[] = { | |
15292 | (char *) "self", NULL | |
15293 | }; | |
15294 | ||
15295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15296 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15297 | { | |
15298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15299 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15300 | ||
15301 | wxPyEndAllowThreads(__tstate); | |
15302 | if (PyErr_Occurred()) SWIG_fail; | |
15303 | } | |
4d5c3d91 | 15304 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15305 | return resultobj; |
15306 | fail: | |
15307 | return NULL; | |
15308 | } | |
15309 | ||
15310 | ||
15311 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15312 | PyObject *resultobj; | |
15313 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15314 | bool result; | |
15315 | PyObject * obj0 = 0 ; | |
15316 | char *kwnames[] = { | |
15317 | (char *) "self", NULL | |
15318 | }; | |
15319 | ||
15320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15322 | { | |
15323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15324 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15325 | ||
15326 | wxPyEndAllowThreads(__tstate); | |
15327 | if (PyErr_Occurred()) SWIG_fail; | |
15328 | } | |
4d5c3d91 | 15329 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15330 | return resultobj; |
15331 | fail: | |
15332 | return NULL; | |
15333 | } | |
15334 | ||
15335 | ||
15336 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15337 | PyObject *resultobj; | |
15338 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15339 | bool result; | |
15340 | PyObject * obj0 = 0 ; | |
15341 | char *kwnames[] = { | |
15342 | (char *) "self", NULL | |
15343 | }; | |
15344 | ||
15345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15346 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15347 | { | |
15348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15349 | result = (bool)(arg1)->base_Validate(); | |
15350 | ||
15351 | wxPyEndAllowThreads(__tstate); | |
15352 | if (PyErr_Occurred()) SWIG_fail; | |
15353 | } | |
4d5c3d91 | 15354 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15355 | return resultobj; |
15356 | fail: | |
15357 | return NULL; | |
15358 | } | |
15359 | ||
15360 | ||
15361 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15362 | PyObject *resultobj; | |
15363 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15364 | bool result; | |
15365 | PyObject * obj0 = 0 ; | |
15366 | char *kwnames[] = { | |
15367 | (char *) "self", NULL | |
15368 | }; | |
15369 | ||
15370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15372 | { | |
15373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15374 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15375 | ||
15376 | wxPyEndAllowThreads(__tstate); | |
15377 | if (PyErr_Occurred()) SWIG_fail; | |
15378 | } | |
4d5c3d91 | 15379 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15380 | return resultobj; |
15381 | fail: | |
15382 | return NULL; | |
15383 | } | |
15384 | ||
15385 | ||
15386 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15387 | PyObject *resultobj; | |
15388 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15389 | bool result; | |
15390 | PyObject * obj0 = 0 ; | |
15391 | char *kwnames[] = { | |
15392 | (char *) "self", NULL | |
15393 | }; | |
15394 | ||
15395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15396 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15397 | { | |
15398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15399 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15400 | ||
15401 | wxPyEndAllowThreads(__tstate); | |
15402 | if (PyErr_Occurred()) SWIG_fail; | |
15403 | } | |
4d5c3d91 | 15404 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15405 | return resultobj; |
15406 | fail: | |
15407 | return NULL; | |
15408 | } | |
15409 | ||
15410 | ||
15411 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15412 | PyObject *resultobj; | |
15413 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15414 | wxSize result; | |
15415 | PyObject * obj0 = 0 ; | |
15416 | char *kwnames[] = { | |
15417 | (char *) "self", NULL | |
15418 | }; | |
15419 | ||
15420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15422 | { | |
15423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15424 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15425 | ||
15426 | wxPyEndAllowThreads(__tstate); | |
15427 | if (PyErr_Occurred()) SWIG_fail; | |
15428 | } | |
15429 | { | |
15430 | wxSize * resultptr; | |
15431 | resultptr = new wxSize((wxSize &) result); | |
15432 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15433 | } | |
15434 | return resultobj; | |
15435 | fail: | |
15436 | return NULL; | |
15437 | } | |
15438 | ||
15439 | ||
15440 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15441 | PyObject *resultobj; | |
15442 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15443 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15444 | PyObject * obj0 = 0 ; | |
15445 | PyObject * obj1 = 0 ; | |
15446 | char *kwnames[] = { | |
15447 | (char *) "self",(char *) "child", NULL | |
15448 | }; | |
15449 | ||
15450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15452 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15453 | { | |
15454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15455 | (arg1)->base_AddChild(arg2); | |
15456 | ||
15457 | wxPyEndAllowThreads(__tstate); | |
15458 | if (PyErr_Occurred()) SWIG_fail; | |
15459 | } | |
15460 | Py_INCREF(Py_None); resultobj = Py_None; | |
15461 | return resultobj; | |
15462 | fail: | |
15463 | return NULL; | |
15464 | } | |
15465 | ||
15466 | ||
15467 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15468 | PyObject *resultobj; | |
15469 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15470 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15471 | PyObject * obj0 = 0 ; | |
15472 | PyObject * obj1 = 0 ; | |
15473 | char *kwnames[] = { | |
15474 | (char *) "self",(char *) "child", NULL | |
15475 | }; | |
15476 | ||
15477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15478 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15479 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15480 | { | |
15481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15482 | (arg1)->base_RemoveChild(arg2); | |
15483 | ||
15484 | wxPyEndAllowThreads(__tstate); | |
15485 | if (PyErr_Occurred()) SWIG_fail; | |
15486 | } | |
15487 | Py_INCREF(Py_None); resultobj = Py_None; | |
15488 | return resultobj; | |
15489 | fail: | |
15490 | return NULL; | |
15491 | } | |
15492 | ||
15493 | ||
15494 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
15495 | PyObject *obj; | |
15496 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15497 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15498 | Py_INCREF(obj); | |
15499 | return Py_BuildValue((char *)""); | |
15500 | } | |
15501 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15502 | PyObject *resultobj; | |
15503 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15504 | int arg2 ; |
d14a1e28 RD |
15505 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15506 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15507 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15508 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15509 | long arg5 = (long) 0 ; | |
15510 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15511 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15512 | wxPyPanel *result; | |
15513 | wxPoint temp3 ; | |
15514 | wxSize temp4 ; | |
e811c8ce | 15515 | bool temp6 = False ; |
d14a1e28 | 15516 | PyObject * obj0 = 0 ; |
994141e6 | 15517 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15518 | PyObject * obj2 = 0 ; |
15519 | PyObject * obj3 = 0 ; | |
994141e6 | 15520 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15521 | PyObject * obj5 = 0 ; |
15522 | char *kwnames[] = { | |
15523 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15524 | }; | |
15525 | ||
994141e6 | 15526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15527 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15528 | { |
15529 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
15530 | if (PyErr_Occurred()) SWIG_fail; | |
15531 | } | |
d14a1e28 RD |
15532 | if (obj2) { |
15533 | { | |
15534 | arg3 = &temp3; | |
15535 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15536 | } | |
15537 | } | |
15538 | if (obj3) { | |
15539 | { | |
15540 | arg4 = &temp4; | |
15541 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15542 | } | |
15543 | } | |
994141e6 RD |
15544 | if (obj4) { |
15545 | { | |
15546 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
15547 | if (PyErr_Occurred()) SWIG_fail; | |
15548 | } | |
15549 | } | |
d14a1e28 RD |
15550 | if (obj5) { |
15551 | { | |
15552 | arg6 = wxString_in_helper(obj5); | |
15553 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15554 | temp6 = True; |
d14a1e28 RD |
15555 | } |
15556 | } | |
15557 | { | |
15558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15559 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15560 | ||
15561 | wxPyEndAllowThreads(__tstate); | |
15562 | if (PyErr_Occurred()) SWIG_fail; | |
15563 | } | |
15564 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1); | |
15565 | { | |
15566 | if (temp6) | |
15567 | delete arg6; | |
15568 | } | |
15569 | return resultobj; | |
15570 | fail: | |
15571 | { | |
15572 | if (temp6) | |
15573 | delete arg6; | |
15574 | } | |
15575 | return NULL; | |
15576 | } | |
15577 | ||
15578 | ||
15579 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15580 | PyObject *resultobj; | |
15581 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15582 | PyObject *arg2 = (PyObject *) 0 ; | |
15583 | PyObject *arg3 = (PyObject *) 0 ; | |
15584 | PyObject * obj0 = 0 ; | |
15585 | PyObject * obj1 = 0 ; | |
15586 | PyObject * obj2 = 0 ; | |
15587 | char *kwnames[] = { | |
15588 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15589 | }; | |
15590 | ||
15591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15592 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15593 | arg2 = obj1; | |
15594 | arg3 = obj2; | |
15595 | { | |
15596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15597 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15598 | ||
15599 | wxPyEndAllowThreads(__tstate); | |
15600 | if (PyErr_Occurred()) SWIG_fail; | |
15601 | } | |
15602 | Py_INCREF(Py_None); resultobj = Py_None; | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
15609 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15610 | PyObject *resultobj; | |
15611 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15612 | int arg2 ; | |
15613 | int arg3 ; | |
15614 | int arg4 ; | |
15615 | int arg5 ; | |
15616 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15617 | PyObject * obj1 = 0 ; |
15618 | PyObject * obj2 = 0 ; | |
15619 | PyObject * obj3 = 0 ; | |
15620 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15621 | char *kwnames[] = { |
15622 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15623 | }; | |
15624 | ||
994141e6 | 15625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 15626 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15627 | { |
15628 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15629 | if (PyErr_Occurred()) SWIG_fail; | |
15630 | } | |
15631 | { | |
15632 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15633 | if (PyErr_Occurred()) SWIG_fail; | |
15634 | } | |
15635 | { | |
15636 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15637 | if (PyErr_Occurred()) SWIG_fail; | |
15638 | } | |
15639 | { | |
15640 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15641 | if (PyErr_Occurred()) SWIG_fail; | |
15642 | } | |
d14a1e28 RD |
15643 | { |
15644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15645 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15646 | ||
15647 | wxPyEndAllowThreads(__tstate); | |
15648 | if (PyErr_Occurred()) SWIG_fail; | |
15649 | } | |
15650 | Py_INCREF(Py_None); resultobj = Py_None; | |
15651 | return resultobj; | |
15652 | fail: | |
15653 | return NULL; | |
15654 | } | |
15655 | ||
15656 | ||
15657 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15658 | PyObject *resultobj; | |
15659 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15660 | int arg2 ; | |
15661 | int arg3 ; | |
15662 | int arg4 ; | |
15663 | int arg5 ; | |
15664 | int arg6 = (int) wxSIZE_AUTO ; | |
15665 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15666 | PyObject * obj1 = 0 ; |
15667 | PyObject * obj2 = 0 ; | |
15668 | PyObject * obj3 = 0 ; | |
15669 | PyObject * obj4 = 0 ; | |
15670 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15671 | char *kwnames[] = { |
15672 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15673 | }; | |
15674 | ||
994141e6 | 15675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15676 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15677 | { |
15678 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15679 | if (PyErr_Occurred()) SWIG_fail; | |
15680 | } | |
15681 | { | |
15682 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15683 | if (PyErr_Occurred()) SWIG_fail; | |
15684 | } | |
15685 | { | |
15686 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15687 | if (PyErr_Occurred()) SWIG_fail; | |
15688 | } | |
15689 | { | |
15690 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15691 | if (PyErr_Occurred()) SWIG_fail; | |
15692 | } | |
15693 | if (obj5) { | |
15694 | { | |
15695 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
15696 | if (PyErr_Occurred()) SWIG_fail; | |
15697 | } | |
15698 | } | |
d14a1e28 RD |
15699 | { |
15700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15701 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15702 | ||
15703 | wxPyEndAllowThreads(__tstate); | |
15704 | if (PyErr_Occurred()) SWIG_fail; | |
15705 | } | |
15706 | Py_INCREF(Py_None); resultobj = Py_None; | |
15707 | return resultobj; | |
15708 | fail: | |
15709 | return NULL; | |
15710 | } | |
15711 | ||
15712 | ||
15713 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15714 | PyObject *resultobj; | |
15715 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15716 | int arg2 ; | |
15717 | int arg3 ; | |
15718 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15719 | PyObject * obj1 = 0 ; |
15720 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15721 | char *kwnames[] = { |
15722 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15723 | }; | |
15724 | ||
994141e6 | 15725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15726 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15727 | { |
15728 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15729 | if (PyErr_Occurred()) SWIG_fail; | |
15730 | } | |
15731 | { | |
15732 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15733 | if (PyErr_Occurred()) SWIG_fail; | |
15734 | } | |
d14a1e28 RD |
15735 | { |
15736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15737 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15738 | ||
15739 | wxPyEndAllowThreads(__tstate); | |
15740 | if (PyErr_Occurred()) SWIG_fail; | |
15741 | } | |
15742 | Py_INCREF(Py_None); resultobj = Py_None; | |
15743 | return resultobj; | |
15744 | fail: | |
15745 | return NULL; | |
15746 | } | |
15747 | ||
15748 | ||
15749 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15750 | PyObject *resultobj; | |
15751 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15752 | int arg2 ; | |
15753 | int arg3 ; | |
15754 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15755 | PyObject * obj1 = 0 ; |
15756 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15757 | char *kwnames[] = { |
15758 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15759 | }; | |
15760 | ||
994141e6 | 15761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15762 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
15763 | { |
15764 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15765 | if (PyErr_Occurred()) SWIG_fail; | |
15766 | } | |
15767 | { | |
15768 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15769 | if (PyErr_Occurred()) SWIG_fail; | |
15770 | } | |
d14a1e28 RD |
15771 | { |
15772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15773 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15774 | ||
15775 | wxPyEndAllowThreads(__tstate); | |
15776 | if (PyErr_Occurred()) SWIG_fail; | |
15777 | } | |
15778 | Py_INCREF(Py_None); resultobj = Py_None; | |
15779 | return resultobj; | |
15780 | fail: | |
15781 | return NULL; | |
15782 | } | |
15783 | ||
15784 | ||
15785 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15786 | PyObject *resultobj; | |
15787 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15788 | int *arg2 = (int *) 0 ; | |
15789 | int *arg3 = (int *) 0 ; | |
15790 | int temp2 ; | |
15791 | int temp3 ; | |
15792 | PyObject * obj0 = 0 ; | |
15793 | char *kwnames[] = { | |
15794 | (char *) "self", NULL | |
15795 | }; | |
15796 | ||
15797 | arg2 = &temp2; | |
15798 | arg3 = &temp3; | |
15799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15800 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15801 | { | |
15802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15803 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
15804 | ||
15805 | wxPyEndAllowThreads(__tstate); | |
15806 | if (PyErr_Occurred()) SWIG_fail; | |
15807 | } | |
15808 | Py_INCREF(Py_None); resultobj = Py_None; | |
15809 | { | |
15810 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15811 | resultobj = t_output_helper(resultobj,o); | |
15812 | } | |
15813 | { | |
15814 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15815 | resultobj = t_output_helper(resultobj,o); | |
15816 | } | |
15817 | return resultobj; | |
15818 | fail: | |
15819 | return NULL; | |
15820 | } | |
15821 | ||
15822 | ||
15823 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15824 | PyObject *resultobj; | |
15825 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15826 | int *arg2 = (int *) 0 ; | |
15827 | int *arg3 = (int *) 0 ; | |
15828 | int temp2 ; | |
15829 | int temp3 ; | |
15830 | PyObject * obj0 = 0 ; | |
15831 | char *kwnames[] = { | |
15832 | (char *) "self", NULL | |
15833 | }; | |
15834 | ||
15835 | arg2 = &temp2; | |
15836 | arg3 = &temp3; | |
15837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15838 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15839 | { | |
15840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15841 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15842 | ||
15843 | wxPyEndAllowThreads(__tstate); | |
15844 | if (PyErr_Occurred()) SWIG_fail; | |
15845 | } | |
15846 | Py_INCREF(Py_None); resultobj = Py_None; | |
15847 | { | |
15848 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15849 | resultobj = t_output_helper(resultobj,o); | |
15850 | } | |
15851 | { | |
15852 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15853 | resultobj = t_output_helper(resultobj,o); | |
15854 | } | |
15855 | return resultobj; | |
15856 | fail: | |
15857 | return NULL; | |
15858 | } | |
15859 | ||
15860 | ||
15861 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15862 | PyObject *resultobj; | |
15863 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15864 | int *arg2 = (int *) 0 ; | |
15865 | int *arg3 = (int *) 0 ; | |
15866 | int temp2 ; | |
15867 | int temp3 ; | |
15868 | PyObject * obj0 = 0 ; | |
15869 | char *kwnames[] = { | |
15870 | (char *) "self", NULL | |
15871 | }; | |
15872 | ||
15873 | arg2 = &temp2; | |
15874 | arg3 = &temp3; | |
15875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15876 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15877 | { | |
15878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15879 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15880 | ||
15881 | wxPyEndAllowThreads(__tstate); | |
15882 | if (PyErr_Occurred()) SWIG_fail; | |
15883 | } | |
15884 | Py_INCREF(Py_None); resultobj = Py_None; | |
15885 | { | |
15886 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15887 | resultobj = t_output_helper(resultobj,o); | |
15888 | } | |
15889 | { | |
15890 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15891 | resultobj = t_output_helper(resultobj,o); | |
15892 | } | |
15893 | return resultobj; | |
15894 | fail: | |
15895 | return NULL; | |
15896 | } | |
15897 | ||
15898 | ||
15899 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15900 | PyObject *resultobj; | |
15901 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15902 | wxSize result; | |
15903 | PyObject * obj0 = 0 ; | |
15904 | char *kwnames[] = { | |
15905 | (char *) "self", NULL | |
15906 | }; | |
15907 | ||
15908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15909 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15910 | { | |
15911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15912 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
15913 | ||
15914 | wxPyEndAllowThreads(__tstate); | |
15915 | if (PyErr_Occurred()) SWIG_fail; | |
15916 | } | |
15917 | { | |
15918 | wxSize * resultptr; | |
15919 | resultptr = new wxSize((wxSize &) result); | |
15920 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15921 | } | |
15922 | return resultobj; | |
15923 | fail: | |
15924 | return NULL; | |
15925 | } | |
15926 | ||
15927 | ||
15928 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15929 | PyObject *resultobj; | |
15930 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15931 | wxSize result; | |
15932 | PyObject * obj0 = 0 ; | |
15933 | char *kwnames[] = { | |
15934 | (char *) "self", NULL | |
15935 | }; | |
15936 | ||
15937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15939 | { | |
15940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15941 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
15942 | ||
15943 | wxPyEndAllowThreads(__tstate); | |
15944 | if (PyErr_Occurred()) SWIG_fail; | |
15945 | } | |
15946 | { | |
15947 | wxSize * resultptr; | |
15948 | resultptr = new wxSize((wxSize &) result); | |
15949 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15950 | } | |
15951 | return resultobj; | |
15952 | fail: | |
15953 | return NULL; | |
15954 | } | |
15955 | ||
15956 | ||
15957 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15958 | PyObject *resultobj; | |
15959 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15960 | PyObject * obj0 = 0 ; | |
15961 | char *kwnames[] = { | |
15962 | (char *) "self", NULL | |
15963 | }; | |
15964 | ||
15965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15966 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15967 | { | |
15968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15969 | (arg1)->base_InitDialog(); | |
15970 | ||
15971 | wxPyEndAllowThreads(__tstate); | |
15972 | if (PyErr_Occurred()) SWIG_fail; | |
15973 | } | |
15974 | Py_INCREF(Py_None); resultobj = Py_None; | |
15975 | return resultobj; | |
15976 | fail: | |
15977 | return NULL; | |
15978 | } | |
15979 | ||
15980 | ||
15981 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15982 | PyObject *resultobj; | |
15983 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15984 | bool result; | |
15985 | PyObject * obj0 = 0 ; | |
15986 | char *kwnames[] = { | |
15987 | (char *) "self", NULL | |
15988 | }; | |
15989 | ||
15990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15992 | { | |
15993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15994 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15995 | ||
15996 | wxPyEndAllowThreads(__tstate); | |
15997 | if (PyErr_Occurred()) SWIG_fail; | |
15998 | } | |
4d5c3d91 | 15999 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16000 | return resultobj; |
16001 | fail: | |
16002 | return NULL; | |
16003 | } | |
16004 | ||
16005 | ||
16006 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16007 | PyObject *resultobj; | |
16008 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16009 | bool result; | |
16010 | PyObject * obj0 = 0 ; | |
16011 | char *kwnames[] = { | |
16012 | (char *) "self", NULL | |
16013 | }; | |
16014 | ||
16015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
16016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16017 | { | |
16018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16019 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16020 | ||
16021 | wxPyEndAllowThreads(__tstate); | |
16022 | if (PyErr_Occurred()) SWIG_fail; | |
16023 | } | |
4d5c3d91 | 16024 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16025 | return resultobj; |
16026 | fail: | |
16027 | return NULL; | |
16028 | } | |
16029 | ||
16030 | ||
16031 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16032 | PyObject *resultobj; | |
16033 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16034 | bool result; | |
16035 | PyObject * obj0 = 0 ; | |
16036 | char *kwnames[] = { | |
16037 | (char *) "self", NULL | |
16038 | }; | |
16039 | ||
16040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
16041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16042 | { | |
16043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16044 | result = (bool)(arg1)->base_Validate(); | |
16045 | ||
16046 | wxPyEndAllowThreads(__tstate); | |
16047 | if (PyErr_Occurred()) SWIG_fail; | |
16048 | } | |
4d5c3d91 | 16049 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16050 | return resultobj; |
16051 | fail: | |
16052 | return NULL; | |
16053 | } | |
16054 | ||
16055 | ||
16056 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16057 | PyObject *resultobj; | |
16058 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16059 | bool result; | |
16060 | PyObject * obj0 = 0 ; | |
16061 | char *kwnames[] = { | |
16062 | (char *) "self", NULL | |
16063 | }; | |
16064 | ||
16065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
16066 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16067 | { | |
16068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16069 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16070 | ||
16071 | wxPyEndAllowThreads(__tstate); | |
16072 | if (PyErr_Occurred()) SWIG_fail; | |
16073 | } | |
4d5c3d91 | 16074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16075 | return resultobj; |
16076 | fail: | |
16077 | return NULL; | |
16078 | } | |
16079 | ||
16080 | ||
16081 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16082 | PyObject *resultobj; | |
16083 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16084 | bool result; | |
16085 | PyObject * obj0 = 0 ; | |
16086 | char *kwnames[] = { | |
16087 | (char *) "self", NULL | |
16088 | }; | |
16089 | ||
16090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
16091 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16092 | { | |
16093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16094 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16095 | ||
16096 | wxPyEndAllowThreads(__tstate); | |
16097 | if (PyErr_Occurred()) SWIG_fail; | |
16098 | } | |
4d5c3d91 | 16099 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16100 | return resultobj; |
16101 | fail: | |
16102 | return NULL; | |
16103 | } | |
16104 | ||
16105 | ||
16106 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16107 | PyObject *resultobj; | |
16108 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16109 | wxSize result; | |
16110 | PyObject * obj0 = 0 ; | |
16111 | char *kwnames[] = { | |
16112 | (char *) "self", NULL | |
16113 | }; | |
16114 | ||
16115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
16116 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16117 | { | |
16118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16119 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16120 | ||
16121 | wxPyEndAllowThreads(__tstate); | |
16122 | if (PyErr_Occurred()) SWIG_fail; | |
16123 | } | |
16124 | { | |
16125 | wxSize * resultptr; | |
16126 | resultptr = new wxSize((wxSize &) result); | |
16127 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16128 | } | |
16129 | return resultobj; | |
16130 | fail: | |
16131 | return NULL; | |
16132 | } | |
16133 | ||
16134 | ||
16135 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16136 | PyObject *resultobj; | |
16137 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16138 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16139 | PyObject * obj0 = 0 ; | |
16140 | PyObject * obj1 = 0 ; | |
16141 | char *kwnames[] = { | |
16142 | (char *) "self",(char *) "child", NULL | |
16143 | }; | |
16144 | ||
16145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
16146 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16147 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16148 | { | |
16149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16150 | (arg1)->base_AddChild(arg2); | |
16151 | ||
16152 | wxPyEndAllowThreads(__tstate); | |
16153 | if (PyErr_Occurred()) SWIG_fail; | |
16154 | } | |
16155 | Py_INCREF(Py_None); resultobj = Py_None; | |
16156 | return resultobj; | |
16157 | fail: | |
16158 | return NULL; | |
16159 | } | |
16160 | ||
16161 | ||
16162 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16163 | PyObject *resultobj; | |
16164 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16165 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16166 | PyObject * obj0 = 0 ; | |
16167 | PyObject * obj1 = 0 ; | |
16168 | char *kwnames[] = { | |
16169 | (char *) "self",(char *) "child", NULL | |
16170 | }; | |
16171 | ||
16172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
16173 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16174 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16175 | { | |
16176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16177 | (arg1)->base_RemoveChild(arg2); | |
16178 | ||
16179 | wxPyEndAllowThreads(__tstate); | |
16180 | if (PyErr_Occurred()) SWIG_fail; | |
16181 | } | |
16182 | Py_INCREF(Py_None); resultobj = Py_None; | |
16183 | return resultobj; | |
16184 | fail: | |
16185 | return NULL; | |
16186 | } | |
16187 | ||
16188 | ||
16189 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
16190 | PyObject *obj; | |
16191 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16192 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16193 | Py_INCREF(obj); | |
16194 | return Py_BuildValue((char *)""); | |
16195 | } | |
b2dc1044 RD |
16196 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { |
16197 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
16198 | return 1; | |
16199 | } | |
16200 | ||
16201 | ||
16202 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
16203 | PyObject *pyobj; | |
16204 | ||
16205 | { | |
16206 | #if wxUSE_UNICODE | |
16207 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16208 | #else | |
16209 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16210 | #endif | |
16211 | } | |
16212 | return pyobj; | |
16213 | } | |
16214 | ||
16215 | ||
16216 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
16217 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
16218 | return 1; | |
16219 | } | |
16220 | ||
16221 | ||
16222 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
16223 | PyObject *pyobj; | |
16224 | ||
16225 | { | |
16226 | #if wxUSE_UNICODE | |
16227 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16228 | #else | |
16229 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16230 | #endif | |
16231 | } | |
16232 | return pyobj; | |
16233 | } | |
16234 | ||
16235 | ||
d14a1e28 RD |
16236 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
16237 | PyObject *resultobj; | |
16238 | wxPrintData *result; | |
16239 | char *kwnames[] = { | |
16240 | NULL | |
16241 | }; | |
16242 | ||
16243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
16244 | { | |
16245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16246 | result = (wxPrintData *)new wxPrintData(); | |
16247 | ||
16248 | wxPyEndAllowThreads(__tstate); | |
16249 | if (PyErr_Occurred()) SWIG_fail; | |
16250 | } | |
16251 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1); | |
16252 | return resultobj; | |
16253 | fail: | |
16254 | return NULL; | |
16255 | } | |
16256 | ||
16257 | ||
16258 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16259 | PyObject *resultobj; | |
16260 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16261 | PyObject * obj0 = 0 ; | |
16262 | char *kwnames[] = { | |
16263 | (char *) "self", NULL | |
16264 | }; | |
16265 | ||
16266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
16267 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16268 | { | |
16269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16270 | delete arg1; | |
16271 | ||
16272 | wxPyEndAllowThreads(__tstate); | |
16273 | if (PyErr_Occurred()) SWIG_fail; | |
16274 | } | |
16275 | Py_INCREF(Py_None); resultobj = Py_None; | |
16276 | return resultobj; | |
16277 | fail: | |
16278 | return NULL; | |
16279 | } | |
16280 | ||
16281 | ||
16282 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16283 | PyObject *resultobj; | |
16284 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16285 | int result; | |
16286 | PyObject * obj0 = 0 ; | |
16287 | char *kwnames[] = { | |
16288 | (char *) "self", NULL | |
16289 | }; | |
16290 | ||
16291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
16292 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16293 | { | |
16294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16295 | result = (int)(arg1)->GetNoCopies(); | |
16296 | ||
16297 | wxPyEndAllowThreads(__tstate); | |
16298 | if (PyErr_Occurred()) SWIG_fail; | |
16299 | } | |
994141e6 | 16300 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16301 | return resultobj; |
16302 | fail: | |
16303 | return NULL; | |
16304 | } | |
16305 | ||
16306 | ||
16307 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16308 | PyObject *resultobj; | |
16309 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16310 | bool result; | |
16311 | PyObject * obj0 = 0 ; | |
16312 | char *kwnames[] = { | |
16313 | (char *) "self", NULL | |
16314 | }; | |
16315 | ||
16316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
16317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16318 | { | |
16319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16320 | result = (bool)(arg1)->GetCollate(); | |
16321 | ||
16322 | wxPyEndAllowThreads(__tstate); | |
16323 | if (PyErr_Occurred()) SWIG_fail; | |
16324 | } | |
4d5c3d91 | 16325 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16326 | return resultobj; |
16327 | fail: | |
16328 | return NULL; | |
16329 | } | |
16330 | ||
16331 | ||
16332 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16333 | PyObject *resultobj; | |
16334 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16335 | int result; | |
16336 | PyObject * obj0 = 0 ; | |
16337 | char *kwnames[] = { | |
16338 | (char *) "self", NULL | |
16339 | }; | |
16340 | ||
16341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
16342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16343 | { | |
16344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16345 | result = (int)(arg1)->GetOrientation(); | |
16346 | ||
16347 | wxPyEndAllowThreads(__tstate); | |
16348 | if (PyErr_Occurred()) SWIG_fail; | |
16349 | } | |
994141e6 | 16350 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16351 | return resultobj; |
16352 | fail: | |
16353 | return NULL; | |
16354 | } | |
16355 | ||
16356 | ||
16357 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16358 | PyObject *resultobj; | |
16359 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16360 | bool result; | |
16361 | PyObject * obj0 = 0 ; | |
16362 | char *kwnames[] = { | |
16363 | (char *) "self", NULL | |
16364 | }; | |
16365 | ||
16366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
16367 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16368 | { | |
16369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16370 | result = (bool)(arg1)->Ok(); | |
16371 | ||
16372 | wxPyEndAllowThreads(__tstate); | |
16373 | if (PyErr_Occurred()) SWIG_fail; | |
16374 | } | |
4d5c3d91 | 16375 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16376 | return resultobj; |
16377 | fail: | |
16378 | return NULL; | |
16379 | } | |
16380 | ||
16381 | ||
16382 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16383 | PyObject *resultobj; | |
16384 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16385 | wxString *result; | |
16386 | PyObject * obj0 = 0 ; | |
16387 | char *kwnames[] = { | |
16388 | (char *) "self", NULL | |
16389 | }; | |
16390 | ||
16391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
16392 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16393 | { | |
16394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16395 | { | |
16396 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16397 | result = (wxString *) &_result_ref; | |
16398 | } | |
16399 | ||
16400 | wxPyEndAllowThreads(__tstate); | |
16401 | if (PyErr_Occurred()) SWIG_fail; | |
16402 | } | |
cc6dd355 RD |
16403 | { |
16404 | #if wxUSE_UNICODE | |
16405 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16406 | #else | |
16407 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16408 | #endif | |
16409 | } | |
d14a1e28 RD |
16410 | return resultobj; |
16411 | fail: | |
16412 | return NULL; | |
16413 | } | |
16414 | ||
16415 | ||
16416 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16417 | PyObject *resultobj; | |
16418 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16419 | bool result; | |
16420 | PyObject * obj0 = 0 ; | |
16421 | char *kwnames[] = { | |
16422 | (char *) "self", NULL | |
16423 | }; | |
16424 | ||
16425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
16426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16427 | { | |
16428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16429 | result = (bool)(arg1)->GetColour(); | |
16430 | ||
16431 | wxPyEndAllowThreads(__tstate); | |
16432 | if (PyErr_Occurred()) SWIG_fail; | |
16433 | } | |
4d5c3d91 | 16434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16435 | return resultobj; |
16436 | fail: | |
16437 | return NULL; | |
16438 | } | |
16439 | ||
16440 | ||
16441 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16442 | PyObject *resultobj; | |
16443 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16444 | int result; | |
16445 | PyObject * obj0 = 0 ; | |
16446 | char *kwnames[] = { | |
16447 | (char *) "self", NULL | |
16448 | }; | |
16449 | ||
16450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
16451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16452 | { | |
16453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16454 | result = (int)(arg1)->GetDuplex(); | |
16455 | ||
16456 | wxPyEndAllowThreads(__tstate); | |
16457 | if (PyErr_Occurred()) SWIG_fail; | |
16458 | } | |
994141e6 | 16459 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16460 | return resultobj; |
16461 | fail: | |
16462 | return NULL; | |
16463 | } | |
16464 | ||
16465 | ||
16466 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16467 | PyObject *resultobj; | |
16468 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16469 | int result; | |
16470 | PyObject * obj0 = 0 ; | |
16471 | char *kwnames[] = { | |
16472 | (char *) "self", NULL | |
16473 | }; | |
16474 | ||
16475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
16476 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16477 | { | |
16478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16479 | result = (int)(arg1)->GetPaperId(); | |
16480 | ||
16481 | wxPyEndAllowThreads(__tstate); | |
16482 | if (PyErr_Occurred()) SWIG_fail; | |
16483 | } | |
994141e6 | 16484 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16485 | return resultobj; |
16486 | fail: | |
16487 | return NULL; | |
16488 | } | |
16489 | ||
16490 | ||
16491 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16492 | PyObject *resultobj; | |
16493 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16494 | wxSize *result; | |
16495 | PyObject * obj0 = 0 ; | |
16496 | char *kwnames[] = { | |
16497 | (char *) "self", NULL | |
16498 | }; | |
16499 | ||
16500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
16501 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16502 | { | |
16503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16504 | { | |
16505 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16506 | result = (wxSize *) &_result_ref; | |
16507 | } | |
16508 | ||
16509 | wxPyEndAllowThreads(__tstate); | |
16510 | if (PyErr_Occurred()) SWIG_fail; | |
16511 | } | |
16512 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0); | |
16513 | return resultobj; | |
16514 | fail: | |
16515 | return NULL; | |
16516 | } | |
16517 | ||
16518 | ||
16519 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16520 | PyObject *resultobj; | |
16521 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16522 | int result; |
d14a1e28 RD |
16523 | PyObject * obj0 = 0 ; |
16524 | char *kwnames[] = { | |
16525 | (char *) "self", NULL | |
16526 | }; | |
16527 | ||
16528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
16529 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16530 | { | |
16531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 16532 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16533 | |
16534 | wxPyEndAllowThreads(__tstate); | |
16535 | if (PyErr_Occurred()) SWIG_fail; | |
16536 | } | |
994141e6 | 16537 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16538 | return resultobj; |
16539 | fail: | |
16540 | return NULL; | |
16541 | } | |
16542 | ||
16543 | ||
16544 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16545 | PyObject *resultobj; | |
16546 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16547 | int arg2 ; | |
16548 | PyObject * obj0 = 0 ; | |
994141e6 | 16549 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16550 | char *kwnames[] = { |
16551 | (char *) "self",(char *) "v", NULL | |
16552 | }; | |
16553 | ||
994141e6 | 16554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16555 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
16556 | { |
16557 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
16558 | if (PyErr_Occurred()) SWIG_fail; | |
16559 | } | |
d14a1e28 RD |
16560 | { |
16561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16562 | (arg1)->SetNoCopies(arg2); | |
16563 | ||
16564 | wxPyEndAllowThreads(__tstate); | |
16565 | if (PyErr_Occurred()) SWIG_fail; | |
16566 | } | |
16567 | Py_INCREF(Py_None); resultobj = Py_None; | |
16568 | return resultobj; | |
16569 | fail: | |
16570 | return NULL; | |
16571 | } | |
16572 | ||
16573 | ||
16574 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16575 | PyObject *resultobj; | |
16576 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16577 | bool arg2 ; | |
16578 | PyObject * obj0 = 0 ; | |
16579 | PyObject * obj1 = 0 ; | |
16580 | char *kwnames[] = { | |
16581 | (char *) "self",(char *) "flag", NULL | |
16582 | }; | |
16583 | ||
16584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
16585 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 16586 | { |
994141e6 | 16587 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
16588 | if (PyErr_Occurred()) SWIG_fail; |
16589 | } | |
d14a1e28 RD |
16590 | { |
16591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16592 | (arg1)->SetCollate(arg2); | |
16593 | ||
16594 | wxPyEndAllowThreads(__tstate); | |
16595 | if (PyErr_Occurred()) SWIG_fail; | |
16596 | } | |
16597 | Py_INCREF(Py_None); resultobj = Py_None; | |
16598 | return resultobj; | |
16599 | fail: | |
16600 | return NULL; | |
16601 | } | |
16602 | ||
16603 | ||
16604 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16605 | PyObject *resultobj; | |
16606 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16607 | int arg2 ; | |
16608 | PyObject * obj0 = 0 ; | |
994141e6 | 16609 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16610 | char *kwnames[] = { |
16611 | (char *) "self",(char *) "orient", NULL | |
16612 | }; | |
16613 | ||
994141e6 | 16614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16615 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
16616 | { |
16617 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
16618 | if (PyErr_Occurred()) SWIG_fail; | |
16619 | } | |
d14a1e28 RD |
16620 | { |
16621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16622 | (arg1)->SetOrientation(arg2); | |
16623 | ||
16624 | wxPyEndAllowThreads(__tstate); | |
16625 | if (PyErr_Occurred()) SWIG_fail; | |
16626 | } | |
16627 | Py_INCREF(Py_None); resultobj = Py_None; | |
16628 | return resultobj; | |
16629 | fail: | |
16630 | return NULL; | |
16631 | } | |
16632 | ||
16633 | ||
16634 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16635 | PyObject *resultobj; | |
16636 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16637 | wxString *arg2 = 0 ; | |
e811c8ce | 16638 | bool temp2 = False ; |
d14a1e28 RD |
16639 | PyObject * obj0 = 0 ; |
16640 | PyObject * obj1 = 0 ; | |
16641 | char *kwnames[] = { | |
16642 | (char *) "self",(char *) "name", NULL | |
16643 | }; | |
16644 | ||
16645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
16646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16647 | { | |
16648 | arg2 = wxString_in_helper(obj1); | |
16649 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 16650 | temp2 = True; |
d14a1e28 RD |
16651 | } |
16652 | { | |
16653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16654 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16655 | ||
16656 | wxPyEndAllowThreads(__tstate); | |
16657 | if (PyErr_Occurred()) SWIG_fail; | |
16658 | } | |
16659 | Py_INCREF(Py_None); resultobj = Py_None; | |
16660 | { | |
16661 | if (temp2) | |
16662 | delete arg2; | |
16663 | } | |
16664 | return resultobj; | |
16665 | fail: | |
16666 | { | |
16667 | if (temp2) | |
16668 | delete arg2; | |
16669 | } | |
16670 | return NULL; | |
16671 | } | |
16672 | ||
16673 | ||
16674 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16675 | PyObject *resultobj; | |
16676 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16677 | bool arg2 ; | |
16678 | PyObject * obj0 = 0 ; | |
16679 | PyObject * obj1 = 0 ; | |
16680 | char *kwnames[] = { | |
16681 | (char *) "self",(char *) "colour", NULL | |
16682 | }; | |
16683 | ||
16684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
16685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 16686 | { |
994141e6 | 16687 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
16688 | if (PyErr_Occurred()) SWIG_fail; |
16689 | } | |
d14a1e28 RD |
16690 | { |
16691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16692 | (arg1)->SetColour(arg2); | |
16693 | ||
16694 | wxPyEndAllowThreads(__tstate); | |
16695 | if (PyErr_Occurred()) SWIG_fail; | |
16696 | } | |
16697 | Py_INCREF(Py_None); resultobj = Py_None; | |
16698 | return resultobj; | |
16699 | fail: | |
16700 | return NULL; | |
16701 | } | |
16702 | ||
16703 | ||
16704 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16705 | PyObject *resultobj; | |
16706 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16707 | int arg2 ; | |
16708 | PyObject * obj0 = 0 ; | |
994141e6 | 16709 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16710 | char *kwnames[] = { |
16711 | (char *) "self",(char *) "duplex", NULL | |
16712 | }; | |
16713 | ||
994141e6 | 16714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
16716 | { |
16717 | arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1); | |
16718 | if (PyErr_Occurred()) SWIG_fail; | |
16719 | } | |
d14a1e28 RD |
16720 | { |
16721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16722 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
16723 | ||
16724 | wxPyEndAllowThreads(__tstate); | |
16725 | if (PyErr_Occurred()) SWIG_fail; | |
16726 | } | |
16727 | Py_INCREF(Py_None); resultobj = Py_None; | |
16728 | return resultobj; | |
16729 | fail: | |
16730 | return NULL; | |
16731 | } | |
16732 | ||
16733 | ||
16734 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16735 | PyObject *resultobj; | |
16736 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16737 | int arg2 ; | |
16738 | PyObject * obj0 = 0 ; | |
994141e6 | 16739 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16740 | char *kwnames[] = { |
16741 | (char *) "self",(char *) "sizeId", NULL | |
16742 | }; | |
16743 | ||
994141e6 | 16744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
16746 | { |
16747 | arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1); | |
16748 | if (PyErr_Occurred()) SWIG_fail; | |
16749 | } | |
d14a1e28 RD |
16750 | { |
16751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16752 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16753 | ||
16754 | wxPyEndAllowThreads(__tstate); | |
16755 | if (PyErr_Occurred()) SWIG_fail; | |
16756 | } | |
16757 | Py_INCREF(Py_None); resultobj = Py_None; | |
16758 | return resultobj; | |
16759 | fail: | |
16760 | return NULL; | |
16761 | } | |
16762 | ||
16763 | ||
16764 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16765 | PyObject *resultobj; | |
16766 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16767 | wxSize *arg2 = 0 ; | |
16768 | wxSize temp2 ; | |
16769 | PyObject * obj0 = 0 ; | |
16770 | PyObject * obj1 = 0 ; | |
16771 | char *kwnames[] = { | |
16772 | (char *) "self",(char *) "sz", NULL | |
16773 | }; | |
16774 | ||
16775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
16776 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16777 | { | |
16778 | arg2 = &temp2; | |
16779 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16780 | } | |
16781 | { | |
16782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16783 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16784 | ||
16785 | wxPyEndAllowThreads(__tstate); | |
16786 | if (PyErr_Occurred()) SWIG_fail; | |
16787 | } | |
16788 | Py_INCREF(Py_None); resultobj = Py_None; | |
16789 | return resultobj; | |
16790 | fail: | |
16791 | return NULL; | |
16792 | } | |
16793 | ||
16794 | ||
16795 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16796 | PyObject *resultobj; | |
16797 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16798 | int arg2 ; |
d14a1e28 | 16799 | PyObject * obj0 = 0 ; |
994141e6 | 16800 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16801 | char *kwnames[] = { |
16802 | (char *) "self",(char *) "quality", NULL | |
16803 | }; | |
16804 | ||
994141e6 | 16805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
16807 | { |
16808 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
16809 | if (PyErr_Occurred()) SWIG_fail; | |
16810 | } | |
d14a1e28 RD |
16811 | { |
16812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16813 | (arg1)->SetQuality(arg2); | |
16814 | ||
16815 | wxPyEndAllowThreads(__tstate); | |
16816 | if (PyErr_Occurred()) SWIG_fail; | |
16817 | } | |
16818 | Py_INCREF(Py_None); resultobj = Py_None; | |
16819 | return resultobj; | |
16820 | fail: | |
16821 | return NULL; | |
16822 | } | |
16823 | ||
16824 | ||
16825 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16826 | PyObject *resultobj; | |
16827 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16828 | wxString *result; | |
16829 | PyObject * obj0 = 0 ; | |
16830 | char *kwnames[] = { | |
16831 | (char *) "self", NULL | |
16832 | }; | |
16833 | ||
16834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
16835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16836 | { | |
16837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16838 | { | |
16839 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
16840 | result = (wxString *) &_result_ref; | |
16841 | } | |
16842 | ||
16843 | wxPyEndAllowThreads(__tstate); | |
16844 | if (PyErr_Occurred()) SWIG_fail; | |
16845 | } | |
cc6dd355 RD |
16846 | { |
16847 | #if wxUSE_UNICODE | |
16848 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16849 | #else | |
16850 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16851 | #endif | |
16852 | } | |
d14a1e28 RD |
16853 | return resultobj; |
16854 | fail: | |
16855 | return NULL; | |
16856 | } | |
16857 | ||
16858 | ||
16859 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16860 | PyObject *resultobj; | |
16861 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16862 | wxString *result; | |
16863 | PyObject * obj0 = 0 ; | |
16864 | char *kwnames[] = { | |
16865 | (char *) "self", NULL | |
16866 | }; | |
16867 | ||
16868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
16869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16870 | { | |
16871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16872 | { | |
16873 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
16874 | result = (wxString *) &_result_ref; | |
16875 | } | |
16876 | ||
16877 | wxPyEndAllowThreads(__tstate); | |
16878 | if (PyErr_Occurred()) SWIG_fail; | |
16879 | } | |
cc6dd355 RD |
16880 | { |
16881 | #if wxUSE_UNICODE | |
16882 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16883 | #else | |
16884 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16885 | #endif | |
16886 | } | |
d14a1e28 RD |
16887 | return resultobj; |
16888 | fail: | |
16889 | return NULL; | |
16890 | } | |
16891 | ||
16892 | ||
16893 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16894 | PyObject *resultobj; | |
16895 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16896 | wxString *result; | |
16897 | PyObject * obj0 = 0 ; | |
16898 | char *kwnames[] = { | |
16899 | (char *) "self", NULL | |
16900 | }; | |
16901 | ||
16902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
16903 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16904 | { | |
16905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16906 | { | |
16907 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
16908 | result = (wxString *) &_result_ref; | |
16909 | } | |
16910 | ||
16911 | wxPyEndAllowThreads(__tstate); | |
16912 | if (PyErr_Occurred()) SWIG_fail; | |
16913 | } | |
cc6dd355 RD |
16914 | { |
16915 | #if wxUSE_UNICODE | |
16916 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16917 | #else | |
16918 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16919 | #endif | |
16920 | } | |
d14a1e28 RD |
16921 | return resultobj; |
16922 | fail: | |
16923 | return NULL; | |
16924 | } | |
16925 | ||
16926 | ||
16927 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16928 | PyObject *resultobj; | |
16929 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16930 | wxString *result; | |
16931 | PyObject * obj0 = 0 ; | |
16932 | char *kwnames[] = { | |
16933 | (char *) "self", NULL | |
16934 | }; | |
16935 | ||
16936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
16937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16938 | { | |
16939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16940 | { | |
16941 | wxString const &_result_ref = (arg1)->GetFilename(); | |
16942 | result = (wxString *) &_result_ref; | |
16943 | } | |
16944 | ||
16945 | wxPyEndAllowThreads(__tstate); | |
16946 | if (PyErr_Occurred()) SWIG_fail; | |
16947 | } | |
cc6dd355 RD |
16948 | { |
16949 | #if wxUSE_UNICODE | |
16950 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16951 | #else | |
16952 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16953 | #endif | |
16954 | } | |
d14a1e28 RD |
16955 | return resultobj; |
16956 | fail: | |
16957 | return NULL; | |
16958 | } | |
16959 | ||
16960 | ||
16961 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16962 | PyObject *resultobj; | |
16963 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16964 | wxString *result; | |
16965 | PyObject * obj0 = 0 ; | |
16966 | char *kwnames[] = { | |
16967 | (char *) "self", NULL | |
16968 | }; | |
16969 | ||
16970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
16971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16972 | { | |
16973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16974 | { | |
16975 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
16976 | result = (wxString *) &_result_ref; | |
16977 | } | |
16978 | ||
16979 | wxPyEndAllowThreads(__tstate); | |
16980 | if (PyErr_Occurred()) SWIG_fail; | |
16981 | } | |
cc6dd355 RD |
16982 | { |
16983 | #if wxUSE_UNICODE | |
16984 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16985 | #else | |
16986 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16987 | #endif | |
16988 | } | |
d14a1e28 RD |
16989 | return resultobj; |
16990 | fail: | |
16991 | return NULL; | |
16992 | } | |
16993 | ||
16994 | ||
16995 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16996 | PyObject *resultobj; | |
16997 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16998 | double result; | |
16999 | PyObject * obj0 = 0 ; | |
17000 | char *kwnames[] = { | |
17001 | (char *) "self", NULL | |
17002 | }; | |
17003 | ||
17004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
17005 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17006 | { | |
17007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17008 | result = (double)(arg1)->GetPrinterScaleX(); | |
17009 | ||
17010 | wxPyEndAllowThreads(__tstate); | |
17011 | if (PyErr_Occurred()) SWIG_fail; | |
17012 | } | |
994141e6 | 17013 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
17014 | return resultobj; |
17015 | fail: | |
17016 | return NULL; | |
17017 | } | |
17018 | ||
17019 | ||
17020 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17021 | PyObject *resultobj; | |
17022 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17023 | double result; | |
17024 | PyObject * obj0 = 0 ; | |
17025 | char *kwnames[] = { | |
17026 | (char *) "self", NULL | |
17027 | }; | |
17028 | ||
17029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
17030 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17031 | { | |
17032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17033 | result = (double)(arg1)->GetPrinterScaleY(); | |
17034 | ||
17035 | wxPyEndAllowThreads(__tstate); | |
17036 | if (PyErr_Occurred()) SWIG_fail; | |
17037 | } | |
994141e6 | 17038 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
17039 | return resultobj; |
17040 | fail: | |
17041 | return NULL; | |
17042 | } | |
17043 | ||
17044 | ||
17045 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17046 | PyObject *resultobj; | |
17047 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17048 | long result; | |
17049 | PyObject * obj0 = 0 ; | |
17050 | char *kwnames[] = { | |
17051 | (char *) "self", NULL | |
17052 | }; | |
17053 | ||
17054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
17055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17056 | { | |
17057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17058 | result = (long)(arg1)->GetPrinterTranslateX(); | |
17059 | ||
17060 | wxPyEndAllowThreads(__tstate); | |
17061 | if (PyErr_Occurred()) SWIG_fail; | |
17062 | } | |
994141e6 | 17063 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
17064 | return resultobj; |
17065 | fail: | |
17066 | return NULL; | |
17067 | } | |
17068 | ||
17069 | ||
17070 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17071 | PyObject *resultobj; | |
17072 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17073 | long result; | |
17074 | PyObject * obj0 = 0 ; | |
17075 | char *kwnames[] = { | |
17076 | (char *) "self", NULL | |
17077 | }; | |
17078 | ||
17079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
17080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17081 | { | |
17082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17083 | result = (long)(arg1)->GetPrinterTranslateY(); | |
17084 | ||
17085 | wxPyEndAllowThreads(__tstate); | |
17086 | if (PyErr_Occurred()) SWIG_fail; | |
17087 | } | |
994141e6 | 17088 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
17089 | return resultobj; |
17090 | fail: | |
17091 | return NULL; | |
17092 | } | |
17093 | ||
17094 | ||
17095 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17096 | PyObject *resultobj; | |
17097 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17098 | int result; | |
17099 | PyObject * obj0 = 0 ; | |
17100 | char *kwnames[] = { | |
17101 | (char *) "self", NULL | |
17102 | }; | |
17103 | ||
17104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
17105 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17106 | { | |
17107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17108 | result = (int)(arg1)->GetPrintMode(); | |
17109 | ||
17110 | wxPyEndAllowThreads(__tstate); | |
17111 | if (PyErr_Occurred()) SWIG_fail; | |
17112 | } | |
994141e6 | 17113 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
17114 | return resultobj; |
17115 | fail: | |
17116 | return NULL; | |
17117 | } | |
17118 | ||
17119 | ||
17120 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17121 | PyObject *resultobj; | |
17122 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17123 | wxString *arg2 = 0 ; | |
e811c8ce | 17124 | bool temp2 = False ; |
d14a1e28 RD |
17125 | PyObject * obj0 = 0 ; |
17126 | PyObject * obj1 = 0 ; | |
17127 | char *kwnames[] = { | |
17128 | (char *) "self",(char *) "command", NULL | |
17129 | }; | |
17130 | ||
17131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
17132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17133 | { | |
17134 | arg2 = wxString_in_helper(obj1); | |
17135 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17136 | temp2 = True; |
d14a1e28 RD |
17137 | } |
17138 | { | |
17139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17140 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
17141 | ||
17142 | wxPyEndAllowThreads(__tstate); | |
17143 | if (PyErr_Occurred()) SWIG_fail; | |
17144 | } | |
17145 | Py_INCREF(Py_None); resultobj = Py_None; | |
17146 | { | |
17147 | if (temp2) | |
17148 | delete arg2; | |
17149 | } | |
17150 | return resultobj; | |
17151 | fail: | |
17152 | { | |
17153 | if (temp2) | |
17154 | delete arg2; | |
17155 | } | |
17156 | return NULL; | |
17157 | } | |
17158 | ||
17159 | ||
17160 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17161 | PyObject *resultobj; | |
17162 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17163 | wxString *arg2 = 0 ; | |
e811c8ce | 17164 | bool temp2 = False ; |
d14a1e28 RD |
17165 | PyObject * obj0 = 0 ; |
17166 | PyObject * obj1 = 0 ; | |
17167 | char *kwnames[] = { | |
17168 | (char *) "self",(char *) "options", NULL | |
17169 | }; | |
17170 | ||
17171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
17172 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17173 | { | |
17174 | arg2 = wxString_in_helper(obj1); | |
17175 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17176 | temp2 = True; |
d14a1e28 RD |
17177 | } |
17178 | { | |
17179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17180 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
17181 | ||
17182 | wxPyEndAllowThreads(__tstate); | |
17183 | if (PyErr_Occurred()) SWIG_fail; | |
17184 | } | |
17185 | Py_INCREF(Py_None); resultobj = Py_None; | |
17186 | { | |
17187 | if (temp2) | |
17188 | delete arg2; | |
17189 | } | |
17190 | return resultobj; | |
17191 | fail: | |
17192 | { | |
17193 | if (temp2) | |
17194 | delete arg2; | |
17195 | } | |
17196 | return NULL; | |
17197 | } | |
17198 | ||
17199 | ||
17200 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17201 | PyObject *resultobj; | |
17202 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17203 | wxString *arg2 = 0 ; | |
e811c8ce | 17204 | bool temp2 = False ; |
d14a1e28 RD |
17205 | PyObject * obj0 = 0 ; |
17206 | PyObject * obj1 = 0 ; | |
17207 | char *kwnames[] = { | |
17208 | (char *) "self",(char *) "command", NULL | |
17209 | }; | |
17210 | ||
17211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
17212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17213 | { | |
17214 | arg2 = wxString_in_helper(obj1); | |
17215 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17216 | temp2 = True; |
d14a1e28 RD |
17217 | } |
17218 | { | |
17219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17220 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
17221 | ||
17222 | wxPyEndAllowThreads(__tstate); | |
17223 | if (PyErr_Occurred()) SWIG_fail; | |
17224 | } | |
17225 | Py_INCREF(Py_None); resultobj = Py_None; | |
17226 | { | |
17227 | if (temp2) | |
17228 | delete arg2; | |
17229 | } | |
17230 | return resultobj; | |
17231 | fail: | |
17232 | { | |
17233 | if (temp2) | |
17234 | delete arg2; | |
17235 | } | |
17236 | return NULL; | |
17237 | } | |
17238 | ||
17239 | ||
17240 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17241 | PyObject *resultobj; | |
17242 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17243 | wxString *arg2 = 0 ; | |
e811c8ce | 17244 | bool temp2 = False ; |
d14a1e28 RD |
17245 | PyObject * obj0 = 0 ; |
17246 | PyObject * obj1 = 0 ; | |
17247 | char *kwnames[] = { | |
17248 | (char *) "self",(char *) "filename", NULL | |
17249 | }; | |
17250 | ||
17251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
17252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17253 | { | |
17254 | arg2 = wxString_in_helper(obj1); | |
17255 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17256 | temp2 = True; |
d14a1e28 RD |
17257 | } |
17258 | { | |
17259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17260 | (arg1)->SetFilename((wxString const &)*arg2); | |
17261 | ||
17262 | wxPyEndAllowThreads(__tstate); | |
17263 | if (PyErr_Occurred()) SWIG_fail; | |
17264 | } | |
17265 | Py_INCREF(Py_None); resultobj = Py_None; | |
17266 | { | |
17267 | if (temp2) | |
17268 | delete arg2; | |
17269 | } | |
17270 | return resultobj; | |
17271 | fail: | |
17272 | { | |
17273 | if (temp2) | |
17274 | delete arg2; | |
17275 | } | |
17276 | return NULL; | |
17277 | } | |
17278 | ||
17279 | ||
17280 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17281 | PyObject *resultobj; | |
17282 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17283 | wxString *arg2 = 0 ; | |
e811c8ce | 17284 | bool temp2 = False ; |
d14a1e28 RD |
17285 | PyObject * obj0 = 0 ; |
17286 | PyObject * obj1 = 0 ; | |
17287 | char *kwnames[] = { | |
17288 | (char *) "self",(char *) "path", NULL | |
17289 | }; | |
17290 | ||
17291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
17292 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17293 | { | |
17294 | arg2 = wxString_in_helper(obj1); | |
17295 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17296 | temp2 = True; |
d14a1e28 RD |
17297 | } |
17298 | { | |
17299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17300 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17301 | ||
17302 | wxPyEndAllowThreads(__tstate); | |
17303 | if (PyErr_Occurred()) SWIG_fail; | |
17304 | } | |
17305 | Py_INCREF(Py_None); resultobj = Py_None; | |
17306 | { | |
17307 | if (temp2) | |
17308 | delete arg2; | |
17309 | } | |
17310 | return resultobj; | |
17311 | fail: | |
17312 | { | |
17313 | if (temp2) | |
17314 | delete arg2; | |
17315 | } | |
17316 | return NULL; | |
17317 | } | |
17318 | ||
17319 | ||
17320 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17321 | PyObject *resultobj; | |
17322 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17323 | double arg2 ; | |
17324 | PyObject * obj0 = 0 ; | |
994141e6 | 17325 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17326 | char *kwnames[] = { |
17327 | (char *) "self",(char *) "x", NULL | |
17328 | }; | |
17329 | ||
994141e6 | 17330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17331 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17332 | { |
17333 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17334 | if (PyErr_Occurred()) SWIG_fail; | |
17335 | } | |
d14a1e28 RD |
17336 | { |
17337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17338 | (arg1)->SetPrinterScaleX(arg2); | |
17339 | ||
17340 | wxPyEndAllowThreads(__tstate); | |
17341 | if (PyErr_Occurred()) SWIG_fail; | |
17342 | } | |
17343 | Py_INCREF(Py_None); resultobj = Py_None; | |
17344 | return resultobj; | |
17345 | fail: | |
17346 | return NULL; | |
17347 | } | |
17348 | ||
17349 | ||
17350 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17351 | PyObject *resultobj; | |
17352 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17353 | double arg2 ; | |
17354 | PyObject * obj0 = 0 ; | |
994141e6 | 17355 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17356 | char *kwnames[] = { |
17357 | (char *) "self",(char *) "y", NULL | |
17358 | }; | |
17359 | ||
994141e6 | 17360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17361 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17362 | { |
17363 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17364 | if (PyErr_Occurred()) SWIG_fail; | |
17365 | } | |
d14a1e28 RD |
17366 | { |
17367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17368 | (arg1)->SetPrinterScaleY(arg2); | |
17369 | ||
17370 | wxPyEndAllowThreads(__tstate); | |
17371 | if (PyErr_Occurred()) SWIG_fail; | |
17372 | } | |
17373 | Py_INCREF(Py_None); resultobj = Py_None; | |
17374 | return resultobj; | |
17375 | fail: | |
17376 | return NULL; | |
17377 | } | |
17378 | ||
17379 | ||
17380 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17381 | PyObject *resultobj; | |
17382 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17383 | double arg2 ; | |
17384 | double arg3 ; | |
17385 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17386 | PyObject * obj1 = 0 ; |
17387 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17388 | char *kwnames[] = { |
17389 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17390 | }; | |
17391 | ||
994141e6 | 17392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 17393 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17394 | { |
17395 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17396 | if (PyErr_Occurred()) SWIG_fail; | |
17397 | } | |
17398 | { | |
17399 | arg3 = (double) SWIG_PyObj_AsDouble(obj2); | |
17400 | if (PyErr_Occurred()) SWIG_fail; | |
17401 | } | |
d14a1e28 RD |
17402 | { |
17403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17404 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17405 | ||
17406 | wxPyEndAllowThreads(__tstate); | |
17407 | if (PyErr_Occurred()) SWIG_fail; | |
17408 | } | |
17409 | Py_INCREF(Py_None); resultobj = Py_None; | |
17410 | return resultobj; | |
17411 | fail: | |
17412 | return NULL; | |
17413 | } | |
17414 | ||
17415 | ||
17416 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17417 | PyObject *resultobj; | |
17418 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17419 | long arg2 ; | |
17420 | PyObject * obj0 = 0 ; | |
994141e6 | 17421 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17422 | char *kwnames[] = { |
17423 | (char *) "self",(char *) "x", NULL | |
17424 | }; | |
17425 | ||
994141e6 | 17426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17427 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17428 | { |
17429 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17430 | if (PyErr_Occurred()) SWIG_fail; | |
17431 | } | |
d14a1e28 RD |
17432 | { |
17433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17434 | (arg1)->SetPrinterTranslateX(arg2); | |
17435 | ||
17436 | wxPyEndAllowThreads(__tstate); | |
17437 | if (PyErr_Occurred()) SWIG_fail; | |
17438 | } | |
17439 | Py_INCREF(Py_None); resultobj = Py_None; | |
17440 | return resultobj; | |
17441 | fail: | |
17442 | return NULL; | |
17443 | } | |
17444 | ||
17445 | ||
17446 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17447 | PyObject *resultobj; | |
17448 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17449 | long arg2 ; | |
17450 | PyObject * obj0 = 0 ; | |
994141e6 | 17451 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17452 | char *kwnames[] = { |
17453 | (char *) "self",(char *) "y", NULL | |
17454 | }; | |
17455 | ||
994141e6 | 17456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17458 | { |
17459 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17460 | if (PyErr_Occurred()) SWIG_fail; | |
17461 | } | |
d14a1e28 RD |
17462 | { |
17463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17464 | (arg1)->SetPrinterTranslateY(arg2); | |
17465 | ||
17466 | wxPyEndAllowThreads(__tstate); | |
17467 | if (PyErr_Occurred()) SWIG_fail; | |
17468 | } | |
17469 | Py_INCREF(Py_None); resultobj = Py_None; | |
17470 | return resultobj; | |
17471 | fail: | |
17472 | return NULL; | |
17473 | } | |
17474 | ||
17475 | ||
17476 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17477 | PyObject *resultobj; | |
17478 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17479 | long arg2 ; | |
17480 | long arg3 ; | |
17481 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17482 | PyObject * obj1 = 0 ; |
17483 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17484 | char *kwnames[] = { |
17485 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17486 | }; | |
17487 | ||
994141e6 | 17488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 17489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17490 | { |
17491 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17492 | if (PyErr_Occurred()) SWIG_fail; | |
17493 | } | |
17494 | { | |
17495 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
17496 | if (PyErr_Occurred()) SWIG_fail; | |
17497 | } | |
d14a1e28 RD |
17498 | { |
17499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17500 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17501 | ||
17502 | wxPyEndAllowThreads(__tstate); | |
17503 | if (PyErr_Occurred()) SWIG_fail; | |
17504 | } | |
17505 | Py_INCREF(Py_None); resultobj = Py_None; | |
17506 | return resultobj; | |
17507 | fail: | |
17508 | return NULL; | |
17509 | } | |
17510 | ||
17511 | ||
17512 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17513 | PyObject *resultobj; | |
17514 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17515 | int arg2 ; | |
17516 | PyObject * obj0 = 0 ; | |
994141e6 | 17517 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17518 | char *kwnames[] = { |
17519 | (char *) "self",(char *) "printMode", NULL | |
17520 | }; | |
17521 | ||
994141e6 | 17522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
17524 | { |
17525 | arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1); | |
17526 | if (PyErr_Occurred()) SWIG_fail; | |
17527 | } | |
d14a1e28 RD |
17528 | { |
17529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17530 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17531 | ||
17532 | wxPyEndAllowThreads(__tstate); | |
17533 | if (PyErr_Occurred()) SWIG_fail; | |
17534 | } | |
17535 | Py_INCREF(Py_None); resultobj = Py_None; | |
17536 | return resultobj; | |
17537 | fail: | |
17538 | return NULL; | |
17539 | } | |
17540 | ||
17541 | ||
db914595 RD |
17542 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
17543 | PyObject *resultobj; | |
17544 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17545 | wxOutputStream *result; | |
17546 | PyObject * obj0 = 0 ; | |
17547 | char *kwnames[] = { | |
17548 | (char *) "self", NULL | |
17549 | }; | |
17550 | ||
17551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
17552 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17553 | { | |
17554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17555 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
17556 | ||
17557 | wxPyEndAllowThreads(__tstate); | |
17558 | if (PyErr_Occurred()) SWIG_fail; | |
17559 | } | |
17560 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0); | |
17561 | return resultobj; | |
17562 | fail: | |
17563 | return NULL; | |
17564 | } | |
17565 | ||
17566 | ||
17567 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17568 | PyObject *resultobj; | |
17569 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17570 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
17571 | PyObject * obj0 = 0 ; | |
17572 | PyObject * obj1 = 0 ; | |
17573 | char *kwnames[] = { | |
17574 | (char *) "self",(char *) "outputstream", NULL | |
17575 | }; | |
17576 | ||
17577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
17578 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17579 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17580 | { | |
17581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17582 | (arg1)->SetOutputStream(arg2); | |
17583 | ||
17584 | wxPyEndAllowThreads(__tstate); | |
17585 | if (PyErr_Occurred()) SWIG_fail; | |
17586 | } | |
17587 | Py_INCREF(Py_None); resultobj = Py_None; | |
17588 | return resultobj; | |
17589 | fail: | |
17590 | return NULL; | |
17591 | } | |
17592 | ||
17593 | ||
d14a1e28 RD |
17594 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
17595 | PyObject *obj; | |
17596 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17597 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17598 | Py_INCREF(obj); | |
17599 | return Py_BuildValue((char *)""); | |
17600 | } | |
17601 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17602 | PyObject *resultobj; | |
17603 | wxPageSetupDialogData *result; | |
17604 | char *kwnames[] = { | |
17605 | NULL | |
17606 | }; | |
17607 | ||
17608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17609 | { | |
17610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17611 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17612 | ||
17613 | wxPyEndAllowThreads(__tstate); | |
17614 | if (PyErr_Occurred()) SWIG_fail; | |
17615 | } | |
17616 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1); | |
17617 | return resultobj; | |
17618 | fail: | |
17619 | return NULL; | |
17620 | } | |
17621 | ||
17622 | ||
17623 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17624 | PyObject *resultobj; | |
17625 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17626 | PyObject * obj0 = 0 ; | |
17627 | char *kwnames[] = { | |
17628 | (char *) "self", NULL | |
17629 | }; | |
17630 | ||
17631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
17632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17633 | { | |
17634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17635 | delete arg1; | |
17636 | ||
17637 | wxPyEndAllowThreads(__tstate); | |
17638 | if (PyErr_Occurred()) SWIG_fail; | |
17639 | } | |
17640 | Py_INCREF(Py_None); resultobj = Py_None; | |
17641 | return resultobj; | |
17642 | fail: | |
17643 | return NULL; | |
17644 | } | |
17645 | ||
17646 | ||
17647 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17648 | PyObject *resultobj; | |
17649 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17650 | bool arg2 ; | |
17651 | PyObject * obj0 = 0 ; | |
17652 | PyObject * obj1 = 0 ; | |
17653 | char *kwnames[] = { | |
17654 | (char *) "self",(char *) "flag", NULL | |
17655 | }; | |
17656 | ||
17657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
17658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 17659 | { |
994141e6 | 17660 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
17661 | if (PyErr_Occurred()) SWIG_fail; |
17662 | } | |
d14a1e28 RD |
17663 | { |
17664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17665 | (arg1)->EnableHelp(arg2); | |
17666 | ||
17667 | wxPyEndAllowThreads(__tstate); | |
17668 | if (PyErr_Occurred()) SWIG_fail; | |
17669 | } | |
17670 | Py_INCREF(Py_None); resultobj = Py_None; | |
17671 | return resultobj; | |
17672 | fail: | |
17673 | return NULL; | |
17674 | } | |
17675 | ||
17676 | ||
17677 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17678 | PyObject *resultobj; | |
17679 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17680 | bool arg2 ; | |
17681 | PyObject * obj0 = 0 ; | |
17682 | PyObject * obj1 = 0 ; | |
17683 | char *kwnames[] = { | |
17684 | (char *) "self",(char *) "flag", NULL | |
17685 | }; | |
17686 | ||
17687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
17688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 17689 | { |
994141e6 | 17690 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
17691 | if (PyErr_Occurred()) SWIG_fail; |
17692 | } | |
d14a1e28 RD |
17693 | { |
17694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17695 | (arg1)->EnableMargins(arg2); | |
17696 | ||
17697 | wxPyEndAllowThreads(__tstate); | |
17698 | if (PyErr_Occurred()) SWIG_fail; | |
17699 | } | |
17700 | Py_INCREF(Py_None); resultobj = Py_None; | |
17701 | return resultobj; | |
17702 | fail: | |
17703 | return NULL; | |
17704 | } | |
17705 | ||
17706 | ||
17707 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17708 | PyObject *resultobj; | |
17709 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17710 | bool arg2 ; | |
17711 | PyObject * obj0 = 0 ; | |
17712 | PyObject * obj1 = 0 ; | |
17713 | char *kwnames[] = { | |
17714 | (char *) "self",(char *) "flag", NULL | |
17715 | }; | |
17716 | ||
17717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
17718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 17719 | { |
994141e6 | 17720 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
17721 | if (PyErr_Occurred()) SWIG_fail; |
17722 | } | |
d14a1e28 RD |
17723 | { |
17724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17725 | (arg1)->EnableOrientation(arg2); | |
17726 | ||
17727 | wxPyEndAllowThreads(__tstate); | |
17728 | if (PyErr_Occurred()) SWIG_fail; | |
17729 | } | |
17730 | Py_INCREF(Py_None); resultobj = Py_None; | |
17731 | return resultobj; | |
17732 | fail: | |
17733 | return NULL; | |
17734 | } | |
17735 | ||
17736 | ||
17737 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17738 | PyObject *resultobj; | |
17739 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17740 | bool arg2 ; | |
17741 | PyObject * obj0 = 0 ; | |
17742 | PyObject * obj1 = 0 ; | |
17743 | char *kwnames[] = { | |
17744 | (char *) "self",(char *) "flag", NULL | |
17745 | }; | |
17746 | ||
17747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
17748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 17749 | { |
994141e6 | 17750 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
17751 | if (PyErr_Occurred()) SWIG_fail; |
17752 | } | |
d14a1e28 RD |
17753 | { |
17754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17755 | (arg1)->EnablePaper(arg2); | |
17756 | ||
17757 | wxPyEndAllowThreads(__tstate); | |
17758 | if (PyErr_Occurred()) SWIG_fail; | |
17759 | } | |
17760 | Py_INCREF(Py_None); resultobj = Py_None; | |
17761 | return resultobj; | |
17762 | fail: | |
17763 | return NULL; | |
17764 | } | |
17765 | ||
17766 | ||
17767 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17768 | PyObject *resultobj; | |
17769 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17770 | bool arg2 ; | |
17771 | PyObject * obj0 = 0 ; | |
17772 | PyObject * obj1 = 0 ; | |
17773 | char *kwnames[] = { | |
17774 | (char *) "self",(char *) "flag", NULL | |
17775 | }; | |
17776 | ||
17777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
17778 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 17779 | { |
994141e6 | 17780 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
17781 | if (PyErr_Occurred()) SWIG_fail; |
17782 | } | |
d14a1e28 RD |
17783 | { |
17784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17785 | (arg1)->EnablePrinter(arg2); | |
17786 | ||
17787 | wxPyEndAllowThreads(__tstate); | |
17788 | if (PyErr_Occurred()) SWIG_fail; | |
17789 | } | |
17790 | Py_INCREF(Py_None); resultobj = Py_None; | |
17791 | return resultobj; | |
17792 | fail: | |
17793 | return NULL; | |
17794 | } | |
17795 | ||
17796 | ||
17797 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17798 | PyObject *resultobj; | |
17799 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17800 | bool result; | |
17801 | PyObject * obj0 = 0 ; | |
17802 | char *kwnames[] = { | |
17803 | (char *) "self", NULL | |
17804 | }; | |
17805 | ||
17806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
17807 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17808 | { | |
17809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17810 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
17811 | ||
17812 | wxPyEndAllowThreads(__tstate); | |
17813 | if (PyErr_Occurred()) SWIG_fail; | |
17814 | } | |
4d5c3d91 | 17815 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17816 | return resultobj; |
17817 | fail: | |
17818 | return NULL; | |
17819 | } | |
17820 | ||
17821 | ||
17822 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17823 | PyObject *resultobj; | |
17824 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17825 | bool result; | |
17826 | PyObject * obj0 = 0 ; | |
17827 | char *kwnames[] = { | |
17828 | (char *) "self", NULL | |
17829 | }; | |
17830 | ||
17831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
17832 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17833 | { | |
17834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17835 | result = (bool)(arg1)->GetEnableMargins(); | |
17836 | ||
17837 | wxPyEndAllowThreads(__tstate); | |
17838 | if (PyErr_Occurred()) SWIG_fail; | |
17839 | } | |
4d5c3d91 | 17840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17841 | return resultobj; |
17842 | fail: | |
17843 | return NULL; | |
17844 | } | |
17845 | ||
17846 | ||
17847 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17848 | PyObject *resultobj; | |
17849 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17850 | bool result; | |
17851 | PyObject * obj0 = 0 ; | |
17852 | char *kwnames[] = { | |
17853 | (char *) "self", NULL | |
17854 | }; | |
17855 | ||
17856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
17857 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17858 | { | |
17859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17860 | result = (bool)(arg1)->GetEnableOrientation(); | |
17861 | ||
17862 | wxPyEndAllowThreads(__tstate); | |
17863 | if (PyErr_Occurred()) SWIG_fail; | |
17864 | } | |
4d5c3d91 | 17865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17866 | return resultobj; |
17867 | fail: | |
17868 | return NULL; | |
17869 | } | |
17870 | ||
17871 | ||
17872 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17873 | PyObject *resultobj; | |
17874 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17875 | bool result; | |
17876 | PyObject * obj0 = 0 ; | |
17877 | char *kwnames[] = { | |
17878 | (char *) "self", NULL | |
17879 | }; | |
17880 | ||
17881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
17882 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17883 | { | |
17884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17885 | result = (bool)(arg1)->GetEnablePaper(); | |
17886 | ||
17887 | wxPyEndAllowThreads(__tstate); | |
17888 | if (PyErr_Occurred()) SWIG_fail; | |
17889 | } | |
4d5c3d91 | 17890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17891 | return resultobj; |
17892 | fail: | |
17893 | return NULL; | |
17894 | } | |
17895 | ||
17896 | ||
17897 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17898 | PyObject *resultobj; | |
17899 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17900 | bool result; | |
17901 | PyObject * obj0 = 0 ; | |
17902 | char *kwnames[] = { | |
17903 | (char *) "self", NULL | |
17904 | }; | |
17905 | ||
17906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
17907 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17908 | { | |
17909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17910 | result = (bool)(arg1)->GetEnablePrinter(); | |
17911 | ||
17912 | wxPyEndAllowThreads(__tstate); | |
17913 | if (PyErr_Occurred()) SWIG_fail; | |
17914 | } | |
4d5c3d91 | 17915 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17916 | return resultobj; |
17917 | fail: | |
17918 | return NULL; | |
17919 | } | |
17920 | ||
17921 | ||
17922 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17923 | PyObject *resultobj; | |
17924 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17925 | bool result; | |
17926 | PyObject * obj0 = 0 ; | |
17927 | char *kwnames[] = { | |
17928 | (char *) "self", NULL | |
17929 | }; | |
17930 | ||
17931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
17932 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17933 | { | |
17934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17935 | result = (bool)(arg1)->GetEnableHelp(); | |
17936 | ||
17937 | wxPyEndAllowThreads(__tstate); | |
17938 | if (PyErr_Occurred()) SWIG_fail; | |
17939 | } | |
4d5c3d91 | 17940 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17941 | return resultobj; |
17942 | fail: | |
17943 | return NULL; | |
17944 | } | |
17945 | ||
17946 | ||
17947 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17948 | PyObject *resultobj; | |
17949 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17950 | bool result; | |
17951 | PyObject * obj0 = 0 ; | |
17952 | char *kwnames[] = { | |
17953 | (char *) "self", NULL | |
17954 | }; | |
17955 | ||
17956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
17957 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17958 | { | |
17959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17960 | result = (bool)(arg1)->GetDefaultInfo(); | |
17961 | ||
17962 | wxPyEndAllowThreads(__tstate); | |
17963 | if (PyErr_Occurred()) SWIG_fail; | |
17964 | } | |
4d5c3d91 | 17965 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17966 | return resultobj; |
17967 | fail: | |
17968 | return NULL; | |
17969 | } | |
17970 | ||
17971 | ||
17972 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17973 | PyObject *resultobj; | |
17974 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17975 | wxPoint result; | |
17976 | PyObject * obj0 = 0 ; | |
17977 | char *kwnames[] = { | |
17978 | (char *) "self", NULL | |
17979 | }; | |
17980 | ||
17981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
17982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17983 | { | |
17984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17985 | result = (arg1)->GetMarginTopLeft(); | |
17986 | ||
17987 | wxPyEndAllowThreads(__tstate); | |
17988 | if (PyErr_Occurred()) SWIG_fail; | |
17989 | } | |
17990 | { | |
17991 | wxPoint * resultptr; | |
17992 | resultptr = new wxPoint((wxPoint &) result); | |
17993 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
17994 | } | |
17995 | return resultobj; | |
17996 | fail: | |
17997 | return NULL; | |
17998 | } | |
17999 | ||
18000 | ||
18001 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18002 | PyObject *resultobj; | |
18003 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18004 | wxPoint result; | |
18005 | PyObject * obj0 = 0 ; | |
18006 | char *kwnames[] = { | |
18007 | (char *) "self", NULL | |
18008 | }; | |
18009 | ||
18010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
18011 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18012 | { | |
18013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18014 | result = (arg1)->GetMarginBottomRight(); | |
18015 | ||
18016 | wxPyEndAllowThreads(__tstate); | |
18017 | if (PyErr_Occurred()) SWIG_fail; | |
18018 | } | |
18019 | { | |
18020 | wxPoint * resultptr; | |
18021 | resultptr = new wxPoint((wxPoint &) result); | |
18022 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18023 | } | |
18024 | return resultobj; | |
18025 | fail: | |
18026 | return NULL; | |
18027 | } | |
18028 | ||
18029 | ||
18030 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18031 | PyObject *resultobj; | |
18032 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18033 | wxPoint result; | |
18034 | PyObject * obj0 = 0 ; | |
18035 | char *kwnames[] = { | |
18036 | (char *) "self", NULL | |
18037 | }; | |
18038 | ||
18039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
18040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18041 | { | |
18042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18043 | result = (arg1)->GetMinMarginTopLeft(); | |
18044 | ||
18045 | wxPyEndAllowThreads(__tstate); | |
18046 | if (PyErr_Occurred()) SWIG_fail; | |
18047 | } | |
18048 | { | |
18049 | wxPoint * resultptr; | |
18050 | resultptr = new wxPoint((wxPoint &) result); | |
18051 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18052 | } | |
18053 | return resultobj; | |
18054 | fail: | |
18055 | return NULL; | |
18056 | } | |
18057 | ||
18058 | ||
18059 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18060 | PyObject *resultobj; | |
18061 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18062 | wxPoint result; | |
18063 | PyObject * obj0 = 0 ; | |
18064 | char *kwnames[] = { | |
18065 | (char *) "self", NULL | |
18066 | }; | |
18067 | ||
18068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
18069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18070 | { | |
18071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18072 | result = (arg1)->GetMinMarginBottomRight(); | |
18073 | ||
18074 | wxPyEndAllowThreads(__tstate); | |
18075 | if (PyErr_Occurred()) SWIG_fail; | |
18076 | } | |
18077 | { | |
18078 | wxPoint * resultptr; | |
18079 | resultptr = new wxPoint((wxPoint &) result); | |
18080 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18081 | } | |
18082 | return resultobj; | |
18083 | fail: | |
18084 | return NULL; | |
18085 | } | |
18086 | ||
18087 | ||
18088 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18089 | PyObject *resultobj; | |
18090 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18091 | int result; | |
18092 | PyObject * obj0 = 0 ; | |
18093 | char *kwnames[] = { | |
18094 | (char *) "self", NULL | |
18095 | }; | |
18096 | ||
18097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
18098 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18099 | { | |
18100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18101 | result = (int)(arg1)->GetPaperId(); | |
18102 | ||
18103 | wxPyEndAllowThreads(__tstate); | |
18104 | if (PyErr_Occurred()) SWIG_fail; | |
18105 | } | |
994141e6 | 18106 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18107 | return resultobj; |
18108 | fail: | |
18109 | return NULL; | |
18110 | } | |
18111 | ||
18112 | ||
18113 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18114 | PyObject *resultobj; | |
18115 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18116 | wxSize result; | |
18117 | PyObject * obj0 = 0 ; | |
18118 | char *kwnames[] = { | |
18119 | (char *) "self", NULL | |
18120 | }; | |
18121 | ||
18122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
18123 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18124 | { | |
18125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18126 | result = (arg1)->GetPaperSize(); | |
18127 | ||
18128 | wxPyEndAllowThreads(__tstate); | |
18129 | if (PyErr_Occurred()) SWIG_fail; | |
18130 | } | |
18131 | { | |
18132 | wxSize * resultptr; | |
18133 | resultptr = new wxSize((wxSize &) result); | |
18134 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
18135 | } | |
18136 | return resultobj; | |
18137 | fail: | |
18138 | return NULL; | |
18139 | } | |
18140 | ||
18141 | ||
18142 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18143 | PyObject *resultobj; | |
18144 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18145 | wxPrintData *result; | |
18146 | PyObject * obj0 = 0 ; | |
18147 | char *kwnames[] = { | |
18148 | (char *) "self", NULL | |
18149 | }; | |
18150 | ||
18151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
18152 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18153 | { | |
18154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18155 | { | |
18156 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18157 | result = (wxPrintData *) &_result_ref; | |
18158 | } | |
18159 | ||
18160 | wxPyEndAllowThreads(__tstate); | |
18161 | if (PyErr_Occurred()) SWIG_fail; | |
18162 | } | |
18163 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
18164 | return resultobj; | |
18165 | fail: | |
18166 | return NULL; | |
18167 | } | |
18168 | ||
18169 | ||
18170 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18171 | PyObject *resultobj; | |
18172 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18173 | bool result; | |
18174 | PyObject * obj0 = 0 ; | |
18175 | char *kwnames[] = { | |
18176 | (char *) "self", NULL | |
18177 | }; | |
18178 | ||
18179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
18180 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18181 | { | |
18182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18183 | result = (bool)(arg1)->Ok(); | |
18184 | ||
18185 | wxPyEndAllowThreads(__tstate); | |
18186 | if (PyErr_Occurred()) SWIG_fail; | |
18187 | } | |
4d5c3d91 | 18188 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18189 | return resultobj; |
18190 | fail: | |
18191 | return NULL; | |
18192 | } | |
18193 | ||
18194 | ||
18195 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18196 | PyObject *resultobj; | |
18197 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18198 | bool arg2 ; | |
18199 | PyObject * obj0 = 0 ; | |
18200 | PyObject * obj1 = 0 ; | |
18201 | char *kwnames[] = { | |
18202 | (char *) "self",(char *) "flag", NULL | |
18203 | }; | |
18204 | ||
18205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
18206 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 18207 | { |
994141e6 | 18208 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
18209 | if (PyErr_Occurred()) SWIG_fail; |
18210 | } | |
d14a1e28 RD |
18211 | { |
18212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18213 | (arg1)->SetDefaultInfo(arg2); | |
18214 | ||
18215 | wxPyEndAllowThreads(__tstate); | |
18216 | if (PyErr_Occurred()) SWIG_fail; | |
18217 | } | |
18218 | Py_INCREF(Py_None); resultobj = Py_None; | |
18219 | return resultobj; | |
18220 | fail: | |
18221 | return NULL; | |
18222 | } | |
18223 | ||
18224 | ||
18225 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18226 | PyObject *resultobj; | |
18227 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18228 | bool arg2 ; | |
18229 | PyObject * obj0 = 0 ; | |
18230 | PyObject * obj1 = 0 ; | |
18231 | char *kwnames[] = { | |
18232 | (char *) "self",(char *) "flag", NULL | |
18233 | }; | |
18234 | ||
18235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
18236 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 18237 | { |
994141e6 | 18238 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
18239 | if (PyErr_Occurred()) SWIG_fail; |
18240 | } | |
d14a1e28 RD |
18241 | { |
18242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18243 | (arg1)->SetDefaultMinMargins(arg2); | |
18244 | ||
18245 | wxPyEndAllowThreads(__tstate); | |
18246 | if (PyErr_Occurred()) SWIG_fail; | |
18247 | } | |
18248 | Py_INCREF(Py_None); resultobj = Py_None; | |
18249 | return resultobj; | |
18250 | fail: | |
18251 | return NULL; | |
18252 | } | |
18253 | ||
18254 | ||
18255 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18256 | PyObject *resultobj; | |
18257 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18258 | wxPoint *arg2 = 0 ; | |
18259 | wxPoint temp2 ; | |
18260 | PyObject * obj0 = 0 ; | |
18261 | PyObject * obj1 = 0 ; | |
18262 | char *kwnames[] = { | |
18263 | (char *) "self",(char *) "pt", NULL | |
18264 | }; | |
18265 | ||
18266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
18267 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18268 | { | |
18269 | arg2 = &temp2; | |
18270 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18271 | } | |
18272 | { | |
18273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18274 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18275 | ||
18276 | wxPyEndAllowThreads(__tstate); | |
18277 | if (PyErr_Occurred()) SWIG_fail; | |
18278 | } | |
18279 | Py_INCREF(Py_None); resultobj = Py_None; | |
18280 | return resultobj; | |
18281 | fail: | |
18282 | return NULL; | |
18283 | } | |
18284 | ||
18285 | ||
18286 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18287 | PyObject *resultobj; | |
18288 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18289 | wxPoint *arg2 = 0 ; | |
18290 | wxPoint temp2 ; | |
18291 | PyObject * obj0 = 0 ; | |
18292 | PyObject * obj1 = 0 ; | |
18293 | char *kwnames[] = { | |
18294 | (char *) "self",(char *) "pt", NULL | |
18295 | }; | |
18296 | ||
18297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
18298 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18299 | { | |
18300 | arg2 = &temp2; | |
18301 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18302 | } | |
18303 | { | |
18304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18305 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18306 | ||
18307 | wxPyEndAllowThreads(__tstate); | |
18308 | if (PyErr_Occurred()) SWIG_fail; | |
18309 | } | |
18310 | Py_INCREF(Py_None); resultobj = Py_None; | |
18311 | return resultobj; | |
18312 | fail: | |
18313 | return NULL; | |
18314 | } | |
18315 | ||
18316 | ||
18317 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18318 | PyObject *resultobj; | |
18319 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18320 | wxPoint *arg2 = 0 ; | |
18321 | wxPoint temp2 ; | |
18322 | PyObject * obj0 = 0 ; | |
18323 | PyObject * obj1 = 0 ; | |
18324 | char *kwnames[] = { | |
18325 | (char *) "self",(char *) "pt", NULL | |
18326 | }; | |
18327 | ||
18328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
18329 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18330 | { | |
18331 | arg2 = &temp2; | |
18332 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18333 | } | |
18334 | { | |
18335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18336 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18337 | ||
18338 | wxPyEndAllowThreads(__tstate); | |
18339 | if (PyErr_Occurred()) SWIG_fail; | |
18340 | } | |
18341 | Py_INCREF(Py_None); resultobj = Py_None; | |
18342 | return resultobj; | |
18343 | fail: | |
18344 | return NULL; | |
18345 | } | |
18346 | ||
18347 | ||
18348 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18349 | PyObject *resultobj; | |
18350 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18351 | wxPoint *arg2 = 0 ; | |
18352 | wxPoint temp2 ; | |
18353 | PyObject * obj0 = 0 ; | |
18354 | PyObject * obj1 = 0 ; | |
18355 | char *kwnames[] = { | |
18356 | (char *) "self",(char *) "pt", NULL | |
18357 | }; | |
18358 | ||
18359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
18360 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18361 | { | |
18362 | arg2 = &temp2; | |
18363 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18364 | } | |
18365 | { | |
18366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18367 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18368 | ||
18369 | wxPyEndAllowThreads(__tstate); | |
18370 | if (PyErr_Occurred()) SWIG_fail; | |
18371 | } | |
18372 | Py_INCREF(Py_None); resultobj = Py_None; | |
18373 | return resultobj; | |
18374 | fail: | |
18375 | return NULL; | |
18376 | } | |
18377 | ||
18378 | ||
18379 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18380 | PyObject *resultobj; | |
18381 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18382 | int arg2 ; | |
18383 | PyObject * obj0 = 0 ; | |
994141e6 | 18384 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18385 | char *kwnames[] = { |
18386 | (char *) "self",(char *) "id", NULL | |
18387 | }; | |
18388 | ||
994141e6 | 18389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18390 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18391 | { |
18392 | arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1); | |
18393 | if (PyErr_Occurred()) SWIG_fail; | |
18394 | } | |
d14a1e28 RD |
18395 | { |
18396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18397 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18398 | ||
18399 | wxPyEndAllowThreads(__tstate); | |
18400 | if (PyErr_Occurred()) SWIG_fail; | |
18401 | } | |
18402 | Py_INCREF(Py_None); resultobj = Py_None; | |
18403 | return resultobj; | |
18404 | fail: | |
18405 | return NULL; | |
18406 | } | |
18407 | ||
18408 | ||
18409 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18410 | PyObject *resultobj; | |
18411 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18412 | wxSize *arg2 = 0 ; | |
18413 | wxSize temp2 ; | |
18414 | PyObject * obj0 = 0 ; | |
18415 | PyObject * obj1 = 0 ; | |
18416 | char *kwnames[] = { | |
18417 | (char *) "self",(char *) "size", NULL | |
18418 | }; | |
18419 | ||
18420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
18421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18422 | { | |
18423 | arg2 = &temp2; | |
18424 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18425 | } | |
18426 | { | |
18427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18428 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18429 | ||
18430 | wxPyEndAllowThreads(__tstate); | |
18431 | if (PyErr_Occurred()) SWIG_fail; | |
18432 | } | |
18433 | Py_INCREF(Py_None); resultobj = Py_None; | |
18434 | return resultobj; | |
18435 | fail: | |
18436 | return NULL; | |
18437 | } | |
18438 | ||
18439 | ||
18440 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18441 | PyObject *resultobj; | |
18442 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18443 | wxPrintData *arg2 = 0 ; | |
18444 | PyObject * obj0 = 0 ; | |
18445 | PyObject * obj1 = 0 ; | |
18446 | char *kwnames[] = { | |
18447 | (char *) "self",(char *) "printData", NULL | |
18448 | }; | |
18449 | ||
18450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
18451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18452 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18453 | if (arg2 == NULL) { | |
18454 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
18455 | } | |
18456 | { | |
18457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18458 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18459 | ||
18460 | wxPyEndAllowThreads(__tstate); | |
18461 | if (PyErr_Occurred()) SWIG_fail; | |
18462 | } | |
18463 | Py_INCREF(Py_None); resultobj = Py_None; | |
18464 | return resultobj; | |
18465 | fail: | |
18466 | return NULL; | |
18467 | } | |
18468 | ||
18469 | ||
18470 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
18471 | PyObject *obj; | |
18472 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18473 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18474 | Py_INCREF(obj); | |
18475 | return Py_BuildValue((char *)""); | |
18476 | } | |
18477 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18478 | PyObject *resultobj; | |
18479 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18480 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18481 | wxPageSetupDialog *result; | |
18482 | PyObject * obj0 = 0 ; | |
18483 | PyObject * obj1 = 0 ; | |
18484 | char *kwnames[] = { | |
18485 | (char *) "parent",(char *) "data", NULL | |
18486 | }; | |
18487 | ||
18488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
18489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18490 | if (obj1) { | |
18491 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18492 | } | |
18493 | { | |
18494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18495 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18496 | ||
18497 | wxPyEndAllowThreads(__tstate); | |
18498 | if (PyErr_Occurred()) SWIG_fail; | |
18499 | } | |
18500 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1); | |
18501 | return resultobj; | |
18502 | fail: | |
18503 | return NULL; | |
18504 | } | |
18505 | ||
18506 | ||
18507 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18508 | PyObject *resultobj; | |
18509 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18510 | wxPageSetupDialogData *result; | |
18511 | PyObject * obj0 = 0 ; | |
18512 | char *kwnames[] = { | |
18513 | (char *) "self", NULL | |
18514 | }; | |
18515 | ||
18516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
18517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18518 | { | |
18519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18520 | { | |
18521 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18522 | result = (wxPageSetupDialogData *) &_result_ref; | |
18523 | } | |
18524 | ||
18525 | wxPyEndAllowThreads(__tstate); | |
18526 | if (PyErr_Occurred()) SWIG_fail; | |
18527 | } | |
18528 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
18529 | return resultobj; | |
18530 | fail: | |
18531 | return NULL; | |
18532 | } | |
18533 | ||
18534 | ||
18535 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18536 | PyObject *resultobj; | |
18537 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18538 | int result; | |
18539 | PyObject * obj0 = 0 ; | |
18540 | char *kwnames[] = { | |
18541 | (char *) "self", NULL | |
18542 | }; | |
18543 | ||
18544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
18545 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18546 | { | |
18547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18548 | result = (int)(arg1)->ShowModal(); | |
18549 | ||
18550 | wxPyEndAllowThreads(__tstate); | |
18551 | if (PyErr_Occurred()) SWIG_fail; | |
18552 | } | |
994141e6 | 18553 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18554 | return resultobj; |
18555 | fail: | |
18556 | return NULL; | |
18557 | } | |
18558 | ||
18559 | ||
18560 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
18561 | PyObject *obj; | |
18562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18563 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18564 | Py_INCREF(obj); | |
18565 | return Py_BuildValue((char *)""); | |
18566 | } | |
18567 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18568 | PyObject *resultobj; | |
18569 | wxPrintDialogData *result; | |
18570 | char *kwnames[] = { | |
18571 | NULL | |
18572 | }; | |
18573 | ||
18574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail; | |
18575 | { | |
18576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18577 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18578 | ||
18579 | wxPyEndAllowThreads(__tstate); | |
18580 | if (PyErr_Occurred()) SWIG_fail; | |
18581 | } | |
18582 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1); | |
18583 | return resultobj; | |
18584 | fail: | |
18585 | return NULL; | |
18586 | } | |
18587 | ||
18588 | ||
18589 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18590 | PyObject *resultobj; | |
18591 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18592 | PyObject * obj0 = 0 ; | |
18593 | char *kwnames[] = { | |
18594 | (char *) "self", NULL | |
18595 | }; | |
18596 | ||
18597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
18598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18599 | { | |
18600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18601 | delete arg1; | |
18602 | ||
18603 | wxPyEndAllowThreads(__tstate); | |
18604 | if (PyErr_Occurred()) SWIG_fail; | |
18605 | } | |
18606 | Py_INCREF(Py_None); resultobj = Py_None; | |
18607 | return resultobj; | |
18608 | fail: | |
18609 | return NULL; | |
18610 | } | |
18611 | ||
18612 | ||
18613 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18614 | PyObject *resultobj; | |
18615 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18616 | int result; | |
18617 | PyObject * obj0 = 0 ; | |
18618 | char *kwnames[] = { | |
18619 | (char *) "self", NULL | |
18620 | }; | |
18621 | ||
18622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
18623 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18624 | { | |
18625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18626 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
18627 | ||
18628 | wxPyEndAllowThreads(__tstate); | |
18629 | if (PyErr_Occurred()) SWIG_fail; | |
18630 | } | |
994141e6 | 18631 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18632 | return resultobj; |
18633 | fail: | |
18634 | return NULL; | |
18635 | } | |
18636 | ||
18637 | ||
18638 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18639 | PyObject *resultobj; | |
18640 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18641 | int result; | |
18642 | PyObject * obj0 = 0 ; | |
18643 | char *kwnames[] = { | |
18644 | (char *) "self", NULL | |
18645 | }; | |
18646 | ||
18647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
18648 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18649 | { | |
18650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18651 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
18652 | ||
18653 | wxPyEndAllowThreads(__tstate); | |
18654 | if (PyErr_Occurred()) SWIG_fail; | |
18655 | } | |
994141e6 | 18656 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18657 | return resultobj; |
18658 | fail: | |
18659 | return NULL; | |
18660 | } | |
18661 | ||
18662 | ||
18663 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18664 | PyObject *resultobj; | |
18665 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18666 | int result; | |
18667 | PyObject * obj0 = 0 ; | |
18668 | char *kwnames[] = { | |
18669 | (char *) "self", NULL | |
18670 | }; | |
18671 | ||
18672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
18673 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18674 | { | |
18675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18676 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
18677 | ||
18678 | wxPyEndAllowThreads(__tstate); | |
18679 | if (PyErr_Occurred()) SWIG_fail; | |
18680 | } | |
994141e6 | 18681 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18682 | return resultobj; |
18683 | fail: | |
18684 | return NULL; | |
18685 | } | |
18686 | ||
18687 | ||
18688 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18689 | PyObject *resultobj; | |
18690 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18691 | int result; | |
18692 | PyObject * obj0 = 0 ; | |
18693 | char *kwnames[] = { | |
18694 | (char *) "self", NULL | |
18695 | }; | |
18696 | ||
18697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
18698 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18699 | { | |
18700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18701 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
18702 | ||
18703 | wxPyEndAllowThreads(__tstate); | |
18704 | if (PyErr_Occurred()) SWIG_fail; | |
18705 | } | |
994141e6 | 18706 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18707 | return resultobj; |
18708 | fail: | |
18709 | return NULL; | |
18710 | } | |
18711 | ||
18712 | ||
18713 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18714 | PyObject *resultobj; | |
18715 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18716 | int result; | |
18717 | PyObject * obj0 = 0 ; | |
18718 | char *kwnames[] = { | |
18719 | (char *) "self", NULL | |
18720 | }; | |
18721 | ||
18722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18723 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18724 | { | |
18725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18726 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
18727 | ||
18728 | wxPyEndAllowThreads(__tstate); | |
18729 | if (PyErr_Occurred()) SWIG_fail; | |
18730 | } | |
994141e6 | 18731 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18732 | return resultobj; |
18733 | fail: | |
18734 | return NULL; | |
18735 | } | |
18736 | ||
18737 | ||
18738 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18739 | PyObject *resultobj; | |
18740 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18741 | bool result; | |
18742 | PyObject * obj0 = 0 ; | |
18743 | char *kwnames[] = { | |
18744 | (char *) "self", NULL | |
18745 | }; | |
18746 | ||
18747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
18748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18749 | { | |
18750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18751 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
18752 | ||
18753 | wxPyEndAllowThreads(__tstate); | |
18754 | if (PyErr_Occurred()) SWIG_fail; | |
18755 | } | |
4d5c3d91 | 18756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18757 | return resultobj; |
18758 | fail: | |
18759 | return NULL; | |
18760 | } | |
18761 | ||
18762 | ||
18763 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18764 | PyObject *resultobj; | |
18765 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18766 | bool result; | |
18767 | PyObject * obj0 = 0 ; | |
18768 | char *kwnames[] = { | |
18769 | (char *) "self", NULL | |
18770 | }; | |
18771 | ||
18772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
18773 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18774 | { | |
18775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18776 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
18777 | ||
18778 | wxPyEndAllowThreads(__tstate); | |
18779 | if (PyErr_Occurred()) SWIG_fail; | |
18780 | } | |
4d5c3d91 | 18781 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18782 | return resultobj; |
18783 | fail: | |
18784 | return NULL; | |
18785 | } | |
18786 | ||
18787 | ||
18788 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18789 | PyObject *resultobj; | |
18790 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18791 | bool result; | |
18792 | PyObject * obj0 = 0 ; | |
18793 | char *kwnames[] = { | |
18794 | (char *) "self", NULL | |
18795 | }; | |
18796 | ||
18797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
18798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18799 | { | |
18800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18801 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
18802 | ||
18803 | wxPyEndAllowThreads(__tstate); | |
18804 | if (PyErr_Occurred()) SWIG_fail; | |
18805 | } | |
4d5c3d91 | 18806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18807 | return resultobj; |
18808 | fail: | |
18809 | return NULL; | |
18810 | } | |
18811 | ||
18812 | ||
18813 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18814 | PyObject *resultobj; | |
18815 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18816 | bool result; | |
18817 | PyObject * obj0 = 0 ; | |
18818 | char *kwnames[] = { | |
18819 | (char *) "self", NULL | |
18820 | }; | |
18821 | ||
18822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
18823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18824 | { | |
18825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18826 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
18827 | ||
18828 | wxPyEndAllowThreads(__tstate); | |
18829 | if (PyErr_Occurred()) SWIG_fail; | |
18830 | } | |
4d5c3d91 | 18831 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18832 | return resultobj; |
18833 | fail: | |
18834 | return NULL; | |
18835 | } | |
18836 | ||
18837 | ||
18838 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18839 | PyObject *resultobj; | |
18840 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18841 | bool result; | |
18842 | PyObject * obj0 = 0 ; | |
18843 | char *kwnames[] = { | |
18844 | (char *) "self", NULL | |
18845 | }; | |
18846 | ||
18847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
18848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18849 | { | |
18850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18851 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
18852 | ||
18853 | wxPyEndAllowThreads(__tstate); | |
18854 | if (PyErr_Occurred()) SWIG_fail; | |
18855 | } | |
4d5c3d91 | 18856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18857 | return resultobj; |
18858 | fail: | |
18859 | return NULL; | |
18860 | } | |
18861 | ||
18862 | ||
18863 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18864 | PyObject *resultobj; | |
18865 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18866 | int arg2 ; | |
18867 | PyObject * obj0 = 0 ; | |
994141e6 | 18868 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18869 | char *kwnames[] = { |
18870 | (char *) "self",(char *) "v", NULL | |
18871 | }; | |
18872 | ||
994141e6 | 18873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18875 | { |
18876 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
18877 | if (PyErr_Occurred()) SWIG_fail; | |
18878 | } | |
d14a1e28 RD |
18879 | { |
18880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18881 | (arg1)->SetFromPage(arg2); | |
18882 | ||
18883 | wxPyEndAllowThreads(__tstate); | |
18884 | if (PyErr_Occurred()) SWIG_fail; | |
18885 | } | |
18886 | Py_INCREF(Py_None); resultobj = Py_None; | |
18887 | return resultobj; | |
18888 | fail: | |
18889 | return NULL; | |
18890 | } | |
18891 | ||
18892 | ||
18893 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18894 | PyObject *resultobj; | |
18895 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18896 | int arg2 ; | |
18897 | PyObject * obj0 = 0 ; | |
994141e6 | 18898 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18899 | char *kwnames[] = { |
18900 | (char *) "self",(char *) "v", NULL | |
18901 | }; | |
18902 | ||
994141e6 | 18903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18904 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18905 | { |
18906 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
18907 | if (PyErr_Occurred()) SWIG_fail; | |
18908 | } | |
d14a1e28 RD |
18909 | { |
18910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18911 | (arg1)->SetToPage(arg2); | |
18912 | ||
18913 | wxPyEndAllowThreads(__tstate); | |
18914 | if (PyErr_Occurred()) SWIG_fail; | |
18915 | } | |
18916 | Py_INCREF(Py_None); resultobj = Py_None; | |
18917 | return resultobj; | |
18918 | fail: | |
18919 | return NULL; | |
18920 | } | |
18921 | ||
18922 | ||
18923 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18924 | PyObject *resultobj; | |
18925 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18926 | int arg2 ; | |
18927 | PyObject * obj0 = 0 ; | |
994141e6 | 18928 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18929 | char *kwnames[] = { |
18930 | (char *) "self",(char *) "v", NULL | |
18931 | }; | |
18932 | ||
994141e6 | 18933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18934 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18935 | { |
18936 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
18937 | if (PyErr_Occurred()) SWIG_fail; | |
18938 | } | |
d14a1e28 RD |
18939 | { |
18940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18941 | (arg1)->SetMinPage(arg2); | |
18942 | ||
18943 | wxPyEndAllowThreads(__tstate); | |
18944 | if (PyErr_Occurred()) SWIG_fail; | |
18945 | } | |
18946 | Py_INCREF(Py_None); resultobj = Py_None; | |
18947 | return resultobj; | |
18948 | fail: | |
18949 | return NULL; | |
18950 | } | |
18951 | ||
18952 | ||
18953 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18954 | PyObject *resultobj; | |
18955 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18956 | int arg2 ; | |
18957 | PyObject * obj0 = 0 ; | |
994141e6 | 18958 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18959 | char *kwnames[] = { |
18960 | (char *) "self",(char *) "v", NULL | |
18961 | }; | |
18962 | ||
994141e6 | 18963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18964 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18965 | { |
18966 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
18967 | if (PyErr_Occurred()) SWIG_fail; | |
18968 | } | |
d14a1e28 RD |
18969 | { |
18970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18971 | (arg1)->SetMaxPage(arg2); | |
18972 | ||
18973 | wxPyEndAllowThreads(__tstate); | |
18974 | if (PyErr_Occurred()) SWIG_fail; | |
18975 | } | |
18976 | Py_INCREF(Py_None); resultobj = Py_None; | |
18977 | return resultobj; | |
18978 | fail: | |
18979 | return NULL; | |
18980 | } | |
18981 | ||
18982 | ||
18983 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18984 | PyObject *resultobj; | |
18985 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18986 | int arg2 ; | |
18987 | PyObject * obj0 = 0 ; | |
994141e6 | 18988 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18989 | char *kwnames[] = { |
18990 | (char *) "self",(char *) "v", NULL | |
18991 | }; | |
18992 | ||
994141e6 | 18993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
18995 | { |
18996 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
18997 | if (PyErr_Occurred()) SWIG_fail; | |
18998 | } | |
d14a1e28 RD |
18999 | { |
19000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19001 | (arg1)->SetNoCopies(arg2); | |
19002 | ||
19003 | wxPyEndAllowThreads(__tstate); | |
19004 | if (PyErr_Occurred()) SWIG_fail; | |
19005 | } | |
19006 | Py_INCREF(Py_None); resultobj = Py_None; | |
19007 | return resultobj; | |
19008 | fail: | |
19009 | return NULL; | |
19010 | } | |
19011 | ||
19012 | ||
19013 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19014 | PyObject *resultobj; | |
19015 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19016 | bool arg2 ; | |
19017 | PyObject * obj0 = 0 ; | |
19018 | PyObject * obj1 = 0 ; | |
19019 | char *kwnames[] = { | |
19020 | (char *) "self",(char *) "flag", NULL | |
19021 | }; | |
19022 | ||
19023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
19024 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19025 | { |
994141e6 | 19026 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19027 | if (PyErr_Occurred()) SWIG_fail; |
19028 | } | |
d14a1e28 RD |
19029 | { |
19030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19031 | (arg1)->SetAllPages(arg2); | |
19032 | ||
19033 | wxPyEndAllowThreads(__tstate); | |
19034 | if (PyErr_Occurred()) SWIG_fail; | |
19035 | } | |
19036 | Py_INCREF(Py_None); resultobj = Py_None; | |
19037 | return resultobj; | |
19038 | fail: | |
19039 | return NULL; | |
19040 | } | |
19041 | ||
19042 | ||
19043 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19044 | PyObject *resultobj; | |
19045 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19046 | bool arg2 ; | |
19047 | PyObject * obj0 = 0 ; | |
19048 | PyObject * obj1 = 0 ; | |
19049 | char *kwnames[] = { | |
19050 | (char *) "self",(char *) "flag", NULL | |
19051 | }; | |
19052 | ||
19053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
19054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19055 | { |
994141e6 | 19056 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19057 | if (PyErr_Occurred()) SWIG_fail; |
19058 | } | |
d14a1e28 RD |
19059 | { |
19060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19061 | (arg1)->SetSelection(arg2); | |
19062 | ||
19063 | wxPyEndAllowThreads(__tstate); | |
19064 | if (PyErr_Occurred()) SWIG_fail; | |
19065 | } | |
19066 | Py_INCREF(Py_None); resultobj = Py_None; | |
19067 | return resultobj; | |
19068 | fail: | |
19069 | return NULL; | |
19070 | } | |
19071 | ||
19072 | ||
19073 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19074 | PyObject *resultobj; | |
19075 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19076 | bool arg2 ; | |
19077 | PyObject * obj0 = 0 ; | |
19078 | PyObject * obj1 = 0 ; | |
19079 | char *kwnames[] = { | |
19080 | (char *) "self",(char *) "flag", NULL | |
19081 | }; | |
19082 | ||
19083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
19084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19085 | { |
994141e6 | 19086 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19087 | if (PyErr_Occurred()) SWIG_fail; |
19088 | } | |
d14a1e28 RD |
19089 | { |
19090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19091 | (arg1)->SetCollate(arg2); | |
19092 | ||
19093 | wxPyEndAllowThreads(__tstate); | |
19094 | if (PyErr_Occurred()) SWIG_fail; | |
19095 | } | |
19096 | Py_INCREF(Py_None); resultobj = Py_None; | |
19097 | return resultobj; | |
19098 | fail: | |
19099 | return NULL; | |
19100 | } | |
19101 | ||
19102 | ||
19103 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19104 | PyObject *resultobj; | |
19105 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19106 | bool arg2 ; | |
19107 | PyObject * obj0 = 0 ; | |
19108 | PyObject * obj1 = 0 ; | |
19109 | char *kwnames[] = { | |
19110 | (char *) "self",(char *) "flag", NULL | |
19111 | }; | |
19112 | ||
19113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
19114 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19115 | { |
994141e6 | 19116 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19117 | if (PyErr_Occurred()) SWIG_fail; |
19118 | } | |
d14a1e28 RD |
19119 | { |
19120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19121 | (arg1)->SetPrintToFile(arg2); | |
19122 | ||
19123 | wxPyEndAllowThreads(__tstate); | |
19124 | if (PyErr_Occurred()) SWIG_fail; | |
19125 | } | |
19126 | Py_INCREF(Py_None); resultobj = Py_None; | |
19127 | return resultobj; | |
19128 | fail: | |
19129 | return NULL; | |
19130 | } | |
19131 | ||
19132 | ||
19133 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19134 | PyObject *resultobj; | |
19135 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19136 | bool arg2 ; | |
19137 | PyObject * obj0 = 0 ; | |
19138 | PyObject * obj1 = 0 ; | |
19139 | char *kwnames[] = { | |
19140 | (char *) "self",(char *) "flag", NULL | |
19141 | }; | |
19142 | ||
19143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
19144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19145 | { |
994141e6 | 19146 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19147 | if (PyErr_Occurred()) SWIG_fail; |
19148 | } | |
d14a1e28 RD |
19149 | { |
19150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19151 | (arg1)->SetSetupDialog(arg2); | |
19152 | ||
19153 | wxPyEndAllowThreads(__tstate); | |
19154 | if (PyErr_Occurred()) SWIG_fail; | |
19155 | } | |
19156 | Py_INCREF(Py_None); resultobj = Py_None; | |
19157 | return resultobj; | |
19158 | fail: | |
19159 | return NULL; | |
19160 | } | |
19161 | ||
19162 | ||
19163 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19164 | PyObject *resultobj; | |
19165 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19166 | bool arg2 ; | |
19167 | PyObject * obj0 = 0 ; | |
19168 | PyObject * obj1 = 0 ; | |
19169 | char *kwnames[] = { | |
19170 | (char *) "self",(char *) "flag", NULL | |
19171 | }; | |
19172 | ||
19173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
19174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19175 | { |
994141e6 | 19176 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19177 | if (PyErr_Occurred()) SWIG_fail; |
19178 | } | |
d14a1e28 RD |
19179 | { |
19180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19181 | (arg1)->EnablePrintToFile(arg2); | |
19182 | ||
19183 | wxPyEndAllowThreads(__tstate); | |
19184 | if (PyErr_Occurred()) SWIG_fail; | |
19185 | } | |
19186 | Py_INCREF(Py_None); resultobj = Py_None; | |
19187 | return resultobj; | |
19188 | fail: | |
19189 | return NULL; | |
19190 | } | |
19191 | ||
19192 | ||
19193 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19194 | PyObject *resultobj; | |
19195 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19196 | bool arg2 ; | |
19197 | PyObject * obj0 = 0 ; | |
19198 | PyObject * obj1 = 0 ; | |
19199 | char *kwnames[] = { | |
19200 | (char *) "self",(char *) "flag", NULL | |
19201 | }; | |
19202 | ||
19203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
19204 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19205 | { |
994141e6 | 19206 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19207 | if (PyErr_Occurred()) SWIG_fail; |
19208 | } | |
d14a1e28 RD |
19209 | { |
19210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19211 | (arg1)->EnableSelection(arg2); | |
19212 | ||
19213 | wxPyEndAllowThreads(__tstate); | |
19214 | if (PyErr_Occurred()) SWIG_fail; | |
19215 | } | |
19216 | Py_INCREF(Py_None); resultobj = Py_None; | |
19217 | return resultobj; | |
19218 | fail: | |
19219 | return NULL; | |
19220 | } | |
19221 | ||
19222 | ||
19223 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19224 | PyObject *resultobj; | |
19225 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19226 | bool arg2 ; | |
19227 | PyObject * obj0 = 0 ; | |
19228 | PyObject * obj1 = 0 ; | |
19229 | char *kwnames[] = { | |
19230 | (char *) "self",(char *) "flag", NULL | |
19231 | }; | |
19232 | ||
19233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
19234 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19235 | { |
994141e6 | 19236 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19237 | if (PyErr_Occurred()) SWIG_fail; |
19238 | } | |
d14a1e28 RD |
19239 | { |
19240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19241 | (arg1)->EnablePageNumbers(arg2); | |
19242 | ||
19243 | wxPyEndAllowThreads(__tstate); | |
19244 | if (PyErr_Occurred()) SWIG_fail; | |
19245 | } | |
19246 | Py_INCREF(Py_None); resultobj = Py_None; | |
19247 | return resultobj; | |
19248 | fail: | |
19249 | return NULL; | |
19250 | } | |
19251 | ||
19252 | ||
19253 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19254 | PyObject *resultobj; | |
19255 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19256 | bool arg2 ; | |
19257 | PyObject * obj0 = 0 ; | |
19258 | PyObject * obj1 = 0 ; | |
19259 | char *kwnames[] = { | |
19260 | (char *) "self",(char *) "flag", NULL | |
19261 | }; | |
19262 | ||
19263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
19264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 19265 | { |
994141e6 | 19266 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
19267 | if (PyErr_Occurred()) SWIG_fail; |
19268 | } | |
d14a1e28 RD |
19269 | { |
19270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19271 | (arg1)->EnableHelp(arg2); | |
19272 | ||
19273 | wxPyEndAllowThreads(__tstate); | |
19274 | if (PyErr_Occurred()) SWIG_fail; | |
19275 | } | |
19276 | Py_INCREF(Py_None); resultobj = Py_None; | |
19277 | return resultobj; | |
19278 | fail: | |
19279 | return NULL; | |
19280 | } | |
19281 | ||
19282 | ||
19283 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19284 | PyObject *resultobj; | |
19285 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19286 | bool result; | |
19287 | PyObject * obj0 = 0 ; | |
19288 | char *kwnames[] = { | |
19289 | (char *) "self", NULL | |
19290 | }; | |
19291 | ||
19292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
19293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19294 | { | |
19295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19296 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19297 | ||
19298 | wxPyEndAllowThreads(__tstate); | |
19299 | if (PyErr_Occurred()) SWIG_fail; | |
19300 | } | |
4d5c3d91 | 19301 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19302 | return resultobj; |
19303 | fail: | |
19304 | return NULL; | |
19305 | } | |
19306 | ||
19307 | ||
19308 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19309 | PyObject *resultobj; | |
19310 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19311 | bool result; | |
19312 | PyObject * obj0 = 0 ; | |
19313 | char *kwnames[] = { | |
19314 | (char *) "self", NULL | |
19315 | }; | |
19316 | ||
19317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
19318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19319 | { | |
19320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19321 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19322 | ||
19323 | wxPyEndAllowThreads(__tstate); | |
19324 | if (PyErr_Occurred()) SWIG_fail; | |
19325 | } | |
4d5c3d91 | 19326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19327 | return resultobj; |
19328 | fail: | |
19329 | return NULL; | |
19330 | } | |
19331 | ||
19332 | ||
19333 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19334 | PyObject *resultobj; | |
19335 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19336 | bool result; | |
19337 | PyObject * obj0 = 0 ; | |
19338 | char *kwnames[] = { | |
19339 | (char *) "self", NULL | |
19340 | }; | |
19341 | ||
19342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
19343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19344 | { | |
19345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19346 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19347 | ||
19348 | wxPyEndAllowThreads(__tstate); | |
19349 | if (PyErr_Occurred()) SWIG_fail; | |
19350 | } | |
4d5c3d91 | 19351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19352 | return resultobj; |
19353 | fail: | |
19354 | return NULL; | |
19355 | } | |
19356 | ||
19357 | ||
19358 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19359 | PyObject *resultobj; | |
19360 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19361 | bool result; | |
19362 | PyObject * obj0 = 0 ; | |
19363 | char *kwnames[] = { | |
19364 | (char *) "self", NULL | |
19365 | }; | |
19366 | ||
19367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
19368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19369 | { | |
19370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19371 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19372 | ||
19373 | wxPyEndAllowThreads(__tstate); | |
19374 | if (PyErr_Occurred()) SWIG_fail; | |
19375 | } | |
4d5c3d91 | 19376 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19377 | return resultobj; |
19378 | fail: | |
19379 | return NULL; | |
19380 | } | |
19381 | ||
19382 | ||
19383 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19384 | PyObject *resultobj; | |
19385 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19386 | bool result; | |
19387 | PyObject * obj0 = 0 ; | |
19388 | char *kwnames[] = { | |
19389 | (char *) "self", NULL | |
19390 | }; | |
19391 | ||
19392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
19393 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19394 | { | |
19395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19396 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19397 | ||
19398 | wxPyEndAllowThreads(__tstate); | |
19399 | if (PyErr_Occurred()) SWIG_fail; | |
19400 | } | |
4d5c3d91 | 19401 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19402 | return resultobj; |
19403 | fail: | |
19404 | return NULL; | |
19405 | } | |
19406 | ||
19407 | ||
19408 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19409 | PyObject *resultobj; | |
19410 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19411 | wxPrintData *result; | |
19412 | PyObject * obj0 = 0 ; | |
19413 | char *kwnames[] = { | |
19414 | (char *) "self", NULL | |
19415 | }; | |
19416 | ||
19417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
19418 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19419 | { | |
19420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19421 | { | |
19422 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19423 | result = (wxPrintData *) &_result_ref; | |
19424 | } | |
19425 | ||
19426 | wxPyEndAllowThreads(__tstate); | |
19427 | if (PyErr_Occurred()) SWIG_fail; | |
19428 | } | |
19429 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
19430 | return resultobj; | |
19431 | fail: | |
19432 | return NULL; | |
19433 | } | |
19434 | ||
19435 | ||
19436 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19437 | PyObject *resultobj; | |
19438 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19439 | wxPrintData *arg2 = 0 ; | |
19440 | PyObject * obj0 = 0 ; | |
19441 | PyObject * obj1 = 0 ; | |
19442 | char *kwnames[] = { | |
19443 | (char *) "self",(char *) "printData", NULL | |
19444 | }; | |
19445 | ||
19446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
19447 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19448 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19449 | if (arg2 == NULL) { | |
19450 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19451 | } | |
19452 | { | |
19453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19454 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19455 | ||
19456 | wxPyEndAllowThreads(__tstate); | |
19457 | if (PyErr_Occurred()) SWIG_fail; | |
19458 | } | |
19459 | Py_INCREF(Py_None); resultobj = Py_None; | |
19460 | return resultobj; | |
19461 | fail: | |
19462 | return NULL; | |
19463 | } | |
19464 | ||
19465 | ||
19466 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
19467 | PyObject *obj; | |
19468 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19469 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19470 | Py_INCREF(obj); | |
19471 | return Py_BuildValue((char *)""); | |
19472 | } | |
19473 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19474 | PyObject *resultobj; | |
19475 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19476 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19477 | wxPrintDialog *result; | |
19478 | PyObject * obj0 = 0 ; | |
19479 | PyObject * obj1 = 0 ; | |
19480 | char *kwnames[] = { | |
19481 | (char *) "parent",(char *) "data", NULL | |
19482 | }; | |
19483 | ||
19484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
19485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19486 | if (obj1) { | |
19487 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19488 | } | |
19489 | { | |
19490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19491 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19492 | ||
19493 | wxPyEndAllowThreads(__tstate); | |
19494 | if (PyErr_Occurred()) SWIG_fail; | |
19495 | } | |
19496 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1); | |
19497 | return resultobj; | |
19498 | fail: | |
19499 | return NULL; | |
19500 | } | |
19501 | ||
19502 | ||
19503 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19504 | PyObject *resultobj; | |
19505 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19506 | wxPrintDialogData *result; | |
19507 | PyObject * obj0 = 0 ; | |
19508 | char *kwnames[] = { | |
19509 | (char *) "self", NULL | |
19510 | }; | |
19511 | ||
19512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
19513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19514 | { | |
19515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19516 | { | |
19517 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19518 | result = (wxPrintDialogData *) &_result_ref; | |
19519 | } | |
19520 | ||
19521 | wxPyEndAllowThreads(__tstate); | |
19522 | if (PyErr_Occurred()) SWIG_fail; | |
19523 | } | |
19524 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
19525 | return resultobj; | |
19526 | fail: | |
19527 | return NULL; | |
19528 | } | |
19529 | ||
19530 | ||
19531 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19532 | PyObject *resultobj; | |
19533 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19534 | wxDC *result; | |
19535 | PyObject * obj0 = 0 ; | |
19536 | char *kwnames[] = { | |
19537 | (char *) "self", NULL | |
19538 | }; | |
19539 | ||
19540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
19541 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19542 | { | |
19543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19544 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19545 | ||
19546 | wxPyEndAllowThreads(__tstate); | |
19547 | if (PyErr_Occurred()) SWIG_fail; | |
19548 | } | |
19549 | { | |
19550 | resultobj = wxPyMake_wxObject(result); | |
19551 | } | |
19552 | return resultobj; | |
19553 | fail: | |
19554 | return NULL; | |
19555 | } | |
19556 | ||
19557 | ||
19558 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19559 | PyObject *resultobj; | |
19560 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19561 | int result; | |
19562 | PyObject * obj0 = 0 ; | |
19563 | char *kwnames[] = { | |
19564 | (char *) "self", NULL | |
19565 | }; | |
19566 | ||
19567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
19568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19569 | { | |
19570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19571 | result = (int)(arg1)->ShowModal(); | |
19572 | ||
19573 | wxPyEndAllowThreads(__tstate); | |
19574 | if (PyErr_Occurred()) SWIG_fail; | |
19575 | } | |
994141e6 | 19576 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
19577 | return resultobj; |
19578 | fail: | |
19579 | return NULL; | |
19580 | } | |
19581 | ||
19582 | ||
19583 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
19584 | PyObject *obj; | |
19585 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19586 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19587 | Py_INCREF(obj); | |
19588 | return Py_BuildValue((char *)""); | |
19589 | } | |
19590 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19591 | PyObject *resultobj; | |
19592 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
19593 | wxPrinter *result; | |
19594 | PyObject * obj0 = 0 ; | |
19595 | char *kwnames[] = { | |
19596 | (char *) "data", NULL | |
19597 | }; | |
19598 | ||
19599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
19600 | if (obj0) { | |
19601 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19602 | } | |
19603 | { | |
19604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19605 | result = (wxPrinter *)new wxPrinter(arg1); | |
19606 | ||
19607 | wxPyEndAllowThreads(__tstate); | |
19608 | if (PyErr_Occurred()) SWIG_fail; | |
19609 | } | |
19610 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1); | |
19611 | return resultobj; | |
19612 | fail: | |
19613 | return NULL; | |
19614 | } | |
19615 | ||
19616 | ||
19617 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19618 | PyObject *resultobj; | |
19619 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19620 | PyObject * obj0 = 0 ; | |
19621 | char *kwnames[] = { | |
19622 | (char *) "self", NULL | |
19623 | }; | |
19624 | ||
19625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
19626 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19627 | { | |
19628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19629 | delete arg1; | |
19630 | ||
19631 | wxPyEndAllowThreads(__tstate); | |
19632 | if (PyErr_Occurred()) SWIG_fail; | |
19633 | } | |
19634 | Py_INCREF(Py_None); resultobj = Py_None; | |
19635 | return resultobj; | |
19636 | fail: | |
19637 | return NULL; | |
19638 | } | |
19639 | ||
19640 | ||
19641 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19642 | PyObject *resultobj; | |
19643 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19644 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19645 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19646 | PyObject * obj0 = 0 ; | |
19647 | PyObject * obj1 = 0 ; | |
19648 | PyObject * obj2 = 0 ; | |
19649 | char *kwnames[] = { | |
19650 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
19651 | }; | |
19652 | ||
19653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19655 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19656 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19657 | { | |
19658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19659 | (arg1)->CreateAbortWindow(arg2,arg3); | |
19660 | ||
19661 | wxPyEndAllowThreads(__tstate); | |
19662 | if (PyErr_Occurred()) SWIG_fail; | |
19663 | } | |
19664 | Py_INCREF(Py_None); resultobj = Py_None; | |
19665 | return resultobj; | |
19666 | fail: | |
19667 | return NULL; | |
19668 | } | |
19669 | ||
19670 | ||
19671 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19672 | PyObject *resultobj; | |
19673 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19674 | wxPrintDialogData *result; | |
19675 | PyObject * obj0 = 0 ; | |
19676 | char *kwnames[] = { | |
19677 | (char *) "self", NULL | |
19678 | }; | |
19679 | ||
19680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
19681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19682 | { | |
19683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19684 | { | |
19685 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19686 | result = (wxPrintDialogData *) &_result_ref; | |
19687 | } | |
19688 | ||
19689 | wxPyEndAllowThreads(__tstate); | |
19690 | if (PyErr_Occurred()) SWIG_fail; | |
19691 | } | |
19692 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
19693 | return resultobj; | |
19694 | fail: | |
19695 | return NULL; | |
19696 | } | |
19697 | ||
19698 | ||
19699 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19700 | PyObject *resultobj; | |
19701 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19702 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19703 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 19704 | int arg4 = (int) True ; |
d14a1e28 RD |
19705 | bool result; |
19706 | PyObject * obj0 = 0 ; | |
19707 | PyObject * obj1 = 0 ; | |
19708 | PyObject * obj2 = 0 ; | |
994141e6 | 19709 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
19710 | char *kwnames[] = { |
19711 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
19712 | }; | |
19713 | ||
994141e6 | 19714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
19715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
19716 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19717 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
994141e6 RD |
19718 | if (obj3) { |
19719 | { | |
19720 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
19721 | if (PyErr_Occurred()) SWIG_fail; | |
19722 | } | |
19723 | } | |
d14a1e28 RD |
19724 | { |
19725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19726 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
19727 | ||
19728 | wxPyEndAllowThreads(__tstate); | |
19729 | if (PyErr_Occurred()) SWIG_fail; | |
19730 | } | |
4d5c3d91 | 19731 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19732 | return resultobj; |
19733 | fail: | |
19734 | return NULL; | |
19735 | } | |
19736 | ||
19737 | ||
19738 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19739 | PyObject *resultobj; | |
19740 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19741 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19742 | wxDC *result; | |
19743 | PyObject * obj0 = 0 ; | |
19744 | PyObject * obj1 = 0 ; | |
19745 | char *kwnames[] = { | |
19746 | (char *) "self",(char *) "parent", NULL | |
19747 | }; | |
19748 | ||
19749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
19750 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19751 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19752 | { | |
19753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19754 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
19755 | ||
19756 | wxPyEndAllowThreads(__tstate); | |
19757 | if (PyErr_Occurred()) SWIG_fail; | |
19758 | } | |
19759 | { | |
19760 | resultobj = wxPyMake_wxObject(result); | |
19761 | } | |
19762 | return resultobj; | |
19763 | fail: | |
19764 | return NULL; | |
19765 | } | |
19766 | ||
19767 | ||
19768 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19769 | PyObject *resultobj; | |
19770 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19771 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19772 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19773 | wxString *arg4 = 0 ; | |
e811c8ce | 19774 | bool temp4 = False ; |
d14a1e28 RD |
19775 | PyObject * obj0 = 0 ; |
19776 | PyObject * obj1 = 0 ; | |
19777 | PyObject * obj2 = 0 ; | |
19778 | PyObject * obj3 = 0 ; | |
19779 | char *kwnames[] = { | |
19780 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
19781 | }; | |
19782 | ||
19783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
19784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19785 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19786 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19787 | { | |
19788 | arg4 = wxString_in_helper(obj3); | |
19789 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 19790 | temp4 = True; |
d14a1e28 RD |
19791 | } |
19792 | { | |
19793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19794 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
19795 | ||
19796 | wxPyEndAllowThreads(__tstate); | |
19797 | if (PyErr_Occurred()) SWIG_fail; | |
19798 | } | |
19799 | Py_INCREF(Py_None); resultobj = Py_None; | |
19800 | { | |
19801 | if (temp4) | |
19802 | delete arg4; | |
19803 | } | |
19804 | return resultobj; | |
19805 | fail: | |
19806 | { | |
19807 | if (temp4) | |
19808 | delete arg4; | |
19809 | } | |
19810 | return NULL; | |
19811 | } | |
19812 | ||
19813 | ||
19814 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19815 | PyObject *resultobj; | |
19816 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19817 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19818 | bool result; | |
19819 | PyObject * obj0 = 0 ; | |
19820 | PyObject * obj1 = 0 ; | |
19821 | char *kwnames[] = { | |
19822 | (char *) "self",(char *) "parent", NULL | |
19823 | }; | |
19824 | ||
19825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
19826 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19827 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19828 | { | |
19829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19830 | result = (bool)(arg1)->Setup(arg2); | |
19831 | ||
19832 | wxPyEndAllowThreads(__tstate); | |
19833 | if (PyErr_Occurred()) SWIG_fail; | |
19834 | } | |
4d5c3d91 | 19835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19836 | return resultobj; |
19837 | fail: | |
19838 | return NULL; | |
19839 | } | |
19840 | ||
19841 | ||
19842 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19843 | PyObject *resultobj; | |
19844 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19845 | bool result; | |
19846 | PyObject * obj0 = 0 ; | |
19847 | char *kwnames[] = { | |
19848 | (char *) "self", NULL | |
19849 | }; | |
19850 | ||
19851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
19852 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19853 | { | |
19854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19855 | result = (bool)(arg1)->GetAbort(); | |
19856 | ||
19857 | wxPyEndAllowThreads(__tstate); | |
19858 | if (PyErr_Occurred()) SWIG_fail; | |
19859 | } | |
4d5c3d91 | 19860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19861 | return resultobj; |
19862 | fail: | |
19863 | return NULL; | |
19864 | } | |
19865 | ||
19866 | ||
19867 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19868 | PyObject *resultobj; | |
19869 | int result; | |
19870 | char *kwnames[] = { | |
19871 | NULL | |
19872 | }; | |
19873 | ||
19874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
19875 | { | |
19876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19877 | result = (int)wxPrinter::GetLastError(); | |
19878 | ||
19879 | wxPyEndAllowThreads(__tstate); | |
19880 | if (PyErr_Occurred()) SWIG_fail; | |
19881 | } | |
994141e6 | 19882 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
19883 | return resultobj; |
19884 | fail: | |
19885 | return NULL; | |
19886 | } | |
19887 | ||
19888 | ||
19889 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
19890 | PyObject *obj; | |
19891 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19892 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
19893 | Py_INCREF(obj); | |
19894 | return Py_BuildValue((char *)""); | |
19895 | } | |
19896 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19897 | PyObject *resultobj; | |
19898 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
19899 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
19900 | wxPyPrintout *result; | |
e811c8ce | 19901 | bool temp1 = False ; |
d14a1e28 RD |
19902 | PyObject * obj0 = 0 ; |
19903 | char *kwnames[] = { | |
19904 | (char *) "title", NULL | |
19905 | }; | |
19906 | ||
19907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
19908 | if (obj0) { | |
19909 | { | |
19910 | arg1 = wxString_in_helper(obj0); | |
19911 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 19912 | temp1 = True; |
d14a1e28 RD |
19913 | } |
19914 | } | |
19915 | { | |
19916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19917 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
19918 | ||
19919 | wxPyEndAllowThreads(__tstate); | |
19920 | if (PyErr_Occurred()) SWIG_fail; | |
19921 | } | |
19922 | { | |
19923 | resultobj = wxPyMake_wxObject(result); | |
19924 | } | |
19925 | { | |
19926 | if (temp1) | |
19927 | delete arg1; | |
19928 | } | |
19929 | return resultobj; | |
19930 | fail: | |
19931 | { | |
19932 | if (temp1) | |
19933 | delete arg1; | |
19934 | } | |
19935 | return NULL; | |
19936 | } | |
19937 | ||
19938 | ||
19939 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19940 | PyObject *resultobj; | |
19941 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19942 | PyObject *arg2 = (PyObject *) 0 ; | |
19943 | PyObject *arg3 = (PyObject *) 0 ; | |
19944 | PyObject * obj0 = 0 ; | |
19945 | PyObject * obj1 = 0 ; | |
19946 | PyObject * obj2 = 0 ; | |
19947 | char *kwnames[] = { | |
19948 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19949 | }; | |
19950 | ||
19951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19953 | arg2 = obj1; | |
19954 | arg3 = obj2; | |
19955 | { | |
19956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19957 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19958 | ||
19959 | wxPyEndAllowThreads(__tstate); | |
19960 | if (PyErr_Occurred()) SWIG_fail; | |
19961 | } | |
19962 | Py_INCREF(Py_None); resultobj = Py_None; | |
19963 | return resultobj; | |
19964 | fail: | |
19965 | return NULL; | |
19966 | } | |
19967 | ||
19968 | ||
19969 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19970 | PyObject *resultobj; | |
19971 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19972 | wxString result; | |
19973 | PyObject * obj0 = 0 ; | |
19974 | char *kwnames[] = { | |
19975 | (char *) "self", NULL | |
19976 | }; | |
19977 | ||
19978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
19979 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19980 | { | |
19981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19982 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
19983 | ||
19984 | wxPyEndAllowThreads(__tstate); | |
19985 | if (PyErr_Occurred()) SWIG_fail; | |
19986 | } | |
19987 | { | |
19988 | #if wxUSE_UNICODE | |
19989 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
19990 | #else | |
19991 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
19992 | #endif | |
19993 | } | |
19994 | return resultobj; | |
19995 | fail: | |
19996 | return NULL; | |
19997 | } | |
19998 | ||
19999 | ||
20000 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20001 | PyObject *resultobj; | |
20002 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20003 | wxDC *result; | |
20004 | PyObject * obj0 = 0 ; | |
20005 | char *kwnames[] = { | |
20006 | (char *) "self", NULL | |
20007 | }; | |
20008 | ||
20009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
20010 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20011 | { | |
20012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20013 | result = (wxDC *)(arg1)->GetDC(); | |
20014 | ||
20015 | wxPyEndAllowThreads(__tstate); | |
20016 | if (PyErr_Occurred()) SWIG_fail; | |
20017 | } | |
20018 | { | |
20019 | resultobj = wxPyMake_wxObject(result); | |
20020 | } | |
20021 | return resultobj; | |
20022 | fail: | |
20023 | return NULL; | |
20024 | } | |
20025 | ||
20026 | ||
20027 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20028 | PyObject *resultobj; | |
20029 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20030 | wxDC *arg2 = (wxDC *) 0 ; | |
20031 | PyObject * obj0 = 0 ; | |
20032 | PyObject * obj1 = 0 ; | |
20033 | char *kwnames[] = { | |
20034 | (char *) "self",(char *) "dc", NULL | |
20035 | }; | |
20036 | ||
20037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
20038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20039 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20040 | { | |
20041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20042 | (arg1)->SetDC(arg2); | |
20043 | ||
20044 | wxPyEndAllowThreads(__tstate); | |
20045 | if (PyErr_Occurred()) SWIG_fail; | |
20046 | } | |
20047 | Py_INCREF(Py_None); resultobj = Py_None; | |
20048 | return resultobj; | |
20049 | fail: | |
20050 | return NULL; | |
20051 | } | |
20052 | ||
20053 | ||
322913ce | 20054 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20055 | PyObject *resultobj; |
20056 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20057 | int arg2 ; |
20058 | int arg3 ; | |
d14a1e28 | 20059 | PyObject * obj0 = 0 ; |
994141e6 RD |
20060 | PyObject * obj1 = 0 ; |
20061 | PyObject * obj2 = 0 ; | |
d14a1e28 | 20062 | char *kwnames[] = { |
322913ce | 20063 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
20064 | }; |
20065 | ||
994141e6 | 20066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20067 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20068 | { |
20069 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20070 | if (PyErr_Occurred()) SWIG_fail; | |
20071 | } | |
20072 | { | |
20073 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20074 | if (PyErr_Occurred()) SWIG_fail; | |
20075 | } | |
d14a1e28 RD |
20076 | { |
20077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20078 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20079 | |
20080 | wxPyEndAllowThreads(__tstate); | |
20081 | if (PyErr_Occurred()) SWIG_fail; | |
20082 | } | |
20083 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
20084 | return resultobj; |
20085 | fail: | |
20086 | return NULL; | |
20087 | } | |
20088 | ||
20089 | ||
322913ce | 20090 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20091 | PyObject *resultobj; |
20092 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20093 | int *arg2 = (int *) 0 ; |
20094 | int *arg3 = (int *) 0 ; | |
20095 | int temp2 ; | |
20096 | int temp3 ; | |
d14a1e28 RD |
20097 | PyObject * obj0 = 0 ; |
20098 | char *kwnames[] = { | |
322913ce | 20099 | (char *) "self", NULL |
d14a1e28 RD |
20100 | }; |
20101 | ||
322913ce RD |
20102 | arg2 = &temp2; |
20103 | arg3 = &temp3; | |
20104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
d14a1e28 RD |
20105 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20106 | { | |
20107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20108 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20109 | |
20110 | wxPyEndAllowThreads(__tstate); | |
20111 | if (PyErr_Occurred()) SWIG_fail; | |
20112 | } | |
20113 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
20114 | { |
20115 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20116 | resultobj = t_output_helper(resultobj,o); | |
20117 | } | |
20118 | { | |
20119 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20120 | resultobj = t_output_helper(resultobj,o); | |
20121 | } | |
d14a1e28 RD |
20122 | return resultobj; |
20123 | fail: | |
20124 | return NULL; | |
20125 | } | |
20126 | ||
20127 | ||
20128 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20129 | PyObject *resultobj; | |
20130 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20131 | int arg2 ; | |
20132 | int arg3 ; | |
20133 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20134 | PyObject * obj1 = 0 ; |
20135 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20136 | char *kwnames[] = { |
20137 | (char *) "self",(char *) "w",(char *) "h", NULL | |
20138 | }; | |
20139 | ||
994141e6 | 20140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20141 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20142 | { |
20143 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20144 | if (PyErr_Occurred()) SWIG_fail; | |
20145 | } | |
20146 | { | |
20147 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20148 | if (PyErr_Occurred()) SWIG_fail; | |
20149 | } | |
d14a1e28 RD |
20150 | { |
20151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20152 | (arg1)->SetPageSizeMM(arg2,arg3); | |
20153 | ||
20154 | wxPyEndAllowThreads(__tstate); | |
20155 | if (PyErr_Occurred()) SWIG_fail; | |
20156 | } | |
20157 | Py_INCREF(Py_None); resultobj = Py_None; | |
20158 | return resultobj; | |
20159 | fail: | |
20160 | return NULL; | |
20161 | } | |
20162 | ||
20163 | ||
20164 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20165 | PyObject *resultobj; | |
20166 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20167 | int *arg2 = (int *) 0 ; | |
20168 | int *arg3 = (int *) 0 ; | |
20169 | int temp2 ; | |
20170 | int temp3 ; | |
20171 | PyObject * obj0 = 0 ; | |
20172 | char *kwnames[] = { | |
20173 | (char *) "self", NULL | |
20174 | }; | |
20175 | ||
20176 | arg2 = &temp2; | |
20177 | arg3 = &temp3; | |
20178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
20179 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20180 | { | |
20181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20182 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20183 | ||
20184 | wxPyEndAllowThreads(__tstate); | |
20185 | if (PyErr_Occurred()) SWIG_fail; | |
20186 | } | |
20187 | Py_INCREF(Py_None); resultobj = Py_None; | |
20188 | { | |
20189 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20190 | resultobj = t_output_helper(resultobj,o); | |
20191 | } | |
20192 | { | |
20193 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20194 | resultobj = t_output_helper(resultobj,o); | |
20195 | } | |
20196 | return resultobj; | |
20197 | fail: | |
20198 | return NULL; | |
20199 | } | |
20200 | ||
20201 | ||
20202 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20203 | PyObject *resultobj; | |
20204 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20205 | int arg2 ; | |
20206 | int arg3 ; | |
20207 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20208 | PyObject * obj1 = 0 ; |
20209 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20210 | char *kwnames[] = { |
20211 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20212 | }; | |
20213 | ||
994141e6 | 20214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20216 | { |
20217 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20218 | if (PyErr_Occurred()) SWIG_fail; | |
20219 | } | |
20220 | { | |
20221 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20222 | if (PyErr_Occurred()) SWIG_fail; | |
20223 | } | |
d14a1e28 RD |
20224 | { |
20225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20226 | (arg1)->SetPPIScreen(arg2,arg3); | |
20227 | ||
20228 | wxPyEndAllowThreads(__tstate); | |
20229 | if (PyErr_Occurred()) SWIG_fail; | |
20230 | } | |
20231 | Py_INCREF(Py_None); resultobj = Py_None; | |
20232 | return resultobj; | |
20233 | fail: | |
20234 | return NULL; | |
20235 | } | |
20236 | ||
20237 | ||
20238 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20239 | PyObject *resultobj; | |
20240 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20241 | int *arg2 = (int *) 0 ; | |
20242 | int *arg3 = (int *) 0 ; | |
20243 | int temp2 ; | |
20244 | int temp3 ; | |
20245 | PyObject * obj0 = 0 ; | |
20246 | char *kwnames[] = { | |
20247 | (char *) "self", NULL | |
20248 | }; | |
20249 | ||
20250 | arg2 = &temp2; | |
20251 | arg3 = &temp3; | |
20252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
20253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20254 | { | |
20255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20256 | (arg1)->GetPPIScreen(arg2,arg3); | |
20257 | ||
20258 | wxPyEndAllowThreads(__tstate); | |
20259 | if (PyErr_Occurred()) SWIG_fail; | |
20260 | } | |
20261 | Py_INCREF(Py_None); resultobj = Py_None; | |
20262 | { | |
20263 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20264 | resultobj = t_output_helper(resultobj,o); | |
20265 | } | |
20266 | { | |
20267 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20268 | resultobj = t_output_helper(resultobj,o); | |
20269 | } | |
20270 | return resultobj; | |
20271 | fail: | |
20272 | return NULL; | |
20273 | } | |
20274 | ||
20275 | ||
20276 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20277 | PyObject *resultobj; | |
20278 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20279 | int arg2 ; | |
20280 | int arg3 ; | |
20281 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20282 | PyObject * obj1 = 0 ; |
20283 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20284 | char *kwnames[] = { |
20285 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20286 | }; | |
20287 | ||
994141e6 | 20288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20290 | { |
20291 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20292 | if (PyErr_Occurred()) SWIG_fail; | |
20293 | } | |
20294 | { | |
20295 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20296 | if (PyErr_Occurred()) SWIG_fail; | |
20297 | } | |
d14a1e28 RD |
20298 | { |
20299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20300 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20301 | ||
20302 | wxPyEndAllowThreads(__tstate); | |
20303 | if (PyErr_Occurred()) SWIG_fail; | |
20304 | } | |
20305 | Py_INCREF(Py_None); resultobj = Py_None; | |
20306 | return resultobj; | |
20307 | fail: | |
20308 | return NULL; | |
20309 | } | |
20310 | ||
20311 | ||
20312 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20313 | PyObject *resultobj; | |
20314 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20315 | int *arg2 = (int *) 0 ; | |
20316 | int *arg3 = (int *) 0 ; | |
20317 | int temp2 ; | |
20318 | int temp3 ; | |
20319 | PyObject * obj0 = 0 ; | |
20320 | char *kwnames[] = { | |
20321 | (char *) "self", NULL | |
20322 | }; | |
20323 | ||
20324 | arg2 = &temp2; | |
20325 | arg3 = &temp3; | |
20326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
20327 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20328 | { | |
20329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20330 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20331 | ||
20332 | wxPyEndAllowThreads(__tstate); | |
20333 | if (PyErr_Occurred()) SWIG_fail; | |
20334 | } | |
20335 | Py_INCREF(Py_None); resultobj = Py_None; | |
20336 | { | |
20337 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20338 | resultobj = t_output_helper(resultobj,o); | |
20339 | } | |
20340 | { | |
20341 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20342 | resultobj = t_output_helper(resultobj,o); | |
20343 | } | |
20344 | return resultobj; | |
20345 | fail: | |
20346 | return NULL; | |
20347 | } | |
20348 | ||
20349 | ||
20350 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20351 | PyObject *resultobj; | |
20352 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20353 | bool result; | |
20354 | PyObject * obj0 = 0 ; | |
20355 | char *kwnames[] = { | |
20356 | (char *) "self", NULL | |
20357 | }; | |
20358 | ||
20359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
20360 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20361 | { | |
20362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20363 | result = (bool)(arg1)->IsPreview(); | |
20364 | ||
20365 | wxPyEndAllowThreads(__tstate); | |
20366 | if (PyErr_Occurred()) SWIG_fail; | |
20367 | } | |
4d5c3d91 | 20368 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20369 | return resultobj; |
20370 | fail: | |
20371 | return NULL; | |
20372 | } | |
20373 | ||
20374 | ||
20375 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20376 | PyObject *resultobj; | |
20377 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20378 | bool arg2 ; | |
20379 | PyObject * obj0 = 0 ; | |
20380 | PyObject * obj1 = 0 ; | |
20381 | char *kwnames[] = { | |
20382 | (char *) "self",(char *) "p", NULL | |
20383 | }; | |
20384 | ||
20385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
20386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 20387 | { |
994141e6 | 20388 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
20389 | if (PyErr_Occurred()) SWIG_fail; |
20390 | } | |
d14a1e28 RD |
20391 | { |
20392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20393 | (arg1)->SetIsPreview(arg2); | |
20394 | ||
20395 | wxPyEndAllowThreads(__tstate); | |
20396 | if (PyErr_Occurred()) SWIG_fail; | |
20397 | } | |
20398 | Py_INCREF(Py_None); resultobj = Py_None; | |
20399 | return resultobj; | |
20400 | fail: | |
20401 | return NULL; | |
20402 | } | |
20403 | ||
20404 | ||
20405 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20406 | PyObject *resultobj; | |
20407 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20408 | int arg2 ; | |
20409 | int arg3 ; | |
20410 | bool result; | |
20411 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20412 | PyObject * obj1 = 0 ; |
20413 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20414 | char *kwnames[] = { |
20415 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20416 | }; | |
20417 | ||
994141e6 | 20418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20419 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20420 | { |
20421 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20422 | if (PyErr_Occurred()) SWIG_fail; | |
20423 | } | |
20424 | { | |
20425 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20426 | if (PyErr_Occurred()) SWIG_fail; | |
20427 | } | |
d14a1e28 RD |
20428 | { |
20429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20430 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20431 | ||
20432 | wxPyEndAllowThreads(__tstate); | |
20433 | if (PyErr_Occurred()) SWIG_fail; | |
20434 | } | |
4d5c3d91 | 20435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20436 | return resultobj; |
20437 | fail: | |
20438 | return NULL; | |
20439 | } | |
20440 | ||
20441 | ||
20442 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20443 | PyObject *resultobj; | |
20444 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20445 | PyObject * obj0 = 0 ; | |
20446 | char *kwnames[] = { | |
20447 | (char *) "self", NULL | |
20448 | }; | |
20449 | ||
20450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
20451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20452 | { | |
20453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20454 | (arg1)->base_OnEndDocument(); | |
20455 | ||
20456 | wxPyEndAllowThreads(__tstate); | |
20457 | if (PyErr_Occurred()) SWIG_fail; | |
20458 | } | |
20459 | Py_INCREF(Py_None); resultobj = Py_None; | |
20460 | return resultobj; | |
20461 | fail: | |
20462 | return NULL; | |
20463 | } | |
20464 | ||
20465 | ||
20466 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20467 | PyObject *resultobj; | |
20468 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20469 | PyObject * obj0 = 0 ; | |
20470 | char *kwnames[] = { | |
20471 | (char *) "self", NULL | |
20472 | }; | |
20473 | ||
20474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
20475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20476 | { | |
20477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20478 | (arg1)->base_OnBeginPrinting(); | |
20479 | ||
20480 | wxPyEndAllowThreads(__tstate); | |
20481 | if (PyErr_Occurred()) SWIG_fail; | |
20482 | } | |
20483 | Py_INCREF(Py_None); resultobj = Py_None; | |
20484 | return resultobj; | |
20485 | fail: | |
20486 | return NULL; | |
20487 | } | |
20488 | ||
20489 | ||
20490 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20491 | PyObject *resultobj; | |
20492 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20493 | PyObject * obj0 = 0 ; | |
20494 | char *kwnames[] = { | |
20495 | (char *) "self", NULL | |
20496 | }; | |
20497 | ||
20498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
20499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20500 | { | |
20501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20502 | (arg1)->base_OnEndPrinting(); | |
20503 | ||
20504 | wxPyEndAllowThreads(__tstate); | |
20505 | if (PyErr_Occurred()) SWIG_fail; | |
20506 | } | |
20507 | Py_INCREF(Py_None); resultobj = Py_None; | |
20508 | return resultobj; | |
20509 | fail: | |
20510 | return NULL; | |
20511 | } | |
20512 | ||
20513 | ||
20514 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20515 | PyObject *resultobj; | |
20516 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20517 | PyObject * obj0 = 0 ; | |
20518 | char *kwnames[] = { | |
20519 | (char *) "self", NULL | |
20520 | }; | |
20521 | ||
20522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
20523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20524 | { | |
20525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20526 | (arg1)->base_OnPreparePrinting(); | |
20527 | ||
20528 | wxPyEndAllowThreads(__tstate); | |
20529 | if (PyErr_Occurred()) SWIG_fail; | |
20530 | } | |
20531 | Py_INCREF(Py_None); resultobj = Py_None; | |
20532 | return resultobj; | |
20533 | fail: | |
20534 | return NULL; | |
20535 | } | |
20536 | ||
20537 | ||
322913ce RD |
20538 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
20539 | PyObject *resultobj; | |
20540 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20541 | int arg2 ; | |
20542 | bool result; | |
20543 | PyObject * obj0 = 0 ; | |
994141e6 | 20544 | PyObject * obj1 = 0 ; |
322913ce RD |
20545 | char *kwnames[] = { |
20546 | (char *) "self",(char *) "page", NULL | |
20547 | }; | |
20548 | ||
994141e6 | 20549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
322913ce | 20550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20551 | { |
20552 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20553 | if (PyErr_Occurred()) SWIG_fail; | |
20554 | } | |
322913ce RD |
20555 | { |
20556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20557 | result = (bool)(arg1)->base_HasPage(arg2); | |
20558 | ||
20559 | wxPyEndAllowThreads(__tstate); | |
20560 | if (PyErr_Occurred()) SWIG_fail; | |
20561 | } | |
4d5c3d91 | 20562 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
322913ce RD |
20563 | return resultobj; |
20564 | fail: | |
20565 | return NULL; | |
20566 | } | |
20567 | ||
20568 | ||
d14a1e28 RD |
20569 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
20570 | PyObject *resultobj; | |
20571 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20572 | int *arg2 = (int *) 0 ; | |
20573 | int *arg3 = (int *) 0 ; | |
20574 | int *arg4 = (int *) 0 ; | |
20575 | int *arg5 = (int *) 0 ; | |
20576 | int temp2 ; | |
20577 | int temp3 ; | |
20578 | int temp4 ; | |
20579 | int temp5 ; | |
20580 | PyObject * obj0 = 0 ; | |
20581 | char *kwnames[] = { | |
20582 | (char *) "self", NULL | |
20583 | }; | |
20584 | ||
20585 | arg2 = &temp2; | |
20586 | arg3 = &temp3; | |
20587 | arg4 = &temp4; | |
20588 | arg5 = &temp5; | |
20589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
20590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20591 | { | |
20592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20593 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
20594 | ||
20595 | wxPyEndAllowThreads(__tstate); | |
20596 | if (PyErr_Occurred()) SWIG_fail; | |
20597 | } | |
20598 | Py_INCREF(Py_None); resultobj = Py_None; | |
20599 | { | |
20600 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20601 | resultobj = t_output_helper(resultobj,o); | |
20602 | } | |
20603 | { | |
20604 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20605 | resultobj = t_output_helper(resultobj,o); | |
20606 | } | |
20607 | { | |
20608 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
20609 | resultobj = t_output_helper(resultobj,o); | |
20610 | } | |
20611 | { | |
20612 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
20613 | resultobj = t_output_helper(resultobj,o); | |
20614 | } | |
20615 | return resultobj; | |
20616 | fail: | |
20617 | return NULL; | |
20618 | } | |
20619 | ||
20620 | ||
d14a1e28 RD |
20621 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
20622 | PyObject *obj; | |
20623 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20624 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
20625 | Py_INCREF(obj); | |
20626 | return Py_BuildValue((char *)""); | |
20627 | } | |
20628 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20629 | PyObject *resultobj; | |
20630 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20631 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20632 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
20633 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
20634 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
20635 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
20636 | long arg5 = (long) 0 ; | |
20637 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
20638 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
20639 | wxPreviewCanvas *result; | |
20640 | wxPoint temp3 ; | |
20641 | wxSize temp4 ; | |
e811c8ce | 20642 | bool temp6 = False ; |
d14a1e28 RD |
20643 | PyObject * obj0 = 0 ; |
20644 | PyObject * obj1 = 0 ; | |
20645 | PyObject * obj2 = 0 ; | |
20646 | PyObject * obj3 = 0 ; | |
994141e6 | 20647 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
20648 | PyObject * obj5 = 0 ; |
20649 | char *kwnames[] = { | |
20650 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20651 | }; | |
20652 | ||
994141e6 | 20653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
20654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20655 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20656 | if (obj2) { | |
20657 | { | |
20658 | arg3 = &temp3; | |
20659 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20660 | } | |
20661 | } | |
20662 | if (obj3) { | |
20663 | { | |
20664 | arg4 = &temp4; | |
20665 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20666 | } | |
20667 | } | |
994141e6 RD |
20668 | if (obj4) { |
20669 | { | |
20670 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
20671 | if (PyErr_Occurred()) SWIG_fail; | |
20672 | } | |
20673 | } | |
d14a1e28 RD |
20674 | if (obj5) { |
20675 | { | |
20676 | arg6 = wxString_in_helper(obj5); | |
20677 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 20678 | temp6 = True; |
d14a1e28 RD |
20679 | } |
20680 | } | |
20681 | { | |
20682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20683 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20684 | ||
20685 | wxPyEndAllowThreads(__tstate); | |
20686 | if (PyErr_Occurred()) SWIG_fail; | |
20687 | } | |
20688 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1); | |
20689 | { | |
20690 | if (temp6) | |
20691 | delete arg6; | |
20692 | } | |
20693 | return resultobj; | |
20694 | fail: | |
20695 | { | |
20696 | if (temp6) | |
20697 | delete arg6; | |
20698 | } | |
20699 | return NULL; | |
20700 | } | |
20701 | ||
20702 | ||
20703 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
20704 | PyObject *obj; | |
20705 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20706 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
20707 | Py_INCREF(obj); | |
20708 | return Py_BuildValue((char *)""); | |
20709 | } | |
20710 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20711 | PyObject *resultobj; | |
20712 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20713 | wxFrame *arg2 = (wxFrame *) 0 ; | |
20714 | wxString *arg3 = 0 ; | |
20715 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20716 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20717 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20718 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20719 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
20720 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
20721 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20722 | wxPreviewFrame *result; | |
e811c8ce | 20723 | bool temp3 = False ; |
d14a1e28 RD |
20724 | wxPoint temp4 ; |
20725 | wxSize temp5 ; | |
e811c8ce | 20726 | bool temp7 = False ; |
d14a1e28 RD |
20727 | PyObject * obj0 = 0 ; |
20728 | PyObject * obj1 = 0 ; | |
20729 | PyObject * obj2 = 0 ; | |
20730 | PyObject * obj3 = 0 ; | |
20731 | PyObject * obj4 = 0 ; | |
994141e6 | 20732 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20733 | PyObject * obj6 = 0 ; |
20734 | char *kwnames[] = { | |
20735 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20736 | }; | |
20737 | ||
994141e6 | 20738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
20739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20740 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20741 | { | |
20742 | arg3 = wxString_in_helper(obj2); | |
20743 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 20744 | temp3 = True; |
d14a1e28 RD |
20745 | } |
20746 | if (obj3) { | |
20747 | { | |
20748 | arg4 = &temp4; | |
20749 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20750 | } | |
20751 | } | |
20752 | if (obj4) { | |
20753 | { | |
20754 | arg5 = &temp5; | |
20755 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20756 | } | |
20757 | } | |
994141e6 RD |
20758 | if (obj5) { |
20759 | { | |
20760 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
20761 | if (PyErr_Occurred()) SWIG_fail; | |
20762 | } | |
20763 | } | |
d14a1e28 RD |
20764 | if (obj6) { |
20765 | { | |
20766 | arg7 = wxString_in_helper(obj6); | |
20767 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 20768 | temp7 = True; |
d14a1e28 RD |
20769 | } |
20770 | } | |
20771 | { | |
20772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20773 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20774 | ||
20775 | wxPyEndAllowThreads(__tstate); | |
20776 | if (PyErr_Occurred()) SWIG_fail; | |
20777 | } | |
20778 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1); | |
20779 | { | |
20780 | if (temp3) | |
20781 | delete arg3; | |
20782 | } | |
20783 | { | |
20784 | if (temp7) | |
20785 | delete arg7; | |
20786 | } | |
20787 | return resultobj; | |
20788 | fail: | |
20789 | { | |
20790 | if (temp3) | |
20791 | delete arg3; | |
20792 | } | |
20793 | { | |
20794 | if (temp7) | |
20795 | delete arg7; | |
20796 | } | |
20797 | return NULL; | |
20798 | } | |
20799 | ||
20800 | ||
20801 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20802 | PyObject *resultobj; | |
20803 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20804 | PyObject * obj0 = 0 ; | |
20805 | char *kwnames[] = { | |
20806 | (char *) "self", NULL | |
20807 | }; | |
20808 | ||
20809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
20810 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20811 | { | |
20812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20813 | (arg1)->Initialize(); | |
20814 | ||
20815 | wxPyEndAllowThreads(__tstate); | |
20816 | if (PyErr_Occurred()) SWIG_fail; | |
20817 | } | |
20818 | Py_INCREF(Py_None); resultobj = Py_None; | |
20819 | return resultobj; | |
20820 | fail: | |
20821 | return NULL; | |
20822 | } | |
20823 | ||
20824 | ||
20825 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20826 | PyObject *resultobj; | |
20827 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20828 | PyObject * obj0 = 0 ; | |
20829 | char *kwnames[] = { | |
20830 | (char *) "self", NULL | |
20831 | }; | |
20832 | ||
20833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
20834 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20835 | { | |
20836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20837 | (arg1)->CreateControlBar(); | |
20838 | ||
20839 | wxPyEndAllowThreads(__tstate); | |
20840 | if (PyErr_Occurred()) SWIG_fail; | |
20841 | } | |
20842 | Py_INCREF(Py_None); resultobj = Py_None; | |
20843 | return resultobj; | |
20844 | fail: | |
20845 | return NULL; | |
20846 | } | |
20847 | ||
20848 | ||
20849 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20850 | PyObject *resultobj; | |
20851 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20852 | PyObject * obj0 = 0 ; | |
20853 | char *kwnames[] = { | |
20854 | (char *) "self", NULL | |
20855 | }; | |
20856 | ||
20857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
20858 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20859 | { | |
20860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20861 | (arg1)->CreateCanvas(); | |
20862 | ||
20863 | wxPyEndAllowThreads(__tstate); | |
20864 | if (PyErr_Occurred()) SWIG_fail; | |
20865 | } | |
20866 | Py_INCREF(Py_None); resultobj = Py_None; | |
20867 | return resultobj; | |
20868 | fail: | |
20869 | return NULL; | |
20870 | } | |
20871 | ||
20872 | ||
20873 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20874 | PyObject *resultobj; | |
20875 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20876 | wxPreviewControlBar *result; | |
20877 | PyObject * obj0 = 0 ; | |
20878 | char *kwnames[] = { | |
20879 | (char *) "self", NULL | |
20880 | }; | |
20881 | ||
20882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
20883 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20884 | { | |
20885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20886 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
20887 | ||
20888 | wxPyEndAllowThreads(__tstate); | |
20889 | if (PyErr_Occurred()) SWIG_fail; | |
20890 | } | |
20891 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0); | |
20892 | return resultobj; | |
20893 | fail: | |
20894 | return NULL; | |
20895 | } | |
20896 | ||
20897 | ||
20898 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
20899 | PyObject *obj; | |
20900 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20901 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
20902 | Py_INCREF(obj); | |
20903 | return Py_BuildValue((char *)""); | |
20904 | } | |
20905 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20906 | PyObject *resultobj; | |
20907 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20908 | long arg2 ; | |
20909 | wxWindow *arg3 = (wxWindow *) 0 ; | |
20910 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20911 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20912 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20913 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20914 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
20915 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
20916 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20917 | wxPreviewControlBar *result; | |
20918 | wxPoint temp4 ; | |
20919 | wxSize temp5 ; | |
e811c8ce | 20920 | bool temp7 = False ; |
d14a1e28 | 20921 | PyObject * obj0 = 0 ; |
994141e6 | 20922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20923 | PyObject * obj2 = 0 ; |
20924 | PyObject * obj3 = 0 ; | |
20925 | PyObject * obj4 = 0 ; | |
994141e6 | 20926 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20927 | PyObject * obj6 = 0 ; |
20928 | char *kwnames[] = { | |
20929 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20930 | }; | |
20931 | ||
994141e6 | 20932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 20933 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
20934 | { |
20935 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
20936 | if (PyErr_Occurred()) SWIG_fail; | |
20937 | } | |
d14a1e28 RD |
20938 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20939 | if (obj3) { | |
20940 | { | |
20941 | arg4 = &temp4; | |
20942 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20943 | } | |
20944 | } | |
20945 | if (obj4) { | |
20946 | { | |
20947 | arg5 = &temp5; | |
20948 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20949 | } | |
20950 | } | |
994141e6 RD |
20951 | if (obj5) { |
20952 | { | |
20953 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
20954 | if (PyErr_Occurred()) SWIG_fail; | |
20955 | } | |
20956 | } | |
d14a1e28 RD |
20957 | if (obj6) { |
20958 | { | |
20959 | arg7 = wxString_in_helper(obj6); | |
20960 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 20961 | temp7 = True; |
d14a1e28 RD |
20962 | } |
20963 | } | |
20964 | { | |
20965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20966 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20967 | ||
20968 | wxPyEndAllowThreads(__tstate); | |
20969 | if (PyErr_Occurred()) SWIG_fail; | |
20970 | } | |
20971 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1); | |
20972 | { | |
20973 | if (temp7) | |
20974 | delete arg7; | |
20975 | } | |
20976 | return resultobj; | |
20977 | fail: | |
20978 | { | |
20979 | if (temp7) | |
20980 | delete arg7; | |
20981 | } | |
20982 | return NULL; | |
20983 | } | |
20984 | ||
20985 | ||
20986 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20987 | PyObject *resultobj; | |
20988 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20989 | int result; | |
20990 | PyObject * obj0 = 0 ; | |
20991 | char *kwnames[] = { | |
20992 | (char *) "self", NULL | |
20993 | }; | |
20994 | ||
20995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
20996 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20997 | { | |
20998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20999 | result = (int)(arg1)->GetZoomControl(); | |
21000 | ||
21001 | wxPyEndAllowThreads(__tstate); | |
21002 | if (PyErr_Occurred()) SWIG_fail; | |
21003 | } | |
994141e6 | 21004 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21005 | return resultobj; |
21006 | fail: | |
21007 | return NULL; | |
21008 | } | |
21009 | ||
21010 | ||
21011 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21012 | PyObject *resultobj; | |
21013 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21014 | int arg2 ; | |
21015 | PyObject * obj0 = 0 ; | |
994141e6 | 21016 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21017 | char *kwnames[] = { |
21018 | (char *) "self",(char *) "zoom", NULL | |
21019 | }; | |
21020 | ||
994141e6 | 21021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21022 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
21023 | { |
21024 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21025 | if (PyErr_Occurred()) SWIG_fail; | |
21026 | } | |
d14a1e28 RD |
21027 | { |
21028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21029 | (arg1)->SetZoomControl(arg2); | |
21030 | ||
21031 | wxPyEndAllowThreads(__tstate); | |
21032 | if (PyErr_Occurred()) SWIG_fail; | |
21033 | } | |
21034 | Py_INCREF(Py_None); resultobj = Py_None; | |
21035 | return resultobj; | |
21036 | fail: | |
21037 | return NULL; | |
21038 | } | |
21039 | ||
21040 | ||
21041 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21042 | PyObject *resultobj; | |
21043 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21044 | wxPrintPreview *result; | |
21045 | PyObject * obj0 = 0 ; | |
21046 | char *kwnames[] = { | |
21047 | (char *) "self", NULL | |
21048 | }; | |
21049 | ||
21050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
21051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21052 | { | |
21053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21054 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
21055 | ||
21056 | wxPyEndAllowThreads(__tstate); | |
21057 | if (PyErr_Occurred()) SWIG_fail; | |
21058 | } | |
21059 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0); | |
21060 | return resultobj; | |
21061 | fail: | |
21062 | return NULL; | |
21063 | } | |
21064 | ||
21065 | ||
21066 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21067 | PyObject *resultobj; | |
21068 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21069 | PyObject * obj0 = 0 ; | |
21070 | char *kwnames[] = { | |
21071 | (char *) "self", NULL | |
21072 | }; | |
21073 | ||
21074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
21075 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21076 | { | |
21077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21078 | (arg1)->OnNext(); | |
21079 | ||
21080 | wxPyEndAllowThreads(__tstate); | |
21081 | if (PyErr_Occurred()) SWIG_fail; | |
21082 | } | |
21083 | Py_INCREF(Py_None); resultobj = Py_None; | |
21084 | return resultobj; | |
21085 | fail: | |
21086 | return NULL; | |
21087 | } | |
21088 | ||
21089 | ||
21090 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21091 | PyObject *resultobj; | |
21092 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21093 | PyObject * obj0 = 0 ; | |
21094 | char *kwnames[] = { | |
21095 | (char *) "self", NULL | |
21096 | }; | |
21097 | ||
21098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
21099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21100 | { | |
21101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21102 | (arg1)->OnPrevious(); | |
21103 | ||
21104 | wxPyEndAllowThreads(__tstate); | |
21105 | if (PyErr_Occurred()) SWIG_fail; | |
21106 | } | |
21107 | Py_INCREF(Py_None); resultobj = Py_None; | |
21108 | return resultobj; | |
21109 | fail: | |
21110 | return NULL; | |
21111 | } | |
21112 | ||
21113 | ||
21114 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21115 | PyObject *resultobj; | |
21116 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21117 | PyObject * obj0 = 0 ; | |
21118 | char *kwnames[] = { | |
21119 | (char *) "self", NULL | |
21120 | }; | |
21121 | ||
21122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
21123 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21124 | { | |
21125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21126 | (arg1)->OnFirst(); | |
21127 | ||
21128 | wxPyEndAllowThreads(__tstate); | |
21129 | if (PyErr_Occurred()) SWIG_fail; | |
21130 | } | |
21131 | Py_INCREF(Py_None); resultobj = Py_None; | |
21132 | return resultobj; | |
21133 | fail: | |
21134 | return NULL; | |
21135 | } | |
21136 | ||
21137 | ||
21138 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21139 | PyObject *resultobj; | |
21140 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21141 | PyObject * obj0 = 0 ; | |
21142 | char *kwnames[] = { | |
21143 | (char *) "self", NULL | |
21144 | }; | |
21145 | ||
21146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
21147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21148 | { | |
21149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21150 | (arg1)->OnLast(); | |
21151 | ||
21152 | wxPyEndAllowThreads(__tstate); | |
21153 | if (PyErr_Occurred()) SWIG_fail; | |
21154 | } | |
21155 | Py_INCREF(Py_None); resultobj = Py_None; | |
21156 | return resultobj; | |
21157 | fail: | |
21158 | return NULL; | |
21159 | } | |
21160 | ||
21161 | ||
21162 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21163 | PyObject *resultobj; | |
21164 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21165 | PyObject * obj0 = 0 ; | |
21166 | char *kwnames[] = { | |
21167 | (char *) "self", NULL | |
21168 | }; | |
21169 | ||
21170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
21171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21172 | { | |
21173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21174 | (arg1)->OnGoto(); | |
21175 | ||
21176 | wxPyEndAllowThreads(__tstate); | |
21177 | if (PyErr_Occurred()) SWIG_fail; | |
21178 | } | |
21179 | Py_INCREF(Py_None); resultobj = Py_None; | |
21180 | return resultobj; | |
21181 | fail: | |
21182 | return NULL; | |
21183 | } | |
21184 | ||
21185 | ||
21186 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21187 | PyObject *obj; | |
21188 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21189 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21190 | Py_INCREF(obj); | |
21191 | return Py_BuildValue((char *)""); | |
21192 | } | |
21193 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21194 | PyObject *resultobj; | |
21195 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21196 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21197 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
21198 | wxPrintPreview *result; | |
21199 | PyObject * obj0 = 0 ; | |
21200 | PyObject * obj1 = 0 ; | |
21201 | PyObject * obj2 = 0 ; | |
21202 | char *kwnames[] = { | |
21203 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
21204 | }; | |
21205 | ||
21206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21207 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21208 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21209 | if (obj2) { | |
21210 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21211 | } | |
21212 | { | |
21213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21214 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21215 | ||
21216 | wxPyEndAllowThreads(__tstate); | |
21217 | if (PyErr_Occurred()) SWIG_fail; | |
21218 | } | |
21219 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1); | |
21220 | return resultobj; | |
21221 | fail: | |
21222 | return NULL; | |
21223 | } | |
21224 | ||
21225 | ||
21226 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21227 | PyObject *resultobj; | |
21228 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21229 | int arg2 ; | |
21230 | bool result; | |
21231 | PyObject * obj0 = 0 ; | |
994141e6 | 21232 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21233 | char *kwnames[] = { |
21234 | (char *) "self",(char *) "pageNum", NULL | |
21235 | }; | |
21236 | ||
994141e6 | 21237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
21239 | { |
21240 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21241 | if (PyErr_Occurred()) SWIG_fail; | |
21242 | } | |
d14a1e28 RD |
21243 | { |
21244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21245 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21246 | ||
21247 | wxPyEndAllowThreads(__tstate); | |
21248 | if (PyErr_Occurred()) SWIG_fail; | |
21249 | } | |
4d5c3d91 | 21250 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21251 | return resultobj; |
21252 | fail: | |
21253 | return NULL; | |
21254 | } | |
21255 | ||
21256 | ||
21257 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21258 | PyObject *resultobj; | |
21259 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21260 | int result; | |
21261 | PyObject * obj0 = 0 ; | |
21262 | char *kwnames[] = { | |
21263 | (char *) "self", NULL | |
21264 | }; | |
21265 | ||
21266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
21267 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21268 | { | |
21269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21270 | result = (int)(arg1)->GetCurrentPage(); | |
21271 | ||
21272 | wxPyEndAllowThreads(__tstate); | |
21273 | if (PyErr_Occurred()) SWIG_fail; | |
21274 | } | |
994141e6 | 21275 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21276 | return resultobj; |
21277 | fail: | |
21278 | return NULL; | |
21279 | } | |
21280 | ||
21281 | ||
21282 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21283 | PyObject *resultobj; | |
21284 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21285 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21286 | PyObject * obj0 = 0 ; | |
21287 | PyObject * obj1 = 0 ; | |
21288 | char *kwnames[] = { | |
21289 | (char *) "self",(char *) "printout", NULL | |
21290 | }; | |
21291 | ||
21292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
21293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21294 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21295 | { | |
21296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21297 | (arg1)->SetPrintout(arg2); | |
21298 | ||
21299 | wxPyEndAllowThreads(__tstate); | |
21300 | if (PyErr_Occurred()) SWIG_fail; | |
21301 | } | |
21302 | Py_INCREF(Py_None); resultobj = Py_None; | |
21303 | return resultobj; | |
21304 | fail: | |
21305 | return NULL; | |
21306 | } | |
21307 | ||
21308 | ||
21309 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21310 | PyObject *resultobj; | |
21311 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21312 | wxPyPrintout *result; | |
21313 | PyObject * obj0 = 0 ; | |
21314 | char *kwnames[] = { | |
21315 | (char *) "self", NULL | |
21316 | }; | |
21317 | ||
21318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
21319 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21320 | { | |
21321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21322 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21323 | ||
21324 | wxPyEndAllowThreads(__tstate); | |
21325 | if (PyErr_Occurred()) SWIG_fail; | |
21326 | } | |
21327 | { | |
21328 | resultobj = wxPyMake_wxObject(result); | |
21329 | } | |
21330 | return resultobj; | |
21331 | fail: | |
21332 | return NULL; | |
21333 | } | |
21334 | ||
21335 | ||
21336 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21337 | PyObject *resultobj; | |
21338 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21339 | wxPyPrintout *result; | |
21340 | PyObject * obj0 = 0 ; | |
21341 | char *kwnames[] = { | |
21342 | (char *) "self", NULL | |
21343 | }; | |
21344 | ||
21345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
21346 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21347 | { | |
21348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21349 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21350 | ||
21351 | wxPyEndAllowThreads(__tstate); | |
21352 | if (PyErr_Occurred()) SWIG_fail; | |
21353 | } | |
21354 | { | |
21355 | resultobj = wxPyMake_wxObject(result); | |
21356 | } | |
21357 | return resultobj; | |
21358 | fail: | |
21359 | return NULL; | |
21360 | } | |
21361 | ||
21362 | ||
21363 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21364 | PyObject *resultobj; | |
21365 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21366 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21367 | PyObject * obj0 = 0 ; | |
21368 | PyObject * obj1 = 0 ; | |
21369 | char *kwnames[] = { | |
21370 | (char *) "self",(char *) "frame", NULL | |
21371 | }; | |
21372 | ||
21373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
21374 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21375 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21376 | { | |
21377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21378 | (arg1)->SetFrame(arg2); | |
21379 | ||
21380 | wxPyEndAllowThreads(__tstate); | |
21381 | if (PyErr_Occurred()) SWIG_fail; | |
21382 | } | |
21383 | Py_INCREF(Py_None); resultobj = Py_None; | |
21384 | return resultobj; | |
21385 | fail: | |
21386 | return NULL; | |
21387 | } | |
21388 | ||
21389 | ||
21390 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21391 | PyObject *resultobj; | |
21392 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21393 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21394 | PyObject * obj0 = 0 ; | |
21395 | PyObject * obj1 = 0 ; | |
21396 | char *kwnames[] = { | |
21397 | (char *) "self",(char *) "canvas", NULL | |
21398 | }; | |
21399 | ||
21400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
21401 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21402 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21403 | { | |
21404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21405 | (arg1)->SetCanvas(arg2); | |
21406 | ||
21407 | wxPyEndAllowThreads(__tstate); | |
21408 | if (PyErr_Occurred()) SWIG_fail; | |
21409 | } | |
21410 | Py_INCREF(Py_None); resultobj = Py_None; | |
21411 | return resultobj; | |
21412 | fail: | |
21413 | return NULL; | |
21414 | } | |
21415 | ||
21416 | ||
21417 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21418 | PyObject *resultobj; | |
21419 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21420 | wxFrame *result; | |
21421 | PyObject * obj0 = 0 ; | |
21422 | char *kwnames[] = { | |
21423 | (char *) "self", NULL | |
21424 | }; | |
21425 | ||
21426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
21427 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21428 | { | |
21429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21430 | result = (wxFrame *)(arg1)->GetFrame(); | |
21431 | ||
21432 | wxPyEndAllowThreads(__tstate); | |
21433 | if (PyErr_Occurred()) SWIG_fail; | |
21434 | } | |
21435 | { | |
21436 | resultobj = wxPyMake_wxObject(result); | |
21437 | } | |
21438 | return resultobj; | |
21439 | fail: | |
21440 | return NULL; | |
21441 | } | |
21442 | ||
21443 | ||
21444 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21445 | PyObject *resultobj; | |
21446 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21447 | wxPreviewCanvas *result; | |
21448 | PyObject * obj0 = 0 ; | |
21449 | char *kwnames[] = { | |
21450 | (char *) "self", NULL | |
21451 | }; | |
21452 | ||
21453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
21454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21455 | { | |
21456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21457 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
21458 | ||
21459 | wxPyEndAllowThreads(__tstate); | |
21460 | if (PyErr_Occurred()) SWIG_fail; | |
21461 | } | |
21462 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0); | |
21463 | return resultobj; | |
21464 | fail: | |
21465 | return NULL; | |
21466 | } | |
21467 | ||
21468 | ||
21469 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21470 | PyObject *resultobj; | |
21471 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21472 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21473 | wxDC *arg3 = 0 ; | |
21474 | bool result; | |
21475 | PyObject * obj0 = 0 ; | |
21476 | PyObject * obj1 = 0 ; | |
21477 | PyObject * obj2 = 0 ; | |
21478 | char *kwnames[] = { | |
21479 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21480 | }; | |
21481 | ||
21482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21483 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21484 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21485 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21486 | if (arg3 == NULL) { | |
21487 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21488 | } | |
21489 | { | |
21490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21491 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
21492 | ||
21493 | wxPyEndAllowThreads(__tstate); | |
21494 | if (PyErr_Occurred()) SWIG_fail; | |
21495 | } | |
4d5c3d91 | 21496 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21497 | return resultobj; |
21498 | fail: | |
21499 | return NULL; | |
21500 | } | |
21501 | ||
21502 | ||
21503 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21504 | PyObject *resultobj; | |
21505 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21506 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21507 | wxDC *arg3 = 0 ; | |
21508 | bool result; | |
21509 | PyObject * obj0 = 0 ; | |
21510 | PyObject * obj1 = 0 ; | |
21511 | PyObject * obj2 = 0 ; | |
21512 | char *kwnames[] = { | |
21513 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21514 | }; | |
21515 | ||
21516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21518 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21519 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21520 | if (arg3 == NULL) { | |
21521 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21522 | } | |
21523 | { | |
21524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21525 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
21526 | ||
21527 | wxPyEndAllowThreads(__tstate); | |
21528 | if (PyErr_Occurred()) SWIG_fail; | |
21529 | } | |
4d5c3d91 | 21530 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21531 | return resultobj; |
21532 | fail: | |
21533 | return NULL; | |
21534 | } | |
21535 | ||
21536 | ||
21537 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21538 | PyObject *resultobj; | |
21539 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21540 | int arg2 ; | |
21541 | bool result; | |
21542 | PyObject * obj0 = 0 ; | |
994141e6 | 21543 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21544 | char *kwnames[] = { |
21545 | (char *) "self",(char *) "pageNum", NULL | |
21546 | }; | |
21547 | ||
994141e6 | 21548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21549 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
21550 | { |
21551 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21552 | if (PyErr_Occurred()) SWIG_fail; | |
21553 | } | |
d14a1e28 RD |
21554 | { |
21555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21556 | result = (bool)(arg1)->RenderPage(arg2); | |
21557 | ||
21558 | wxPyEndAllowThreads(__tstate); | |
21559 | if (PyErr_Occurred()) SWIG_fail; | |
21560 | } | |
4d5c3d91 | 21561 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21562 | return resultobj; |
21563 | fail: | |
21564 | return NULL; | |
21565 | } | |
21566 | ||
21567 | ||
21568 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21569 | PyObject *resultobj; | |
21570 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21571 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21572 | PyObject * obj0 = 0 ; | |
21573 | PyObject * obj1 = 0 ; | |
21574 | char *kwnames[] = { | |
21575 | (char *) "self",(char *) "canvas", NULL | |
21576 | }; | |
21577 | ||
21578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
21579 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21580 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21581 | { | |
21582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21583 | (arg1)->AdjustScrollbars(arg2); | |
21584 | ||
21585 | wxPyEndAllowThreads(__tstate); | |
21586 | if (PyErr_Occurred()) SWIG_fail; | |
21587 | } | |
21588 | Py_INCREF(Py_None); resultobj = Py_None; | |
21589 | return resultobj; | |
21590 | fail: | |
21591 | return NULL; | |
21592 | } | |
21593 | ||
21594 | ||
21595 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21596 | PyObject *resultobj; | |
21597 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21598 | wxPrintDialogData *result; | |
21599 | PyObject * obj0 = 0 ; | |
21600 | char *kwnames[] = { | |
21601 | (char *) "self", NULL | |
21602 | }; | |
21603 | ||
21604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
21605 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21606 | { | |
21607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21608 | { | |
21609 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21610 | result = (wxPrintDialogData *) &_result_ref; | |
21611 | } | |
21612 | ||
21613 | wxPyEndAllowThreads(__tstate); | |
21614 | if (PyErr_Occurred()) SWIG_fail; | |
21615 | } | |
21616 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
21617 | return resultobj; | |
21618 | fail: | |
21619 | return NULL; | |
21620 | } | |
21621 | ||
21622 | ||
21623 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21624 | PyObject *resultobj; | |
21625 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21626 | int arg2 ; | |
21627 | PyObject * obj0 = 0 ; | |
994141e6 | 21628 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21629 | char *kwnames[] = { |
21630 | (char *) "self",(char *) "percent", NULL | |
21631 | }; | |
21632 | ||
994141e6 | 21633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
21635 | { |
21636 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21637 | if (PyErr_Occurred()) SWIG_fail; | |
21638 | } | |
d14a1e28 RD |
21639 | { |
21640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21641 | (arg1)->SetZoom(arg2); | |
21642 | ||
21643 | wxPyEndAllowThreads(__tstate); | |
21644 | if (PyErr_Occurred()) SWIG_fail; | |
21645 | } | |
21646 | Py_INCREF(Py_None); resultobj = Py_None; | |
21647 | return resultobj; | |
21648 | fail: | |
21649 | return NULL; | |
21650 | } | |
21651 | ||
21652 | ||
21653 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21654 | PyObject *resultobj; | |
21655 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21656 | int result; | |
21657 | PyObject * obj0 = 0 ; | |
21658 | char *kwnames[] = { | |
21659 | (char *) "self", NULL | |
21660 | }; | |
21661 | ||
21662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
21663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21664 | { | |
21665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21666 | result = (int)(arg1)->GetZoom(); | |
21667 | ||
21668 | wxPyEndAllowThreads(__tstate); | |
21669 | if (PyErr_Occurred()) SWIG_fail; | |
21670 | } | |
994141e6 | 21671 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21672 | return resultobj; |
21673 | fail: | |
21674 | return NULL; | |
21675 | } | |
21676 | ||
21677 | ||
21678 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21679 | PyObject *resultobj; | |
21680 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21681 | int result; | |
21682 | PyObject * obj0 = 0 ; | |
21683 | char *kwnames[] = { | |
21684 | (char *) "self", NULL | |
21685 | }; | |
21686 | ||
21687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
21688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21689 | { | |
21690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21691 | result = (int)(arg1)->GetMaxPage(); | |
21692 | ||
21693 | wxPyEndAllowThreads(__tstate); | |
21694 | if (PyErr_Occurred()) SWIG_fail; | |
21695 | } | |
994141e6 | 21696 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21697 | return resultobj; |
21698 | fail: | |
21699 | return NULL; | |
21700 | } | |
21701 | ||
21702 | ||
21703 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21704 | PyObject *resultobj; | |
21705 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21706 | int result; | |
21707 | PyObject * obj0 = 0 ; | |
21708 | char *kwnames[] = { | |
21709 | (char *) "self", NULL | |
21710 | }; | |
21711 | ||
21712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
21713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21714 | { | |
21715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21716 | result = (int)(arg1)->GetMinPage(); | |
21717 | ||
21718 | wxPyEndAllowThreads(__tstate); | |
21719 | if (PyErr_Occurred()) SWIG_fail; | |
21720 | } | |
994141e6 | 21721 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21722 | return resultobj; |
21723 | fail: | |
21724 | return NULL; | |
21725 | } | |
21726 | ||
21727 | ||
21728 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21729 | PyObject *resultobj; | |
21730 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21731 | bool result; | |
21732 | PyObject * obj0 = 0 ; | |
21733 | char *kwnames[] = { | |
21734 | (char *) "self", NULL | |
21735 | }; | |
21736 | ||
21737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
21738 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21739 | { | |
21740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21741 | result = (bool)(arg1)->Ok(); | |
21742 | ||
21743 | wxPyEndAllowThreads(__tstate); | |
21744 | if (PyErr_Occurred()) SWIG_fail; | |
21745 | } | |
4d5c3d91 | 21746 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21747 | return resultobj; |
21748 | fail: | |
21749 | return NULL; | |
21750 | } | |
21751 | ||
21752 | ||
21753 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21754 | PyObject *resultobj; | |
21755 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21756 | bool arg2 ; | |
21757 | PyObject * obj0 = 0 ; | |
21758 | PyObject * obj1 = 0 ; | |
21759 | char *kwnames[] = { | |
21760 | (char *) "self",(char *) "ok", NULL | |
21761 | }; | |
21762 | ||
21763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
21764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 21765 | { |
994141e6 | 21766 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
21767 | if (PyErr_Occurred()) SWIG_fail; |
21768 | } | |
d14a1e28 RD |
21769 | { |
21770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21771 | (arg1)->SetOk(arg2); | |
21772 | ||
21773 | wxPyEndAllowThreads(__tstate); | |
21774 | if (PyErr_Occurred()) SWIG_fail; | |
21775 | } | |
21776 | Py_INCREF(Py_None); resultobj = Py_None; | |
21777 | return resultobj; | |
21778 | fail: | |
21779 | return NULL; | |
21780 | } | |
21781 | ||
21782 | ||
21783 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21784 | PyObject *resultobj; | |
21785 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21786 | bool arg2 ; | |
21787 | bool result; | |
21788 | PyObject * obj0 = 0 ; | |
21789 | PyObject * obj1 = 0 ; | |
21790 | char *kwnames[] = { | |
21791 | (char *) "self",(char *) "interactive", NULL | |
21792 | }; | |
21793 | ||
21794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
21795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 21796 | { |
994141e6 | 21797 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
21798 | if (PyErr_Occurred()) SWIG_fail; |
21799 | } | |
d14a1e28 RD |
21800 | { |
21801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21802 | result = (bool)(arg1)->Print(arg2); | |
21803 | ||
21804 | wxPyEndAllowThreads(__tstate); | |
21805 | if (PyErr_Occurred()) SWIG_fail; | |
21806 | } | |
4d5c3d91 | 21807 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21808 | return resultobj; |
21809 | fail: | |
21810 | return NULL; | |
21811 | } | |
21812 | ||
21813 | ||
21814 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21815 | PyObject *resultobj; | |
21816 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21817 | PyObject * obj0 = 0 ; | |
21818 | char *kwnames[] = { | |
21819 | (char *) "self", NULL | |
21820 | }; | |
21821 | ||
21822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
21823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21824 | { | |
21825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21826 | (arg1)->DetermineScaling(); | |
21827 | ||
21828 | wxPyEndAllowThreads(__tstate); | |
21829 | if (PyErr_Occurred()) SWIG_fail; | |
21830 | } | |
21831 | Py_INCREF(Py_None); resultobj = Py_None; | |
21832 | return resultobj; | |
21833 | fail: | |
21834 | return NULL; | |
21835 | } | |
21836 | ||
21837 | ||
21838 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
21839 | PyObject *obj; | |
21840 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21841 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
21842 | Py_INCREF(obj); | |
21843 | return Py_BuildValue((char *)""); | |
21844 | } | |
21845 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21846 | PyObject *resultobj; | |
21847 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21848 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21849 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
21850 | wxPyPrintPreview *result; | |
21851 | PyObject * obj0 = 0 ; | |
21852 | PyObject * obj1 = 0 ; | |
21853 | PyObject * obj2 = 0 ; | |
21854 | char *kwnames[] = { | |
21855 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
21856 | }; | |
21857 | ||
21858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21860 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21861 | if (obj2) { | |
21862 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21863 | } | |
21864 | { | |
21865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21866 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
21867 | ||
21868 | wxPyEndAllowThreads(__tstate); | |
21869 | if (PyErr_Occurred()) SWIG_fail; | |
21870 | } | |
21871 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1); | |
21872 | return resultobj; | |
21873 | fail: | |
21874 | return NULL; | |
21875 | } | |
21876 | ||
21877 | ||
21878 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21879 | PyObject *resultobj; | |
21880 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
21881 | PyObject *arg2 = (PyObject *) 0 ; | |
21882 | PyObject *arg3 = (PyObject *) 0 ; | |
21883 | PyObject * obj0 = 0 ; | |
21884 | PyObject * obj1 = 0 ; | |
21885 | PyObject * obj2 = 0 ; | |
21886 | char *kwnames[] = { | |
21887 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
21888 | }; | |
21889 | ||
21890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21891 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21892 | arg2 = obj1; | |
21893 | arg3 = obj2; | |
21894 | { | |
21895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21896 | (arg1)->_setCallbackInfo(arg2,arg3); | |
21897 | ||
21898 | wxPyEndAllowThreads(__tstate); | |
21899 | if (PyErr_Occurred()) SWIG_fail; | |
21900 | } | |
21901 | Py_INCREF(Py_None); resultobj = Py_None; | |
21902 | return resultobj; | |
21903 | fail: | |
21904 | return NULL; | |
21905 | } | |
21906 | ||
21907 | ||
21908 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21909 | PyObject *resultobj; | |
21910 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
21911 | int arg2 ; | |
21912 | bool result; | |
21913 | PyObject * obj0 = 0 ; | |
994141e6 | 21914 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21915 | char *kwnames[] = { |
21916 | (char *) "self",(char *) "pageNum", NULL | |
21917 | }; | |
21918 | ||
994141e6 | 21919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21920 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
21921 | { |
21922 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21923 | if (PyErr_Occurred()) SWIG_fail; | |
21924 | } | |
d14a1e28 RD |
21925 | { |
21926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21927 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
21928 | ||
21929 | wxPyEndAllowThreads(__tstate); | |
21930 | if (PyErr_Occurred()) SWIG_fail; | |
21931 | } | |
4d5c3d91 | 21932 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21933 | return resultobj; |
21934 | fail: | |
21935 | return NULL; | |
21936 | } | |
21937 | ||
21938 | ||
21939 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21940 | PyObject *resultobj; | |
21941 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
21942 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21943 | wxDC *arg3 = 0 ; | |
21944 | bool result; | |
21945 | PyObject * obj0 = 0 ; | |
21946 | PyObject * obj1 = 0 ; | |
21947 | PyObject * obj2 = 0 ; | |
21948 | char *kwnames[] = { | |
21949 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21950 | }; | |
21951 | ||
21952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21953 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21954 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21955 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21956 | if (arg3 == NULL) { | |
21957 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21958 | } | |
21959 | { | |
21960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21961 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
21962 | ||
21963 | wxPyEndAllowThreads(__tstate); | |
21964 | if (PyErr_Occurred()) SWIG_fail; | |
21965 | } | |
4d5c3d91 | 21966 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21967 | return resultobj; |
21968 | fail: | |
21969 | return NULL; | |
21970 | } | |
21971 | ||
21972 | ||
21973 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21974 | PyObject *resultobj; | |
21975 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
21976 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21977 | wxDC *arg3 = 0 ; | |
21978 | bool result; | |
21979 | PyObject * obj0 = 0 ; | |
21980 | PyObject * obj1 = 0 ; | |
21981 | PyObject * obj2 = 0 ; | |
21982 | char *kwnames[] = { | |
21983 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21984 | }; | |
21985 | ||
21986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21987 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21988 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21989 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21990 | if (arg3 == NULL) { | |
21991 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21992 | } | |
21993 | { | |
21994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21995 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
21996 | ||
21997 | wxPyEndAllowThreads(__tstate); | |
21998 | if (PyErr_Occurred()) SWIG_fail; | |
21999 | } | |
4d5c3d91 | 22000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22001 | return resultobj; |
22002 | fail: | |
22003 | return NULL; | |
22004 | } | |
22005 | ||
22006 | ||
22007 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22008 | PyObject *resultobj; | |
22009 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22010 | int arg2 ; | |
22011 | bool result; | |
22012 | PyObject * obj0 = 0 ; | |
994141e6 | 22013 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22014 | char *kwnames[] = { |
22015 | (char *) "self",(char *) "pageNum", NULL | |
22016 | }; | |
22017 | ||
994141e6 | 22018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
22020 | { |
22021 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22022 | if (PyErr_Occurred()) SWIG_fail; | |
22023 | } | |
d14a1e28 RD |
22024 | { |
22025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22026 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22027 | ||
22028 | wxPyEndAllowThreads(__tstate); | |
22029 | if (PyErr_Occurred()) SWIG_fail; | |
22030 | } | |
4d5c3d91 | 22031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22032 | return resultobj; |
22033 | fail: | |
22034 | return NULL; | |
22035 | } | |
22036 | ||
22037 | ||
22038 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22039 | PyObject *resultobj; | |
22040 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22041 | int arg2 ; | |
22042 | PyObject * obj0 = 0 ; | |
994141e6 | 22043 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22044 | char *kwnames[] = { |
22045 | (char *) "self",(char *) "percent", NULL | |
22046 | }; | |
22047 | ||
994141e6 | 22048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
22050 | { |
22051 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22052 | if (PyErr_Occurred()) SWIG_fail; | |
22053 | } | |
d14a1e28 RD |
22054 | { |
22055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22056 | (arg1)->base_SetZoom(arg2); | |
22057 | ||
22058 | wxPyEndAllowThreads(__tstate); | |
22059 | if (PyErr_Occurred()) SWIG_fail; | |
22060 | } | |
22061 | Py_INCREF(Py_None); resultobj = Py_None; | |
22062 | return resultobj; | |
22063 | fail: | |
22064 | return NULL; | |
22065 | } | |
22066 | ||
22067 | ||
22068 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22069 | PyObject *resultobj; | |
22070 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22071 | bool arg2 ; | |
22072 | bool result; | |
22073 | PyObject * obj0 = 0 ; | |
22074 | PyObject * obj1 = 0 ; | |
22075 | char *kwnames[] = { | |
22076 | (char *) "self",(char *) "interactive", NULL | |
22077 | }; | |
22078 | ||
22079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
22080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
a41e16b6 | 22081 | { |
994141e6 | 22082 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
a41e16b6 RD |
22083 | if (PyErr_Occurred()) SWIG_fail; |
22084 | } | |
d14a1e28 RD |
22085 | { |
22086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22087 | result = (bool)(arg1)->base_Print(arg2); | |
22088 | ||
22089 | wxPyEndAllowThreads(__tstate); | |
22090 | if (PyErr_Occurred()) SWIG_fail; | |
22091 | } | |
4d5c3d91 | 22092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22093 | return resultobj; |
22094 | fail: | |
22095 | return NULL; | |
22096 | } | |
22097 | ||
22098 | ||
22099 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22100 | PyObject *resultobj; | |
22101 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22102 | PyObject * obj0 = 0 ; | |
22103 | char *kwnames[] = { | |
22104 | (char *) "self", NULL | |
22105 | }; | |
22106 | ||
22107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
22108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22109 | { | |
22110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22111 | (arg1)->base_DetermineScaling(); | |
22112 | ||
22113 | wxPyEndAllowThreads(__tstate); | |
22114 | if (PyErr_Occurred()) SWIG_fail; | |
22115 | } | |
22116 | Py_INCREF(Py_None); resultobj = Py_None; | |
22117 | return resultobj; | |
22118 | fail: | |
22119 | return NULL; | |
22120 | } | |
22121 | ||
22122 | ||
22123 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22124 | PyObject *obj; | |
22125 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22126 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22127 | Py_INCREF(obj); | |
22128 | return Py_BuildValue((char *)""); | |
22129 | } | |
22130 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22131 | PyObject *resultobj; | |
22132 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22133 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22134 | wxString *arg3 = 0 ; | |
22135 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22136 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22137 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22138 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22139 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22140 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22141 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22142 | wxPyPreviewFrame *result; | |
e811c8ce | 22143 | bool temp3 = False ; |
d14a1e28 RD |
22144 | wxPoint temp4 ; |
22145 | wxSize temp5 ; | |
e811c8ce | 22146 | bool temp7 = False ; |
d14a1e28 RD |
22147 | PyObject * obj0 = 0 ; |
22148 | PyObject * obj1 = 0 ; | |
22149 | PyObject * obj2 = 0 ; | |
22150 | PyObject * obj3 = 0 ; | |
22151 | PyObject * obj4 = 0 ; | |
994141e6 | 22152 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22153 | PyObject * obj6 = 0 ; |
22154 | char *kwnames[] = { | |
22155 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22156 | }; | |
22157 | ||
994141e6 | 22158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
22159 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
22160 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22161 | { | |
22162 | arg3 = wxString_in_helper(obj2); | |
22163 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22164 | temp3 = True; |
d14a1e28 RD |
22165 | } |
22166 | if (obj3) { | |
22167 | { | |
22168 | arg4 = &temp4; | |
22169 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22170 | } | |
22171 | } | |
22172 | if (obj4) { | |
22173 | { | |
22174 | arg5 = &temp5; | |
22175 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22176 | } | |
22177 | } | |
994141e6 RD |
22178 | if (obj5) { |
22179 | { | |
22180 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
22181 | if (PyErr_Occurred()) SWIG_fail; | |
22182 | } | |
22183 | } | |
d14a1e28 RD |
22184 | if (obj6) { |
22185 | { | |
22186 | arg7 = wxString_in_helper(obj6); | |
22187 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22188 | temp7 = True; |
d14a1e28 RD |
22189 | } |
22190 | } | |
22191 | { | |
22192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22193 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22194 | ||
22195 | wxPyEndAllowThreads(__tstate); | |
22196 | if (PyErr_Occurred()) SWIG_fail; | |
22197 | } | |
22198 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1); | |
22199 | { | |
22200 | if (temp3) | |
22201 | delete arg3; | |
22202 | } | |
22203 | { | |
22204 | if (temp7) | |
22205 | delete arg7; | |
22206 | } | |
22207 | return resultobj; | |
22208 | fail: | |
22209 | { | |
22210 | if (temp3) | |
22211 | delete arg3; | |
22212 | } | |
22213 | { | |
22214 | if (temp7) | |
22215 | delete arg7; | |
22216 | } | |
22217 | return NULL; | |
22218 | } | |
22219 | ||
22220 | ||
22221 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22222 | PyObject *resultobj; | |
22223 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22224 | PyObject *arg2 = (PyObject *) 0 ; | |
22225 | PyObject *arg3 = (PyObject *) 0 ; | |
22226 | PyObject * obj0 = 0 ; | |
22227 | PyObject * obj1 = 0 ; | |
22228 | PyObject * obj2 = 0 ; | |
22229 | char *kwnames[] = { | |
22230 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22231 | }; | |
22232 | ||
22233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22234 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22235 | arg2 = obj1; | |
22236 | arg3 = obj2; | |
22237 | { | |
22238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22239 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22240 | ||
22241 | wxPyEndAllowThreads(__tstate); | |
22242 | if (PyErr_Occurred()) SWIG_fail; | |
22243 | } | |
22244 | Py_INCREF(Py_None); resultobj = Py_None; | |
22245 | return resultobj; | |
22246 | fail: | |
22247 | return NULL; | |
22248 | } | |
22249 | ||
22250 | ||
22251 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22252 | PyObject *resultobj; | |
22253 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22254 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22255 | PyObject * obj0 = 0 ; | |
22256 | PyObject * obj1 = 0 ; | |
22257 | char *kwnames[] = { | |
22258 | (char *) "self",(char *) "canvas", NULL | |
22259 | }; | |
22260 | ||
22261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
22262 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22263 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22264 | { | |
22265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22266 | (arg1)->SetPreviewCanvas(arg2); | |
22267 | ||
22268 | wxPyEndAllowThreads(__tstate); | |
22269 | if (PyErr_Occurred()) SWIG_fail; | |
22270 | } | |
22271 | Py_INCREF(Py_None); resultobj = Py_None; | |
22272 | return resultobj; | |
22273 | fail: | |
22274 | return NULL; | |
22275 | } | |
22276 | ||
22277 | ||
22278 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22279 | PyObject *resultobj; | |
22280 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22281 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
22282 | PyObject * obj0 = 0 ; | |
22283 | PyObject * obj1 = 0 ; | |
22284 | char *kwnames[] = { | |
22285 | (char *) "self",(char *) "bar", NULL | |
22286 | }; | |
22287 | ||
22288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
22289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22290 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22291 | { | |
22292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22293 | (arg1)->SetControlBar(arg2); | |
22294 | ||
22295 | wxPyEndAllowThreads(__tstate); | |
22296 | if (PyErr_Occurred()) SWIG_fail; | |
22297 | } | |
22298 | Py_INCREF(Py_None); resultobj = Py_None; | |
22299 | return resultobj; | |
22300 | fail: | |
22301 | return NULL; | |
22302 | } | |
22303 | ||
22304 | ||
22305 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22306 | PyObject *resultobj; | |
22307 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22308 | PyObject * obj0 = 0 ; | |
22309 | char *kwnames[] = { | |
22310 | (char *) "self", NULL | |
22311 | }; | |
22312 | ||
22313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
22314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22315 | { | |
22316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22317 | (arg1)->base_Initialize(); | |
22318 | ||
22319 | wxPyEndAllowThreads(__tstate); | |
22320 | if (PyErr_Occurred()) SWIG_fail; | |
22321 | } | |
22322 | Py_INCREF(Py_None); resultobj = Py_None; | |
22323 | return resultobj; | |
22324 | fail: | |
22325 | return NULL; | |
22326 | } | |
22327 | ||
22328 | ||
22329 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22330 | PyObject *resultobj; | |
22331 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22332 | PyObject * obj0 = 0 ; | |
22333 | char *kwnames[] = { | |
22334 | (char *) "self", NULL | |
22335 | }; | |
22336 | ||
22337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
22338 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22339 | { | |
22340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22341 | (arg1)->base_CreateCanvas(); | |
22342 | ||
22343 | wxPyEndAllowThreads(__tstate); | |
22344 | if (PyErr_Occurred()) SWIG_fail; | |
22345 | } | |
22346 | Py_INCREF(Py_None); resultobj = Py_None; | |
22347 | return resultobj; | |
22348 | fail: | |
22349 | return NULL; | |
22350 | } | |
22351 | ||
22352 | ||
22353 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22354 | PyObject *resultobj; | |
22355 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22356 | PyObject * obj0 = 0 ; | |
22357 | char *kwnames[] = { | |
22358 | (char *) "self", NULL | |
22359 | }; | |
22360 | ||
22361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
22362 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22363 | { | |
22364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22365 | (arg1)->base_CreateControlBar(); | |
22366 | ||
22367 | wxPyEndAllowThreads(__tstate); | |
22368 | if (PyErr_Occurred()) SWIG_fail; | |
22369 | } | |
22370 | Py_INCREF(Py_None); resultobj = Py_None; | |
22371 | return resultobj; | |
22372 | fail: | |
22373 | return NULL; | |
22374 | } | |
22375 | ||
22376 | ||
22377 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22378 | PyObject *obj; | |
22379 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22380 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
22381 | Py_INCREF(obj); | |
22382 | return Py_BuildValue((char *)""); | |
22383 | } | |
22384 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22385 | PyObject *resultobj; | |
22386 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22387 | long arg2 ; | |
22388 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22389 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22390 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22391 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22392 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22393 | long arg6 = (long) 0 ; | |
22394 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22395 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22396 | wxPyPreviewControlBar *result; | |
22397 | wxPoint temp4 ; | |
22398 | wxSize temp5 ; | |
e811c8ce | 22399 | bool temp7 = False ; |
d14a1e28 | 22400 | PyObject * obj0 = 0 ; |
994141e6 | 22401 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22402 | PyObject * obj2 = 0 ; |
22403 | PyObject * obj3 = 0 ; | |
22404 | PyObject * obj4 = 0 ; | |
994141e6 | 22405 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22406 | PyObject * obj6 = 0 ; |
22407 | char *kwnames[] = { | |
22408 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22409 | }; | |
22410 | ||
994141e6 | 22411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 22412 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
22413 | { |
22414 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
22415 | if (PyErr_Occurred()) SWIG_fail; | |
22416 | } | |
d14a1e28 RD |
22417 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
22418 | if (obj3) { | |
22419 | { | |
22420 | arg4 = &temp4; | |
22421 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22422 | } | |
22423 | } | |
22424 | if (obj4) { | |
22425 | { | |
22426 | arg5 = &temp5; | |
22427 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22428 | } | |
22429 | } | |
994141e6 RD |
22430 | if (obj5) { |
22431 | { | |
22432 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
22433 | if (PyErr_Occurred()) SWIG_fail; | |
22434 | } | |
22435 | } | |
d14a1e28 RD |
22436 | if (obj6) { |
22437 | { | |
22438 | arg7 = wxString_in_helper(obj6); | |
22439 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22440 | temp7 = True; |
d14a1e28 RD |
22441 | } |
22442 | } | |
22443 | { | |
22444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22445 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22446 | ||
22447 | wxPyEndAllowThreads(__tstate); | |
22448 | if (PyErr_Occurred()) SWIG_fail; | |
22449 | } | |
22450 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
22451 | { | |
22452 | if (temp7) | |
22453 | delete arg7; | |
22454 | } | |
22455 | return resultobj; | |
22456 | fail: | |
22457 | { | |
22458 | if (temp7) | |
22459 | delete arg7; | |
22460 | } | |
22461 | return NULL; | |
22462 | } | |
22463 | ||
22464 | ||
22465 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22466 | PyObject *resultobj; | |
22467 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22468 | PyObject *arg2 = (PyObject *) 0 ; | |
22469 | PyObject *arg3 = (PyObject *) 0 ; | |
22470 | PyObject * obj0 = 0 ; | |
22471 | PyObject * obj1 = 0 ; | |
22472 | PyObject * obj2 = 0 ; | |
22473 | char *kwnames[] = { | |
22474 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22475 | }; | |
22476 | ||
22477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22478 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22479 | arg2 = obj1; | |
22480 | arg3 = obj2; | |
22481 | { | |
22482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22483 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22484 | ||
22485 | wxPyEndAllowThreads(__tstate); | |
22486 | if (PyErr_Occurred()) SWIG_fail; | |
22487 | } | |
22488 | Py_INCREF(Py_None); resultobj = Py_None; | |
22489 | return resultobj; | |
22490 | fail: | |
22491 | return NULL; | |
22492 | } | |
22493 | ||
22494 | ||
22495 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22496 | PyObject *resultobj; | |
22497 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22498 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
22499 | PyObject * obj0 = 0 ; | |
22500 | PyObject * obj1 = 0 ; | |
22501 | char *kwnames[] = { | |
22502 | (char *) "self",(char *) "preview", NULL | |
22503 | }; | |
22504 | ||
22505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
22506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22507 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22508 | { | |
22509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22510 | (arg1)->SetPrintPreview(arg2); | |
22511 | ||
22512 | wxPyEndAllowThreads(__tstate); | |
22513 | if (PyErr_Occurred()) SWIG_fail; | |
22514 | } | |
22515 | Py_INCREF(Py_None); resultobj = Py_None; | |
22516 | return resultobj; | |
22517 | fail: | |
22518 | return NULL; | |
22519 | } | |
22520 | ||
22521 | ||
22522 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22523 | PyObject *resultobj; | |
22524 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22525 | PyObject * obj0 = 0 ; | |
22526 | char *kwnames[] = { | |
22527 | (char *) "self", NULL | |
22528 | }; | |
22529 | ||
22530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
22531 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22532 | { | |
22533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22534 | (arg1)->base_CreateButtons(); | |
22535 | ||
22536 | wxPyEndAllowThreads(__tstate); | |
22537 | if (PyErr_Occurred()) SWIG_fail; | |
22538 | } | |
22539 | Py_INCREF(Py_None); resultobj = Py_None; | |
22540 | return resultobj; | |
22541 | fail: | |
22542 | return NULL; | |
22543 | } | |
22544 | ||
22545 | ||
22546 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22547 | PyObject *resultobj; | |
22548 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22549 | int arg2 ; | |
22550 | PyObject * obj0 = 0 ; | |
994141e6 | 22551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22552 | char *kwnames[] = { |
22553 | (char *) "self",(char *) "zoom", NULL | |
22554 | }; | |
22555 | ||
994141e6 | 22556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22557 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
994141e6 RD |
22558 | { |
22559 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22560 | if (PyErr_Occurred()) SWIG_fail; | |
22561 | } | |
d14a1e28 RD |
22562 | { |
22563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22564 | (arg1)->base_SetZoomControl(arg2); | |
22565 | ||
22566 | wxPyEndAllowThreads(__tstate); | |
22567 | if (PyErr_Occurred()) SWIG_fail; | |
22568 | } | |
22569 | Py_INCREF(Py_None); resultobj = Py_None; | |
22570 | return resultobj; | |
22571 | fail: | |
22572 | return NULL; | |
22573 | } | |
22574 | ||
22575 | ||
22576 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
22577 | PyObject *obj; | |
22578 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22579 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
22580 | Py_INCREF(obj); | |
22581 | return Py_BuildValue((char *)""); | |
22582 | } | |
22583 | static PyMethodDef SwigMethods[] = { | |
22584 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
22585 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
22586 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
22587 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
22588 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
22589 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22590 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22591 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22592 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22593 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
22594 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22595 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22596 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
22597 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
22598 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
22599 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
22600 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
22601 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
22602 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
22603 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
22604 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
22605 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22606 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
22607 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
22608 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
22609 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
22610 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
22611 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
22612 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
22613 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
22614 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
22615 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
22616 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
22617 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
22618 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
22619 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
22620 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
22621 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
22622 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
22623 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
22624 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
22625 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
22626 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22627 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
22628 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
22629 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
22630 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
22631 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
22632 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22633 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22634 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22635 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22636 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
22637 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22638 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22639 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
22640 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
22641 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22642 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22643 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22644 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
22645 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
22646 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
22647 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
22648 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
22649 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
22650 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
22651 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
22652 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
22653 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22654 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
22655 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
22656 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
22657 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
22658 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
22659 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
22660 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
22661 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22662 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
22663 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
22664 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
22665 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
22666 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
22667 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
22668 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
22669 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22670 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
22671 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
22672 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22673 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22674 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
22675 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
22676 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
22677 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22678 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22679 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22680 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22681 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
22682 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
22683 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
22684 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
22685 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
22686 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
22687 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
22688 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
22689 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22690 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
22691 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
22692 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
22693 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
22694 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
22695 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
22696 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
22697 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
22698 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
22699 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
22700 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
22701 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22702 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
22703 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22704 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22705 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22706 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
22707 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
22708 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
22709 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
22710 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
22711 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
22712 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
22713 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
22714 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22715 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22716 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
22717 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
22718 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
22719 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
22720 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22721 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22722 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22723 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
22724 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
22725 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
22726 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
22727 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
22728 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22729 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22730 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22731 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22732 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22733 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22734 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22735 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22736 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22737 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22738 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22739 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22740 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
22741 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
22742 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
22743 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
22744 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
22745 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
22746 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
22747 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
22748 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
22749 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
22750 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
22751 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
22752 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
22753 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
22754 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22755 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22756 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
22757 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
22758 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22759 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22760 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22761 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22762 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
22763 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
22764 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22765 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22766 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
22767 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
22768 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
22769 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22770 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22771 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22772 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22773 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22774 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22775 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
22776 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22777 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
22778 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
22779 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
22780 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
22781 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
22782 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22783 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
22784 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
22785 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
22786 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22787 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
22788 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
22789 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22790 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22791 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22792 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
22793 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
22794 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
22795 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
22796 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
22797 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
22798 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
22799 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22800 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22801 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22802 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22803 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
22804 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
22805 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
22806 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
22807 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
22808 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
22809 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
22810 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
22811 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
22812 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
22813 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
22814 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
22815 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
22816 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
22817 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
22818 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
22819 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22820 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
22821 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
22822 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
22823 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
22824 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
22825 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
22826 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
22827 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
22828 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
22829 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
22830 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
22831 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
22832 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
22833 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
22834 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
22835 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
22836 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
22837 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
22838 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
22839 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
22840 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
22841 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
22842 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
22843 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
22844 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
22845 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22846 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
22847 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
22848 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
22849 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
22850 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
22851 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
22852 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
22853 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
22854 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
22855 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
22856 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
22857 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
22858 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
22859 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
22860 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
22861 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
22862 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
22863 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
22864 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
22865 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
22866 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
22867 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
22868 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
22869 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
22870 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22871 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
22872 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
22873 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
22874 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
22875 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
22876 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
22877 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22878 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
22879 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
22880 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
22881 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
22882 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
22883 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
22884 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
22885 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
22886 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
22887 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
22888 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
22889 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
22890 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
22891 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
22892 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
22893 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
22894 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
22895 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
22896 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
22897 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
22898 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
22899 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
22900 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
22901 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
22902 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
22903 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
22904 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22905 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
22906 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
22907 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
22908 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22909 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
22910 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
22911 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
22912 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
22913 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
22914 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
22915 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
22916 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
22917 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
22918 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
22919 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
22920 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
22921 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
22922 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
22923 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
22924 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
22925 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
e498079e | 22926 | { (char *)"new_FontDialog", _wrap_new_FontDialog, METH_VARARGS }, |
d14a1e28 | 22927 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
22928 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
22929 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22930 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
22931 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
22932 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
22933 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
22934 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
22935 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
22936 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22937 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
22938 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
22939 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
22940 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22941 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
22942 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
22943 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
22944 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
22945 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
22946 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
22947 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
22948 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22949 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22950 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
22951 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
22952 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
22953 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
22954 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
22955 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
22956 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
22957 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
22958 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
22959 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
22960 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
22961 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22962 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
22963 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
22964 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
22965 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
22966 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
22967 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22968 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22969 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
22970 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
22971 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
22972 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
22973 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22974 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
22975 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
22976 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
22977 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
22978 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22979 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22980 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22981 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
22982 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
22983 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22984 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
22985 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
22986 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
22987 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
22988 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
22989 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
22990 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
22991 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
22992 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
22993 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
22994 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
22995 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
22996 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
22997 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
22998 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
22999 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23000 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23001 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23002 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
23003 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
23004 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23005 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23006 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23007 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23008 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23009 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23010 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23011 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23012 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23013 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23014 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23015 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23016 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23017 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23018 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23019 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23020 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23021 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23022 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23023 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
23024 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23025 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23026 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23027 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23028 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23029 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23030 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23031 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23032 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23033 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23034 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23035 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23036 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23037 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23038 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23039 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23040 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23041 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23042 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23043 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23044 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23045 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23046 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23047 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23048 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23049 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23050 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23051 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23052 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23053 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23054 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23055 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23056 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23057 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23058 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23059 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23060 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23061 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23062 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
23063 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23064 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23065 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
23066 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
23067 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
23068 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23069 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
23070 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23071 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23072 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23073 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23074 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23075 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23076 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23077 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23078 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23079 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23080 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23081 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23082 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23083 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23084 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23085 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23086 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23087 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23088 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23089 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23090 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23091 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23092 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23093 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23094 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23095 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23096 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23097 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23098 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23099 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23100 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23101 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
23102 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23103 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
23104 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23105 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
23106 | { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23107 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23108 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23109 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23110 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23111 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23112 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23113 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23114 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23115 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23116 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23117 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23118 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23119 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23120 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23121 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23122 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23123 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23124 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23125 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23126 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23127 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23128 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23129 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23130 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23131 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23132 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23133 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23134 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23135 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23136 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23137 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23138 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23139 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
23140 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23141 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23142 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
23143 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23144 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
23145 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23146 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23147 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
23148 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23149 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
23150 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23151 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
23152 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
23153 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
23154 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
23155 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
23156 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
23157 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23158 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23159 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
23160 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23161 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23162 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23163 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
23164 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
23165 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23166 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23167 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23168 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23169 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23170 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23171 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
23172 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
23173 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23174 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23175 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23176 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23177 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23178 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
23179 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23180 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
23181 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23182 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23183 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23184 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23185 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23186 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
23187 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23188 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23189 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23190 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23191 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
23192 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
23193 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
23194 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
23195 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
23196 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
23197 | { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23198 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23199 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23200 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23201 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23202 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23203 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23204 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23205 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23206 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23207 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23208 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23209 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23210 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23211 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23212 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23213 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23214 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23215 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23216 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23217 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
23218 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
23219 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23220 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
23221 | { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23222 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23223 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23224 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23225 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23226 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23227 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23228 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
23229 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23230 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
23231 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23232 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23233 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23234 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23235 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23236 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23237 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23238 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
23239 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23240 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23241 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23242 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
23243 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23244 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
23245 | { NULL, NULL } | |
23246 | }; | |
23247 | ||
23248 | ||
23249 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
23250 | ||
23251 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
23252 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23253 | } | |
23254 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
23255 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23256 | } | |
23257 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
23258 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
23259 | } | |
23260 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
23261 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
23262 | } | |
23263 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
23264 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
23265 | } | |
23266 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
23267 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
23268 | } | |
23269 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
23270 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
23271 | } | |
23272 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
23273 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23274 | } | |
23275 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
23276 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
23277 | } | |
23278 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
23279 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
23280 | } | |
23281 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
23282 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23283 | } | |
23284 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
23285 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
23286 | } | |
23287 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
23288 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23289 | } | |
23290 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
23291 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23292 | } | |
23293 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
23294 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
23295 | } | |
23296 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
23297 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23298 | } | |
23299 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
23300 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23301 | } | |
23302 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
23303 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
23304 | } | |
23305 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
23306 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
23307 | } | |
23308 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
23309 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
23310 | } | |
23311 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
23312 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
23313 | } | |
23314 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
23315 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
23316 | } | |
23317 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
23318 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
23319 | } | |
23320 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
23321 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
23322 | } | |
23323 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
23324 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23325 | } | |
23326 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
23327 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23328 | } | |
23329 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
23330 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23331 | } | |
23332 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
23333 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23334 | } | |
23335 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
23336 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23337 | } | |
23338 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
23339 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
23340 | } | |
23341 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
23342 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
23343 | } | |
23344 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
23345 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23346 | } | |
23347 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
23348 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
23349 | } | |
23350 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
23351 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23352 | } | |
23353 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
23354 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
23355 | } | |
23356 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
23357 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
23358 | } | |
23359 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
23360 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23361 | } | |
23362 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
23363 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23364 | } | |
23365 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
23366 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23367 | } | |
23368 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
23369 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
23370 | } | |
23371 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
23372 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
23373 | } | |
23374 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
23375 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23376 | } | |
23377 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
23378 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23379 | } | |
23380 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
23381 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23382 | } | |
23383 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
23384 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23385 | } | |
23386 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
23387 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23388 | } | |
23389 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
23390 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
23391 | } | |
23392 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
23393 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
23394 | } | |
23395 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
23396 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
23397 | } | |
23398 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
23399 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
23400 | } | |
23401 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
23402 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23403 | } | |
23404 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23405 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23406 | } | |
23407 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23408 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23409 | } | |
23410 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
23411 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23412 | } | |
23413 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
23414 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23415 | } | |
23416 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
23417 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23418 | } | |
23419 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
23420 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23421 | } | |
23422 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
23423 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
23424 | } | |
23425 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
23426 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
23427 | } | |
23428 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23429 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23430 | } | |
23431 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
23432 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23433 | } | |
23434 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
23435 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23436 | } | |
23437 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
23438 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
23439 | } | |
23440 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
23441 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23442 | } | |
23443 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
23444 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
23445 | } | |
23446 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
23447 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
23448 | } | |
23449 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
23450 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
23451 | } | |
23452 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
23453 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
23454 | } | |
23455 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23456 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23457 | } | |
23458 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
23459 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
23460 | } | |
23461 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
23462 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
23463 | } | |
23464 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
23465 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
23466 | } | |
23467 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23468 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23469 | } | |
23470 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23471 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23472 | } | |
23473 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
23474 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23475 | } | |
23476 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
23477 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
23478 | } | |
23479 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
23480 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
23481 | } | |
23482 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
23483 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
23484 | } | |
23485 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
23486 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23487 | } | |
23488 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
23489 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23490 | } | |
23491 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
23492 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23493 | } | |
23494 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23495 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
23496 | } | |
23497 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23498 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
23499 | } | |
23500 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
23501 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23502 | } | |
23503 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
23504 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23505 | } | |
23506 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
23507 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
23508 | } | |
23509 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
23510 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23511 | } | |
23512 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
23513 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23514 | } | |
23515 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
23516 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23517 | } | |
23518 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
23519 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
23520 | } | |
23521 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
23522 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
23523 | } | |
23524 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
23525 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23526 | } | |
23527 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
23528 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23529 | } | |
23530 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
23531 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
23532 | } | |
23533 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
23534 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
23535 | } | |
23536 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
23537 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
23538 | } | |
23539 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
23540 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23541 | } | |
23542 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
23543 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
23544 | } | |
23545 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
23546 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
23547 | } | |
23548 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
23549 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
23550 | } | |
23551 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
23552 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
23553 | } | |
23554 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
23555 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23556 | } | |
23557 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
23558 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23559 | } | |
23560 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
23561 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23562 | } | |
23563 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
23564 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
23565 | } | |
23566 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
23567 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
23568 | } | |
23569 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
23570 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
23571 | } | |
23572 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
23573 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
23574 | } | |
23575 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
23576 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
23577 | } | |
23578 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
23579 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
23580 | } | |
23581 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
23582 | return (void *)((wxObject *) ((wxSizer *) x)); | |
23583 | } | |
23584 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
23585 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
23586 | } | |
23587 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
23588 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23589 | } | |
23590 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
23591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23592 | } | |
23593 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
23594 | return (void *)((wxObject *) ((wxEvent *) x)); | |
23595 | } | |
23596 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
23597 | return (void *)((wxObject *) ((wxFontData *) x)); | |
23598 | } | |
23599 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
23600 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
23601 | } | |
23602 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
23603 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
23604 | } | |
23605 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
23606 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
23607 | } | |
23608 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
23609 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
23610 | } | |
23611 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
23612 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
23613 | } | |
23614 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
23615 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23616 | } | |
23617 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
23618 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23619 | } | |
23620 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
23621 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
23622 | } | |
23623 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
23624 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
23625 | } | |
23626 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
23627 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23628 | } | |
23629 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
23630 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23631 | } | |
23632 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
23633 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23634 | } | |
23635 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
23636 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23637 | } | |
23638 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
23639 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23640 | } | |
23641 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
23642 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
23643 | } | |
23644 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
23645 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
23646 | } | |
23647 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
23648 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23649 | } | |
23650 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
23651 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
23652 | } | |
23653 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
23654 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
23655 | } | |
23656 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
23657 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
23658 | } | |
23659 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
23660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23661 | } | |
23662 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
23663 | return (void *)((wxObject *) ((wxColourData *) x)); | |
23664 | } | |
23665 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
23666 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
23667 | } | |
23668 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
23669 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23670 | } | |
23671 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
23672 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
23673 | } | |
23674 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
23675 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23676 | } | |
23677 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
23678 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23679 | } | |
23680 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
23681 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23682 | } | |
23683 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
23684 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23685 | } | |
23686 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
23687 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23688 | } | |
23689 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
23690 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23691 | } | |
23692 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
23693 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23694 | } | |
23695 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
23696 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23697 | } | |
23698 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
23699 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
23700 | } | |
23701 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
23702 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
23703 | } | |
23704 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
23705 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
23706 | } | |
23707 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
23708 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
23709 | } | |
23710 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
23711 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23712 | } | |
23713 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
23714 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23715 | } | |
23716 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
23717 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
23718 | } | |
23719 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
23720 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
23721 | } | |
23722 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
23723 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
23724 | } | |
23725 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
23726 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
23727 | } | |
23728 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
23729 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
23730 | } | |
23731 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
23732 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
23733 | } | |
23734 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
23735 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
23736 | } | |
23737 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
23738 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
23739 | } | |
23740 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
23741 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
23742 | } | |
23743 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
23744 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
23745 | } | |
23746 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
23747 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
23748 | } | |
23749 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
23750 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
23751 | } | |
23752 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
23753 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
23754 | } | |
23755 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
23756 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
23757 | } | |
23758 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
23759 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
23760 | } | |
23761 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
23762 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
23763 | } | |
23764 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
23765 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
23766 | } | |
23767 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
23768 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
23769 | } | |
23770 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
23771 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23772 | } | |
23773 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
23774 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23775 | } | |
23776 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
23777 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23778 | } | |
23779 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
23780 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
23781 | } | |
23782 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
23783 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23784 | } | |
23785 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
23786 | return (void *)((wxObject *) ((wxImage *) x)); | |
23787 | } | |
23788 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
23789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23790 | } | |
23791 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
23792 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
23793 | } | |
23794 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
23795 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
23796 | } | |
23797 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
23798 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23799 | } | |
23800 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
23801 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
23802 | } | |
23803 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
23804 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23805 | } | |
23806 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
23807 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23808 | } | |
23809 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
23810 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23811 | } | |
23812 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
23813 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
23814 | } | |
d14a1e28 RD |
23815 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
23816 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
23817 | } | |
23818 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
23819 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
23820 | } | |
23821 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
23822 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
23823 | } | |
1e0c8722 RD |
23824 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
23825 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23826 | } | |
d14a1e28 RD |
23827 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
23828 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
23829 | } | |
23830 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
23831 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
23832 | } | |
23833 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
23834 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
23835 | } | |
23836 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
23837 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
23838 | } | |
23839 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
23840 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23841 | } | |
23842 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
23843 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
23844 | } | |
23845 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
23846 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23847 | } | |
23848 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
23849 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23850 | } | |
23851 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
23852 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23853 | } | |
23854 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
23855 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
23856 | } | |
23857 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
23858 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
23859 | } | |
23860 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
23861 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
23862 | } | |
23863 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
23864 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
23865 | } | |
23866 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
23867 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
23868 | } | |
23869 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
23870 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23871 | } | |
23872 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
23873 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23874 | } | |
23875 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
23876 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23877 | } | |
23878 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
23879 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
23880 | } | |
23881 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
23882 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
23883 | } | |
23884 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
23885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
23886 | } | |
23887 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
23888 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
23889 | } | |
23890 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
23891 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23892 | } | |
23893 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
23894 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
23895 | } | |
23896 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
23897 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
23898 | } | |
23899 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
23900 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
23901 | } | |
23902 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
23903 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
23904 | } | |
23905 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
23906 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
23907 | } | |
23908 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
23909 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23910 | } | |
23911 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
23912 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
23913 | } | |
23914 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
23915 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
23916 | } | |
23917 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
23918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
23919 | } | |
23920 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
23921 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
23922 | } | |
23923 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
23924 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
23925 | } | |
23926 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
23927 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23928 | } | |
23929 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
23930 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
23931 | } | |
23932 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
23933 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
23934 | } | |
23935 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
23936 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
23937 | } | |
23938 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
23939 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
23940 | } | |
23941 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
23942 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
23943 | } | |
23944 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
23945 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23946 | } | |
23947 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
23948 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23949 | } | |
23950 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
23951 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23952 | } | |
23953 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
23954 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23955 | } | |
23956 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
23957 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23958 | } | |
23959 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
23960 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23961 | } | |
23962 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
23963 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
23964 | } | |
23965 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
23966 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
23967 | } | |
23968 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
23969 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
23970 | } | |
23971 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
23972 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
23973 | } | |
23974 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
23975 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
23976 | } | |
23977 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
23978 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
23979 | } | |
23980 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
23981 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
23982 | } | |
23983 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
23984 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
23985 | } | |
23986 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
23987 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
23988 | } | |
23989 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
23990 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
23991 | } | |
23992 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
23993 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
23994 | } | |
23995 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
23996 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
23997 | } | |
23998 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
23999 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24000 | } | |
24001 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24002 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24003 | } | |
24004 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24005 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24006 | } | |
24007 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24008 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24009 | } | |
24010 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24011 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24012 | } | |
24013 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24014 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24015 | } | |
24016 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24017 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24018 | } | |
24019 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24020 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24021 | } | |
24022 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24023 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24024 | } | |
24025 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24026 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24027 | } | |
24028 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24029 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24030 | } | |
24031 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24032 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24033 | } | |
24034 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24035 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24036 | } | |
24037 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24038 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24039 | } | |
24040 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24041 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24042 | } | |
24043 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24044 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24045 | } | |
24046 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24047 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24048 | } | |
24049 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24050 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24051 | } | |
24052 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24053 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24054 | } | |
24055 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24056 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24057 | } | |
24058 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24059 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24060 | } | |
24061 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24062 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24063 | } | |
24064 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24065 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24066 | } | |
24067 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24068 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24069 | } | |
24070 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24071 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24072 | } | |
24073 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24074 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24075 | } | |
24076 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24077 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24078 | } | |
24079 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24080 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24081 | } | |
24082 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24083 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24084 | } | |
24085 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24086 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24087 | } | |
24088 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24089 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24090 | } | |
24091 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24092 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24093 | } | |
24094 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24095 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24096 | } | |
24097 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24098 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24099 | } | |
24100 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24101 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24102 | } | |
24103 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24104 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24105 | } | |
24106 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24107 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24108 | } | |
24109 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24110 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24111 | } | |
24112 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24113 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24114 | } | |
24115 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24116 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24117 | } | |
24118 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24119 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24120 | } | |
24121 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24122 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24123 | } | |
24124 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24125 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24126 | } | |
24127 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24128 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24129 | } | |
24130 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24131 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24132 | } | |
24133 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24134 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24135 | } | |
24136 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24137 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24138 | } | |
24139 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24140 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24141 | } | |
24142 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24143 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24144 | } | |
24145 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24146 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24147 | } | |
24148 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24149 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24150 | } | |
24151 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24152 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24153 | } | |
24154 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24155 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24156 | } | |
24157 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24158 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24159 | } | |
24160 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24161 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24162 | } | |
24163 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24164 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24165 | } | |
24166 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24167 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24168 | } | |
24169 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24170 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24171 | } | |
24172 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24173 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24174 | } | |
24175 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24176 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24177 | } | |
24178 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24179 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24180 | } | |
24181 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24182 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24183 | } | |
24184 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24185 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24186 | } | |
24187 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24188 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24189 | } | |
24190 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24191 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24192 | } | |
24193 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24194 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24195 | } | |
24196 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24197 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24198 | } | |
24199 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24200 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24201 | } | |
24202 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24203 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24204 | } | |
24205 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24206 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24207 | } | |
24208 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24209 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24210 | } | |
24211 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24212 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24213 | } | |
24214 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24215 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24216 | } | |
24217 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24218 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24219 | } | |
24220 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24221 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24222 | } | |
24223 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24224 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24225 | } | |
24226 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24227 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24228 | } | |
24229 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24230 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24231 | } | |
24232 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24233 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24234 | } | |
24235 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24236 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24237 | } | |
24238 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24239 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24240 | } | |
24241 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
24242 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24243 | } | |
24244 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
24245 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
24246 | } | |
24247 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
24248 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24249 | } | |
24250 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; | |
24251 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; | |
24252 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; | |
d14a1e28 RD |
24253 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; |
24254 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; | |
24255 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
24256 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}}; | |
24257 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}}; | |
24258 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}}; | |
24259 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}}; | |
24260 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}}; | |
24261 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}}; | |
24262 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}}; | |
24263 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
24264 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}}; | |
24265 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}}; | |
24266 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}}; | |
24267 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
24268 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; | |
24269 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
24270 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; | |
24271 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}}; | |
24272 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}}; | |
24273 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}}; | |
24274 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}}; | |
24275 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}}; | |
24276 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}}; | |
24277 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}}; | |
24278 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}}; | |
24279 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}}; | |
24280 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}}; | |
24281 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; | |
24282 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; | |
24283 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; | |
d14a1e28 RD |
24284 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; |
24285 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; | |
24286 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; | |
24287 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; | |
24288 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; | |
24289 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; | |
994141e6 | 24290 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}}; |
d14a1e28 RD |
24291 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; |
24292 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}}; | |
24293 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; | |
24294 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}}; | |
24295 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}}; | |
24296 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}}; | |
24297 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}}; | |
24298 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
24299 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; | |
db914595 | 24300 | static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}}; |
d14a1e28 RD |
24301 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}}; |
24302 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}}; | |
24303 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}}; | |
24304 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; | |
24305 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; | |
d14a1e28 RD |
24306 | static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}}; |
24307 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}}; | |
24308 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}}; | |
24309 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}}; | |
24310 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}}; | |
24311 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; | |
24312 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
1e0c8722 | 24313 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; |
d14a1e28 RD |
24314 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; |
24315 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; | |
24316 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; | |
24317 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
24318 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; | |
24319 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; | |
24320 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; | |
24321 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; | |
24322 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}}; | |
24323 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; | |
db914595 | 24324 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; |
d14a1e28 RD |
24325 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; |
24326 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; | |
24327 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}}; | |
d14a1e28 RD |
24328 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}}; |
24329 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}}; | |
24330 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
24331 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}}; | |
b2dc1044 | 24332 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; |
994141e6 | 24333 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}}; |
d14a1e28 RD |
24334 | |
24335 | static swig_type_info *swig_types_initial[] = { | |
24336 | _swigt__p_wxQueryLayoutInfoEvent, | |
24337 | _swigt__p_wxPreviewFrame, | |
24338 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
24339 | _swigt__p_wxPyPanel, |
24340 | _swigt__p_wxMenu, | |
24341 | _swigt__p_wxPrintData, | |
24342 | _swigt__p_wxFontData, | |
24343 | _swigt__p_wxEvent, | |
24344 | _swigt__p_wxTaskBarIcon, | |
24345 | _swigt__p_wxIconBundle, | |
24346 | _swigt__p_wxLayoutAlgorithm, | |
24347 | _swigt__p_wxFindDialogEvent, | |
24348 | _swigt__p_wxPreviewCanvas, | |
24349 | _swigt__p_wxFont, | |
24350 | _swigt__p_wxSplitterEvent, | |
24351 | _swigt__p_wxRegion, | |
24352 | _swigt__p_wxFindReplaceData, | |
24353 | _swigt__p_int, | |
24354 | _swigt__p_wxSize, | |
24355 | _swigt__p_wxDC, | |
24356 | _swigt__p_wxIcon, | |
24357 | _swigt__p_wxMDIChildFrame, | |
24358 | _swigt__p_wxColourData, | |
24359 | _swigt__p_wxNotifyEvent, | |
24360 | _swigt__p_wxPyWindow, | |
24361 | _swigt__p_wxSplashScreen, | |
24362 | _swigt__p_wxFindReplaceDialog, | |
24363 | _swigt__p_wxProgressDialog, | |
24364 | _swigt__p_wxMessageDialog, | |
24365 | _swigt__p_wxTextEntryDialog, | |
24366 | _swigt__p_wxSingleChoiceDialog, | |
24367 | _swigt__p_wxMultiChoiceDialog, | |
24368 | _swigt__p_wxFileDialog, | |
24369 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
24370 | _swigt__p_wxArrayInt, |
24371 | _swigt__p_wxEvtHandler, | |
24372 | _swigt__p_wxCalculateLayoutEvent, | |
24373 | _swigt__p_wxPyHtmlListBox, | |
24374 | _swigt__p_wxPyVListBox, | |
24375 | _swigt__p_wxRect, | |
994141e6 | 24376 | _swigt__p_char, |
d14a1e28 RD |
24377 | _swigt__p_wxMiniFrame, |
24378 | _swigt__p_wxFrame, | |
24379 | _swigt__p_wxPyPrintout, | |
24380 | _swigt__p_wxTaskBarIconEvent, | |
24381 | _swigt__p_wxScrollWinEvent, | |
24382 | _swigt__p_wxStatusBar, | |
24383 | _swigt__p_wxMDIParentFrame, | |
24384 | _swigt__p_wxPoint, | |
24385 | _swigt__p_wxObject, | |
db914595 | 24386 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
24387 | _swigt__p_unsigned_long, |
24388 | _swigt__p_wxMDIClientWindow, | |
24389 | _swigt__p_wxTipWindow, | |
24390 | _swigt__p_wxSashLayoutWindow, | |
24391 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
24392 | _swigt__p_wxPyVScrolledWindow, |
24393 | _swigt__p_wxPyPopupTransientWindow, | |
24394 | _swigt__p_wxPopupWindow, | |
24395 | _swigt__p_wxSashWindow, | |
24396 | _swigt__p_wxTopLevelWindow, | |
24397 | _swigt__p_wxWindow, | |
24398 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 24399 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
24400 | _swigt__p_wxMenuBar, |
24401 | _swigt__p_wxPrintPreview, | |
24402 | _swigt__p_wxSashEvent, | |
24403 | _swigt__p_wxString, | |
24404 | _swigt__p_wxPyPrintPreview, | |
24405 | _swigt__p_wxFontDialog, | |
24406 | _swigt__p_wxDirDialog, | |
24407 | _swigt__p_wxColourDialog, | |
24408 | _swigt__p_wxDialog, | |
24409 | _swigt__p_wxPanel, | |
db914595 | 24410 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
24411 | _swigt__p_wxPrintDialog, |
24412 | _swigt__p_wxBitmap, | |
24413 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
24414 | _swigt__p_wxPreviewControlBar, |
24415 | _swigt__p_wxPyPreviewControlBar, | |
24416 | _swigt__p_wxColour, | |
24417 | _swigt__p_wxToolBar, | |
b2dc1044 | 24418 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 24419 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
24420 | 0 |
24421 | }; | |
24422 | ||
24423 | ||
24424 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
24425 | ||
24426 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
24427 | {0}}; |
24428 | ||
24429 | #ifdef __cplusplus | |
24430 | } | |
24431 | #endif | |
24432 | ||
24433 | #ifdef __cplusplus | |
24434 | extern "C" | |
24435 | #endif | |
24436 | SWIGEXPORT(void) SWIG_init(void) { | |
24437 | static PyObject *SWIG_globals = 0; | |
24438 | static int typeinit = 0; | |
24439 | PyObject *m, *d; | |
24440 | int i; | |
24441 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
24442 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
24443 | d = PyModule_GetDict(m); | |
24444 | ||
24445 | if (!typeinit) { | |
24446 | for (i = 0; swig_types_initial[i]; i++) { | |
24447 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
24448 | } | |
24449 | typeinit = 1; | |
24450 | } | |
24451 | SWIG_InstallConstants(d,swig_const_table); | |
24452 | ||
b2dc1044 RD |
24453 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
24454 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
24455 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
24456 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
24457 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
994141e6 RD |
24458 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
24459 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
24460 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
24461 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
24462 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
24463 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL)); | |
24464 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
24465 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
24466 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
24467 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE)); | |
24468 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT)); | |
24469 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 24470 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
994141e6 RD |
24471 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER)); |
24472 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH)); | |
24473 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
24474 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE)); | |
24475 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH)); | |
24476 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER)); | |
24477 | PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER)); | |
24478 | PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D)); | |
24479 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL)); | |
24480 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL)); | |
24481 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE)); | |
24482 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
24483 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
24484 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
24485 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
24486 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
24487 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
24488 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
24489 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
994141e6 RD |
24490 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE)); |
24491 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
24492 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
24493 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER)); | |
24494 | PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER)); | |
24495 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH)); | |
24496 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER)); | |
24497 | PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D)); | |
24498 | PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP)); | |
24499 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT)); | |
24500 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM)); | |
24501 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT)); | |
24502 | PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE)); | |
24503 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK)); | |
24504 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 24505 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
994141e6 RD |
24506 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL)); |
24507 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL)); | |
24508 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE)); | |
24509 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP)); | |
24510 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT)); | |
24511 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT)); | |
24512 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM)); | |
24513 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
24514 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X)); | |
24515 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
24516 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
24517 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
24518 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 24519 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
24520 | |
24521 | // Map renamed classes back to their common name for OOR | |
24522 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
24523 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
24524 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
24525 | ||
24526 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
24527 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
24528 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
24529 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
24530 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
24531 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
24532 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
24533 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
24534 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
24535 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
24536 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
24537 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
24538 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
994141e6 RD |
24539 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE)); |
24540 | PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN)); | |
24541 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD)); | |
24542 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE)); | |
24543 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG)); | |
24544 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN)); | |
24545 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE)); | |
24546 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
24547 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
24548 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
24549 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
24550 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
24551 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
994141e6 RD |
24552 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001)); |
24553 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001)); | |
24554 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002)); | |
24555 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003)); | |
24556 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004)); | |
24557 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005)); | |
24558 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100)); | |
24559 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600)); | |
b2dc1044 RD |
24560 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
24561 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
994141e6 RD |
24562 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE)); |
24563 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
24564 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE)); | |
24565 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER)); | |
db914595 | 24566 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_PyObj_FromInt((int)wxPRINT_MODE_STREAM)); |
994141e6 RD |
24567 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR)); |
24568 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED)); | |
24569 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR)); | |
24570 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT)); | |
24571 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS)); | |
24572 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT)); | |
24573 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM)); | |
24574 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST)); | |
24575 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST)); | |
24576 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO)); | |
24577 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT)); | |
24578 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE)); | |
24579 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT)); | |
24580 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
24581 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT)); | |
24582 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM)); | |
24583 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST)); | |
24584 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST)); | |
24585 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
24586 | |
24587 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
24588 | ||
24589 | } | |
24590 |