]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
83448d71 | 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 | |
9fd4be55 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 | ||
f0983263 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 |
f0983263 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
f0983263 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
f0983263 | 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 { | |
f0983263 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
f0983263 | 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 *); | |
f0983263 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 | ||
f0983263 | 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) | |
83448d71 | 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 | ||
8edf1c75 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
f0983263 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 | |
8edf1c75 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 | ||
423f194a | 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] | |
41f1cec7 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] | |
8edf1c75 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] | |
283 | #define SWIGTYPE_p_unsigned_long swig_types[50] | |
284 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[51] | |
285 | #define SWIGTYPE_p_wxTipWindow swig_types[52] | |
286 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53] | |
287 | #define SWIGTYPE_p_wxSplitterWindow swig_types[54] | |
4e760a36 RD |
288 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55] |
289 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[56] | |
290 | #define SWIGTYPE_p_wxPopupWindow swig_types[57] | |
291 | #define SWIGTYPE_p_wxSashWindow swig_types[58] | |
292 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[59] | |
293 | #define SWIGTYPE_p_wxWindow swig_types[60] | |
294 | #define SWIGTYPE_p_wxScrolledWindow swig_types[61] | |
295 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[62] | |
8edf1c75 RD |
296 | #define SWIGTYPE_p_wxMenuBar swig_types[63] |
297 | #define SWIGTYPE_p_wxPrintPreview swig_types[64] | |
298 | #define SWIGTYPE_p_wxSashEvent swig_types[65] | |
299 | #define SWIGTYPE_p_wxString swig_types[66] | |
300 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[67] | |
301 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[68] | |
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] | |
307 | #define SWIGTYPE_p_wxPrintDialog swig_types[74] | |
308 | #define SWIGTYPE_p_wxBitmap swig_types[75] | |
309 | #define SWIGTYPE_p_wxCommandEvent swig_types[76] | |
310 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[77] | |
311 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78] | |
312 | #define SWIGTYPE_p_wxColour swig_types[79] | |
313 | #define SWIGTYPE_p_wxToolBar swig_types[80] | |
41f1cec7 | 314 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81] |
8edf1c75 RD |
315 | #define SWIGTYPE_p_wxPrintDialogData swig_types[82] |
316 | static swig_type_info *swig_types[84]; | |
d14a1e28 RD |
317 | |
318 | /* -------- TYPES TABLE (END) -------- */ | |
319 | ||
320 | ||
321 | /*----------------------------------------------- | |
322 | @(target):= _windows.so | |
323 | ------------------------------------------------*/ | |
324 | #define SWIG_init init_windows | |
325 | ||
326 | #define SWIG_name "_windows" | |
327 | ||
8edf1c75 RD |
328 | #include <limits.h> |
329 | #include <float.h> | |
330 | #include <string.h> | |
331 | ||
332 | #ifndef SWIGSTATIC | |
333 | #ifdef __cplusplus | |
334 | #define SWIGSTATIC(a) static inline a | |
335 | #else | |
336 | #define SWIGSTATIC(a) static a | |
337 | #endif | |
338 | #endif | |
339 | ||
340 | #ifndef numeric_cast | |
341 | #ifdef __cplusplus | |
342 | #ifdef HAVE_NUMERIC_CAST | |
343 | #define numeric_cast(type,a) numeric_cast<type>(a) | |
344 | #else | |
345 | #define numeric_cast(type,a) static_cast<type>(a) | |
346 | #endif | |
347 | #else | |
348 | #define numeric_cast(type,a) (type)(a) | |
349 | #endif | |
350 | #endif | |
351 | ||
352 | ||
353 | ||
354 | #define SWIG_PyObj_FromSignedChar PyInt_FromLong | |
355 | #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong | |
356 | #define SWIG_PyObj_FromShort PyInt_FromLong | |
357 | #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong | |
358 | #define SWIG_PyObj_FromInt PyInt_FromLong | |
359 | #define SWIG_PyObj_FromLong PyInt_FromLong | |
360 | #define SWIG_PyObj_FromFloat PyFloat_FromDouble | |
361 | #define SWIG_PyObj_FromDouble PyFloat_FromDouble | |
362 | #define SWIG_PyObj_FromFloat PyFloat_FromDouble | |
363 | #define SWIG_PyObj_FromDouble PyFloat_FromDouble | |
364 | ||
365 | ||
d14a1e28 RD |
366 | #include "wx/wxPython/wxPython.h" |
367 | #include "wx/wxPython/pyclasses.h" | |
368 | ||
d14a1e28 | 369 | |
d03fd34d RD |
370 | static const wxString wxPyEmptyString(wxEmptyString); |
371 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
372 | |
373 | ||
374 | ||
8edf1c75 RD |
375 | SWIGSTATIC(int) |
376 | SWIG_PyObj_AsInt(PyObject *obj) | |
377 | { | |
378 | return numeric_cast(int, | |
379 | SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX)); | |
380 | } | |
381 | ||
382 | ||
383 | SWIGSTATIC(long) | |
384 | SWIG_PyObj_AsLong(PyObject * obj) | |
385 | { | |
386 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
387 | } | |
388 | ||
389 | ||
8edf1c75 RD |
390 | SWIGSTATIC(bool) |
391 | SWIG_PyObj_AsBool(PyObject *obj) | |
392 | { | |
393 | return PyObject_IsTrue(obj) ? true : false; | |
394 | } | |
395 | ||
396 | ||
d14a1e28 RD |
397 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
398 | PyObject* o2; | |
399 | PyObject* o3; | |
400 | ||
401 | if (!target) { | |
402 | target = o; | |
403 | } else if (target == Py_None) { | |
404 | Py_DECREF(Py_None); | |
405 | target = o; | |
406 | } else { | |
407 | if (!PyTuple_Check(target)) { | |
408 | o2 = target; | |
409 | target = PyTuple_New(1); | |
410 | PyTuple_SetItem(target, 0, o2); | |
411 | } | |
412 | o3 = PyTuple_New(1); | |
413 | PyTuple_SetItem(o3, 0, o); | |
414 | ||
415 | o2 = target; | |
416 | target = PySequence_Concat(o2, o3); | |
417 | Py_DECREF(o2); | |
418 | Py_DECREF(o3); | |
419 | } | |
420 | return target; | |
421 | } | |
422 | ||
8edf1c75 RD |
423 | |
424 | SWIGSTATIC(double) | |
425 | SWIG_PyObj_AsDouble(PyObject *obj) | |
426 | { | |
427 | return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) : | |
428 | #if HAVE_LONG_LONG | |
429 | (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj)); | |
430 | #else | |
431 | (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj)); | |
432 | #endif | |
433 | if (PyErr_Occurred()) { | |
434 | PyErr_Clear(); | |
435 | PyErr_SetString(PyExc_TypeError, "a double is expected"); | |
436 | } | |
437 | } | |
438 | ||
d03fd34d RD |
439 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
440 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
441 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
442 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
443 | bool wxDialog_IsModalShowing(wxDialog *self){ |
444 | ||
445 | ||
446 | ||
447 | return self->IsModalShowing(); | |
448 | ||
449 | } | |
450 | ||
451 | ||
44127b65 RD |
452 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
453 | wxRect r; | |
454 | self->GetFieldRect(i, r); | |
455 | return r; | |
456 | } | |
eb9b6107 RD |
457 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
458 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
459 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
460 | |
461 | #include <wx/popupwin.h> | |
462 | ||
463 | ||
464 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
465 | { | |
466 | public: | |
467 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
468 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
469 | : wxPopupTransientWindow(parent, style) {} | |
470 | ||
471 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
472 | DEC_PYCALLBACK__(OnDismiss); | |
473 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
474 | PYPRIVATE; | |
475 | }; | |
476 | ||
477 | ||
478 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
479 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
480 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
481 | ||
482 | ||
483 | #include <wx/tipwin.h> | |
484 | ||
8a0b029b RD |
485 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
486 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
487 | } |
488 | ||
489 | #include <wx/tipwin.h> | |
490 | ||
491 | ||
492 | #include <wx/vscroll.h> | |
493 | ||
494 | ||
495 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
496 | { | |
497 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
498 | public: | |
499 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
500 | ||
501 | wxPyVScrolledWindow(wxWindow *parent, | |
502 | wxWindowID id = wxID_ANY, | |
503 | const wxPoint& pos = wxDefaultPosition, | |
504 | const wxSize& size = wxDefaultSize, | |
505 | long style = 0, | |
506 | const wxString& name = wxPyPanelNameStr) | |
507 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
508 | {} | |
509 | ||
510 | // Overridable virtuals | |
511 | ||
512 | // this function must be overridden in the derived class and it should | |
513 | // return the height of the given line in pixels | |
514 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
515 | ||
516 | ||
517 | // this function doesn't have to be overridden but it may be useful to do | |
518 | // it if calculating the lines heights is a relatively expensive operation | |
519 | // as it gives the user code a possibility to calculate several of them at | |
520 | // once | |
521 | // | |
522 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
523 | // shouldn't rely on the latter being called for all lines in the interval | |
524 | // specified here. It is also possible that OnGetLineHeight() will be | |
525 | // called for the lines outside of this interval, so this is really just a | |
526 | // hint, not a promise. | |
527 | // | |
528 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
529 | // usual | |
530 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
531 | ||
532 | ||
533 | // when the number of lines changes, we try to estimate the total height | |
534 | // of all lines which is a rather expensive operation in terms of lines | |
535 | // access, so if the user code may estimate the average height | |
536 | // better/faster than we do, it should override this function to implement | |
537 | // its own logic | |
538 | // | |
539 | // this function should return the best guess for the total height it may | |
540 | // make | |
541 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
542 | ||
543 | ||
544 | // Also expose some other interesting protected methods | |
545 | ||
546 | ||
547 | // find the index of the line we need to show at the top of the window such | |
548 | // that the last (fully or partially) visible line is the given one | |
423f194a | 549 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
550 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
551 | ||
552 | // get the total height of the lines between lineMin (inclusive) and | |
553 | // lineMax (exclusive) | |
554 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
555 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
556 | ||
557 | ||
558 | PYPRIVATE; | |
559 | }; | |
560 | ||
561 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
562 | ||
563 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
564 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
565 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
566 | ||
567 | ||
8edf1c75 RD |
568 | SWIGSTATIC(PyObject* ) |
569 | SWIG_PyObj_FromUnsignedLong(unsigned long value) | |
570 | { | |
571 | return (value > (unsigned long)(LONG_MAX)) ? | |
572 | PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value); | |
573 | } | |
574 | ||
575 | ||
d14a1e28 | 576 | #include <wx/vlbox.h> |
d14a1e28 | 577 | |
d03fd34d | 578 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
579 | |
580 | class wxPyVListBox : public wxVListBox | |
581 | { | |
582 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
583 | public: | |
584 | wxPyVListBox() : wxVListBox() {} | |
585 | ||
586 | wxPyVListBox(wxWindow *parent, | |
587 | wxWindowID id = wxID_ANY, | |
588 | const wxPoint& pos = wxDefaultPosition, | |
589 | const wxSize& size = wxDefaultSize, | |
590 | long style = 0, | |
591 | const wxString& name = wxPyVListBoxNameStr) | |
592 | : wxVListBox(parent, id, pos, size, style, name) | |
593 | {} | |
594 | ||
595 | // Overridable virtuals | |
596 | ||
597 | // the derived class must implement this function to actually draw the item | |
598 | // with the given index on the provided DC | |
599 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
600 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
601 | ||
602 | ||
603 | // the derived class must implement this method to return the height of the | |
604 | // specified item | |
605 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
606 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
607 | ||
608 | ||
609 | // this method may be used to draw separators between the lines; note that | |
610 | // the rectangle may be modified, typically to deflate it a bit before | |
611 | // passing to OnDrawItem() | |
612 | // | |
613 | // the base class version doesn't do anything | |
614 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
615 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
616 | ||
617 | ||
618 | // this method is used to draw the items background and, maybe, a border | |
619 | // around it | |
620 | // | |
621 | // the base class version implements a reasonable default behaviour which | |
622 | // consists in drawing the selected item with the standard background | |
623 | // colour and drawing a border around the item if it is either selected or | |
624 | // current | |
625 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
626 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
627 | ||
628 | ||
629 | PYPRIVATE; | |
630 | }; | |
631 | ||
632 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
633 | ||
634 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
635 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
636 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
637 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
638 | ||
639 | ||
640 | ||
641 | #include <wx/htmllbox.h> | |
642 | ||
643 | ||
644 | class wxPyHtmlListBox : public wxHtmlListBox | |
645 | { | |
646 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
647 | public: | |
648 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
649 | ||
650 | wxPyHtmlListBox(wxWindow *parent, | |
651 | wxWindowID id = wxID_ANY, | |
652 | const wxPoint& pos = wxDefaultPosition, | |
653 | const wxSize& size = wxDefaultSize, | |
654 | long style = 0, | |
655 | const wxString& name = wxPyVListBoxNameStr) | |
656 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
657 | {} | |
658 | ||
659 | // Overridable virtuals | |
660 | ||
661 | // this method must be implemented in the derived class and should return | |
662 | // the body (i.e. without <html>) of the HTML for the given item | |
663 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
664 | ||
665 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
666 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
667 | ||
668 | // TODO: | |
669 | // // this method allows to customize the selection appearance: it may be used | |
670 | // // to specify the colour of the text which normally has the given colour | |
671 | // // colFg when it is inside the selection | |
672 | // // | |
673 | // // by default, the original colour is not used at all and all text has the | |
674 | // // same (default for this system) colour inside selection | |
675 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
676 | ||
677 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
678 | // // background colour -- this is even more rarely used as you can change it | |
679 | // // globally using SetSelectionBackground() | |
680 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
681 | ||
682 | ||
683 | PYPRIVATE; | |
684 | }; | |
685 | ||
686 | ||
687 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
688 | ||
689 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
690 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
691 | ||
692 | ||
693 | ||
694 | ||
695 | ||
696 | #ifdef __WXMAC__ | |
697 | // implement dummy classes and such for wxMac | |
698 | ||
699 | class wxTaskBarIcon : public wxEvtHandler | |
700 | { | |
701 | public: | |
cbd72d4f | 702 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
703 | }; |
704 | ||
705 | ||
706 | class wxTaskBarIconEvent : public wxEvent | |
707 | { | |
708 | public: | |
709 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
cbd72d4f | 710 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
711 | virtual wxEvent* Clone() const { return NULL; } |
712 | }; | |
713 | ||
714 | enum { | |
715 | wxEVT_TASKBAR_MOVE = 0, | |
716 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
717 | wxEVT_TASKBAR_LEFT_UP = 0, | |
718 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
719 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
720 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
721 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
722 | }; | |
723 | #endif | |
724 | ||
d03fd34d RD |
725 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
726 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
727 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
728 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
729 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
730 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
731 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
732 | wxArrayString arr; | |
733 | self->GetFilenames(arr); | |
734 | return wxArrayString2PyList_helper(arr); | |
735 | } | |
736 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
737 | wxArrayString arr; | |
738 | self->GetPaths(arr); | |
739 | return wxArrayString2PyList_helper(arr); | |
740 | } | |
741 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
742 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
743 | } | |
744 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
745 | return new wxSingleChoiceDialog(parent, message, caption, | |
746 | choices, choices_array, NULL, style, pos); | |
747 | } | |
748 | ||
749 | #include <wx/mdi.h> | |
750 | ||
751 | // C++ version of Python aware wxWindow | |
752 | class wxPyWindow : public wxWindow | |
753 | { | |
754 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
755 | public: | |
756 | wxPyWindow() : wxWindow() {} | |
757 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
758 | const wxPoint& pos = wxDefaultPosition, | |
759 | const wxSize& size = wxDefaultSize, | |
760 | long style = 0, | |
761 | const wxString& name = wxPyPanelNameStr) | |
762 | : wxWindow(parent, id, pos, size, style, name) {} | |
763 | ||
764 | ||
765 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
766 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
767 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
768 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
769 | ||
770 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
771 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
772 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
773 | ||
774 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
775 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
776 | ||
777 | DEC_PYCALLBACK__(InitDialog); | |
778 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
779 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
780 | DEC_PYCALLBACK_BOOL_(Validate); | |
781 | ||
782 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
783 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
784 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
785 | ||
786 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
787 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
788 | ||
789 | PYPRIVATE; | |
790 | }; | |
791 | ||
792 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
793 | ||
794 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
795 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
796 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
797 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
798 | ||
799 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
800 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
801 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
802 | ||
803 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
804 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
805 | ||
806 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
807 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
808 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
809 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
810 | ||
811 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
812 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
813 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
814 | ||
815 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
816 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
817 | ||
818 | ||
819 | // C++ version of Python aware wxPanel | |
820 | class wxPyPanel : public wxPanel | |
821 | { | |
822 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
823 | public: | |
824 | wxPyPanel() : wxPanel() {} | |
825 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
826 | const wxPoint& pos = wxDefaultPosition, | |
827 | const wxSize& size = wxDefaultSize, | |
828 | long style = 0, | |
829 | const wxString& name = wxPyPanelNameStr) | |
830 | : wxPanel(parent, id, pos, size, style, name) {} | |
831 | ||
832 | ||
833 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
834 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
835 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
836 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
837 | ||
838 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
839 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
840 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
841 | ||
842 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
843 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
844 | ||
845 | DEC_PYCALLBACK__(InitDialog); | |
846 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
847 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
848 | DEC_PYCALLBACK_BOOL_(Validate); | |
849 | ||
850 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
851 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
852 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
853 | ||
854 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
855 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
856 | ||
857 | PYPRIVATE; | |
858 | }; | |
859 | ||
860 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
861 | ||
862 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
863 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
864 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
865 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
866 | ||
867 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
868 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
869 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
870 | ||
871 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
872 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
873 | ||
874 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
875 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
876 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
877 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
878 | ||
879 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
880 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
881 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
882 | ||
883 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
884 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
885 | ||
886 | ||
887 | ||
888 | #include "wx/wxPython/printfw.h" | |
889 | ||
d14a1e28 | 890 | |
eb9b6107 RD |
891 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
892 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
893 | |
894 | ||
895 | ||
896 | // Since this one would be tough and ugly to do with the Macros... | |
897 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
423f194a | 898 | bool hadErr = False; |
d14a1e28 RD |
899 | bool found; |
900 | ||
901 | wxPyBeginBlockThreads(); | |
902 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
903 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
904 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
905 | PyObject* val; | |
906 | ||
907 | val = PyTuple_GetItem(result, 0); | |
908 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
423f194a | 909 | else hadErr = True; |
d14a1e28 RD |
910 | |
911 | val = PyTuple_GetItem(result, 1); | |
912 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
423f194a | 913 | else hadErr = True; |
d14a1e28 RD |
914 | |
915 | val = PyTuple_GetItem(result, 2); | |
916 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
423f194a | 917 | else hadErr = True; |
d14a1e28 RD |
918 | |
919 | val = PyTuple_GetItem(result, 3); | |
920 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
423f194a | 921 | else hadErr = True; |
d14a1e28 RD |
922 | } |
923 | else | |
423f194a | 924 | hadErr = True; |
d14a1e28 RD |
925 | |
926 | if (hadErr) { | |
927 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
928 | PyErr_Print(); | |
929 | } | |
930 | Py_DECREF(result); | |
931 | } | |
932 | wxPyEndBlockThreads(); | |
933 | if (! found) | |
934 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
935 | } | |
936 | ||
937 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
938 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
939 | } | |
940 | ||
941 | ||
942 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
943 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
944 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
945 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
946 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
947 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
948 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
949 | ||
950 | ||
951 | ||
952 | ||
953 | ||
954 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
955 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
956 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
957 | ||
958 | ||
959 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
960 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
423f194a | 961 | bool rval=False; \ |
d14a1e28 RD |
962 | bool found; \ |
963 | wxPyBeginBlockThreads(); \ | |
964 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
965 | PyObject* win = wxPyMake_wxObject(a); \ | |
966 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
967 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
968 | Py_DECREF(win); \ | |
969 | Py_DECREF(dc); \ | |
970 | } \ | |
971 | wxPyEndBlockThreads(); \ | |
972 | if (! found) \ | |
973 | rval = PCLASS::CBNAME(a, b); \ | |
974 | return rval; \ | |
975 | } \ | |
976 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
977 | return PCLASS::CBNAME(a, b); \ | |
978 | } | |
979 | ||
980 | ||
981 | ||
982 | ||
983 | class wxPyPrintPreview : public wxPrintPreview | |
984 | { | |
985 | DECLARE_CLASS(wxPyPrintPreview) | |
986 | public: | |
987 | wxPyPrintPreview(wxPyPrintout* printout, | |
988 | wxPyPrintout* printoutForPrinting, | |
989 | wxPrintData* data=NULL) | |
990 | : wxPrintPreview(printout, printoutForPrinting, data) | |
991 | {} | |
992 | ||
993 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
994 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
995 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
996 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
997 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
998 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
999 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1000 | ||
1001 | PYPRIVATE; | |
1002 | }; | |
1003 | ||
1004 | // Stupid renamed classes... Fix this in 2.5... | |
1005 | #if defined(__WXMSW__) | |
1006 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1007 | #elif defined(__WXMAC__) | |
1008 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1009 | #else | |
1010 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1011 | #endif | |
1012 | ||
1013 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1014 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1015 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1016 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1017 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1018 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1019 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1020 | ||
1021 | ||
1022 | class wxPyPreviewFrame : public wxPreviewFrame | |
1023 | { | |
1024 | DECLARE_CLASS(wxPyPreviewFrame); | |
1025 | public: | |
1026 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1027 | const wxString& title, | |
1028 | const wxPoint& pos = wxDefaultPosition, | |
1029 | const wxSize& size = wxDefaultSize, | |
1030 | long style = wxDEFAULT_FRAME_STYLE, | |
1031 | const wxString& name = wxPyFrameNameStr) | |
1032 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1033 | {} | |
1034 | ||
1035 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1036 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1037 | ||
1038 | DEC_PYCALLBACK_VOID_(Initialize); | |
1039 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1040 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1041 | ||
1042 | PYPRIVATE; | |
1043 | }; | |
1044 | ||
1045 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1046 | ||
1047 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1048 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1049 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1050 | ||
1051 | ||
1052 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1053 | { | |
1054 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1055 | public: | |
1056 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1057 | long buttons, | |
1058 | wxWindow *parent, | |
1059 | const wxPoint& pos = wxDefaultPosition, | |
1060 | const wxSize& size = wxDefaultSize, | |
1061 | long style = 0, | |
1062 | const wxString& name = wxPyPanelNameStr) | |
1063 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1064 | {} | |
1065 | ||
1066 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1067 | ||
1068 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1069 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1070 | ||
1071 | PYPRIVATE; | |
1072 | }; | |
1073 | ||
1074 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1075 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1076 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1077 | ||
1078 | #ifdef __cplusplus | |
1079 | extern "C" { | |
1080 | #endif | |
1081 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1082 | PyObject *resultobj; | |
1083 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1084 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1085 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1086 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1087 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1088 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1089 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1090 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1091 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1092 | wxPanel *result; | |
1093 | wxPoint temp3 ; | |
1094 | wxSize temp4 ; | |
423f194a | 1095 | bool temp6 = False ; |
d14a1e28 | 1096 | PyObject * obj0 = 0 ; |
8edf1c75 | 1097 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1098 | PyObject * obj2 = 0 ; |
1099 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1100 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1101 | PyObject * obj5 = 0 ; |
1102 | char *kwnames[] = { | |
1103 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1104 | }; | |
1105 | ||
8edf1c75 | 1106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 1107 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1108 | if (obj1) { |
1109 | { | |
1110 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
1111 | if (PyErr_Occurred()) SWIG_fail; | |
1112 | } | |
1113 | } | |
d14a1e28 RD |
1114 | if (obj2) { |
1115 | { | |
1116 | arg3 = &temp3; | |
1117 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1118 | } | |
1119 | } | |
1120 | if (obj3) { | |
1121 | { | |
1122 | arg4 = &temp4; | |
1123 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1124 | } | |
1125 | } | |
8edf1c75 RD |
1126 | if (obj4) { |
1127 | { | |
1128 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
1129 | if (PyErr_Occurred()) SWIG_fail; | |
1130 | } | |
1131 | } | |
d14a1e28 RD |
1132 | if (obj5) { |
1133 | { | |
1134 | arg6 = wxString_in_helper(obj5); | |
1135 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1136 | temp6 = True; |
d14a1e28 RD |
1137 | } |
1138 | } | |
1139 | { | |
1140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1141 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1142 | ||
1143 | wxPyEndAllowThreads(__tstate); | |
1144 | if (PyErr_Occurred()) SWIG_fail; | |
1145 | } | |
1146 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1147 | { | |
1148 | if (temp6) | |
1149 | delete arg6; | |
1150 | } | |
1151 | return resultobj; | |
1152 | fail: | |
1153 | { | |
1154 | if (temp6) | |
1155 | delete arg6; | |
1156 | } | |
1157 | return NULL; | |
1158 | } | |
1159 | ||
1160 | ||
1161 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1162 | PyObject *resultobj; | |
1163 | wxPanel *result; | |
1164 | char *kwnames[] = { | |
1165 | NULL | |
1166 | }; | |
1167 | ||
1168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1169 | { | |
1170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1171 | result = (wxPanel *)new wxPanel(); | |
1172 | ||
1173 | wxPyEndAllowThreads(__tstate); | |
1174 | if (PyErr_Occurred()) SWIG_fail; | |
1175 | } | |
1176 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1177 | return resultobj; | |
1178 | fail: | |
1179 | return NULL; | |
1180 | } | |
1181 | ||
1182 | ||
1183 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1184 | PyObject *resultobj; | |
1185 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1186 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1187 | int arg3 ; |
d14a1e28 RD |
1188 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1189 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1190 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1191 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1192 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1193 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1194 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1195 | bool result; | |
1196 | wxPoint temp4 ; | |
1197 | wxSize temp5 ; | |
423f194a | 1198 | bool temp7 = False ; |
d14a1e28 RD |
1199 | PyObject * obj0 = 0 ; |
1200 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1201 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1202 | PyObject * obj3 = 0 ; |
1203 | PyObject * obj4 = 0 ; | |
8edf1c75 | 1204 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1205 | PyObject * obj6 = 0 ; |
1206 | char *kwnames[] = { | |
1207 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1208 | }; | |
1209 | ||
8edf1c75 | 1210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
1211 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
1212 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
1213 | { |
1214 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
1215 | if (PyErr_Occurred()) SWIG_fail; | |
1216 | } | |
d14a1e28 RD |
1217 | if (obj3) { |
1218 | { | |
1219 | arg4 = &temp4; | |
1220 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1221 | } | |
1222 | } | |
1223 | if (obj4) { | |
1224 | { | |
1225 | arg5 = &temp5; | |
1226 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1227 | } | |
1228 | } | |
8edf1c75 RD |
1229 | if (obj5) { |
1230 | { | |
1231 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
1232 | if (PyErr_Occurred()) SWIG_fail; | |
1233 | } | |
1234 | } | |
d14a1e28 RD |
1235 | if (obj6) { |
1236 | { | |
1237 | arg7 = wxString_in_helper(obj6); | |
1238 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1239 | temp7 = True; |
d14a1e28 RD |
1240 | } |
1241 | } | |
1242 | { | |
1243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1244 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1245 | ||
1246 | wxPyEndAllowThreads(__tstate); | |
1247 | if (PyErr_Occurred()) SWIG_fail; | |
1248 | } | |
4e760a36 | 1249 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1250 | { |
1251 | if (temp7) | |
1252 | delete arg7; | |
1253 | } | |
1254 | return resultobj; | |
1255 | fail: | |
1256 | { | |
1257 | if (temp7) | |
1258 | delete arg7; | |
1259 | } | |
1260 | return NULL; | |
1261 | } | |
1262 | ||
1263 | ||
1264 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1265 | PyObject *resultobj; | |
1266 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1267 | PyObject * obj0 = 0 ; | |
1268 | char *kwnames[] = { | |
1269 | (char *) "self", NULL | |
1270 | }; | |
1271 | ||
1272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1273 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1274 | { | |
1275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1276 | (arg1)->InitDialog(); | |
1277 | ||
1278 | wxPyEndAllowThreads(__tstate); | |
1279 | if (PyErr_Occurred()) SWIG_fail; | |
1280 | } | |
1281 | Py_INCREF(Py_None); resultobj = Py_None; | |
1282 | return resultobj; | |
1283 | fail: | |
1284 | return NULL; | |
1285 | } | |
1286 | ||
1287 | ||
1288 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1289 | PyObject *obj; | |
1290 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1291 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1292 | Py_INCREF(obj); | |
1293 | return Py_BuildValue((char *)""); | |
1294 | } | |
1295 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1296 | PyObject *resultobj; | |
1297 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1298 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1299 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1300 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1301 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1302 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1303 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1304 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1305 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1306 | wxScrolledWindow *result; | |
1307 | wxPoint temp3 ; | |
1308 | wxSize temp4 ; | |
423f194a | 1309 | bool temp6 = False ; |
d14a1e28 | 1310 | PyObject * obj0 = 0 ; |
8edf1c75 | 1311 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1312 | PyObject * obj2 = 0 ; |
1313 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1314 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1315 | PyObject * obj5 = 0 ; |
1316 | char *kwnames[] = { | |
1317 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1318 | }; | |
1319 | ||
8edf1c75 | 1320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 1321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1322 | if (obj1) { |
1323 | { | |
1324 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
1325 | if (PyErr_Occurred()) SWIG_fail; | |
1326 | } | |
1327 | } | |
d14a1e28 RD |
1328 | if (obj2) { |
1329 | { | |
1330 | arg3 = &temp3; | |
1331 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1332 | } | |
1333 | } | |
1334 | if (obj3) { | |
1335 | { | |
1336 | arg4 = &temp4; | |
1337 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1338 | } | |
1339 | } | |
8edf1c75 RD |
1340 | if (obj4) { |
1341 | { | |
1342 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
1343 | if (PyErr_Occurred()) SWIG_fail; | |
1344 | } | |
1345 | } | |
d14a1e28 RD |
1346 | if (obj5) { |
1347 | { | |
1348 | arg6 = wxString_in_helper(obj5); | |
1349 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1350 | temp6 = True; |
d14a1e28 RD |
1351 | } |
1352 | } | |
1353 | { | |
1354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1355 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1356 | ||
1357 | wxPyEndAllowThreads(__tstate); | |
1358 | if (PyErr_Occurred()) SWIG_fail; | |
1359 | } | |
1360 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1361 | { | |
1362 | if (temp6) | |
1363 | delete arg6; | |
1364 | } | |
1365 | return resultobj; | |
1366 | fail: | |
1367 | { | |
1368 | if (temp6) | |
1369 | delete arg6; | |
1370 | } | |
1371 | return NULL; | |
1372 | } | |
1373 | ||
1374 | ||
1375 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1376 | PyObject *resultobj; | |
1377 | wxScrolledWindow *result; | |
1378 | char *kwnames[] = { | |
1379 | NULL | |
1380 | }; | |
1381 | ||
1382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1383 | { | |
1384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1385 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1386 | ||
1387 | wxPyEndAllowThreads(__tstate); | |
1388 | if (PyErr_Occurred()) SWIG_fail; | |
1389 | } | |
1390 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1391 | return resultobj; | |
1392 | fail: | |
1393 | return NULL; | |
1394 | } | |
1395 | ||
1396 | ||
1397 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1398 | PyObject *resultobj; | |
1399 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1400 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1401 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1402 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1403 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1404 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1405 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1406 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1407 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1408 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1409 | bool result; | |
1410 | wxPoint temp4 ; | |
1411 | wxSize temp5 ; | |
423f194a | 1412 | bool temp7 = False ; |
d14a1e28 RD |
1413 | PyObject * obj0 = 0 ; |
1414 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1415 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1416 | PyObject * obj3 = 0 ; |
1417 | PyObject * obj4 = 0 ; | |
8edf1c75 | 1418 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1419 | PyObject * obj6 = 0 ; |
1420 | char *kwnames[] = { | |
1421 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1422 | }; | |
1423 | ||
8edf1c75 | 1424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
1425 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
1426 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
1427 | if (obj2) { |
1428 | { | |
1429 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
1430 | if (PyErr_Occurred()) SWIG_fail; | |
1431 | } | |
1432 | } | |
d14a1e28 RD |
1433 | if (obj3) { |
1434 | { | |
1435 | arg4 = &temp4; | |
1436 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1437 | } | |
1438 | } | |
1439 | if (obj4) { | |
1440 | { | |
1441 | arg5 = &temp5; | |
1442 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1443 | } | |
1444 | } | |
8edf1c75 RD |
1445 | if (obj5) { |
1446 | { | |
1447 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
1448 | if (PyErr_Occurred()) SWIG_fail; | |
1449 | } | |
1450 | } | |
d14a1e28 RD |
1451 | if (obj6) { |
1452 | { | |
1453 | arg7 = wxString_in_helper(obj6); | |
1454 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1455 | temp7 = True; |
d14a1e28 RD |
1456 | } |
1457 | } | |
1458 | { | |
1459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1460 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1461 | ||
1462 | wxPyEndAllowThreads(__tstate); | |
1463 | if (PyErr_Occurred()) SWIG_fail; | |
1464 | } | |
4e760a36 | 1465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1466 | { |
1467 | if (temp7) | |
1468 | delete arg7; | |
1469 | } | |
1470 | return resultobj; | |
1471 | fail: | |
1472 | { | |
1473 | if (temp7) | |
1474 | delete arg7; | |
1475 | } | |
1476 | return NULL; | |
1477 | } | |
1478 | ||
1479 | ||
1480 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1481 | PyObject *resultobj; | |
1482 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1483 | int arg2 ; | |
1484 | int arg3 ; | |
1485 | int arg4 ; | |
1486 | int arg5 ; | |
1487 | int arg6 = (int) 0 ; | |
1488 | int arg7 = (int) 0 ; | |
423f194a | 1489 | bool arg8 = (bool) False ; |
d14a1e28 | 1490 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
1491 | PyObject * obj1 = 0 ; |
1492 | PyObject * obj2 = 0 ; | |
1493 | PyObject * obj3 = 0 ; | |
1494 | PyObject * obj4 = 0 ; | |
1495 | PyObject * obj5 = 0 ; | |
1496 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1497 | PyObject * obj7 = 0 ; |
1498 | char *kwnames[] = { | |
1499 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1500 | }; | |
1501 | ||
8edf1c75 | 1502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 | 1503 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1504 | { |
1505 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1506 | if (PyErr_Occurred()) SWIG_fail; | |
1507 | } | |
1508 | { | |
1509 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1510 | if (PyErr_Occurred()) SWIG_fail; | |
1511 | } | |
1512 | { | |
1513 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
1514 | if (PyErr_Occurred()) SWIG_fail; | |
1515 | } | |
1516 | { | |
1517 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
1518 | if (PyErr_Occurred()) SWIG_fail; | |
1519 | } | |
1520 | if (obj5) { | |
1521 | { | |
1522 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
1523 | if (PyErr_Occurred()) SWIG_fail; | |
1524 | } | |
1525 | } | |
1526 | if (obj6) { | |
1527 | { | |
1528 | arg7 = (int) SWIG_PyObj_AsInt(obj6); | |
1529 | if (PyErr_Occurred()) SWIG_fail; | |
1530 | } | |
1531 | } | |
d14a1e28 | 1532 | if (obj7) { |
83448d71 | 1533 | { |
8edf1c75 | 1534 | arg8 = (bool) SWIG_PyObj_AsBool(obj7); |
83448d71 RD |
1535 | if (PyErr_Occurred()) SWIG_fail; |
1536 | } | |
d14a1e28 RD |
1537 | } |
1538 | { | |
1539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1540 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1541 | ||
1542 | wxPyEndAllowThreads(__tstate); | |
1543 | if (PyErr_Occurred()) SWIG_fail; | |
1544 | } | |
1545 | Py_INCREF(Py_None); resultobj = Py_None; | |
1546 | return resultobj; | |
1547 | fail: | |
1548 | return NULL; | |
1549 | } | |
1550 | ||
1551 | ||
1552 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1553 | PyObject *resultobj; | |
1554 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1555 | int arg2 ; | |
1556 | int arg3 ; | |
1557 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1558 | PyObject * obj1 = 0 ; |
1559 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1560 | char *kwnames[] = { |
1561 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1562 | }; | |
1563 | ||
8edf1c75 | 1564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1565 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1566 | { |
1567 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1568 | if (PyErr_Occurred()) SWIG_fail; | |
1569 | } | |
1570 | { | |
1571 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1572 | if (PyErr_Occurred()) SWIG_fail; | |
1573 | } | |
d14a1e28 RD |
1574 | { |
1575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1576 | (arg1)->Scroll(arg2,arg3); | |
1577 | ||
1578 | wxPyEndAllowThreads(__tstate); | |
1579 | if (PyErr_Occurred()) SWIG_fail; | |
1580 | } | |
1581 | Py_INCREF(Py_None); resultobj = Py_None; | |
1582 | return resultobj; | |
1583 | fail: | |
1584 | return NULL; | |
1585 | } | |
1586 | ||
1587 | ||
1588 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1589 | PyObject *resultobj; | |
1590 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1591 | int arg2 ; | |
1592 | int result; | |
1593 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1594 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1595 | char *kwnames[] = { |
1596 | (char *) "self",(char *) "orient", NULL | |
1597 | }; | |
1598 | ||
8edf1c75 | 1599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 1600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1601 | { |
1602 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1603 | if (PyErr_Occurred()) SWIG_fail; | |
1604 | } | |
d14a1e28 RD |
1605 | { |
1606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1607 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1608 | ||
1609 | wxPyEndAllowThreads(__tstate); | |
1610 | if (PyErr_Occurred()) SWIG_fail; | |
1611 | } | |
8edf1c75 | 1612 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
1613 | return resultobj; |
1614 | fail: | |
1615 | return NULL; | |
1616 | } | |
1617 | ||
1618 | ||
1619 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1620 | PyObject *resultobj; | |
1621 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1622 | int arg2 ; | |
1623 | int arg3 ; | |
1624 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1625 | PyObject * obj1 = 0 ; |
1626 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1627 | char *kwnames[] = { |
1628 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1629 | }; | |
1630 | ||
8edf1c75 | 1631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1633 | { |
1634 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1635 | if (PyErr_Occurred()) SWIG_fail; | |
1636 | } | |
1637 | { | |
1638 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1639 | if (PyErr_Occurred()) SWIG_fail; | |
1640 | } | |
d14a1e28 RD |
1641 | { |
1642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1643 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1644 | ||
1645 | wxPyEndAllowThreads(__tstate); | |
1646 | if (PyErr_Occurred()) SWIG_fail; | |
1647 | } | |
1648 | Py_INCREF(Py_None); resultobj = Py_None; | |
1649 | return resultobj; | |
1650 | fail: | |
1651 | return NULL; | |
1652 | } | |
1653 | ||
1654 | ||
1655 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1656 | PyObject *resultobj; | |
1657 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1658 | int arg2 ; | |
1659 | int arg3 ; | |
1660 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1661 | PyObject * obj1 = 0 ; |
1662 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1663 | char *kwnames[] = { |
1664 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1665 | }; | |
1666 | ||
8edf1c75 | 1667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1669 | { |
1670 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1671 | if (PyErr_Occurred()) SWIG_fail; | |
1672 | } | |
1673 | { | |
1674 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1675 | if (PyErr_Occurred()) SWIG_fail; | |
1676 | } | |
d14a1e28 RD |
1677 | { |
1678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1679 | (arg1)->SetScrollRate(arg2,arg3); | |
1680 | ||
1681 | wxPyEndAllowThreads(__tstate); | |
1682 | if (PyErr_Occurred()) SWIG_fail; | |
1683 | } | |
1684 | Py_INCREF(Py_None); resultobj = Py_None; | |
1685 | return resultobj; | |
1686 | fail: | |
1687 | return NULL; | |
1688 | } | |
1689 | ||
1690 | ||
1691 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1692 | PyObject *resultobj; | |
1693 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1694 | int *arg2 = (int *) 0 ; | |
1695 | int *arg3 = (int *) 0 ; | |
1696 | int temp2 ; | |
1697 | int temp3 ; | |
1698 | PyObject * obj0 = 0 ; | |
1699 | char *kwnames[] = { | |
1700 | (char *) "self", NULL | |
1701 | }; | |
1702 | ||
1703 | arg2 = &temp2; | |
1704 | arg3 = &temp3; | |
1705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
1706 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1707 | { | |
1708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1709 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1710 | ||
1711 | wxPyEndAllowThreads(__tstate); | |
1712 | if (PyErr_Occurred()) SWIG_fail; | |
1713 | } | |
1714 | Py_INCREF(Py_None); resultobj = Py_None; | |
1715 | { | |
1716 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1717 | resultobj = t_output_helper(resultobj,o); | |
1718 | } | |
1719 | { | |
1720 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1721 | resultobj = t_output_helper(resultobj,o); | |
1722 | } | |
1723 | return resultobj; | |
1724 | fail: | |
1725 | return NULL; | |
1726 | } | |
1727 | ||
1728 | ||
1729 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1730 | PyObject *resultobj; | |
1731 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1732 | bool arg2 ; | |
1733 | bool arg3 ; | |
1734 | PyObject * obj0 = 0 ; | |
1735 | PyObject * obj1 = 0 ; | |
1736 | PyObject * obj2 = 0 ; | |
1737 | char *kwnames[] = { | |
1738 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1739 | }; | |
1740 | ||
1741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 1743 | { |
8edf1c75 | 1744 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
1745 | if (PyErr_Occurred()) SWIG_fail; |
1746 | } | |
1747 | { | |
8edf1c75 | 1748 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
83448d71 RD |
1749 | if (PyErr_Occurred()) SWIG_fail; |
1750 | } | |
d14a1e28 RD |
1751 | { |
1752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1753 | (arg1)->EnableScrolling(arg2,arg3); | |
1754 | ||
1755 | wxPyEndAllowThreads(__tstate); | |
1756 | if (PyErr_Occurred()) SWIG_fail; | |
1757 | } | |
1758 | Py_INCREF(Py_None); resultobj = Py_None; | |
1759 | return resultobj; | |
1760 | fail: | |
1761 | return NULL; | |
1762 | } | |
1763 | ||
1764 | ||
1765 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1766 | PyObject *resultobj; | |
1767 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1768 | int *arg2 = (int *) 0 ; | |
1769 | int *arg3 = (int *) 0 ; | |
1770 | int temp2 ; | |
1771 | int temp3 ; | |
1772 | PyObject * obj0 = 0 ; | |
1773 | char *kwnames[] = { | |
1774 | (char *) "self", NULL | |
1775 | }; | |
1776 | ||
1777 | arg2 = &temp2; | |
1778 | arg3 = &temp3; | |
1779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
1780 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1781 | { | |
1782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1783 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1784 | ||
1785 | wxPyEndAllowThreads(__tstate); | |
1786 | if (PyErr_Occurred()) SWIG_fail; | |
1787 | } | |
1788 | Py_INCREF(Py_None); resultobj = Py_None; | |
1789 | { | |
1790 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1791 | resultobj = t_output_helper(resultobj,o); | |
1792 | } | |
1793 | { | |
1794 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1795 | resultobj = t_output_helper(resultobj,o); | |
1796 | } | |
1797 | return resultobj; | |
1798 | fail: | |
1799 | return NULL; | |
1800 | } | |
1801 | ||
1802 | ||
1803 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1804 | PyObject *resultobj; | |
1805 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1806 | double arg2 ; | |
1807 | double arg3 ; | |
1808 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1809 | PyObject * obj1 = 0 ; |
1810 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1811 | char *kwnames[] = { |
1812 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1813 | }; | |
1814 | ||
8edf1c75 | 1815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1817 | { |
1818 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
1819 | if (PyErr_Occurred()) SWIG_fail; | |
1820 | } | |
1821 | { | |
1822 | arg3 = (double) SWIG_PyObj_AsDouble(obj2); | |
1823 | if (PyErr_Occurred()) SWIG_fail; | |
1824 | } | |
d14a1e28 RD |
1825 | { |
1826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1827 | (arg1)->SetScale(arg2,arg3); | |
1828 | ||
1829 | wxPyEndAllowThreads(__tstate); | |
1830 | if (PyErr_Occurred()) SWIG_fail; | |
1831 | } | |
1832 | Py_INCREF(Py_None); resultobj = Py_None; | |
1833 | return resultobj; | |
1834 | fail: | |
1835 | return NULL; | |
1836 | } | |
1837 | ||
1838 | ||
1839 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1840 | PyObject *resultobj; | |
1841 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1842 | double result; | |
1843 | PyObject * obj0 = 0 ; | |
1844 | char *kwnames[] = { | |
1845 | (char *) "self", NULL | |
1846 | }; | |
1847 | ||
1848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
1849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1850 | { | |
1851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1852 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1853 | ||
1854 | wxPyEndAllowThreads(__tstate); | |
1855 | if (PyErr_Occurred()) SWIG_fail; | |
1856 | } | |
8edf1c75 | 1857 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
1858 | return resultobj; |
1859 | fail: | |
1860 | return NULL; | |
1861 | } | |
1862 | ||
1863 | ||
1864 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1865 | PyObject *resultobj; | |
1866 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1867 | double result; | |
1868 | PyObject * obj0 = 0 ; | |
1869 | char *kwnames[] = { | |
1870 | (char *) "self", NULL | |
1871 | }; | |
1872 | ||
1873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
1874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1875 | { | |
1876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1877 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1878 | ||
1879 | wxPyEndAllowThreads(__tstate); | |
1880 | if (PyErr_Occurred()) SWIG_fail; | |
1881 | } | |
8edf1c75 | 1882 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
1883 | return resultobj; |
1884 | fail: | |
1885 | return NULL; | |
1886 | } | |
1887 | ||
1888 | ||
1889 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1890 | PyObject *resultobj; | |
1891 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1892 | wxPoint *arg2 = 0 ; |
1893 | wxPoint result; | |
1894 | wxPoint temp2 ; | |
d14a1e28 | 1895 | PyObject * obj0 = 0 ; |
44127b65 | 1896 | PyObject * obj1 = 0 ; |
d14a1e28 | 1897 | |
44127b65 | 1898 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 1899 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
44127b65 RD |
1900 | { |
1901 | arg2 = &temp2; | |
1902 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1903 | } | |
d14a1e28 RD |
1904 | { |
1905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1906 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1907 | |
1908 | wxPyEndAllowThreads(__tstate); | |
1909 | if (PyErr_Occurred()) SWIG_fail; | |
1910 | } | |
d14a1e28 | 1911 | { |
44127b65 RD |
1912 | wxPoint * resultptr; |
1913 | resultptr = new wxPoint((wxPoint &) result); | |
1914 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
1915 | } |
1916 | return resultobj; | |
1917 | fail: | |
1918 | return NULL; | |
1919 | } | |
1920 | ||
1921 | ||
1922 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1923 | PyObject *resultobj; | |
1924 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1925 | int arg2 ; |
1926 | int arg3 ; | |
1927 | int *arg4 = (int *) 0 ; | |
1928 | int *arg5 = (int *) 0 ; | |
1929 | int temp4 ; | |
1930 | int temp5 ; | |
d14a1e28 | 1931 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
1932 | PyObject * obj1 = 0 ; |
1933 | PyObject * obj2 = 0 ; | |
d14a1e28 | 1934 | |
44127b65 RD |
1935 | arg4 = &temp4; |
1936 | arg5 = &temp5; | |
8edf1c75 | 1937 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 1938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
1939 | { |
1940 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
1941 | if (PyErr_Occurred()) SWIG_fail; | |
1942 | } | |
1943 | { | |
1944 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
1945 | if (PyErr_Occurred()) SWIG_fail; | |
1946 | } | |
d14a1e28 RD |
1947 | { |
1948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1949 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
1950 | |
1951 | wxPyEndAllowThreads(__tstate); | |
1952 | if (PyErr_Occurred()) SWIG_fail; | |
1953 | } | |
44127b65 | 1954 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 1955 | { |
44127b65 RD |
1956 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
1957 | resultobj = t_output_helper(resultobj,o); | |
1958 | } | |
1959 | { | |
1960 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
1961 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
1962 | } |
1963 | return resultobj; | |
1964 | fail: | |
1965 | return NULL; | |
1966 | } | |
1967 | ||
1968 | ||
1969 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
1970 | int argc; | |
1971 | PyObject *argv[4]; | |
1972 | int ii; | |
1973 | ||
1974 | argc = PyObject_Length(args); | |
1975 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1976 | argv[ii] = PyTuple_GetItem(args,ii); | |
1977 | } | |
1978 | if (argc == 2) { | |
1979 | int _v; | |
1980 | { | |
1981 | void *ptr; | |
1982 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1983 | _v = 0; | |
1984 | PyErr_Clear(); | |
1985 | } else { | |
1986 | _v = 1; | |
1987 | } | |
1988 | } | |
1989 | if (_v) { | |
1990 | { | |
1991 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1992 | } | |
1993 | if (_v) { | |
44127b65 | 1994 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
1995 | } |
1996 | } | |
1997 | } | |
1998 | if (argc == 3) { | |
1999 | int _v; | |
2000 | { | |
2001 | void *ptr; | |
2002 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2003 | _v = 0; | |
2004 | PyErr_Clear(); | |
2005 | } else { | |
2006 | _v = 1; | |
2007 | } | |
2008 | } | |
2009 | if (_v) { | |
2010 | { | |
8edf1c75 | 2011 | SWIG_PyObj_AsInt(argv[1]); |
83448d71 RD |
2012 | if (PyErr_Occurred()) { |
2013 | _v = 0; | |
2014 | PyErr_Clear(); | |
2015 | } else { | |
2016 | _v = 1; | |
2017 | } | |
d14a1e28 RD |
2018 | } |
2019 | if (_v) { | |
2020 | { | |
8edf1c75 | 2021 | SWIG_PyObj_AsInt(argv[2]); |
83448d71 RD |
2022 | if (PyErr_Occurred()) { |
2023 | _v = 0; | |
2024 | PyErr_Clear(); | |
2025 | } else { | |
2026 | _v = 1; | |
2027 | } | |
d14a1e28 RD |
2028 | } |
2029 | if (_v) { | |
44127b65 | 2030 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2031 | } |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | ||
2036 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2037 | return NULL; | |
2038 | } | |
2039 | ||
2040 | ||
2041 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2042 | PyObject *resultobj; | |
2043 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
2044 | wxPoint *arg2 = 0 ; |
2045 | wxPoint result; | |
2046 | wxPoint temp2 ; | |
d14a1e28 | 2047 | PyObject * obj0 = 0 ; |
44127b65 | 2048 | PyObject * obj1 = 0 ; |
d14a1e28 | 2049 | |
44127b65 | 2050 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 2051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
44127b65 RD |
2052 | { |
2053 | arg2 = &temp2; | |
2054 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2055 | } | |
d14a1e28 RD |
2056 | { |
2057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2058 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2059 | |
2060 | wxPyEndAllowThreads(__tstate); | |
2061 | if (PyErr_Occurred()) SWIG_fail; | |
2062 | } | |
d14a1e28 | 2063 | { |
44127b65 RD |
2064 | wxPoint * resultptr; |
2065 | resultptr = new wxPoint((wxPoint &) result); | |
2066 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
2067 | } |
2068 | return resultobj; | |
2069 | fail: | |
2070 | return NULL; | |
2071 | } | |
2072 | ||
2073 | ||
2074 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2075 | PyObject *resultobj; | |
2076 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
2077 | int arg2 ; |
2078 | int arg3 ; | |
2079 | int *arg4 = (int *) 0 ; | |
2080 | int *arg5 = (int *) 0 ; | |
2081 | int temp4 ; | |
2082 | int temp5 ; | |
d14a1e28 | 2083 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
2084 | PyObject * obj1 = 0 ; |
2085 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2086 | |
44127b65 RD |
2087 | arg4 = &temp4; |
2088 | arg5 = &temp5; | |
8edf1c75 | 2089 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 2090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
2091 | { |
2092 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
2093 | if (PyErr_Occurred()) SWIG_fail; | |
2094 | } | |
2095 | { | |
2096 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
2097 | if (PyErr_Occurred()) SWIG_fail; | |
2098 | } | |
d14a1e28 RD |
2099 | { |
2100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2101 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2102 | |
2103 | wxPyEndAllowThreads(__tstate); | |
2104 | if (PyErr_Occurred()) SWIG_fail; | |
2105 | } | |
44127b65 RD |
2106 | Py_INCREF(Py_None); resultobj = Py_None; |
2107 | { | |
2108 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
2109 | resultobj = t_output_helper(resultobj,o); | |
2110 | } | |
d14a1e28 | 2111 | { |
44127b65 RD |
2112 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
2113 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2114 | } |
2115 | return resultobj; | |
2116 | fail: | |
2117 | return NULL; | |
2118 | } | |
2119 | ||
2120 | ||
2121 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2122 | int argc; | |
2123 | PyObject *argv[4]; | |
2124 | int ii; | |
2125 | ||
2126 | argc = PyObject_Length(args); | |
2127 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2128 | argv[ii] = PyTuple_GetItem(args,ii); | |
2129 | } | |
2130 | if (argc == 2) { | |
2131 | int _v; | |
2132 | { | |
2133 | void *ptr; | |
2134 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2135 | _v = 0; | |
2136 | PyErr_Clear(); | |
2137 | } else { | |
2138 | _v = 1; | |
2139 | } | |
2140 | } | |
2141 | if (_v) { | |
2142 | { | |
2143 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2144 | } | |
2145 | if (_v) { | |
44127b65 | 2146 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2147 | } |
2148 | } | |
2149 | } | |
2150 | if (argc == 3) { | |
2151 | int _v; | |
2152 | { | |
2153 | void *ptr; | |
2154 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
2155 | _v = 0; | |
2156 | PyErr_Clear(); | |
2157 | } else { | |
2158 | _v = 1; | |
2159 | } | |
2160 | } | |
2161 | if (_v) { | |
2162 | { | |
8edf1c75 | 2163 | SWIG_PyObj_AsInt(argv[1]); |
83448d71 RD |
2164 | if (PyErr_Occurred()) { |
2165 | _v = 0; | |
2166 | PyErr_Clear(); | |
2167 | } else { | |
2168 | _v = 1; | |
2169 | } | |
d14a1e28 RD |
2170 | } |
2171 | if (_v) { | |
2172 | { | |
8edf1c75 | 2173 | SWIG_PyObj_AsInt(argv[2]); |
83448d71 RD |
2174 | if (PyErr_Occurred()) { |
2175 | _v = 0; | |
2176 | PyErr_Clear(); | |
2177 | } else { | |
2178 | _v = 1; | |
2179 | } | |
d14a1e28 RD |
2180 | } |
2181 | if (_v) { | |
44127b65 | 2182 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2183 | } |
2184 | } | |
2185 | } | |
2186 | } | |
2187 | ||
2188 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2189 | return NULL; | |
2190 | } | |
2191 | ||
2192 | ||
2193 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2194 | PyObject *resultobj; | |
2195 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2196 | PyObject * obj0 = 0 ; | |
2197 | char *kwnames[] = { | |
2198 | (char *) "self", NULL | |
2199 | }; | |
2200 | ||
2201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
2202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2203 | { | |
2204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2205 | (arg1)->AdjustScrollbars(); | |
2206 | ||
2207 | wxPyEndAllowThreads(__tstate); | |
2208 | if (PyErr_Occurred()) SWIG_fail; | |
2209 | } | |
2210 | Py_INCREF(Py_None); resultobj = Py_None; | |
2211 | return resultobj; | |
2212 | fail: | |
2213 | return NULL; | |
2214 | } | |
2215 | ||
2216 | ||
2217 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2218 | PyObject *resultobj; | |
2219 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2220 | wxScrollWinEvent *arg2 = 0 ; | |
2221 | int result; | |
2222 | PyObject * obj0 = 0 ; | |
2223 | PyObject * obj1 = 0 ; | |
2224 | char *kwnames[] = { | |
2225 | (char *) "self",(char *) "event", NULL | |
2226 | }; | |
2227 | ||
2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
2229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2230 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2231 | if (arg2 == NULL) { | |
2232 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2233 | } | |
2234 | { | |
2235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2236 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2237 | ||
2238 | wxPyEndAllowThreads(__tstate); | |
2239 | if (PyErr_Occurred()) SWIG_fail; | |
2240 | } | |
8edf1c75 | 2241 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
2242 | return resultobj; |
2243 | fail: | |
2244 | return NULL; | |
2245 | } | |
2246 | ||
2247 | ||
2248 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2249 | PyObject *resultobj; | |
2250 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2251 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2252 | PyObject * obj0 = 0 ; | |
2253 | PyObject * obj1 = 0 ; | |
2254 | char *kwnames[] = { | |
2255 | (char *) "self",(char *) "target", NULL | |
2256 | }; | |
2257 | ||
2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
2259 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2260 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2261 | { | |
2262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2263 | (arg1)->SetTargetWindow(arg2); | |
2264 | ||
2265 | wxPyEndAllowThreads(__tstate); | |
2266 | if (PyErr_Occurred()) SWIG_fail; | |
2267 | } | |
2268 | Py_INCREF(Py_None); resultobj = Py_None; | |
2269 | return resultobj; | |
2270 | fail: | |
2271 | return NULL; | |
2272 | } | |
2273 | ||
2274 | ||
2275 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2276 | PyObject *resultobj; | |
2277 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2278 | wxWindow *result; | |
2279 | PyObject * obj0 = 0 ; | |
2280 | char *kwnames[] = { | |
2281 | (char *) "self", NULL | |
2282 | }; | |
2283 | ||
2284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2285 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2286 | { | |
2287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2288 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2289 | ||
2290 | wxPyEndAllowThreads(__tstate); | |
2291 | if (PyErr_Occurred()) SWIG_fail; | |
2292 | } | |
2293 | { | |
2294 | resultobj = wxPyMake_wxObject(result); | |
2295 | } | |
2296 | return resultobj; | |
2297 | fail: | |
2298 | return NULL; | |
2299 | } | |
2300 | ||
2301 | ||
2302 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2303 | PyObject *resultobj; | |
2304 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2305 | wxRect *arg2 = 0 ; | |
2306 | wxRect temp2 ; | |
2307 | PyObject * obj0 = 0 ; | |
2308 | PyObject * obj1 = 0 ; | |
2309 | char *kwnames[] = { | |
2310 | (char *) "self",(char *) "rect", NULL | |
2311 | }; | |
2312 | ||
2313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2315 | { | |
2316 | arg2 = &temp2; | |
2317 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2318 | } | |
2319 | { | |
2320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2321 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2322 | ||
2323 | wxPyEndAllowThreads(__tstate); | |
2324 | if (PyErr_Occurred()) SWIG_fail; | |
2325 | } | |
2326 | Py_INCREF(Py_None); resultobj = Py_None; | |
2327 | return resultobj; | |
2328 | fail: | |
2329 | return NULL; | |
2330 | } | |
2331 | ||
2332 | ||
2333 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2334 | PyObject *resultobj; | |
2335 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2336 | wxRect result; | |
2337 | PyObject * obj0 = 0 ; | |
2338 | char *kwnames[] = { | |
2339 | (char *) "self", NULL | |
2340 | }; | |
2341 | ||
2342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2344 | { | |
2345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2346 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2347 | ||
2348 | wxPyEndAllowThreads(__tstate); | |
2349 | if (PyErr_Occurred()) SWIG_fail; | |
2350 | } | |
2351 | { | |
2352 | wxRect * resultptr; | |
2353 | resultptr = new wxRect((wxRect &) result); | |
2354 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
2355 | } | |
2356 | return resultobj; | |
2357 | fail: | |
2358 | return NULL; | |
2359 | } | |
2360 | ||
2361 | ||
2362 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2363 | PyObject *obj; | |
2364 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2365 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2366 | Py_INCREF(obj); | |
2367 | return Py_BuildValue((char *)""); | |
2368 | } | |
8edf1c75 | 2369 | static int _wrap_FrameNameStr_set(PyObject *) { |
d03fd34d RD |
2370 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2371 | return 1; | |
2372 | } | |
2373 | ||
2374 | ||
2375 | static PyObject *_wrap_FrameNameStr_get() { | |
2376 | PyObject *pyobj; | |
2377 | ||
2378 | { | |
2379 | #if wxUSE_UNICODE | |
2380 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2381 | #else | |
2382 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2383 | #endif | |
2384 | } | |
2385 | return pyobj; | |
2386 | } | |
2387 | ||
2388 | ||
8edf1c75 | 2389 | static int _wrap_DialogNameStr_set(PyObject *) { |
d03fd34d RD |
2390 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2391 | return 1; | |
2392 | } | |
2393 | ||
2394 | ||
2395 | static PyObject *_wrap_DialogNameStr_get() { | |
2396 | PyObject *pyobj; | |
2397 | ||
2398 | { | |
2399 | #if wxUSE_UNICODE | |
2400 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2401 | #else | |
2402 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2403 | #endif | |
2404 | } | |
2405 | return pyobj; | |
2406 | } | |
2407 | ||
2408 | ||
8edf1c75 | 2409 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d03fd34d RD |
2410 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2411 | return 1; | |
2412 | } | |
2413 | ||
2414 | ||
2415 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2416 | PyObject *pyobj; | |
2417 | ||
2418 | { | |
2419 | #if wxUSE_UNICODE | |
2420 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2421 | #else | |
2422 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2423 | #endif | |
2424 | } | |
2425 | return pyobj; | |
2426 | } | |
2427 | ||
2428 | ||
8edf1c75 | 2429 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d03fd34d RD |
2430 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2431 | return 1; | |
2432 | } | |
2433 | ||
2434 | ||
2435 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2436 | PyObject *pyobj; | |
2437 | ||
2438 | { | |
2439 | #if wxUSE_UNICODE | |
2440 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2441 | #else | |
2442 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2443 | #endif | |
2444 | } | |
2445 | return pyobj; | |
2446 | } | |
2447 | ||
2448 | ||
d14a1e28 RD |
2449 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2450 | PyObject *resultobj; | |
2451 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2452 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2453 | PyObject * obj0 = 0 ; |
2454 | PyObject * obj1 = 0 ; | |
2455 | char *kwnames[] = { | |
2456 | (char *) "self",(char *) "maximize", NULL | |
2457 | }; | |
2458 | ||
2459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2461 | if (obj1) { | |
83448d71 | 2462 | { |
8edf1c75 | 2463 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
2464 | if (PyErr_Occurred()) SWIG_fail; |
2465 | } | |
d14a1e28 RD |
2466 | } |
2467 | { | |
2468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2469 | (arg1)->Maximize(arg2); | |
2470 | ||
2471 | wxPyEndAllowThreads(__tstate); | |
2472 | if (PyErr_Occurred()) SWIG_fail; | |
2473 | } | |
2474 | Py_INCREF(Py_None); resultobj = Py_None; | |
2475 | return resultobj; | |
2476 | fail: | |
2477 | return NULL; | |
2478 | } | |
2479 | ||
2480 | ||
2481 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2482 | PyObject *resultobj; | |
2483 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2484 | PyObject * obj0 = 0 ; | |
2485 | char *kwnames[] = { | |
2486 | (char *) "self", NULL | |
2487 | }; | |
2488 | ||
2489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2490 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2491 | { | |
2492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2493 | (arg1)->Restore(); | |
2494 | ||
2495 | wxPyEndAllowThreads(__tstate); | |
2496 | if (PyErr_Occurred()) SWIG_fail; | |
2497 | } | |
2498 | Py_INCREF(Py_None); resultobj = Py_None; | |
2499 | return resultobj; | |
2500 | fail: | |
2501 | return NULL; | |
2502 | } | |
2503 | ||
2504 | ||
2505 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2506 | PyObject *resultobj; | |
2507 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2508 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2509 | PyObject * obj0 = 0 ; |
2510 | PyObject * obj1 = 0 ; | |
2511 | char *kwnames[] = { | |
2512 | (char *) "self",(char *) "iconize", NULL | |
2513 | }; | |
2514 | ||
2515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2516 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2517 | if (obj1) { | |
83448d71 | 2518 | { |
8edf1c75 | 2519 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
2520 | if (PyErr_Occurred()) SWIG_fail; |
2521 | } | |
d14a1e28 RD |
2522 | } |
2523 | { | |
2524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2525 | (arg1)->Iconize(arg2); | |
2526 | ||
2527 | wxPyEndAllowThreads(__tstate); | |
2528 | if (PyErr_Occurred()) SWIG_fail; | |
2529 | } | |
2530 | Py_INCREF(Py_None); resultobj = Py_None; | |
2531 | return resultobj; | |
2532 | fail: | |
2533 | return NULL; | |
2534 | } | |
2535 | ||
2536 | ||
2537 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2538 | PyObject *resultobj; | |
2539 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2540 | bool result; | |
2541 | PyObject * obj0 = 0 ; | |
2542 | char *kwnames[] = { | |
2543 | (char *) "self", NULL | |
2544 | }; | |
2545 | ||
2546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2548 | { | |
2549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2550 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2551 | ||
2552 | wxPyEndAllowThreads(__tstate); | |
2553 | if (PyErr_Occurred()) SWIG_fail; | |
2554 | } | |
4e760a36 | 2555 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2556 | return resultobj; |
2557 | fail: | |
2558 | return NULL; | |
2559 | } | |
2560 | ||
2561 | ||
2562 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2563 | PyObject *resultobj; | |
2564 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2565 | bool result; | |
2566 | PyObject * obj0 = 0 ; | |
2567 | char *kwnames[] = { | |
2568 | (char *) "self", NULL | |
2569 | }; | |
2570 | ||
2571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2572 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2573 | { | |
2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2575 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2576 | ||
2577 | wxPyEndAllowThreads(__tstate); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
2579 | } | |
4e760a36 | 2580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2581 | return resultobj; |
2582 | fail: | |
2583 | return NULL; | |
2584 | } | |
2585 | ||
2586 | ||
2587 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2588 | PyObject *resultobj; | |
2589 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2590 | wxIcon result; | |
2591 | PyObject * obj0 = 0 ; | |
2592 | char *kwnames[] = { | |
2593 | (char *) "self", NULL | |
2594 | }; | |
2595 | ||
2596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2597 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2598 | { | |
2599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2600 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2601 | ||
2602 | wxPyEndAllowThreads(__tstate); | |
2603 | if (PyErr_Occurred()) SWIG_fail; | |
2604 | } | |
2605 | { | |
2606 | wxIcon * resultptr; | |
2607 | resultptr = new wxIcon((wxIcon &) result); | |
2608 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1); | |
2609 | } | |
2610 | return resultobj; | |
2611 | fail: | |
2612 | return NULL; | |
2613 | } | |
2614 | ||
2615 | ||
2616 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2617 | PyObject *resultobj; | |
2618 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2619 | wxIcon *arg2 = 0 ; | |
2620 | PyObject * obj0 = 0 ; | |
2621 | PyObject * obj1 = 0 ; | |
2622 | char *kwnames[] = { | |
2623 | (char *) "self",(char *) "icon", NULL | |
2624 | }; | |
2625 | ||
2626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2628 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2629 | if (arg2 == NULL) { | |
2630 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2631 | } | |
2632 | { | |
2633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2634 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2635 | ||
2636 | wxPyEndAllowThreads(__tstate); | |
2637 | if (PyErr_Occurred()) SWIG_fail; | |
2638 | } | |
2639 | Py_INCREF(Py_None); resultobj = Py_None; | |
2640 | return resultobj; | |
2641 | fail: | |
2642 | return NULL; | |
2643 | } | |
2644 | ||
2645 | ||
2646 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2647 | PyObject *resultobj; | |
2648 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2649 | wxIconBundle *arg2 = 0 ; | |
2650 | PyObject * obj0 = 0 ; | |
2651 | PyObject * obj1 = 0 ; | |
2652 | char *kwnames[] = { | |
2653 | (char *) "self",(char *) "icons", NULL | |
2654 | }; | |
2655 | ||
2656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2657 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2658 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2659 | if (arg2 == NULL) { | |
2660 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2661 | } | |
2662 | { | |
2663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2664 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2665 | ||
2666 | wxPyEndAllowThreads(__tstate); | |
2667 | if (PyErr_Occurred()) SWIG_fail; | |
2668 | } | |
2669 | Py_INCREF(Py_None); resultobj = Py_None; | |
2670 | return resultobj; | |
2671 | fail: | |
2672 | return NULL; | |
2673 | } | |
2674 | ||
2675 | ||
2676 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2677 | PyObject *resultobj; | |
2678 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2679 | bool arg2 ; | |
2680 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2681 | bool result; | |
2682 | PyObject * obj0 = 0 ; | |
2683 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2684 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2685 | char *kwnames[] = { |
2686 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2687 | }; | |
2688 | ||
8edf1c75 | 2689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 2690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
83448d71 | 2691 | { |
8edf1c75 | 2692 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
2693 | if (PyErr_Occurred()) SWIG_fail; |
2694 | } | |
8edf1c75 RD |
2695 | if (obj2) { |
2696 | { | |
2697 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
2698 | if (PyErr_Occurred()) SWIG_fail; | |
2699 | } | |
2700 | } | |
d14a1e28 RD |
2701 | { |
2702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2703 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2704 | ||
2705 | wxPyEndAllowThreads(__tstate); | |
2706 | if (PyErr_Occurred()) SWIG_fail; | |
2707 | } | |
4e760a36 | 2708 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2709 | return resultobj; |
2710 | fail: | |
2711 | return NULL; | |
2712 | } | |
2713 | ||
2714 | ||
2715 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2716 | PyObject *resultobj; | |
2717 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2718 | bool result; | |
2719 | PyObject * obj0 = 0 ; | |
2720 | char *kwnames[] = { | |
2721 | (char *) "self", NULL | |
2722 | }; | |
2723 | ||
2724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2726 | { | |
2727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2728 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2729 | ||
2730 | wxPyEndAllowThreads(__tstate); | |
2731 | if (PyErr_Occurred()) SWIG_fail; | |
2732 | } | |
4e760a36 | 2733 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2734 | return resultobj; |
2735 | fail: | |
2736 | return NULL; | |
2737 | } | |
2738 | ||
2739 | ||
2740 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2741 | PyObject *resultobj; | |
2742 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2743 | wxString *arg2 = 0 ; | |
423f194a | 2744 | bool temp2 = False ; |
d14a1e28 RD |
2745 | PyObject * obj0 = 0 ; |
2746 | PyObject * obj1 = 0 ; | |
2747 | char *kwnames[] = { | |
2748 | (char *) "self",(char *) "title", NULL | |
2749 | }; | |
2750 | ||
2751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2752 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2753 | { | |
2754 | arg2 = wxString_in_helper(obj1); | |
2755 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2756 | temp2 = True; |
d14a1e28 RD |
2757 | } |
2758 | { | |
2759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2760 | (arg1)->SetTitle((wxString const &)*arg2); | |
2761 | ||
2762 | wxPyEndAllowThreads(__tstate); | |
2763 | if (PyErr_Occurred()) SWIG_fail; | |
2764 | } | |
2765 | Py_INCREF(Py_None); resultobj = Py_None; | |
2766 | { | |
2767 | if (temp2) | |
2768 | delete arg2; | |
2769 | } | |
2770 | return resultobj; | |
2771 | fail: | |
2772 | { | |
2773 | if (temp2) | |
2774 | delete arg2; | |
2775 | } | |
2776 | return NULL; | |
2777 | } | |
2778 | ||
2779 | ||
2780 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2781 | PyObject *resultobj; | |
2782 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2783 | wxString result; | |
2784 | PyObject * obj0 = 0 ; | |
2785 | char *kwnames[] = { | |
2786 | (char *) "self", NULL | |
2787 | }; | |
2788 | ||
2789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2790 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2791 | { | |
2792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2793 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2794 | ||
2795 | wxPyEndAllowThreads(__tstate); | |
2796 | if (PyErr_Occurred()) SWIG_fail; | |
2797 | } | |
2798 | { | |
2799 | #if wxUSE_UNICODE | |
2800 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2801 | #else | |
2802 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2803 | #endif | |
2804 | } | |
2805 | return resultobj; | |
2806 | fail: | |
2807 | return NULL; | |
2808 | } | |
2809 | ||
2810 | ||
2811 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2812 | PyObject *resultobj; | |
2813 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2814 | wxRegion *arg2 = 0 ; | |
2815 | bool result; | |
2816 | PyObject * obj0 = 0 ; | |
2817 | PyObject * obj1 = 0 ; | |
2818 | char *kwnames[] = { | |
2819 | (char *) "self",(char *) "region", NULL | |
2820 | }; | |
2821 | ||
2822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2824 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2825 | if (arg2 == NULL) { | |
2826 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2827 | } | |
2828 | { | |
2829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2830 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2831 | ||
2832 | wxPyEndAllowThreads(__tstate); | |
2833 | if (PyErr_Occurred()) SWIG_fail; | |
2834 | } | |
4e760a36 | 2835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2836 | return resultobj; |
2837 | fail: | |
2838 | return NULL; | |
2839 | } | |
2840 | ||
2841 | ||
2842 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2843 | PyObject *obj; | |
2844 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2845 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2846 | Py_INCREF(obj); | |
2847 | return Py_BuildValue((char *)""); | |
2848 | } | |
2849 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2850 | PyObject *resultobj; | |
2851 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 2852 | int arg2 ; |
d14a1e28 RD |
2853 | wxString *arg3 = 0 ; |
2854 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2855 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2856 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2857 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2858 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2859 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2860 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2861 | wxFrame *result; | |
423f194a | 2862 | bool temp3 = False ; |
d14a1e28 RD |
2863 | wxPoint temp4 ; |
2864 | wxSize temp5 ; | |
423f194a | 2865 | bool temp7 = False ; |
d14a1e28 | 2866 | PyObject * obj0 = 0 ; |
8edf1c75 | 2867 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2868 | PyObject * obj2 = 0 ; |
2869 | PyObject * obj3 = 0 ; | |
2870 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2871 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2872 | PyObject * obj6 = 0 ; |
2873 | char *kwnames[] = { | |
2874 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2875 | }; | |
2876 | ||
8edf1c75 | 2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 2878 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
2879 | { |
2880 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
2881 | if (PyErr_Occurred()) SWIG_fail; | |
2882 | } | |
d14a1e28 RD |
2883 | { |
2884 | arg3 = wxString_in_helper(obj2); | |
2885 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 2886 | temp3 = True; |
d14a1e28 RD |
2887 | } |
2888 | if (obj3) { | |
2889 | { | |
2890 | arg4 = &temp4; | |
2891 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2892 | } | |
2893 | } | |
2894 | if (obj4) { | |
2895 | { | |
2896 | arg5 = &temp5; | |
2897 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2898 | } | |
2899 | } | |
8edf1c75 RD |
2900 | if (obj5) { |
2901 | { | |
2902 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
2903 | if (PyErr_Occurred()) SWIG_fail; | |
2904 | } | |
2905 | } | |
d14a1e28 RD |
2906 | if (obj6) { |
2907 | { | |
2908 | arg7 = wxString_in_helper(obj6); | |
2909 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 2910 | temp7 = True; |
d14a1e28 RD |
2911 | } |
2912 | } | |
2913 | { | |
2914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2915 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2916 | ||
2917 | wxPyEndAllowThreads(__tstate); | |
2918 | if (PyErr_Occurred()) SWIG_fail; | |
2919 | } | |
2920 | { | |
2921 | resultobj = wxPyMake_wxObject(result); | |
2922 | } | |
2923 | { | |
2924 | if (temp3) | |
2925 | delete arg3; | |
2926 | } | |
2927 | { | |
2928 | if (temp7) | |
2929 | delete arg7; | |
2930 | } | |
2931 | return resultobj; | |
2932 | fail: | |
2933 | { | |
2934 | if (temp3) | |
2935 | delete arg3; | |
2936 | } | |
2937 | { | |
2938 | if (temp7) | |
2939 | delete arg7; | |
2940 | } | |
2941 | return NULL; | |
2942 | } | |
2943 | ||
2944 | ||
2945 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2946 | PyObject *resultobj; | |
2947 | wxFrame *result; | |
2948 | char *kwnames[] = { | |
2949 | NULL | |
2950 | }; | |
2951 | ||
2952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | result = (wxFrame *)new wxFrame(); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | { | |
2961 | resultobj = wxPyMake_wxObject(result); | |
2962 | } | |
2963 | return resultobj; | |
2964 | fail: | |
2965 | return NULL; | |
2966 | } | |
2967 | ||
2968 | ||
2969 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2970 | PyObject *resultobj; | |
2971 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2972 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 2973 | int arg3 ; |
d14a1e28 RD |
2974 | wxString *arg4 = 0 ; |
2975 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2976 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2977 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2978 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2979 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2980 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2981 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2982 | bool result; | |
423f194a | 2983 | bool temp4 = False ; |
d14a1e28 RD |
2984 | wxPoint temp5 ; |
2985 | wxSize temp6 ; | |
423f194a | 2986 | bool temp8 = False ; |
d14a1e28 RD |
2987 | PyObject * obj0 = 0 ; |
2988 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2989 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2990 | PyObject * obj3 = 0 ; |
2991 | PyObject * obj4 = 0 ; | |
2992 | PyObject * obj5 = 0 ; | |
8edf1c75 | 2993 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
2994 | PyObject * obj7 = 0 ; |
2995 | char *kwnames[] = { | |
2996 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2997 | }; | |
2998 | ||
8edf1c75 | 2999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
3000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3001 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
3002 | { |
3003 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
3004 | if (PyErr_Occurred()) SWIG_fail; | |
3005 | } | |
d14a1e28 RD |
3006 | { |
3007 | arg4 = wxString_in_helper(obj3); | |
3008 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3009 | temp4 = True; |
d14a1e28 RD |
3010 | } |
3011 | if (obj4) { | |
3012 | { | |
3013 | arg5 = &temp5; | |
3014 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3015 | } | |
3016 | } | |
3017 | if (obj5) { | |
3018 | { | |
3019 | arg6 = &temp6; | |
3020 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3021 | } | |
3022 | } | |
8edf1c75 RD |
3023 | if (obj6) { |
3024 | { | |
3025 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
3026 | if (PyErr_Occurred()) SWIG_fail; | |
3027 | } | |
3028 | } | |
d14a1e28 RD |
3029 | if (obj7) { |
3030 | { | |
3031 | arg8 = wxString_in_helper(obj7); | |
3032 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3033 | temp8 = True; |
d14a1e28 RD |
3034 | } |
3035 | } | |
3036 | { | |
3037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3038 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3039 | ||
3040 | wxPyEndAllowThreads(__tstate); | |
3041 | if (PyErr_Occurred()) SWIG_fail; | |
3042 | } | |
4e760a36 | 3043 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3044 | { |
3045 | if (temp4) | |
3046 | delete arg4; | |
3047 | } | |
3048 | { | |
3049 | if (temp8) | |
3050 | delete arg8; | |
3051 | } | |
3052 | return resultobj; | |
3053 | fail: | |
3054 | { | |
3055 | if (temp4) | |
3056 | delete arg4; | |
3057 | } | |
3058 | { | |
3059 | if (temp8) | |
3060 | delete arg8; | |
3061 | } | |
3062 | return NULL; | |
3063 | } | |
3064 | ||
3065 | ||
3066 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3067 | PyObject *resultobj; | |
3068 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3069 | wxPoint result; | |
3070 | PyObject * obj0 = 0 ; | |
3071 | char *kwnames[] = { | |
3072 | (char *) "self", NULL | |
3073 | }; | |
3074 | ||
3075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
3076 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3077 | { | |
3078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3079 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3080 | ||
3081 | wxPyEndAllowThreads(__tstate); | |
3082 | if (PyErr_Occurred()) SWIG_fail; | |
3083 | } | |
3084 | { | |
3085 | wxPoint * resultptr; | |
3086 | resultptr = new wxPoint((wxPoint &) result); | |
3087 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
3088 | } | |
3089 | return resultobj; | |
3090 | fail: | |
3091 | return NULL; | |
3092 | } | |
3093 | ||
3094 | ||
3095 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3096 | PyObject *resultobj; | |
3097 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3098 | PyObject * obj0 = 0 ; | |
3099 | char *kwnames[] = { | |
3100 | (char *) "self", NULL | |
3101 | }; | |
3102 | ||
3103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
3104 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3105 | { | |
3106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3107 | (arg1)->SendSizeEvent(); | |
3108 | ||
3109 | wxPyEndAllowThreads(__tstate); | |
3110 | if (PyErr_Occurred()) SWIG_fail; | |
3111 | } | |
3112 | Py_INCREF(Py_None); resultobj = Py_None; | |
3113 | return resultobj; | |
3114 | fail: | |
3115 | return NULL; | |
3116 | } | |
3117 | ||
3118 | ||
3119 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3120 | PyObject *resultobj; | |
3121 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3122 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3123 | PyObject * obj0 = 0 ; | |
3124 | PyObject * obj1 = 0 ; | |
3125 | char *kwnames[] = { | |
3126 | (char *) "self",(char *) "menubar", NULL | |
3127 | }; | |
3128 | ||
3129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
3130 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3131 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3132 | { | |
3133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3134 | (arg1)->SetMenuBar(arg2); | |
3135 | ||
3136 | wxPyEndAllowThreads(__tstate); | |
3137 | if (PyErr_Occurred()) SWIG_fail; | |
3138 | } | |
3139 | Py_INCREF(Py_None); resultobj = Py_None; | |
3140 | return resultobj; | |
3141 | fail: | |
3142 | return NULL; | |
3143 | } | |
3144 | ||
3145 | ||
3146 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3147 | PyObject *resultobj; | |
3148 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3149 | wxMenuBar *result; | |
3150 | PyObject * obj0 = 0 ; | |
3151 | char *kwnames[] = { | |
3152 | (char *) "self", NULL | |
3153 | }; | |
3154 | ||
3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
3156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3157 | { | |
3158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3159 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3160 | ||
3161 | wxPyEndAllowThreads(__tstate); | |
3162 | if (PyErr_Occurred()) SWIG_fail; | |
3163 | } | |
3164 | { | |
3165 | resultobj = wxPyMake_wxObject(result); | |
3166 | } | |
3167 | return resultobj; | |
3168 | fail: | |
3169 | return NULL; | |
3170 | } | |
3171 | ||
3172 | ||
3173 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3174 | PyObject *resultobj; | |
3175 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3176 | int arg2 ; | |
3177 | bool result; | |
3178 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3179 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3180 | char *kwnames[] = { |
3181 | (char *) "self",(char *) "winid", NULL | |
3182 | }; | |
3183 | ||
8edf1c75 | 3184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3185 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3186 | { |
3187 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3188 | if (PyErr_Occurred()) SWIG_fail; | |
3189 | } | |
d14a1e28 RD |
3190 | { |
3191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3192 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3193 | ||
3194 | wxPyEndAllowThreads(__tstate); | |
3195 | if (PyErr_Occurred()) SWIG_fail; | |
3196 | } | |
4e760a36 | 3197 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3198 | return resultobj; |
3199 | fail: | |
3200 | return NULL; | |
3201 | } | |
3202 | ||
3203 | ||
3204 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3205 | PyObject *resultobj; | |
3206 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3207 | int arg2 = (int) 1 ; | |
3208 | long arg3 = (long) wxST_SIZEGRIP ; | |
423f194a | 3209 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3210 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3211 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3212 | wxStatusBar *result; | |
423f194a | 3213 | bool temp5 = False ; |
d14a1e28 | 3214 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3215 | PyObject * obj1 = 0 ; |
3216 | PyObject * obj2 = 0 ; | |
3217 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3218 | PyObject * obj4 = 0 ; |
3219 | char *kwnames[] = { | |
3220 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3221 | }; | |
3222 | ||
8edf1c75 | 3223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 3224 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3225 | if (obj1) { |
3226 | { | |
3227 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3228 | if (PyErr_Occurred()) SWIG_fail; | |
3229 | } | |
3230 | } | |
3231 | if (obj2) { | |
3232 | { | |
3233 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
3234 | if (PyErr_Occurred()) SWIG_fail; | |
3235 | } | |
3236 | } | |
3237 | if (obj3) { | |
3238 | { | |
3239 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
3240 | if (PyErr_Occurred()) SWIG_fail; | |
3241 | } | |
3242 | } | |
d14a1e28 RD |
3243 | if (obj4) { |
3244 | { | |
3245 | arg5 = wxString_in_helper(obj4); | |
3246 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 3247 | temp5 = True; |
d14a1e28 RD |
3248 | } |
3249 | } | |
3250 | { | |
3251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3252 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3253 | ||
3254 | wxPyEndAllowThreads(__tstate); | |
3255 | if (PyErr_Occurred()) SWIG_fail; | |
3256 | } | |
3257 | { | |
3258 | resultobj = wxPyMake_wxObject(result); | |
3259 | } | |
3260 | { | |
3261 | if (temp5) | |
3262 | delete arg5; | |
3263 | } | |
3264 | return resultobj; | |
3265 | fail: | |
3266 | { | |
3267 | if (temp5) | |
3268 | delete arg5; | |
3269 | } | |
3270 | return NULL; | |
3271 | } | |
3272 | ||
3273 | ||
3274 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3275 | PyObject *resultobj; | |
3276 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3277 | wxStatusBar *result; | |
3278 | PyObject * obj0 = 0 ; | |
3279 | char *kwnames[] = { | |
3280 | (char *) "self", NULL | |
3281 | }; | |
3282 | ||
3283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
3284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3285 | { | |
3286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3287 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3288 | ||
3289 | wxPyEndAllowThreads(__tstate); | |
3290 | if (PyErr_Occurred()) SWIG_fail; | |
3291 | } | |
3292 | { | |
3293 | resultobj = wxPyMake_wxObject(result); | |
3294 | } | |
3295 | return resultobj; | |
3296 | fail: | |
3297 | return NULL; | |
3298 | } | |
3299 | ||
3300 | ||
3301 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3302 | PyObject *resultobj; | |
3303 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3304 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3305 | PyObject * obj0 = 0 ; | |
3306 | PyObject * obj1 = 0 ; | |
3307 | char *kwnames[] = { | |
3308 | (char *) "self",(char *) "statBar", NULL | |
3309 | }; | |
3310 | ||
3311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
3312 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3313 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3314 | { | |
3315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3316 | (arg1)->SetStatusBar(arg2); | |
3317 | ||
3318 | wxPyEndAllowThreads(__tstate); | |
3319 | if (PyErr_Occurred()) SWIG_fail; | |
3320 | } | |
3321 | Py_INCREF(Py_None); resultobj = Py_None; | |
3322 | return resultobj; | |
3323 | fail: | |
3324 | return NULL; | |
3325 | } | |
3326 | ||
3327 | ||
3328 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3329 | PyObject *resultobj; | |
3330 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3331 | wxString *arg2 = 0 ; | |
3332 | int arg3 = (int) 0 ; | |
423f194a | 3333 | bool temp2 = False ; |
d14a1e28 RD |
3334 | PyObject * obj0 = 0 ; |
3335 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3336 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3337 | char *kwnames[] = { |
3338 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3339 | }; | |
3340 | ||
8edf1c75 | 3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
3342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3343 | { | |
3344 | arg2 = wxString_in_helper(obj1); | |
3345 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3346 | temp2 = True; |
d14a1e28 | 3347 | } |
8edf1c75 RD |
3348 | if (obj2) { |
3349 | { | |
3350 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
3353 | } | |
d14a1e28 RD |
3354 | { |
3355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3356 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3357 | ||
3358 | wxPyEndAllowThreads(__tstate); | |
3359 | if (PyErr_Occurred()) SWIG_fail; | |
3360 | } | |
3361 | Py_INCREF(Py_None); resultobj = Py_None; | |
3362 | { | |
3363 | if (temp2) | |
3364 | delete arg2; | |
3365 | } | |
3366 | return resultobj; | |
3367 | fail: | |
3368 | { | |
3369 | if (temp2) | |
3370 | delete arg2; | |
3371 | } | |
3372 | return NULL; | |
3373 | } | |
3374 | ||
3375 | ||
3376 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3377 | PyObject *resultobj; | |
3378 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3379 | int arg2 ; | |
3380 | int *arg3 = (int *) 0 ; | |
3381 | PyObject * obj0 = 0 ; | |
3382 | PyObject * obj1 = 0 ; | |
3383 | char *kwnames[] = { | |
3384 | (char *) "self",(char *) "widths", NULL | |
3385 | }; | |
3386 | ||
3387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
3388 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3389 | { | |
3390 | arg2 = PyList_Size(obj1); | |
3391 | arg3 = int_LIST_helper(obj1); | |
3392 | if (arg3 == NULL) SWIG_fail; | |
3393 | } | |
3394 | { | |
3395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3396 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3397 | ||
3398 | wxPyEndAllowThreads(__tstate); | |
3399 | if (PyErr_Occurred()) SWIG_fail; | |
3400 | } | |
3401 | Py_INCREF(Py_None); resultobj = Py_None; | |
3402 | { | |
3403 | if (arg3) delete [] arg3; | |
3404 | } | |
3405 | return resultobj; | |
3406 | fail: | |
3407 | { | |
3408 | if (arg3) delete [] arg3; | |
3409 | } | |
3410 | return NULL; | |
3411 | } | |
3412 | ||
3413 | ||
3414 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3415 | PyObject *resultobj; | |
3416 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3417 | wxString *arg2 = 0 ; | |
3418 | int arg3 = (int) 0 ; | |
423f194a | 3419 | bool temp2 = False ; |
d14a1e28 RD |
3420 | PyObject * obj0 = 0 ; |
3421 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3422 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3423 | char *kwnames[] = { |
3424 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3425 | }; | |
3426 | ||
8edf1c75 | 3427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
3428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3429 | { | |
3430 | arg2 = wxString_in_helper(obj1); | |
3431 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3432 | temp2 = True; |
d14a1e28 | 3433 | } |
8edf1c75 RD |
3434 | if (obj2) { |
3435 | { | |
3436 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3437 | if (PyErr_Occurred()) SWIG_fail; | |
3438 | } | |
3439 | } | |
d14a1e28 RD |
3440 | { |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3442 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3443 | ||
3444 | wxPyEndAllowThreads(__tstate); | |
3445 | if (PyErr_Occurred()) SWIG_fail; | |
3446 | } | |
3447 | Py_INCREF(Py_None); resultobj = Py_None; | |
3448 | { | |
3449 | if (temp2) | |
3450 | delete arg2; | |
3451 | } | |
3452 | return resultobj; | |
3453 | fail: | |
3454 | { | |
3455 | if (temp2) | |
3456 | delete arg2; | |
3457 | } | |
3458 | return NULL; | |
3459 | } | |
3460 | ||
3461 | ||
3462 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3463 | PyObject *resultobj; | |
3464 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3465 | int arg2 = (int) 0 ; | |
3466 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3467 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3468 | char *kwnames[] = { |
3469 | (char *) "self",(char *) "number", NULL | |
3470 | }; | |
3471 | ||
8edf1c75 | 3472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3474 | if (obj1) { |
3475 | { | |
3476 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3477 | if (PyErr_Occurred()) SWIG_fail; | |
3478 | } | |
3479 | } | |
d14a1e28 RD |
3480 | { |
3481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3482 | (arg1)->PopStatusText(arg2); | |
3483 | ||
3484 | wxPyEndAllowThreads(__tstate); | |
3485 | if (PyErr_Occurred()) SWIG_fail; | |
3486 | } | |
3487 | Py_INCREF(Py_None); resultobj = Py_None; | |
3488 | return resultobj; | |
3489 | fail: | |
3490 | return NULL; | |
3491 | } | |
3492 | ||
3493 | ||
3494 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3495 | PyObject *resultobj; | |
3496 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3497 | int arg2 ; | |
3498 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3499 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3500 | char *kwnames[] = { |
3501 | (char *) "self",(char *) "n", NULL | |
3502 | }; | |
3503 | ||
8edf1c75 | 3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3506 | { |
3507 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3508 | if (PyErr_Occurred()) SWIG_fail; | |
3509 | } | |
d14a1e28 RD |
3510 | { |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3512 | (arg1)->SetStatusBarPane(arg2); | |
3513 | ||
3514 | wxPyEndAllowThreads(__tstate); | |
3515 | if (PyErr_Occurred()) SWIG_fail; | |
3516 | } | |
3517 | Py_INCREF(Py_None); resultobj = Py_None; | |
3518 | return resultobj; | |
3519 | fail: | |
3520 | return NULL; | |
3521 | } | |
3522 | ||
3523 | ||
3524 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3525 | PyObject *resultobj; | |
3526 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3527 | int result; | |
3528 | PyObject * obj0 = 0 ; | |
3529 | char *kwnames[] = { | |
3530 | (char *) "self", NULL | |
3531 | }; | |
3532 | ||
3533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
3534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3535 | { | |
3536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3537 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3538 | ||
3539 | wxPyEndAllowThreads(__tstate); | |
3540 | if (PyErr_Occurred()) SWIG_fail; | |
3541 | } | |
8edf1c75 | 3542 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
3543 | return resultobj; |
3544 | fail: | |
3545 | return NULL; | |
3546 | } | |
3547 | ||
3548 | ||
3549 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3550 | PyObject *resultobj; | |
3551 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3552 | long arg2 = (long) -1 ; | |
423f194a | 3553 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3554 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3555 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3556 | wxToolBar *result; | |
423f194a | 3557 | bool temp4 = False ; |
d14a1e28 | 3558 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3559 | PyObject * obj1 = 0 ; |
3560 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3561 | PyObject * obj3 = 0 ; |
3562 | char *kwnames[] = { | |
3563 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3564 | }; | |
3565 | ||
8edf1c75 | 3566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 3567 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3568 | if (obj1) { |
3569 | { | |
3570 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
3571 | if (PyErr_Occurred()) SWIG_fail; | |
3572 | } | |
3573 | } | |
3574 | if (obj2) { | |
3575 | { | |
3576 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
3577 | if (PyErr_Occurred()) SWIG_fail; | |
3578 | } | |
3579 | } | |
d14a1e28 RD |
3580 | if (obj3) { |
3581 | { | |
3582 | arg4 = wxString_in_helper(obj3); | |
3583 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3584 | temp4 = True; |
d14a1e28 RD |
3585 | } |
3586 | } | |
3587 | { | |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3589 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3590 | ||
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
3594 | { | |
3595 | resultobj = wxPyMake_wxObject(result); | |
3596 | } | |
3597 | { | |
3598 | if (temp4) | |
3599 | delete arg4; | |
3600 | } | |
3601 | return resultobj; | |
3602 | fail: | |
3603 | { | |
3604 | if (temp4) | |
3605 | delete arg4; | |
3606 | } | |
3607 | return NULL; | |
3608 | } | |
3609 | ||
3610 | ||
3611 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3612 | PyObject *resultobj; | |
3613 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3614 | wxToolBar *result; | |
3615 | PyObject * obj0 = 0 ; | |
3616 | char *kwnames[] = { | |
3617 | (char *) "self", NULL | |
3618 | }; | |
3619 | ||
3620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
3621 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3622 | { | |
3623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3624 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3625 | ||
3626 | wxPyEndAllowThreads(__tstate); | |
3627 | if (PyErr_Occurred()) SWIG_fail; | |
3628 | } | |
3629 | { | |
3630 | resultobj = wxPyMake_wxObject(result); | |
3631 | } | |
3632 | return resultobj; | |
3633 | fail: | |
3634 | return NULL; | |
3635 | } | |
3636 | ||
3637 | ||
3638 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3639 | PyObject *resultobj; | |
3640 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3641 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3642 | PyObject * obj0 = 0 ; | |
3643 | PyObject * obj1 = 0 ; | |
3644 | char *kwnames[] = { | |
3645 | (char *) "self",(char *) "toolbar", NULL | |
3646 | }; | |
3647 | ||
3648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
3649 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3650 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3651 | { | |
3652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3653 | (arg1)->SetToolBar(arg2); | |
3654 | ||
3655 | wxPyEndAllowThreads(__tstate); | |
3656 | if (PyErr_Occurred()) SWIG_fail; | |
3657 | } | |
3658 | Py_INCREF(Py_None); resultobj = Py_None; | |
3659 | return resultobj; | |
3660 | fail: | |
3661 | return NULL; | |
3662 | } | |
3663 | ||
3664 | ||
3665 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3666 | PyObject *resultobj; | |
3667 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3668 | wxString *arg2 = 0 ; | |
3669 | bool arg3 ; | |
423f194a | 3670 | bool temp2 = False ; |
d14a1e28 RD |
3671 | PyObject * obj0 = 0 ; |
3672 | PyObject * obj1 = 0 ; | |
3673 | PyObject * obj2 = 0 ; | |
3674 | char *kwnames[] = { | |
3675 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3676 | }; | |
3677 | ||
3678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3679 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3680 | { | |
3681 | arg2 = wxString_in_helper(obj1); | |
3682 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3683 | temp2 = True; |
d14a1e28 | 3684 | } |
83448d71 | 3685 | { |
8edf1c75 | 3686 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
83448d71 RD |
3687 | if (PyErr_Occurred()) SWIG_fail; |
3688 | } | |
d14a1e28 RD |
3689 | { |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3691 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3692 | ||
3693 | wxPyEndAllowThreads(__tstate); | |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
3696 | Py_INCREF(Py_None); resultobj = Py_None; | |
3697 | { | |
3698 | if (temp2) | |
3699 | delete arg2; | |
3700 | } | |
3701 | return resultobj; | |
3702 | fail: | |
3703 | { | |
3704 | if (temp2) | |
3705 | delete arg2; | |
3706 | } | |
3707 | return NULL; | |
3708 | } | |
3709 | ||
3710 | ||
3711 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3712 | PyObject *resultobj; | |
3713 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3714 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3715 | PyObject * obj0 = 0 ; | |
3716 | PyObject * obj1 = 0 ; | |
3717 | char *kwnames[] = { | |
3718 | (char *) "self",(char *) "menu", NULL | |
3719 | }; | |
3720 | ||
3721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
3722 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3723 | if (obj1) { | |
3724 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3725 | } | |
3726 | { | |
3727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3728 | (arg1)->DoMenuUpdates(arg2); | |
3729 | ||
3730 | wxPyEndAllowThreads(__tstate); | |
3731 | if (PyErr_Occurred()) SWIG_fail; | |
3732 | } | |
3733 | Py_INCREF(Py_None); resultobj = Py_None; | |
3734 | return resultobj; | |
3735 | fail: | |
3736 | return NULL; | |
3737 | } | |
3738 | ||
3739 | ||
3740 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3741 | PyObject *obj; | |
3742 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3743 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3744 | Py_INCREF(obj); | |
3745 | return Py_BuildValue((char *)""); | |
3746 | } | |
3747 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3748 | PyObject *resultobj; | |
3749 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 3750 | int arg2 ; |
d14a1e28 RD |
3751 | wxString *arg3 = 0 ; |
3752 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3753 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3754 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3755 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3756 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3757 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3758 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3759 | wxDialog *result; | |
423f194a | 3760 | bool temp3 = False ; |
d14a1e28 RD |
3761 | wxPoint temp4 ; |
3762 | wxSize temp5 ; | |
423f194a | 3763 | bool temp7 = False ; |
d14a1e28 | 3764 | PyObject * obj0 = 0 ; |
8edf1c75 | 3765 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3766 | PyObject * obj2 = 0 ; |
3767 | PyObject * obj3 = 0 ; | |
3768 | PyObject * obj4 = 0 ; | |
8edf1c75 | 3769 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3770 | PyObject * obj6 = 0 ; |
3771 | char *kwnames[] = { | |
3772 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3773 | }; | |
3774 | ||
8edf1c75 | 3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 3776 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3777 | { |
3778 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
3779 | if (PyErr_Occurred()) SWIG_fail; | |
3780 | } | |
d14a1e28 RD |
3781 | { |
3782 | arg3 = wxString_in_helper(obj2); | |
3783 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 3784 | temp3 = True; |
d14a1e28 RD |
3785 | } |
3786 | if (obj3) { | |
3787 | { | |
3788 | arg4 = &temp4; | |
3789 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3790 | } | |
3791 | } | |
3792 | if (obj4) { | |
3793 | { | |
3794 | arg5 = &temp5; | |
3795 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3796 | } | |
3797 | } | |
8edf1c75 RD |
3798 | if (obj5) { |
3799 | { | |
3800 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
3801 | if (PyErr_Occurred()) SWIG_fail; | |
3802 | } | |
3803 | } | |
d14a1e28 RD |
3804 | if (obj6) { |
3805 | { | |
3806 | arg7 = wxString_in_helper(obj6); | |
3807 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 3808 | temp7 = True; |
d14a1e28 RD |
3809 | } |
3810 | } | |
3811 | { | |
3812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3813 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3814 | ||
3815 | wxPyEndAllowThreads(__tstate); | |
3816 | if (PyErr_Occurred()) SWIG_fail; | |
3817 | } | |
3818 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3819 | { | |
3820 | if (temp3) | |
3821 | delete arg3; | |
3822 | } | |
3823 | { | |
3824 | if (temp7) | |
3825 | delete arg7; | |
3826 | } | |
3827 | return resultobj; | |
3828 | fail: | |
3829 | { | |
3830 | if (temp3) | |
3831 | delete arg3; | |
3832 | } | |
3833 | { | |
3834 | if (temp7) | |
3835 | delete arg7; | |
3836 | } | |
3837 | return NULL; | |
3838 | } | |
3839 | ||
3840 | ||
3841 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3842 | PyObject *resultobj; | |
3843 | wxDialog *result; | |
3844 | char *kwnames[] = { | |
3845 | NULL | |
3846 | }; | |
3847 | ||
3848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3849 | { | |
3850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3851 | result = (wxDialog *)new wxDialog(); | |
3852 | ||
3853 | wxPyEndAllowThreads(__tstate); | |
3854 | if (PyErr_Occurred()) SWIG_fail; | |
3855 | } | |
3856 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3857 | return resultobj; | |
3858 | fail: | |
3859 | return NULL; | |
3860 | } | |
3861 | ||
3862 | ||
3863 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3864 | PyObject *resultobj; | |
3865 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3866 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3867 | int arg3 ; |
d14a1e28 RD |
3868 | wxString *arg4 = 0 ; |
3869 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3870 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3871 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3872 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3873 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3874 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3875 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3876 | bool result; | |
423f194a | 3877 | bool temp4 = False ; |
d14a1e28 RD |
3878 | wxPoint temp5 ; |
3879 | wxSize temp6 ; | |
423f194a | 3880 | bool temp8 = False ; |
d14a1e28 RD |
3881 | PyObject * obj0 = 0 ; |
3882 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3883 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3884 | PyObject * obj3 = 0 ; |
3885 | PyObject * obj4 = 0 ; | |
3886 | PyObject * obj5 = 0 ; | |
8edf1c75 | 3887 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3888 | PyObject * obj7 = 0 ; |
3889 | char *kwnames[] = { | |
3890 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3891 | }; | |
3892 | ||
8edf1c75 | 3893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
3894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
3895 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
3896 | { |
3897 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
3898 | if (PyErr_Occurred()) SWIG_fail; | |
3899 | } | |
d14a1e28 RD |
3900 | { |
3901 | arg4 = wxString_in_helper(obj3); | |
3902 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3903 | temp4 = True; |
d14a1e28 RD |
3904 | } |
3905 | if (obj4) { | |
3906 | { | |
3907 | arg5 = &temp5; | |
3908 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3909 | } | |
3910 | } | |
3911 | if (obj5) { | |
3912 | { | |
3913 | arg6 = &temp6; | |
3914 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3915 | } | |
3916 | } | |
8edf1c75 RD |
3917 | if (obj6) { |
3918 | { | |
3919 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
3920 | if (PyErr_Occurred()) SWIG_fail; | |
3921 | } | |
3922 | } | |
d14a1e28 RD |
3923 | if (obj7) { |
3924 | { | |
3925 | arg8 = wxString_in_helper(obj7); | |
3926 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3927 | temp8 = True; |
d14a1e28 RD |
3928 | } |
3929 | } | |
3930 | { | |
3931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3932 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3933 | ||
3934 | wxPyEndAllowThreads(__tstate); | |
3935 | if (PyErr_Occurred()) SWIG_fail; | |
3936 | } | |
4e760a36 | 3937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3938 | { |
3939 | if (temp4) | |
3940 | delete arg4; | |
3941 | } | |
3942 | { | |
3943 | if (temp8) | |
3944 | delete arg8; | |
3945 | } | |
3946 | return resultobj; | |
3947 | fail: | |
3948 | { | |
3949 | if (temp4) | |
3950 | delete arg4; | |
3951 | } | |
3952 | { | |
3953 | if (temp8) | |
3954 | delete arg8; | |
3955 | } | |
3956 | return NULL; | |
3957 | } | |
3958 | ||
3959 | ||
3960 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3961 | PyObject *resultobj; | |
3962 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3963 | int arg2 ; | |
3964 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3965 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3966 | char *kwnames[] = { |
3967 | (char *) "self",(char *) "returnCode", NULL | |
3968 | }; | |
3969 | ||
8edf1c75 | 3970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 3971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
3972 | { |
3973 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
3974 | if (PyErr_Occurred()) SWIG_fail; | |
3975 | } | |
d14a1e28 RD |
3976 | { |
3977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3978 | (arg1)->SetReturnCode(arg2); | |
3979 | ||
3980 | wxPyEndAllowThreads(__tstate); | |
3981 | if (PyErr_Occurred()) SWIG_fail; | |
3982 | } | |
3983 | Py_INCREF(Py_None); resultobj = Py_None; | |
3984 | return resultobj; | |
3985 | fail: | |
3986 | return NULL; | |
3987 | } | |
3988 | ||
3989 | ||
3990 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3991 | PyObject *resultobj; | |
3992 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3993 | int result; | |
3994 | PyObject * obj0 = 0 ; | |
3995 | char *kwnames[] = { | |
3996 | (char *) "self", NULL | |
3997 | }; | |
3998 | ||
3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
4000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4001 | { | |
4002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4003 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4004 | ||
4005 | wxPyEndAllowThreads(__tstate); | |
4006 | if (PyErr_Occurred()) SWIG_fail; | |
4007 | } | |
8edf1c75 | 4008 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4009 | return resultobj; |
4010 | fail: | |
4011 | return NULL; | |
4012 | } | |
4013 | ||
4014 | ||
4015 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4016 | PyObject *resultobj; | |
4017 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4018 | wxString *arg2 = 0 ; | |
4019 | wxSizer *result; | |
423f194a | 4020 | bool temp2 = False ; |
d14a1e28 RD |
4021 | PyObject * obj0 = 0 ; |
4022 | PyObject * obj1 = 0 ; | |
4023 | char *kwnames[] = { | |
4024 | (char *) "self",(char *) "message", NULL | |
4025 | }; | |
4026 | ||
4027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
4028 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4029 | { | |
4030 | arg2 = wxString_in_helper(obj1); | |
4031 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4032 | temp2 = True; |
d14a1e28 RD |
4033 | } |
4034 | { | |
4035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4036 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4037 | ||
4038 | wxPyEndAllowThreads(__tstate); | |
4039 | if (PyErr_Occurred()) SWIG_fail; | |
4040 | } | |
4041 | { | |
4042 | resultobj = wxPyMake_wxSizer(result); | |
4043 | } | |
4044 | { | |
4045 | if (temp2) | |
4046 | delete arg2; | |
4047 | } | |
4048 | return resultobj; | |
4049 | fail: | |
4050 | { | |
4051 | if (temp2) | |
4052 | delete arg2; | |
4053 | } | |
4054 | return NULL; | |
4055 | } | |
4056 | ||
4057 | ||
4058 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4059 | PyObject *resultobj; | |
4060 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4061 | long arg2 ; | |
4062 | wxSizer *result; | |
4063 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4064 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4065 | char *kwnames[] = { |
4066 | (char *) "self",(char *) "flags", NULL | |
4067 | }; | |
4068 | ||
8edf1c75 | 4069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4071 | { |
4072 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
4073 | if (PyErr_Occurred()) SWIG_fail; | |
4074 | } | |
d14a1e28 RD |
4075 | { |
4076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4077 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4078 | ||
4079 | wxPyEndAllowThreads(__tstate); | |
4080 | if (PyErr_Occurred()) SWIG_fail; | |
4081 | } | |
4082 | { | |
4083 | resultobj = wxPyMake_wxSizer(result); | |
4084 | } | |
4085 | return resultobj; | |
4086 | fail: | |
4087 | return NULL; | |
4088 | } | |
4089 | ||
4090 | ||
d14a1e28 RD |
4091 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4092 | PyObject *resultobj; | |
4093 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4094 | bool result; | |
4095 | PyObject * obj0 = 0 ; | |
4096 | char *kwnames[] = { | |
4097 | (char *) "self", NULL | |
4098 | }; | |
4099 | ||
4100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
4101 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4102 | { | |
4103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4104 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4105 | ||
4106 | wxPyEndAllowThreads(__tstate); | |
4107 | if (PyErr_Occurred()) SWIG_fail; | |
4108 | } | |
4e760a36 | 4109 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4110 | return resultobj; |
4111 | fail: | |
4112 | return NULL; | |
4113 | } | |
4114 | ||
4115 | ||
4116 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4117 | PyObject *resultobj; | |
4118 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4119 | int result; | |
4120 | PyObject * obj0 = 0 ; | |
4121 | char *kwnames[] = { | |
4122 | (char *) "self", NULL | |
4123 | }; | |
4124 | ||
4125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
4126 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4127 | { | |
4128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4129 | result = (int)(arg1)->ShowModal(); | |
4130 | ||
4131 | wxPyEndAllowThreads(__tstate); | |
4132 | if (PyErr_Occurred()) SWIG_fail; | |
4133 | } | |
8edf1c75 | 4134 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4135 | return resultobj; |
4136 | fail: | |
4137 | return NULL; | |
4138 | } | |
4139 | ||
4140 | ||
4141 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4142 | PyObject *resultobj; | |
4143 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4144 | int arg2 ; | |
4145 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4146 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4147 | char *kwnames[] = { |
4148 | (char *) "self",(char *) "retCode", NULL | |
4149 | }; | |
4150 | ||
8edf1c75 | 4151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4152 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4153 | { |
4154 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4155 | if (PyErr_Occurred()) SWIG_fail; | |
4156 | } | |
d14a1e28 RD |
4157 | { |
4158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4159 | (arg1)->EndModal(arg2); | |
4160 | ||
4161 | wxPyEndAllowThreads(__tstate); | |
4162 | if (PyErr_Occurred()) SWIG_fail; | |
4163 | } | |
4164 | Py_INCREF(Py_None); resultobj = Py_None; | |
4165 | return resultobj; | |
4166 | fail: | |
4167 | return NULL; | |
4168 | } | |
4169 | ||
4170 | ||
4171 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4172 | PyObject *resultobj; | |
4173 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4174 | bool result; | |
4175 | PyObject * obj0 = 0 ; | |
4176 | char *kwnames[] = { | |
4177 | (char *) "self", NULL | |
4178 | }; | |
4179 | ||
4180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
4181 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4182 | { | |
4183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4184 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4185 | ||
4186 | wxPyEndAllowThreads(__tstate); | |
4187 | if (PyErr_Occurred()) SWIG_fail; | |
4188 | } | |
4e760a36 | 4189 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4190 | return resultobj; |
4191 | fail: | |
4192 | return NULL; | |
4193 | } | |
4194 | ||
4195 | ||
4196 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4197 | PyObject *obj; | |
4198 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4199 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4200 | Py_INCREF(obj); | |
4201 | return Py_BuildValue((char *)""); | |
4202 | } | |
4203 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4204 | PyObject *resultobj; | |
4205 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4206 | int arg2 ; |
d14a1e28 RD |
4207 | wxString *arg3 = 0 ; |
4208 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4209 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4210 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4211 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4212 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4213 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4214 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4215 | wxMiniFrame *result; | |
423f194a | 4216 | bool temp3 = False ; |
d14a1e28 RD |
4217 | wxPoint temp4 ; |
4218 | wxSize temp5 ; | |
423f194a | 4219 | bool temp7 = False ; |
d14a1e28 | 4220 | PyObject * obj0 = 0 ; |
8edf1c75 | 4221 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4222 | PyObject * obj2 = 0 ; |
4223 | PyObject * obj3 = 0 ; | |
4224 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4225 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4226 | PyObject * obj6 = 0 ; |
4227 | char *kwnames[] = { | |
4228 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4229 | }; | |
4230 | ||
8edf1c75 | 4231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 4232 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4233 | { |
4234 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
4235 | if (PyErr_Occurred()) SWIG_fail; | |
4236 | } | |
d14a1e28 RD |
4237 | { |
4238 | arg3 = wxString_in_helper(obj2); | |
4239 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 4240 | temp3 = True; |
d14a1e28 RD |
4241 | } |
4242 | if (obj3) { | |
4243 | { | |
4244 | arg4 = &temp4; | |
4245 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4246 | } | |
4247 | } | |
4248 | if (obj4) { | |
4249 | { | |
4250 | arg5 = &temp5; | |
4251 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4252 | } | |
4253 | } | |
8edf1c75 RD |
4254 | if (obj5) { |
4255 | { | |
4256 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
4257 | if (PyErr_Occurred()) SWIG_fail; | |
4258 | } | |
4259 | } | |
d14a1e28 RD |
4260 | if (obj6) { |
4261 | { | |
4262 | arg7 = wxString_in_helper(obj6); | |
4263 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 4264 | temp7 = True; |
d14a1e28 RD |
4265 | } |
4266 | } | |
4267 | { | |
4268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4269 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4270 | ||
4271 | wxPyEndAllowThreads(__tstate); | |
4272 | if (PyErr_Occurred()) SWIG_fail; | |
4273 | } | |
4274 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4275 | { | |
4276 | if (temp3) | |
4277 | delete arg3; | |
4278 | } | |
4279 | { | |
4280 | if (temp7) | |
4281 | delete arg7; | |
4282 | } | |
4283 | return resultobj; | |
4284 | fail: | |
4285 | { | |
4286 | if (temp3) | |
4287 | delete arg3; | |
4288 | } | |
4289 | { | |
4290 | if (temp7) | |
4291 | delete arg7; | |
4292 | } | |
4293 | return NULL; | |
4294 | } | |
4295 | ||
4296 | ||
4297 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4298 | PyObject *resultobj; | |
4299 | wxMiniFrame *result; | |
4300 | char *kwnames[] = { | |
4301 | NULL | |
4302 | }; | |
4303 | ||
4304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4305 | { | |
4306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4307 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4308 | ||
4309 | wxPyEndAllowThreads(__tstate); | |
4310 | if (PyErr_Occurred()) SWIG_fail; | |
4311 | } | |
4312 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4313 | return resultobj; | |
4314 | fail: | |
4315 | return NULL; | |
4316 | } | |
4317 | ||
4318 | ||
4319 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4320 | PyObject *resultobj; | |
4321 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4322 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4323 | int arg3 ; |
d14a1e28 RD |
4324 | wxString *arg4 = 0 ; |
4325 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4326 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4327 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4328 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4329 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4330 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4331 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4332 | bool result; | |
423f194a | 4333 | bool temp4 = False ; |
d14a1e28 RD |
4334 | wxPoint temp5 ; |
4335 | wxSize temp6 ; | |
423f194a | 4336 | bool temp8 = False ; |
d14a1e28 RD |
4337 | PyObject * obj0 = 0 ; |
4338 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4339 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4340 | PyObject * obj3 = 0 ; |
4341 | PyObject * obj4 = 0 ; | |
4342 | PyObject * obj5 = 0 ; | |
8edf1c75 | 4343 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4344 | PyObject * obj7 = 0 ; |
4345 | char *kwnames[] = { | |
4346 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4347 | }; | |
4348 | ||
8edf1c75 | 4349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
4350 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4351 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
4352 | { |
4353 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
4354 | if (PyErr_Occurred()) SWIG_fail; | |
4355 | } | |
d14a1e28 RD |
4356 | { |
4357 | arg4 = wxString_in_helper(obj3); | |
4358 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4359 | temp4 = True; |
d14a1e28 RD |
4360 | } |
4361 | if (obj4) { | |
4362 | { | |
4363 | arg5 = &temp5; | |
4364 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4365 | } | |
4366 | } | |
4367 | if (obj5) { | |
4368 | { | |
4369 | arg6 = &temp6; | |
4370 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4371 | } | |
4372 | } | |
8edf1c75 RD |
4373 | if (obj6) { |
4374 | { | |
4375 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
4376 | if (PyErr_Occurred()) SWIG_fail; | |
4377 | } | |
4378 | } | |
d14a1e28 RD |
4379 | if (obj7) { |
4380 | { | |
4381 | arg8 = wxString_in_helper(obj7); | |
4382 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 4383 | temp8 = True; |
d14a1e28 RD |
4384 | } |
4385 | } | |
4386 | { | |
4387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4388 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4389 | ||
4390 | wxPyEndAllowThreads(__tstate); | |
4391 | if (PyErr_Occurred()) SWIG_fail; | |
4392 | } | |
4e760a36 | 4393 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4394 | { |
4395 | if (temp4) | |
4396 | delete arg4; | |
4397 | } | |
4398 | { | |
4399 | if (temp8) | |
4400 | delete arg8; | |
4401 | } | |
4402 | return resultobj; | |
4403 | fail: | |
4404 | { | |
4405 | if (temp4) | |
4406 | delete arg4; | |
4407 | } | |
4408 | { | |
4409 | if (temp8) | |
4410 | delete arg8; | |
4411 | } | |
4412 | return NULL; | |
4413 | } | |
4414 | ||
4415 | ||
4416 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4417 | PyObject *obj; | |
4418 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4419 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4420 | Py_INCREF(obj); | |
4421 | return Py_BuildValue((char *)""); | |
4422 | } | |
4423 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4424 | PyObject *resultobj; | |
4425 | wxBitmap *arg1 = 0 ; | |
4426 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4427 | int arg3 ; |
d14a1e28 RD |
4428 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4429 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4430 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4431 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4432 | long arg6 = (long) wxNO_BORDER ; | |
4433 | wxSplashScreenWindow *result; | |
4434 | wxPoint temp4 ; | |
4435 | wxSize temp5 ; | |
4436 | PyObject * obj0 = 0 ; | |
4437 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4438 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4439 | PyObject * obj3 = 0 ; |
4440 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4441 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4442 | char *kwnames[] = { |
4443 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4444 | }; | |
4445 | ||
8edf1c75 | 4446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
4447 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4448 | if (arg1 == NULL) { | |
4449 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4450 | } | |
4451 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
4452 | { |
4453 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4454 | if (PyErr_Occurred()) SWIG_fail; | |
4455 | } | |
d14a1e28 RD |
4456 | if (obj3) { |
4457 | { | |
4458 | arg4 = &temp4; | |
4459 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4460 | } | |
4461 | } | |
4462 | if (obj4) { | |
4463 | { | |
4464 | arg5 = &temp5; | |
4465 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4466 | } | |
4467 | } | |
8edf1c75 RD |
4468 | if (obj5) { |
4469 | { | |
4470 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
4471 | if (PyErr_Occurred()) SWIG_fail; | |
4472 | } | |
4473 | } | |
d14a1e28 RD |
4474 | { |
4475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4476 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4477 | ||
4478 | wxPyEndAllowThreads(__tstate); | |
4479 | if (PyErr_Occurred()) SWIG_fail; | |
4480 | } | |
4481 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1); | |
4482 | return resultobj; | |
4483 | fail: | |
4484 | return NULL; | |
4485 | } | |
4486 | ||
4487 | ||
4488 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4489 | PyObject *resultobj; | |
4490 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4491 | wxBitmap *arg2 = 0 ; | |
4492 | PyObject * obj0 = 0 ; | |
4493 | PyObject * obj1 = 0 ; | |
4494 | char *kwnames[] = { | |
4495 | (char *) "self",(char *) "bitmap", NULL | |
4496 | }; | |
4497 | ||
4498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
4499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4500 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4501 | if (arg2 == NULL) { | |
4502 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4503 | } | |
4504 | { | |
4505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4506 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4507 | ||
4508 | wxPyEndAllowThreads(__tstate); | |
4509 | if (PyErr_Occurred()) SWIG_fail; | |
4510 | } | |
4511 | Py_INCREF(Py_None); resultobj = Py_None; | |
4512 | return resultobj; | |
4513 | fail: | |
4514 | return NULL; | |
4515 | } | |
4516 | ||
4517 | ||
4518 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4519 | PyObject *resultobj; | |
4520 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4521 | wxBitmap *result; | |
4522 | PyObject * obj0 = 0 ; | |
4523 | char *kwnames[] = { | |
4524 | (char *) "self", NULL | |
4525 | }; | |
4526 | ||
4527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
4528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4529 | { | |
4530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4531 | { | |
4532 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4533 | result = (wxBitmap *) &_result_ref; | |
4534 | } | |
4535 | ||
4536 | wxPyEndAllowThreads(__tstate); | |
4537 | if (PyErr_Occurred()) SWIG_fail; | |
4538 | } | |
4539 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0); | |
4540 | return resultobj; | |
4541 | fail: | |
4542 | return NULL; | |
4543 | } | |
4544 | ||
4545 | ||
4546 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4547 | PyObject *obj; | |
4548 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4549 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4550 | Py_INCREF(obj); | |
4551 | return Py_BuildValue((char *)""); | |
4552 | } | |
4553 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4554 | PyObject *resultobj; | |
4555 | wxBitmap *arg1 = 0 ; | |
4556 | long arg2 ; | |
4557 | int arg3 ; | |
4558 | wxWindow *arg4 = (wxWindow *) 0 ; | |
423f194a | 4559 | int arg5 ; |
d14a1e28 RD |
4560 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4561 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4562 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4563 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4564 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4565 | wxSplashScreen *result; | |
4566 | wxPoint temp6 ; | |
4567 | wxSize temp7 ; | |
4568 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4569 | PyObject * obj1 = 0 ; |
4570 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4571 | PyObject * obj3 = 0 ; |
8edf1c75 | 4572 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4573 | PyObject * obj5 = 0 ; |
4574 | PyObject * obj6 = 0 ; | |
8edf1c75 | 4575 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4576 | char *kwnames[] = { |
4577 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4578 | }; | |
4579 | ||
8edf1c75 | 4580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
4581 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4582 | if (arg1 == NULL) { | |
4583 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4584 | } | |
8edf1c75 RD |
4585 | { |
4586 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
4587 | if (PyErr_Occurred()) SWIG_fail; | |
4588 | } | |
4589 | { | |
4590 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4591 | if (PyErr_Occurred()) SWIG_fail; | |
4592 | } | |
d14a1e28 | 4593 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4594 | { |
4595 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
4596 | if (PyErr_Occurred()) SWIG_fail; | |
4597 | } | |
d14a1e28 RD |
4598 | if (obj5) { |
4599 | { | |
4600 | arg6 = &temp6; | |
4601 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4602 | } | |
4603 | } | |
4604 | if (obj6) { | |
4605 | { | |
4606 | arg7 = &temp7; | |
4607 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4608 | } | |
4609 | } | |
8edf1c75 RD |
4610 | if (obj7) { |
4611 | { | |
4612 | arg8 = (long) SWIG_PyObj_AsLong(obj7); | |
4613 | if (PyErr_Occurred()) SWIG_fail; | |
4614 | } | |
4615 | } | |
d14a1e28 RD |
4616 | { |
4617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4618 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4619 | ||
4620 | wxPyEndAllowThreads(__tstate); | |
4621 | if (PyErr_Occurred()) SWIG_fail; | |
4622 | } | |
4623 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1); | |
4624 | return resultobj; | |
4625 | fail: | |
4626 | return NULL; | |
4627 | } | |
4628 | ||
4629 | ||
4630 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4631 | PyObject *resultobj; | |
4632 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4633 | long result; | |
4634 | PyObject * obj0 = 0 ; | |
4635 | char *kwnames[] = { | |
4636 | (char *) "self", NULL | |
4637 | }; | |
4638 | ||
4639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
4640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4641 | { | |
4642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4643 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4644 | ||
4645 | wxPyEndAllowThreads(__tstate); | |
4646 | if (PyErr_Occurred()) SWIG_fail; | |
4647 | } | |
8edf1c75 | 4648 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
4649 | return resultobj; |
4650 | fail: | |
4651 | return NULL; | |
4652 | } | |
4653 | ||
4654 | ||
4655 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4656 | PyObject *resultobj; | |
4657 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4658 | wxSplashScreenWindow *result; | |
4659 | PyObject * obj0 = 0 ; | |
4660 | char *kwnames[] = { | |
4661 | (char *) "self", NULL | |
4662 | }; | |
4663 | ||
4664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
4665 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4666 | { | |
4667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4668 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4669 | ||
4670 | wxPyEndAllowThreads(__tstate); | |
4671 | if (PyErr_Occurred()) SWIG_fail; | |
4672 | } | |
4673 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0); | |
4674 | return resultobj; | |
4675 | fail: | |
4676 | return NULL; | |
4677 | } | |
4678 | ||
4679 | ||
4680 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4681 | PyObject *resultobj; | |
4682 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4683 | int result; | |
4684 | PyObject * obj0 = 0 ; | |
4685 | char *kwnames[] = { | |
4686 | (char *) "self", NULL | |
4687 | }; | |
4688 | ||
4689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
4690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4691 | { | |
4692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4693 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4694 | ||
4695 | wxPyEndAllowThreads(__tstate); | |
4696 | if (PyErr_Occurred()) SWIG_fail; | |
4697 | } | |
8edf1c75 | 4698 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4699 | return resultobj; |
4700 | fail: | |
4701 | return NULL; | |
4702 | } | |
4703 | ||
4704 | ||
4705 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4706 | PyObject *obj; | |
4707 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4708 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4709 | Py_INCREF(obj); | |
4710 | return Py_BuildValue((char *)""); | |
4711 | } | |
4712 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4713 | PyObject *resultobj; | |
4714 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4715 | int arg2 = (int) -1 ; |
d14a1e28 RD |
4716 | long arg3 = (long) wxST_SIZEGRIP ; |
4717 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4718 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4719 | wxStatusBar *result; | |
423f194a | 4720 | bool temp4 = False ; |
d14a1e28 | 4721 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
4722 | PyObject * obj1 = 0 ; |
4723 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4724 | PyObject * obj3 = 0 ; |
4725 | char *kwnames[] = { | |
4726 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4727 | }; | |
4728 | ||
8edf1c75 | 4729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 4730 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4731 | if (obj1) { |
4732 | { | |
4733 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4734 | if (PyErr_Occurred()) SWIG_fail; | |
4735 | } | |
4736 | } | |
4737 | if (obj2) { | |
4738 | { | |
4739 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
4740 | if (PyErr_Occurred()) SWIG_fail; | |
4741 | } | |
4742 | } | |
d14a1e28 RD |
4743 | if (obj3) { |
4744 | { | |
4745 | arg4 = wxString_in_helper(obj3); | |
4746 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4747 | temp4 = True; |
d14a1e28 RD |
4748 | } |
4749 | } | |
4750 | { | |
4751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4752 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4753 | ||
4754 | wxPyEndAllowThreads(__tstate); | |
4755 | if (PyErr_Occurred()) SWIG_fail; | |
4756 | } | |
4757 | { | |
4758 | resultobj = wxPyMake_wxObject(result); | |
4759 | } | |
4760 | { | |
4761 | if (temp4) | |
4762 | delete arg4; | |
4763 | } | |
4764 | return resultobj; | |
4765 | fail: | |
4766 | { | |
4767 | if (temp4) | |
4768 | delete arg4; | |
4769 | } | |
4770 | return NULL; | |
4771 | } | |
4772 | ||
4773 | ||
4774 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4775 | PyObject *resultobj; | |
4776 | wxStatusBar *result; | |
4777 | char *kwnames[] = { | |
4778 | NULL | |
4779 | }; | |
4780 | ||
4781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4782 | { | |
4783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4784 | result = (wxStatusBar *)new wxStatusBar(); | |
4785 | ||
4786 | wxPyEndAllowThreads(__tstate); | |
4787 | if (PyErr_Occurred()) SWIG_fail; | |
4788 | } | |
4789 | { | |
4790 | resultobj = wxPyMake_wxObject(result); | |
4791 | } | |
4792 | return resultobj; | |
4793 | fail: | |
4794 | return NULL; | |
4795 | } | |
4796 | ||
4797 | ||
4798 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4799 | PyObject *resultobj; | |
4800 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4801 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4802 | int arg3 ; |
d14a1e28 RD |
4803 | long arg4 = (long) wxST_SIZEGRIP ; |
4804 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4805 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4806 | bool result; | |
423f194a | 4807 | bool temp5 = False ; |
d14a1e28 RD |
4808 | PyObject * obj0 = 0 ; |
4809 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4810 | PyObject * obj2 = 0 ; |
4811 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4812 | PyObject * obj4 = 0 ; |
4813 | char *kwnames[] = { | |
4814 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4815 | }; | |
4816 | ||
8edf1c75 | 4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
4818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4819 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
4820 | { |
4821 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4822 | if (PyErr_Occurred()) SWIG_fail; | |
4823 | } | |
4824 | if (obj3) { | |
4825 | { | |
4826 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
4827 | if (PyErr_Occurred()) SWIG_fail; | |
4828 | } | |
4829 | } | |
d14a1e28 RD |
4830 | if (obj4) { |
4831 | { | |
4832 | arg5 = wxString_in_helper(obj4); | |
4833 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 4834 | temp5 = True; |
d14a1e28 RD |
4835 | } |
4836 | } | |
4837 | { | |
4838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4839 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4840 | ||
4841 | wxPyEndAllowThreads(__tstate); | |
4842 | if (PyErr_Occurred()) SWIG_fail; | |
4843 | } | |
4e760a36 | 4844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4845 | { |
4846 | if (temp5) | |
4847 | delete arg5; | |
4848 | } | |
4849 | return resultobj; | |
4850 | fail: | |
4851 | { | |
4852 | if (temp5) | |
4853 | delete arg5; | |
4854 | } | |
4855 | return NULL; | |
4856 | } | |
4857 | ||
4858 | ||
4859 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4860 | PyObject *resultobj; | |
4861 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4862 | int arg2 = (int) 1 ; | |
4863 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4864 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4865 | char *kwnames[] = { |
4866 | (char *) "self",(char *) "number", NULL | |
4867 | }; | |
4868 | ||
8edf1c75 | 4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4870 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4871 | if (obj1) { |
4872 | { | |
4873 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4874 | if (PyErr_Occurred()) SWIG_fail; | |
4875 | } | |
4876 | } | |
d14a1e28 RD |
4877 | { |
4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4879 | (arg1)->SetFieldsCount(arg2); | |
4880 | ||
4881 | wxPyEndAllowThreads(__tstate); | |
4882 | if (PyErr_Occurred()) SWIG_fail; | |
4883 | } | |
4884 | Py_INCREF(Py_None); resultobj = Py_None; | |
4885 | return resultobj; | |
4886 | fail: | |
4887 | return NULL; | |
4888 | } | |
4889 | ||
4890 | ||
4891 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4892 | PyObject *resultobj; | |
4893 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4894 | int result; | |
4895 | PyObject * obj0 = 0 ; | |
4896 | char *kwnames[] = { | |
4897 | (char *) "self", NULL | |
4898 | }; | |
4899 | ||
4900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
4901 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4902 | { | |
4903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4904 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4905 | ||
4906 | wxPyEndAllowThreads(__tstate); | |
4907 | if (PyErr_Occurred()) SWIG_fail; | |
4908 | } | |
8edf1c75 | 4909 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
4910 | return resultobj; |
4911 | fail: | |
4912 | return NULL; | |
4913 | } | |
4914 | ||
4915 | ||
4916 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4917 | PyObject *resultobj; | |
4918 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4919 | wxString *arg2 = 0 ; | |
4920 | int arg3 = (int) 0 ; | |
423f194a | 4921 | bool temp2 = False ; |
d14a1e28 RD |
4922 | PyObject * obj0 = 0 ; |
4923 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4924 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4925 | char *kwnames[] = { |
4926 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4927 | }; | |
4928 | ||
8edf1c75 | 4929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
4930 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
4931 | { | |
4932 | arg2 = wxString_in_helper(obj1); | |
4933 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4934 | temp2 = True; |
d14a1e28 | 4935 | } |
8edf1c75 RD |
4936 | if (obj2) { |
4937 | { | |
4938 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
4939 | if (PyErr_Occurred()) SWIG_fail; | |
4940 | } | |
4941 | } | |
d14a1e28 RD |
4942 | { |
4943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4944 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4945 | ||
4946 | wxPyEndAllowThreads(__tstate); | |
4947 | if (PyErr_Occurred()) SWIG_fail; | |
4948 | } | |
4949 | Py_INCREF(Py_None); resultobj = Py_None; | |
4950 | { | |
4951 | if (temp2) | |
4952 | delete arg2; | |
4953 | } | |
4954 | return resultobj; | |
4955 | fail: | |
4956 | { | |
4957 | if (temp2) | |
4958 | delete arg2; | |
4959 | } | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
4964 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4965 | PyObject *resultobj; | |
4966 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4967 | int arg2 = (int) 0 ; | |
4968 | wxString result; | |
4969 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4970 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4971 | char *kwnames[] = { |
4972 | (char *) "self",(char *) "number", NULL | |
4973 | }; | |
4974 | ||
8edf1c75 | 4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 4976 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
4977 | if (obj1) { |
4978 | { | |
4979 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
4980 | if (PyErr_Occurred()) SWIG_fail; | |
4981 | } | |
4982 | } | |
d14a1e28 RD |
4983 | { |
4984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4985 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
4986 | ||
4987 | wxPyEndAllowThreads(__tstate); | |
4988 | if (PyErr_Occurred()) SWIG_fail; | |
4989 | } | |
4990 | { | |
4991 | #if wxUSE_UNICODE | |
4992 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4993 | #else | |
4994 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4995 | #endif | |
4996 | } | |
4997 | return resultobj; | |
4998 | fail: | |
4999 | return NULL; | |
5000 | } | |
5001 | ||
5002 | ||
5003 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5004 | PyObject *resultobj; | |
5005 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5006 | wxString *arg2 = 0 ; | |
5007 | int arg3 = (int) 0 ; | |
423f194a | 5008 | bool temp2 = False ; |
d14a1e28 RD |
5009 | PyObject * obj0 = 0 ; |
5010 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5011 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5012 | char *kwnames[] = { |
5013 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5014 | }; | |
5015 | ||
8edf1c75 | 5016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
5017 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5018 | { | |
5019 | arg2 = wxString_in_helper(obj1); | |
5020 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5021 | temp2 = True; |
d14a1e28 | 5022 | } |
8edf1c75 RD |
5023 | if (obj2) { |
5024 | { | |
5025 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
5026 | if (PyErr_Occurred()) SWIG_fail; | |
5027 | } | |
5028 | } | |
d14a1e28 RD |
5029 | { |
5030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5031 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5032 | ||
5033 | wxPyEndAllowThreads(__tstate); | |
5034 | if (PyErr_Occurred()) SWIG_fail; | |
5035 | } | |
5036 | Py_INCREF(Py_None); resultobj = Py_None; | |
5037 | { | |
5038 | if (temp2) | |
5039 | delete arg2; | |
5040 | } | |
5041 | return resultobj; | |
5042 | fail: | |
5043 | { | |
5044 | if (temp2) | |
5045 | delete arg2; | |
5046 | } | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
5051 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5052 | PyObject *resultobj; | |
5053 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5054 | int arg2 = (int) 0 ; | |
5055 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5056 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5057 | char *kwnames[] = { |
5058 | (char *) "self",(char *) "number", NULL | |
5059 | }; | |
5060 | ||
8edf1c75 | 5061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5062 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5063 | if (obj1) { |
5064 | { | |
5065 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5066 | if (PyErr_Occurred()) SWIG_fail; | |
5067 | } | |
5068 | } | |
d14a1e28 RD |
5069 | { |
5070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5071 | (arg1)->PopStatusText(arg2); | |
5072 | ||
5073 | wxPyEndAllowThreads(__tstate); | |
5074 | if (PyErr_Occurred()) SWIG_fail; | |
5075 | } | |
5076 | Py_INCREF(Py_None); resultobj = Py_None; | |
5077 | return resultobj; | |
5078 | fail: | |
5079 | return NULL; | |
5080 | } | |
5081 | ||
5082 | ||
5083 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5084 | PyObject *resultobj; | |
5085 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5086 | int arg2 ; | |
5087 | int *arg3 = (int *) 0 ; | |
5088 | PyObject * obj0 = 0 ; | |
5089 | PyObject * obj1 = 0 ; | |
5090 | char *kwnames[] = { | |
5091 | (char *) "self",(char *) "widths", NULL | |
5092 | }; | |
5093 | ||
5094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
5095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5096 | { | |
5097 | arg2 = PyList_Size(obj1); | |
5098 | arg3 = int_LIST_helper(obj1); | |
5099 | if (arg3 == NULL) SWIG_fail; | |
5100 | } | |
5101 | { | |
5102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5103 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5104 | ||
5105 | wxPyEndAllowThreads(__tstate); | |
5106 | if (PyErr_Occurred()) SWIG_fail; | |
5107 | } | |
5108 | Py_INCREF(Py_None); resultobj = Py_None; | |
5109 | { | |
5110 | if (arg3) delete [] arg3; | |
5111 | } | |
5112 | return resultobj; | |
5113 | fail: | |
5114 | { | |
5115 | if (arg3) delete [] arg3; | |
5116 | } | |
5117 | return NULL; | |
5118 | } | |
5119 | ||
5120 | ||
5121 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5122 | PyObject *resultobj; | |
5123 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5124 | int arg2 ; | |
44127b65 | 5125 | wxRect result; |
d14a1e28 | 5126 | PyObject * obj0 = 0 ; |
8edf1c75 | 5127 | PyObject * obj1 = 0 ; |
d14a1e28 | 5128 | char *kwnames[] = { |
44127b65 | 5129 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5130 | }; |
5131 | ||
8edf1c75 | 5132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5133 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5134 | { |
5135 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5136 | if (PyErr_Occurred()) SWIG_fail; | |
5137 | } | |
d14a1e28 RD |
5138 | { |
5139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 5140 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5141 | |
5142 | wxPyEndAllowThreads(__tstate); | |
5143 | if (PyErr_Occurred()) SWIG_fail; | |
5144 | } | |
44127b65 RD |
5145 | { |
5146 | wxRect * resultptr; | |
5147 | resultptr = new wxRect((wxRect &) result); | |
5148 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
5149 | } | |
d14a1e28 RD |
5150 | return resultobj; |
5151 | fail: | |
5152 | return NULL; | |
5153 | } | |
5154 | ||
5155 | ||
5156 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5157 | PyObject *resultobj; | |
5158 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5159 | int arg2 ; | |
5160 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5161 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5162 | char *kwnames[] = { |
5163 | (char *) "self",(char *) "height", NULL | |
5164 | }; | |
5165 | ||
8edf1c75 | 5166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5167 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5168 | { |
5169 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5170 | if (PyErr_Occurred()) SWIG_fail; | |
5171 | } | |
d14a1e28 RD |
5172 | { |
5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5174 | (arg1)->SetMinHeight(arg2); | |
5175 | ||
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
5179 | Py_INCREF(Py_None); resultobj = Py_None; | |
5180 | return resultobj; | |
5181 | fail: | |
5182 | return NULL; | |
5183 | } | |
5184 | ||
5185 | ||
5186 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5187 | PyObject *resultobj; | |
5188 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5189 | int result; | |
5190 | PyObject * obj0 = 0 ; | |
5191 | char *kwnames[] = { | |
5192 | (char *) "self", NULL | |
5193 | }; | |
5194 | ||
5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
5196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5197 | { | |
5198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5199 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5200 | ||
5201 | wxPyEndAllowThreads(__tstate); | |
5202 | if (PyErr_Occurred()) SWIG_fail; | |
5203 | } | |
8edf1c75 | 5204 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5205 | return resultobj; |
5206 | fail: | |
5207 | return NULL; | |
5208 | } | |
5209 | ||
5210 | ||
5211 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5212 | PyObject *resultobj; | |
5213 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5214 | int result; | |
5215 | PyObject * obj0 = 0 ; | |
5216 | char *kwnames[] = { | |
5217 | (char *) "self", NULL | |
5218 | }; | |
5219 | ||
5220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
5221 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5222 | { | |
5223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5224 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5225 | ||
5226 | wxPyEndAllowThreads(__tstate); | |
5227 | if (PyErr_Occurred()) SWIG_fail; | |
5228 | } | |
8edf1c75 | 5229 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5230 | return resultobj; |
5231 | fail: | |
5232 | return NULL; | |
5233 | } | |
5234 | ||
5235 | ||
5236 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5237 | PyObject *obj; | |
5238 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5239 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5240 | Py_INCREF(obj); | |
5241 | return Py_BuildValue((char *)""); | |
5242 | } | |
8edf1c75 | 5243 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d03fd34d RD |
5244 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5245 | return 1; | |
5246 | } | |
5247 | ||
5248 | ||
5249 | static PyObject *_wrap_SplitterNameStr_get() { | |
5250 | PyObject *pyobj; | |
5251 | ||
5252 | { | |
5253 | #if wxUSE_UNICODE | |
5254 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5255 | #else | |
5256 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5257 | #endif | |
5258 | } | |
5259 | return pyobj; | |
5260 | } | |
5261 | ||
5262 | ||
d14a1e28 RD |
5263 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5264 | PyObject *resultobj; | |
5265 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 5266 | int arg2 ; |
d14a1e28 RD |
5267 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5268 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5269 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5270 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5271 | long arg5 = (long) wxSP_3D ; | |
5272 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5273 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5274 | wxSplitterWindow *result; | |
5275 | wxPoint temp3 ; | |
5276 | wxSize temp4 ; | |
423f194a | 5277 | bool temp6 = False ; |
d14a1e28 | 5278 | PyObject * obj0 = 0 ; |
8edf1c75 | 5279 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5280 | PyObject * obj2 = 0 ; |
5281 | PyObject * obj3 = 0 ; | |
8edf1c75 | 5282 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5283 | PyObject * obj5 = 0 ; |
5284 | char *kwnames[] = { | |
8edf1c75 | 5285 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5286 | }; |
5287 | ||
8edf1c75 | 5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 5289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5290 | { |
5291 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5292 | if (PyErr_Occurred()) SWIG_fail; | |
5293 | } | |
d14a1e28 RD |
5294 | if (obj2) { |
5295 | { | |
5296 | arg3 = &temp3; | |
5297 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5298 | } | |
5299 | } | |
5300 | if (obj3) { | |
5301 | { | |
5302 | arg4 = &temp4; | |
5303 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5304 | } | |
5305 | } | |
8edf1c75 RD |
5306 | if (obj4) { |
5307 | { | |
5308 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
5309 | if (PyErr_Occurred()) SWIG_fail; | |
5310 | } | |
5311 | } | |
d14a1e28 RD |
5312 | if (obj5) { |
5313 | { | |
5314 | arg6 = wxString_in_helper(obj5); | |
5315 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5316 | temp6 = True; |
d14a1e28 RD |
5317 | } |
5318 | } | |
5319 | { | |
5320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5321 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5322 | ||
5323 | wxPyEndAllowThreads(__tstate); | |
5324 | if (PyErr_Occurred()) SWIG_fail; | |
5325 | } | |
5326 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5327 | { | |
5328 | if (temp6) | |
5329 | delete arg6; | |
5330 | } | |
5331 | return resultobj; | |
5332 | fail: | |
5333 | { | |
5334 | if (temp6) | |
5335 | delete arg6; | |
5336 | } | |
5337 | return NULL; | |
5338 | } | |
5339 | ||
5340 | ||
5341 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5342 | PyObject *resultobj; | |
5343 | wxSplitterWindow *result; | |
5344 | char *kwnames[] = { | |
5345 | NULL | |
5346 | }; | |
5347 | ||
5348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5349 | { | |
5350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5351 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5352 | ||
5353 | wxPyEndAllowThreads(__tstate); | |
5354 | if (PyErr_Occurred()) SWIG_fail; | |
5355 | } | |
5356 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5357 | return resultobj; | |
5358 | fail: | |
5359 | return NULL; | |
5360 | } | |
5361 | ||
5362 | ||
5363 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5364 | PyObject *resultobj; | |
5365 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5366 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 5367 | int arg3 ; |
d14a1e28 RD |
5368 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5369 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5370 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5371 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5372 | long arg6 = (long) wxSP_3D ; | |
5373 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5374 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5375 | bool result; | |
5376 | wxPoint temp4 ; | |
5377 | wxSize temp5 ; | |
423f194a | 5378 | bool temp7 = False ; |
d14a1e28 RD |
5379 | PyObject * obj0 = 0 ; |
5380 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5381 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5382 | PyObject * obj3 = 0 ; |
5383 | PyObject * obj4 = 0 ; | |
8edf1c75 | 5384 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5385 | PyObject * obj6 = 0 ; |
5386 | char *kwnames[] = { | |
8edf1c75 | 5387 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5388 | }; |
5389 | ||
8edf1c75 | 5390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
5391 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5392 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
5393 | { |
5394 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
5395 | if (PyErr_Occurred()) SWIG_fail; | |
5396 | } | |
d14a1e28 RD |
5397 | if (obj3) { |
5398 | { | |
5399 | arg4 = &temp4; | |
5400 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5401 | } | |
5402 | } | |
5403 | if (obj4) { | |
5404 | { | |
5405 | arg5 = &temp5; | |
5406 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5407 | } | |
5408 | } | |
8edf1c75 RD |
5409 | if (obj5) { |
5410 | { | |
5411 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
5412 | if (PyErr_Occurred()) SWIG_fail; | |
5413 | } | |
5414 | } | |
d14a1e28 RD |
5415 | if (obj6) { |
5416 | { | |
5417 | arg7 = wxString_in_helper(obj6); | |
5418 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 5419 | temp7 = True; |
d14a1e28 RD |
5420 | } |
5421 | } | |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
4e760a36 | 5429 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5430 | { |
5431 | if (temp7) | |
5432 | delete arg7; | |
5433 | } | |
5434 | return resultobj; | |
5435 | fail: | |
5436 | { | |
5437 | if (temp7) | |
5438 | delete arg7; | |
5439 | } | |
5440 | return NULL; | |
5441 | } | |
5442 | ||
5443 | ||
5444 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5445 | PyObject *resultobj; | |
5446 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5447 | wxWindow *result; | |
5448 | PyObject * obj0 = 0 ; | |
5449 | char *kwnames[] = { | |
5450 | (char *) "self", NULL | |
5451 | }; | |
5452 | ||
5453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
5454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5455 | { | |
5456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5457 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5458 | ||
5459 | wxPyEndAllowThreads(__tstate); | |
5460 | if (PyErr_Occurred()) SWIG_fail; | |
5461 | } | |
5462 | { | |
5463 | resultobj = wxPyMake_wxObject(result); | |
5464 | } | |
5465 | return resultobj; | |
5466 | fail: | |
5467 | return NULL; | |
5468 | } | |
5469 | ||
5470 | ||
5471 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5472 | PyObject *resultobj; | |
5473 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5474 | wxWindow *result; | |
5475 | PyObject * obj0 = 0 ; | |
5476 | char *kwnames[] = { | |
5477 | (char *) "self", NULL | |
5478 | }; | |
5479 | ||
5480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
5481 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5482 | { | |
5483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5484 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5485 | ||
5486 | wxPyEndAllowThreads(__tstate); | |
5487 | if (PyErr_Occurred()) SWIG_fail; | |
5488 | } | |
5489 | { | |
5490 | resultobj = wxPyMake_wxObject(result); | |
5491 | } | |
5492 | return resultobj; | |
5493 | fail: | |
5494 | return NULL; | |
5495 | } | |
5496 | ||
5497 | ||
5498 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5499 | PyObject *resultobj; | |
5500 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5501 | int arg2 ; | |
5502 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5503 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5504 | char *kwnames[] = { |
5505 | (char *) "self",(char *) "mode", NULL | |
5506 | }; | |
5507 | ||
8edf1c75 | 5508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5509 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5510 | { |
5511 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5512 | if (PyErr_Occurred()) SWIG_fail; | |
5513 | } | |
d14a1e28 RD |
5514 | { |
5515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5516 | (arg1)->SetSplitMode(arg2); | |
5517 | ||
5518 | wxPyEndAllowThreads(__tstate); | |
5519 | if (PyErr_Occurred()) SWIG_fail; | |
5520 | } | |
5521 | Py_INCREF(Py_None); resultobj = Py_None; | |
5522 | return resultobj; | |
5523 | fail: | |
5524 | return NULL; | |
5525 | } | |
5526 | ||
5527 | ||
5528 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5529 | PyObject *resultobj; | |
5530 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5531 | int result; | |
5532 | PyObject * obj0 = 0 ; | |
5533 | char *kwnames[] = { | |
5534 | (char *) "self", NULL | |
5535 | }; | |
5536 | ||
5537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
5538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5539 | { | |
5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5541 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5542 | ||
5543 | wxPyEndAllowThreads(__tstate); | |
5544 | if (PyErr_Occurred()) SWIG_fail; | |
5545 | } | |
8edf1c75 | 5546 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5547 | return resultobj; |
5548 | fail: | |
5549 | return NULL; | |
5550 | } | |
5551 | ||
5552 | ||
5553 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5554 | PyObject *resultobj; | |
5555 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5556 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5557 | PyObject * obj0 = 0 ; | |
5558 | PyObject * obj1 = 0 ; | |
5559 | char *kwnames[] = { | |
5560 | (char *) "self",(char *) "window", NULL | |
5561 | }; | |
5562 | ||
5563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
5564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5565 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5566 | { | |
5567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5568 | (arg1)->Initialize(arg2); | |
5569 | ||
5570 | wxPyEndAllowThreads(__tstate); | |
5571 | if (PyErr_Occurred()) SWIG_fail; | |
5572 | } | |
5573 | Py_INCREF(Py_None); resultobj = Py_None; | |
5574 | return resultobj; | |
5575 | fail: | |
5576 | return NULL; | |
5577 | } | |
5578 | ||
5579 | ||
5580 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5581 | PyObject *resultobj; | |
5582 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5583 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5584 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5585 | int arg4 = (int) 0 ; | |
5586 | bool result; | |
5587 | PyObject * obj0 = 0 ; | |
5588 | PyObject * obj1 = 0 ; | |
5589 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5590 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5591 | char *kwnames[] = { |
5592 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5593 | }; | |
5594 | ||
8edf1c75 | 5595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
5596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5597 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5598 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
5599 | if (obj3) { |
5600 | { | |
5601 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
5602 | if (PyErr_Occurred()) SWIG_fail; | |
5603 | } | |
5604 | } | |
d14a1e28 RD |
5605 | { |
5606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5607 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5608 | ||
5609 | wxPyEndAllowThreads(__tstate); | |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
5611 | } | |
4e760a36 | 5612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5613 | return resultobj; |
5614 | fail: | |
5615 | return NULL; | |
5616 | } | |
5617 | ||
5618 | ||
5619 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5620 | PyObject *resultobj; | |
5621 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5622 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5623 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5624 | int arg4 = (int) 0 ; | |
5625 | bool result; | |
5626 | PyObject * obj0 = 0 ; | |
5627 | PyObject * obj1 = 0 ; | |
5628 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5629 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5630 | char *kwnames[] = { |
5631 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5632 | }; | |
5633 | ||
8edf1c75 | 5634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
5635 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
5636 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5637 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
5638 | if (obj3) { |
5639 | { | |
5640 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
5641 | if (PyErr_Occurred()) SWIG_fail; | |
5642 | } | |
5643 | } | |
d14a1e28 RD |
5644 | { |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5646 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5647 | ||
5648 | wxPyEndAllowThreads(__tstate); | |
5649 | if (PyErr_Occurred()) SWIG_fail; | |
5650 | } | |
4e760a36 | 5651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5652 | return resultobj; |
5653 | fail: | |
5654 | return NULL; | |
5655 | } | |
5656 | ||
5657 | ||
5658 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5659 | PyObject *resultobj; | |
5660 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5661 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5662 | bool result; | |
5663 | PyObject * obj0 = 0 ; | |
5664 | PyObject * obj1 = 0 ; | |
5665 | char *kwnames[] = { | |
5666 | (char *) "self",(char *) "toRemove", NULL | |
5667 | }; | |
5668 | ||
5669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
5670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5671 | if (obj1) { | |
5672 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5673 | } | |
5674 | { | |
5675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5676 | result = (bool)(arg1)->Unsplit(arg2); | |
5677 | ||
5678 | wxPyEndAllowThreads(__tstate); | |
5679 | if (PyErr_Occurred()) SWIG_fail; | |
5680 | } | |
4e760a36 | 5681 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5682 | return resultobj; |
5683 | fail: | |
5684 | return NULL; | |
5685 | } | |
5686 | ||
5687 | ||
5688 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5689 | PyObject *resultobj; | |
5690 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5691 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5692 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5693 | bool result; | |
5694 | PyObject * obj0 = 0 ; | |
5695 | PyObject * obj1 = 0 ; | |
5696 | PyObject * obj2 = 0 ; | |
5697 | char *kwnames[] = { | |
5698 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5699 | }; | |
5700 | ||
5701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5703 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5704 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5705 | { | |
5706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5707 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5708 | ||
5709 | wxPyEndAllowThreads(__tstate); | |
5710 | if (PyErr_Occurred()) SWIG_fail; | |
5711 | } | |
4e760a36 | 5712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5713 | return resultobj; |
5714 | fail: | |
5715 | return NULL; | |
5716 | } | |
5717 | ||
5718 | ||
5719 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5720 | PyObject *resultobj; | |
5721 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5722 | bool result; | |
5723 | PyObject * obj0 = 0 ; | |
5724 | char *kwnames[] = { | |
5725 | (char *) "self", NULL | |
5726 | }; | |
5727 | ||
5728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
5729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5730 | { | |
5731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5732 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5733 | ||
5734 | wxPyEndAllowThreads(__tstate); | |
5735 | if (PyErr_Occurred()) SWIG_fail; | |
5736 | } | |
4e760a36 | 5737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5738 | return resultobj; |
5739 | fail: | |
5740 | return NULL; | |
5741 | } | |
5742 | ||
5743 | ||
5744 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5745 | PyObject *resultobj; | |
5746 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5747 | int arg2 ; | |
5748 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5749 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5750 | char *kwnames[] = { |
5751 | (char *) "self",(char *) "width", NULL | |
5752 | }; | |
5753 | ||
8edf1c75 | 5754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5756 | { |
5757 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5758 | if (PyErr_Occurred()) SWIG_fail; | |
5759 | } | |
d14a1e28 RD |
5760 | { |
5761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5762 | (arg1)->SetSashSize(arg2); | |
5763 | ||
5764 | wxPyEndAllowThreads(__tstate); | |
5765 | if (PyErr_Occurred()) SWIG_fail; | |
5766 | } | |
5767 | Py_INCREF(Py_None); resultobj = Py_None; | |
5768 | return resultobj; | |
5769 | fail: | |
5770 | return NULL; | |
5771 | } | |
5772 | ||
5773 | ||
5774 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5775 | PyObject *resultobj; | |
5776 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5777 | int arg2 ; | |
5778 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5779 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5780 | char *kwnames[] = { |
5781 | (char *) "self",(char *) "width", NULL | |
5782 | }; | |
5783 | ||
8edf1c75 | 5784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5786 | { |
5787 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5788 | if (PyErr_Occurred()) SWIG_fail; | |
5789 | } | |
d14a1e28 RD |
5790 | { |
5791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5792 | (arg1)->SetBorderSize(arg2); | |
5793 | ||
5794 | wxPyEndAllowThreads(__tstate); | |
5795 | if (PyErr_Occurred()) SWIG_fail; | |
5796 | } | |
5797 | Py_INCREF(Py_None); resultobj = Py_None; | |
5798 | return resultobj; | |
5799 | fail: | |
5800 | return NULL; | |
5801 | } | |
5802 | ||
5803 | ||
5804 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5805 | PyObject *resultobj; | |
5806 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5807 | int result; | |
5808 | PyObject * obj0 = 0 ; | |
5809 | char *kwnames[] = { | |
5810 | (char *) "self", NULL | |
5811 | }; | |
5812 | ||
5813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
5814 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5815 | { | |
5816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5817 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5818 | ||
5819 | wxPyEndAllowThreads(__tstate); | |
5820 | if (PyErr_Occurred()) SWIG_fail; | |
5821 | } | |
8edf1c75 | 5822 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5823 | return resultobj; |
5824 | fail: | |
5825 | return NULL; | |
5826 | } | |
5827 | ||
5828 | ||
5829 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5830 | PyObject *resultobj; | |
5831 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5832 | int result; | |
5833 | PyObject * obj0 = 0 ; | |
5834 | char *kwnames[] = { | |
5835 | (char *) "self", NULL | |
5836 | }; | |
5837 | ||
5838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
5839 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5840 | { | |
5841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5842 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5843 | ||
5844 | wxPyEndAllowThreads(__tstate); | |
5845 | if (PyErr_Occurred()) SWIG_fail; | |
5846 | } | |
8edf1c75 | 5847 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5848 | return resultobj; |
5849 | fail: | |
5850 | return NULL; | |
5851 | } | |
5852 | ||
5853 | ||
5854 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5855 | PyObject *resultobj; | |
5856 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5857 | int arg2 ; | |
423f194a | 5858 | bool arg3 = (bool) True ; |
d14a1e28 | 5859 | PyObject * obj0 = 0 ; |
8edf1c75 | 5860 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5861 | PyObject * obj2 = 0 ; |
5862 | char *kwnames[] = { | |
5863 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5864 | }; | |
5865 | ||
8edf1c75 | 5866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 5867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5868 | { |
5869 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5870 | if (PyErr_Occurred()) SWIG_fail; | |
5871 | } | |
d14a1e28 | 5872 | if (obj2) { |
83448d71 | 5873 | { |
8edf1c75 | 5874 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
83448d71 RD |
5875 | if (PyErr_Occurred()) SWIG_fail; |
5876 | } | |
d14a1e28 RD |
5877 | } |
5878 | { | |
5879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5880 | (arg1)->SetSashPosition(arg2,arg3); | |
5881 | ||
5882 | wxPyEndAllowThreads(__tstate); | |
5883 | if (PyErr_Occurred()) SWIG_fail; | |
5884 | } | |
5885 | Py_INCREF(Py_None); resultobj = Py_None; | |
5886 | return resultobj; | |
5887 | fail: | |
5888 | return NULL; | |
5889 | } | |
5890 | ||
5891 | ||
5892 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5893 | PyObject *resultobj; | |
5894 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5895 | int result; | |
5896 | PyObject * obj0 = 0 ; | |
5897 | char *kwnames[] = { | |
5898 | (char *) "self", NULL | |
5899 | }; | |
5900 | ||
5901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
5902 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5903 | { | |
5904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5905 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5906 | ||
5907 | wxPyEndAllowThreads(__tstate); | |
5908 | if (PyErr_Occurred()) SWIG_fail; | |
5909 | } | |
8edf1c75 | 5910 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5911 | return resultobj; |
5912 | fail: | |
5913 | return NULL; | |
5914 | } | |
5915 | ||
5916 | ||
5917 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5918 | PyObject *resultobj; | |
5919 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5920 | int arg2 ; | |
5921 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5923 | char *kwnames[] = { |
5924 | (char *) "self",(char *) "min", NULL | |
5925 | }; | |
5926 | ||
8edf1c75 | 5927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 5928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5929 | { |
5930 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5931 | if (PyErr_Occurred()) SWIG_fail; | |
5932 | } | |
d14a1e28 RD |
5933 | { |
5934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5935 | (arg1)->SetMinimumPaneSize(arg2); | |
5936 | ||
5937 | wxPyEndAllowThreads(__tstate); | |
5938 | if (PyErr_Occurred()) SWIG_fail; | |
5939 | } | |
5940 | Py_INCREF(Py_None); resultobj = Py_None; | |
5941 | return resultobj; | |
5942 | fail: | |
5943 | return NULL; | |
5944 | } | |
5945 | ||
5946 | ||
5947 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5948 | PyObject *resultobj; | |
5949 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5950 | int result; | |
5951 | PyObject * obj0 = 0 ; | |
5952 | char *kwnames[] = { | |
5953 | (char *) "self", NULL | |
5954 | }; | |
5955 | ||
5956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
5957 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5958 | { | |
5959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5960 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5961 | ||
5962 | wxPyEndAllowThreads(__tstate); | |
5963 | if (PyErr_Occurred()) SWIG_fail; | |
5964 | } | |
8edf1c75 | 5965 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
5966 | return resultobj; |
5967 | fail: | |
5968 | return NULL; | |
5969 | } | |
5970 | ||
5971 | ||
5972 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5973 | PyObject *resultobj; | |
5974 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5975 | int arg2 ; | |
5976 | int arg3 ; | |
5977 | int arg4 = (int) 5 ; | |
5978 | bool result; | |
5979 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5980 | PyObject * obj1 = 0 ; |
5981 | PyObject * obj2 = 0 ; | |
5982 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5983 | char *kwnames[] = { |
5984 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
5985 | }; | |
5986 | ||
8edf1c75 | 5987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 5988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
5989 | { |
5990 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
5991 | if (PyErr_Occurred()) SWIG_fail; | |
5992 | } | |
5993 | { | |
5994 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
5995 | if (PyErr_Occurred()) SWIG_fail; | |
5996 | } | |
5997 | if (obj3) { | |
5998 | { | |
5999 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
6000 | if (PyErr_Occurred()) SWIG_fail; | |
6001 | } | |
6002 | } | |
d14a1e28 RD |
6003 | { |
6004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6005 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6006 | ||
6007 | wxPyEndAllowThreads(__tstate); | |
6008 | if (PyErr_Occurred()) SWIG_fail; | |
6009 | } | |
4e760a36 | 6010 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6011 | return resultobj; |
6012 | fail: | |
6013 | return NULL; | |
6014 | } | |
6015 | ||
6016 | ||
6017 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6018 | PyObject *resultobj; | |
6019 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6020 | PyObject * obj0 = 0 ; | |
6021 | char *kwnames[] = { | |
6022 | (char *) "self", NULL | |
6023 | }; | |
6024 | ||
6025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6027 | { | |
6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6029 | (arg1)->SizeWindows(); | |
6030 | ||
6031 | wxPyEndAllowThreads(__tstate); | |
6032 | if (PyErr_Occurred()) SWIG_fail; | |
6033 | } | |
6034 | Py_INCREF(Py_None); resultobj = Py_None; | |
6035 | return resultobj; | |
6036 | fail: | |
6037 | return NULL; | |
6038 | } | |
6039 | ||
6040 | ||
6041 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6042 | PyObject *resultobj; | |
6043 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6044 | bool arg2 ; | |
6045 | PyObject * obj0 = 0 ; | |
6046 | PyObject * obj1 = 0 ; | |
6047 | char *kwnames[] = { | |
6048 | (char *) "self",(char *) "needUpdating", NULL | |
6049 | }; | |
6050 | ||
6051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
6052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 6053 | { |
8edf1c75 | 6054 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
6055 | if (PyErr_Occurred()) SWIG_fail; |
6056 | } | |
d14a1e28 RD |
6057 | { |
6058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6059 | (arg1)->SetNeedUpdating(arg2); | |
6060 | ||
6061 | wxPyEndAllowThreads(__tstate); | |
6062 | if (PyErr_Occurred()) SWIG_fail; | |
6063 | } | |
6064 | Py_INCREF(Py_None); resultobj = Py_None; | |
6065 | return resultobj; | |
6066 | fail: | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
6071 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6072 | PyObject *resultobj; | |
6073 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6074 | bool result; | |
6075 | PyObject * obj0 = 0 ; | |
6076 | char *kwnames[] = { | |
6077 | (char *) "self", NULL | |
6078 | }; | |
6079 | ||
6080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
6081 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6082 | { | |
6083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6084 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6085 | ||
6086 | wxPyEndAllowThreads(__tstate); | |
6087 | if (PyErr_Occurred()) SWIG_fail; | |
6088 | } | |
4e760a36 | 6089 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6090 | return resultobj; |
6091 | fail: | |
6092 | return NULL; | |
6093 | } | |
6094 | ||
6095 | ||
6096 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6097 | PyObject *obj; | |
6098 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6099 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6100 | Py_INCREF(obj); | |
6101 | return Py_BuildValue((char *)""); | |
6102 | } | |
6103 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6104 | PyObject *resultobj; | |
6105 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6106 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6107 | wxSplitterEvent *result; | |
8edf1c75 | 6108 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6109 | PyObject * obj1 = 0 ; |
6110 | char *kwnames[] = { | |
6111 | (char *) "type",(char *) "splitter", NULL | |
6112 | }; | |
6113 | ||
8edf1c75 RD |
6114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6115 | if (obj0) { | |
6116 | { | |
6117 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | } | |
d14a1e28 RD |
6121 | if (obj1) { |
6122 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6123 | } | |
6124 | { | |
6125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6126 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6127 | ||
6128 | wxPyEndAllowThreads(__tstate); | |
6129 | if (PyErr_Occurred()) SWIG_fail; | |
6130 | } | |
6131 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1); | |
6132 | return resultobj; | |
6133 | fail: | |
6134 | return NULL; | |
6135 | } | |
6136 | ||
6137 | ||
6138 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6139 | PyObject *resultobj; | |
6140 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6141 | int arg2 ; | |
6142 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6143 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6144 | char *kwnames[] = { |
6145 | (char *) "self",(char *) "pos", NULL | |
6146 | }; | |
6147 | ||
8edf1c75 | 6148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6150 | { |
6151 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6152 | if (PyErr_Occurred()) SWIG_fail; | |
6153 | } | |
d14a1e28 RD |
6154 | { |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6156 | (arg1)->SetSashPosition(arg2); | |
6157 | ||
6158 | wxPyEndAllowThreads(__tstate); | |
6159 | if (PyErr_Occurred()) SWIG_fail; | |
6160 | } | |
6161 | Py_INCREF(Py_None); resultobj = Py_None; | |
6162 | return resultobj; | |
6163 | fail: | |
6164 | return NULL; | |
6165 | } | |
6166 | ||
6167 | ||
6168 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6169 | PyObject *resultobj; | |
6170 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6171 | int result; | |
6172 | PyObject * obj0 = 0 ; | |
6173 | char *kwnames[] = { | |
6174 | (char *) "self", NULL | |
6175 | }; | |
6176 | ||
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
6178 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6179 | { | |
6180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6181 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6182 | ||
6183 | wxPyEndAllowThreads(__tstate); | |
6184 | if (PyErr_Occurred()) SWIG_fail; | |
6185 | } | |
8edf1c75 | 6186 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6187 | return resultobj; |
6188 | fail: | |
6189 | return NULL; | |
6190 | } | |
6191 | ||
6192 | ||
6193 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6194 | PyObject *resultobj; | |
6195 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6196 | wxWindow *result; | |
6197 | PyObject * obj0 = 0 ; | |
6198 | char *kwnames[] = { | |
6199 | (char *) "self", NULL | |
6200 | }; | |
6201 | ||
6202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
6203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6204 | { | |
6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6206 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6207 | ||
6208 | wxPyEndAllowThreads(__tstate); | |
6209 | if (PyErr_Occurred()) SWIG_fail; | |
6210 | } | |
6211 | { | |
6212 | resultobj = wxPyMake_wxObject(result); | |
6213 | } | |
6214 | return resultobj; | |
6215 | fail: | |
6216 | return NULL; | |
6217 | } | |
6218 | ||
6219 | ||
6220 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6221 | PyObject *resultobj; | |
6222 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6223 | int result; | |
6224 | PyObject * obj0 = 0 ; | |
6225 | char *kwnames[] = { | |
6226 | (char *) "self", NULL | |
6227 | }; | |
6228 | ||
6229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
6230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6231 | { | |
6232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6233 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6234 | ||
6235 | wxPyEndAllowThreads(__tstate); | |
6236 | if (PyErr_Occurred()) SWIG_fail; | |
6237 | } | |
8edf1c75 | 6238 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6239 | return resultobj; |
6240 | fail: | |
6241 | return NULL; | |
6242 | } | |
6243 | ||
6244 | ||
6245 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6246 | PyObject *resultobj; | |
6247 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6248 | int result; | |
6249 | PyObject * obj0 = 0 ; | |
6250 | char *kwnames[] = { | |
6251 | (char *) "self", NULL | |
6252 | }; | |
6253 | ||
6254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
6255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6256 | { | |
6257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6258 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6259 | ||
6260 | wxPyEndAllowThreads(__tstate); | |
6261 | if (PyErr_Occurred()) SWIG_fail; | |
6262 | } | |
8edf1c75 | 6263 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6264 | return resultobj; |
6265 | fail: | |
6266 | return NULL; | |
6267 | } | |
6268 | ||
6269 | ||
6270 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6271 | PyObject *obj; | |
6272 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6273 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6274 | Py_INCREF(obj); | |
6275 | return Py_BuildValue((char *)""); | |
6276 | } | |
8edf1c75 | 6277 | static int _wrap_SashNameStr_set(PyObject *) { |
d03fd34d RD |
6278 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
6279 | return 1; | |
6280 | } | |
6281 | ||
6282 | ||
6283 | static PyObject *_wrap_SashNameStr_get() { | |
6284 | PyObject *pyobj; | |
6285 | ||
6286 | { | |
6287 | #if wxUSE_UNICODE | |
6288 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6289 | #else | |
6290 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6291 | #endif | |
6292 | } | |
6293 | return pyobj; | |
6294 | } | |
6295 | ||
6296 | ||
8edf1c75 | 6297 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d03fd34d RD |
6298 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
6299 | return 1; | |
6300 | } | |
6301 | ||
6302 | ||
6303 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6304 | PyObject *pyobj; | |
6305 | ||
6306 | { | |
6307 | #if wxUSE_UNICODE | |
6308 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6309 | #else | |
6310 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6311 | #endif | |
6312 | } | |
6313 | return pyobj; | |
6314 | } | |
6315 | ||
6316 | ||
d14a1e28 RD |
6317 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6318 | PyObject *resultobj; | |
6319 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 6320 | int arg2 ; |
d14a1e28 RD |
6321 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6322 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6323 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6324 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6325 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6326 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6327 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6328 | wxSashWindow *result; | |
6329 | wxPoint temp3 ; | |
6330 | wxSize temp4 ; | |
423f194a | 6331 | bool temp6 = False ; |
d14a1e28 | 6332 | PyObject * obj0 = 0 ; |
8edf1c75 | 6333 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6334 | PyObject * obj2 = 0 ; |
6335 | PyObject * obj3 = 0 ; | |
8edf1c75 | 6336 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6337 | PyObject * obj5 = 0 ; |
6338 | char *kwnames[] = { | |
6339 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6340 | }; | |
6341 | ||
8edf1c75 | 6342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 6343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6344 | { |
6345 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6346 | if (PyErr_Occurred()) SWIG_fail; | |
6347 | } | |
d14a1e28 RD |
6348 | if (obj2) { |
6349 | { | |
6350 | arg3 = &temp3; | |
6351 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6352 | } | |
6353 | } | |
6354 | if (obj3) { | |
6355 | { | |
6356 | arg4 = &temp4; | |
6357 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6358 | } | |
6359 | } | |
8edf1c75 RD |
6360 | if (obj4) { |
6361 | { | |
6362 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
6363 | if (PyErr_Occurred()) SWIG_fail; | |
6364 | } | |
6365 | } | |
d14a1e28 RD |
6366 | if (obj5) { |
6367 | { | |
6368 | arg6 = wxString_in_helper(obj5); | |
6369 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 6370 | temp6 = True; |
d14a1e28 RD |
6371 | } |
6372 | } | |
6373 | { | |
6374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6375 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6376 | ||
6377 | wxPyEndAllowThreads(__tstate); | |
6378 | if (PyErr_Occurred()) SWIG_fail; | |
6379 | } | |
6380 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
6381 | { | |
6382 | if (temp6) | |
6383 | delete arg6; | |
6384 | } | |
6385 | return resultobj; | |
6386 | fail: | |
6387 | { | |
6388 | if (temp6) | |
6389 | delete arg6; | |
6390 | } | |
6391 | return NULL; | |
6392 | } | |
6393 | ||
6394 | ||
6395 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6396 | PyObject *resultobj; | |
6397 | wxSashWindow *result; | |
6398 | char *kwnames[] = { | |
6399 | NULL | |
6400 | }; | |
6401 | ||
6402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6403 | { | |
6404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6405 | result = (wxSashWindow *)new wxSashWindow(); | |
6406 | ||
6407 | wxPyEndAllowThreads(__tstate); | |
6408 | if (PyErr_Occurred()) SWIG_fail; | |
6409 | } | |
6410 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
6411 | return resultobj; | |
6412 | fail: | |
6413 | return NULL; | |
6414 | } | |
6415 | ||
6416 | ||
6417 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6418 | PyObject *resultobj; | |
6419 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6420 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 6421 | int arg3 ; |
d14a1e28 RD |
6422 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6423 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6424 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6425 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6426 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6427 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6428 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6429 | bool result; | |
6430 | wxPoint temp4 ; | |
6431 | wxSize temp5 ; | |
423f194a | 6432 | bool temp7 = False ; |
d14a1e28 RD |
6433 | PyObject * obj0 = 0 ; |
6434 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6435 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6436 | PyObject * obj3 = 0 ; |
6437 | PyObject * obj4 = 0 ; | |
8edf1c75 | 6438 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6439 | PyObject * obj6 = 0 ; |
6440 | char *kwnames[] = { | |
6441 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6442 | }; | |
6443 | ||
8edf1c75 | 6444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
6445 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
6446 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
6447 | { |
6448 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
6449 | if (PyErr_Occurred()) SWIG_fail; | |
6450 | } | |
d14a1e28 RD |
6451 | if (obj3) { |
6452 | { | |
6453 | arg4 = &temp4; | |
6454 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6455 | } | |
6456 | } | |
6457 | if (obj4) { | |
6458 | { | |
6459 | arg5 = &temp5; | |
6460 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6461 | } | |
6462 | } | |
8edf1c75 RD |
6463 | if (obj5) { |
6464 | { | |
6465 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
6466 | if (PyErr_Occurred()) SWIG_fail; | |
6467 | } | |
6468 | } | |
d14a1e28 RD |
6469 | if (obj6) { |
6470 | { | |
6471 | arg7 = wxString_in_helper(obj6); | |
6472 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 6473 | temp7 = True; |
d14a1e28 RD |
6474 | } |
6475 | } | |
6476 | { | |
6477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6478 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6479 | ||
6480 | wxPyEndAllowThreads(__tstate); | |
6481 | if (PyErr_Occurred()) SWIG_fail; | |
6482 | } | |
4e760a36 | 6483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6484 | { |
6485 | if (temp7) | |
6486 | delete arg7; | |
6487 | } | |
6488 | return resultobj; | |
6489 | fail: | |
6490 | { | |
6491 | if (temp7) | |
6492 | delete arg7; | |
6493 | } | |
6494 | return NULL; | |
6495 | } | |
6496 | ||
6497 | ||
6498 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6499 | PyObject *resultobj; | |
6500 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6501 | int arg2 ; | |
6502 | bool arg3 ; | |
6503 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6504 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6505 | PyObject * obj2 = 0 ; |
6506 | char *kwnames[] = { | |
6507 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6508 | }; | |
6509 | ||
8edf1c75 | 6510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 6511 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
83448d71 | 6512 | { |
8edf1c75 RD |
6513 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); |
6514 | if (PyErr_Occurred()) SWIG_fail; | |
6515 | } | |
6516 | { | |
6517 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); | |
83448d71 RD |
6518 | if (PyErr_Occurred()) SWIG_fail; |
6519 | } | |
d14a1e28 RD |
6520 | { |
6521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6522 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6523 | ||
6524 | wxPyEndAllowThreads(__tstate); | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | } | |
6527 | Py_INCREF(Py_None); resultobj = Py_None; | |
6528 | return resultobj; | |
6529 | fail: | |
6530 | return NULL; | |
6531 | } | |
6532 | ||
6533 | ||
6534 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6535 | PyObject *resultobj; | |
6536 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6537 | int arg2 ; | |
6538 | bool result; | |
6539 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6540 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6541 | char *kwnames[] = { |
6542 | (char *) "self",(char *) "edge", NULL | |
6543 | }; | |
6544 | ||
8edf1c75 | 6545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6546 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6547 | { |
6548 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6549 | if (PyErr_Occurred()) SWIG_fail; | |
6550 | } | |
d14a1e28 RD |
6551 | { |
6552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6553 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6554 | ||
6555 | wxPyEndAllowThreads(__tstate); | |
6556 | if (PyErr_Occurred()) SWIG_fail; | |
6557 | } | |
4e760a36 | 6558 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6559 | return resultobj; |
6560 | fail: | |
6561 | return NULL; | |
6562 | } | |
6563 | ||
6564 | ||
6565 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6566 | PyObject *resultobj; | |
6567 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6568 | int arg2 ; | |
6569 | bool arg3 ; | |
6570 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6571 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6572 | PyObject * obj2 = 0 ; |
6573 | char *kwnames[] = { | |
6574 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6575 | }; | |
6576 | ||
8edf1c75 | 6577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 6578 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
83448d71 | 6579 | { |
8edf1c75 RD |
6580 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); |
6581 | if (PyErr_Occurred()) SWIG_fail; | |
6582 | } | |
6583 | { | |
6584 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); | |
83448d71 RD |
6585 | if (PyErr_Occurred()) SWIG_fail; |
6586 | } | |
d14a1e28 RD |
6587 | { |
6588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6589 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6590 | ||
6591 | wxPyEndAllowThreads(__tstate); | |
6592 | if (PyErr_Occurred()) SWIG_fail; | |
6593 | } | |
6594 | Py_INCREF(Py_None); resultobj = Py_None; | |
6595 | return resultobj; | |
6596 | fail: | |
6597 | return NULL; | |
6598 | } | |
6599 | ||
6600 | ||
6601 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6602 | PyObject *resultobj; | |
6603 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6604 | int arg2 ; | |
6605 | bool result; | |
6606 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6607 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6608 | char *kwnames[] = { |
6609 | (char *) "self",(char *) "edge", NULL | |
6610 | }; | |
6611 | ||
8edf1c75 | 6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6613 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6614 | { |
6615 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6616 | if (PyErr_Occurred()) SWIG_fail; | |
6617 | } | |
d14a1e28 RD |
6618 | { |
6619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6620 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6621 | ||
6622 | wxPyEndAllowThreads(__tstate); | |
6623 | if (PyErr_Occurred()) SWIG_fail; | |
6624 | } | |
4e760a36 | 6625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6626 | return resultobj; |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
6632 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6633 | PyObject *resultobj; | |
6634 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6635 | int arg2 ; | |
6636 | int result; | |
6637 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6638 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6639 | char *kwnames[] = { |
6640 | (char *) "self",(char *) "edge", NULL | |
6641 | }; | |
6642 | ||
8edf1c75 | 6643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6644 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6645 | { |
6646 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
6647 | if (PyErr_Occurred()) SWIG_fail; | |
6648 | } | |
d14a1e28 RD |
6649 | { |
6650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6651 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6652 | ||
6653 | wxPyEndAllowThreads(__tstate); | |
6654 | if (PyErr_Occurred()) SWIG_fail; | |
6655 | } | |
8edf1c75 | 6656 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6657 | return resultobj; |
6658 | fail: | |
6659 | return NULL; | |
6660 | } | |
6661 | ||
6662 | ||
6663 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6664 | PyObject *resultobj; | |
6665 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6666 | int arg2 ; | |
6667 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6668 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6669 | char *kwnames[] = { |
6670 | (char *) "self",(char *) "width", NULL | |
6671 | }; | |
6672 | ||
8edf1c75 | 6673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6675 | { |
6676 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6677 | if (PyErr_Occurred()) SWIG_fail; | |
6678 | } | |
d14a1e28 RD |
6679 | { |
6680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6681 | (arg1)->SetDefaultBorderSize(arg2); | |
6682 | ||
6683 | wxPyEndAllowThreads(__tstate); | |
6684 | if (PyErr_Occurred()) SWIG_fail; | |
6685 | } | |
6686 | Py_INCREF(Py_None); resultobj = Py_None; | |
6687 | return resultobj; | |
6688 | fail: | |
6689 | return NULL; | |
6690 | } | |
6691 | ||
6692 | ||
6693 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject *resultobj; | |
6695 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6696 | int result; | |
6697 | PyObject * obj0 = 0 ; | |
6698 | char *kwnames[] = { | |
6699 | (char *) "self", NULL | |
6700 | }; | |
6701 | ||
6702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
6703 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6704 | { | |
6705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6706 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6707 | ||
6708 | wxPyEndAllowThreads(__tstate); | |
6709 | if (PyErr_Occurred()) SWIG_fail; | |
6710 | } | |
8edf1c75 | 6711 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6712 | return resultobj; |
6713 | fail: | |
6714 | return NULL; | |
6715 | } | |
6716 | ||
6717 | ||
6718 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6719 | PyObject *resultobj; | |
6720 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6721 | int arg2 ; | |
6722 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6723 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6724 | char *kwnames[] = { |
6725 | (char *) "self",(char *) "width", NULL | |
6726 | }; | |
6727 | ||
8edf1c75 | 6728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6730 | { |
6731 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6732 | if (PyErr_Occurred()) SWIG_fail; | |
6733 | } | |
d14a1e28 RD |
6734 | { |
6735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6736 | (arg1)->SetExtraBorderSize(arg2); | |
6737 | ||
6738 | wxPyEndAllowThreads(__tstate); | |
6739 | if (PyErr_Occurred()) SWIG_fail; | |
6740 | } | |
6741 | Py_INCREF(Py_None); resultobj = Py_None; | |
6742 | return resultobj; | |
6743 | fail: | |
6744 | return NULL; | |
6745 | } | |
6746 | ||
6747 | ||
6748 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6749 | PyObject *resultobj; | |
6750 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6751 | int result; | |
6752 | PyObject * obj0 = 0 ; | |
6753 | char *kwnames[] = { | |
6754 | (char *) "self", NULL | |
6755 | }; | |
6756 | ||
6757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
6758 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6759 | { | |
6760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6761 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6762 | ||
6763 | wxPyEndAllowThreads(__tstate); | |
6764 | if (PyErr_Occurred()) SWIG_fail; | |
6765 | } | |
8edf1c75 | 6766 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6767 | return resultobj; |
6768 | fail: | |
6769 | return NULL; | |
6770 | } | |
6771 | ||
6772 | ||
6773 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6774 | PyObject *resultobj; | |
6775 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6776 | int arg2 ; | |
6777 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6778 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6779 | char *kwnames[] = { |
6780 | (char *) "self",(char *) "min", NULL | |
6781 | }; | |
6782 | ||
8edf1c75 | 6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6785 | { |
6786 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6787 | if (PyErr_Occurred()) SWIG_fail; | |
6788 | } | |
d14a1e28 RD |
6789 | { |
6790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6791 | (arg1)->SetMinimumSizeX(arg2); | |
6792 | ||
6793 | wxPyEndAllowThreads(__tstate); | |
6794 | if (PyErr_Occurred()) SWIG_fail; | |
6795 | } | |
6796 | Py_INCREF(Py_None); resultobj = Py_None; | |
6797 | return resultobj; | |
6798 | fail: | |
6799 | return NULL; | |
6800 | } | |
6801 | ||
6802 | ||
6803 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6804 | PyObject *resultobj; | |
6805 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6806 | int arg2 ; | |
6807 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6808 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6809 | char *kwnames[] = { |
6810 | (char *) "self",(char *) "min", NULL | |
6811 | }; | |
6812 | ||
8edf1c75 | 6813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6814 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6815 | { |
6816 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6817 | if (PyErr_Occurred()) SWIG_fail; | |
6818 | } | |
d14a1e28 RD |
6819 | { |
6820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6821 | (arg1)->SetMinimumSizeY(arg2); | |
6822 | ||
6823 | wxPyEndAllowThreads(__tstate); | |
6824 | if (PyErr_Occurred()) SWIG_fail; | |
6825 | } | |
6826 | Py_INCREF(Py_None); resultobj = Py_None; | |
6827 | return resultobj; | |
6828 | fail: | |
6829 | return NULL; | |
6830 | } | |
6831 | ||
6832 | ||
6833 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6834 | PyObject *resultobj; | |
6835 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6836 | int result; | |
6837 | PyObject * obj0 = 0 ; | |
6838 | char *kwnames[] = { | |
6839 | (char *) "self", NULL | |
6840 | }; | |
6841 | ||
6842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
6843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6844 | { | |
6845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6846 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6847 | ||
6848 | wxPyEndAllowThreads(__tstate); | |
6849 | if (PyErr_Occurred()) SWIG_fail; | |
6850 | } | |
8edf1c75 | 6851 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6852 | return resultobj; |
6853 | fail: | |
6854 | return NULL; | |
6855 | } | |
6856 | ||
6857 | ||
6858 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6859 | PyObject *resultobj; | |
6860 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6861 | int result; | |
6862 | PyObject * obj0 = 0 ; | |
6863 | char *kwnames[] = { | |
6864 | (char *) "self", NULL | |
6865 | }; | |
6866 | ||
6867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
6868 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6869 | { | |
6870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6871 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6872 | ||
6873 | wxPyEndAllowThreads(__tstate); | |
6874 | if (PyErr_Occurred()) SWIG_fail; | |
6875 | } | |
8edf1c75 | 6876 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6877 | return resultobj; |
6878 | fail: | |
6879 | return NULL; | |
6880 | } | |
6881 | ||
6882 | ||
6883 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6884 | PyObject *resultobj; | |
6885 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6886 | int arg2 ; | |
6887 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6888 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6889 | char *kwnames[] = { |
6890 | (char *) "self",(char *) "max", NULL | |
6891 | }; | |
6892 | ||
8edf1c75 | 6893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6895 | { |
6896 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6897 | if (PyErr_Occurred()) SWIG_fail; | |
6898 | } | |
d14a1e28 RD |
6899 | { |
6900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6901 | (arg1)->SetMaximumSizeX(arg2); | |
6902 | ||
6903 | wxPyEndAllowThreads(__tstate); | |
6904 | if (PyErr_Occurred()) SWIG_fail; | |
6905 | } | |
6906 | Py_INCREF(Py_None); resultobj = Py_None; | |
6907 | return resultobj; | |
6908 | fail: | |
6909 | return NULL; | |
6910 | } | |
6911 | ||
6912 | ||
6913 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6914 | PyObject *resultobj; | |
6915 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6916 | int arg2 ; | |
6917 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6918 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6919 | char *kwnames[] = { |
6920 | (char *) "self",(char *) "max", NULL | |
6921 | }; | |
6922 | ||
8edf1c75 | 6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 6924 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
6925 | { |
6926 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
6927 | if (PyErr_Occurred()) SWIG_fail; | |
6928 | } | |
d14a1e28 RD |
6929 | { |
6930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6931 | (arg1)->SetMaximumSizeY(arg2); | |
6932 | ||
6933 | wxPyEndAllowThreads(__tstate); | |
6934 | if (PyErr_Occurred()) SWIG_fail; | |
6935 | } | |
6936 | Py_INCREF(Py_None); resultobj = Py_None; | |
6937 | return resultobj; | |
6938 | fail: | |
6939 | return NULL; | |
6940 | } | |
6941 | ||
6942 | ||
6943 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6944 | PyObject *resultobj; | |
6945 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6946 | int result; | |
6947 | PyObject * obj0 = 0 ; | |
6948 | char *kwnames[] = { | |
6949 | (char *) "self", NULL | |
6950 | }; | |
6951 | ||
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
6953 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6954 | { | |
6955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6956 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6957 | ||
6958 | wxPyEndAllowThreads(__tstate); | |
6959 | if (PyErr_Occurred()) SWIG_fail; | |
6960 | } | |
8edf1c75 | 6961 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6962 | return resultobj; |
6963 | fail: | |
6964 | return NULL; | |
6965 | } | |
6966 | ||
6967 | ||
6968 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6969 | PyObject *resultobj; | |
6970 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6971 | int result; | |
6972 | PyObject * obj0 = 0 ; | |
6973 | char *kwnames[] = { | |
6974 | (char *) "self", NULL | |
6975 | }; | |
6976 | ||
6977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
6978 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6979 | { | |
6980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6981 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
6982 | ||
6983 | wxPyEndAllowThreads(__tstate); | |
6984 | if (PyErr_Occurred()) SWIG_fail; | |
6985 | } | |
8edf1c75 | 6986 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
6987 | return resultobj; |
6988 | fail: | |
6989 | return NULL; | |
6990 | } | |
6991 | ||
6992 | ||
6993 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6994 | PyObject *resultobj; | |
6995 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6996 | int arg2 ; | |
6997 | int arg3 ; | |
6998 | int arg4 = (int) 2 ; | |
6999 | int result; | |
7000 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7001 | PyObject * obj1 = 0 ; |
7002 | PyObject * obj2 = 0 ; | |
7003 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7004 | char *kwnames[] = { |
7005 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7006 | }; | |
7007 | ||
8edf1c75 | 7008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 7009 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7010 | { |
7011 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7012 | if (PyErr_Occurred()) SWIG_fail; | |
7013 | } | |
7014 | { | |
7015 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
7016 | if (PyErr_Occurred()) SWIG_fail; | |
7017 | } | |
7018 | if (obj3) { | |
7019 | { | |
7020 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
7021 | if (PyErr_Occurred()) SWIG_fail; | |
7022 | } | |
7023 | } | |
d14a1e28 RD |
7024 | { |
7025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7026 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7027 | ||
7028 | wxPyEndAllowThreads(__tstate); | |
7029 | if (PyErr_Occurred()) SWIG_fail; | |
7030 | } | |
8edf1c75 | 7031 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7032 | return resultobj; |
7033 | fail: | |
7034 | return NULL; | |
7035 | } | |
7036 | ||
7037 | ||
7038 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7039 | PyObject *resultobj; | |
7040 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7041 | PyObject * obj0 = 0 ; | |
7042 | char *kwnames[] = { | |
7043 | (char *) "self", NULL | |
7044 | }; | |
7045 | ||
7046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
7047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7048 | { | |
7049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7050 | (arg1)->SizeWindows(); | |
7051 | ||
7052 | wxPyEndAllowThreads(__tstate); | |
7053 | if (PyErr_Occurred()) SWIG_fail; | |
7054 | } | |
7055 | Py_INCREF(Py_None); resultobj = Py_None; | |
7056 | return resultobj; | |
7057 | fail: | |
7058 | return NULL; | |
7059 | } | |
7060 | ||
7061 | ||
7062 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7063 | PyObject *obj; | |
7064 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7065 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7066 | Py_INCREF(obj); | |
7067 | return Py_BuildValue((char *)""); | |
7068 | } | |
7069 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7070 | PyObject *resultobj; | |
7071 | int arg1 = (int) 0 ; | |
7072 | int arg2 = (int) wxSASH_NONE ; | |
7073 | wxSashEvent *result; | |
8edf1c75 RD |
7074 | PyObject * obj0 = 0 ; |
7075 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7076 | char *kwnames[] = { |
7077 | (char *) "id",(char *) "edge", NULL | |
7078 | }; | |
7079 | ||
8edf1c75 RD |
7080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7081 | if (obj0) { | |
7082 | { | |
7083 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7084 | if (PyErr_Occurred()) SWIG_fail; | |
7085 | } | |
7086 | } | |
7087 | if (obj1) { | |
7088 | { | |
7089 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
7090 | if (PyErr_Occurred()) SWIG_fail; | |
7091 | } | |
7092 | } | |
d14a1e28 RD |
7093 | { |
7094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7095 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7096 | ||
7097 | wxPyEndAllowThreads(__tstate); | |
7098 | if (PyErr_Occurred()) SWIG_fail; | |
7099 | } | |
7100 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1); | |
7101 | return resultobj; | |
7102 | fail: | |
7103 | return NULL; | |
7104 | } | |
7105 | ||
7106 | ||
7107 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7108 | PyObject *resultobj; | |
7109 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7110 | int arg2 ; | |
7111 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7112 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7113 | char *kwnames[] = { |
7114 | (char *) "self",(char *) "edge", NULL | |
7115 | }; | |
7116 | ||
8edf1c75 | 7117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7118 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7119 | { |
7120 | arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1); | |
7121 | if (PyErr_Occurred()) SWIG_fail; | |
7122 | } | |
d14a1e28 RD |
7123 | { |
7124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7125 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7126 | ||
7127 | wxPyEndAllowThreads(__tstate); | |
7128 | if (PyErr_Occurred()) SWIG_fail; | |
7129 | } | |
7130 | Py_INCREF(Py_None); resultobj = Py_None; | |
7131 | return resultobj; | |
7132 | fail: | |
7133 | return NULL; | |
7134 | } | |
7135 | ||
7136 | ||
7137 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7138 | PyObject *resultobj; | |
7139 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7140 | int result; | |
7141 | PyObject * obj0 = 0 ; | |
7142 | char *kwnames[] = { | |
7143 | (char *) "self", NULL | |
7144 | }; | |
7145 | ||
7146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
7147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7148 | { | |
7149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7150 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7151 | ||
7152 | wxPyEndAllowThreads(__tstate); | |
7153 | if (PyErr_Occurred()) SWIG_fail; | |
7154 | } | |
8edf1c75 | 7155 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7156 | return resultobj; |
7157 | fail: | |
7158 | return NULL; | |
7159 | } | |
7160 | ||
7161 | ||
7162 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7163 | PyObject *resultobj; | |
7164 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7165 | wxRect *arg2 = 0 ; | |
7166 | wxRect temp2 ; | |
7167 | PyObject * obj0 = 0 ; | |
7168 | PyObject * obj1 = 0 ; | |
7169 | char *kwnames[] = { | |
7170 | (char *) "self",(char *) "rect", NULL | |
7171 | }; | |
7172 | ||
7173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
7174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7175 | { | |
7176 | arg2 = &temp2; | |
7177 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7178 | } | |
7179 | { | |
7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7181 | (arg1)->SetDragRect((wxRect const &)*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_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7194 | PyObject *resultobj; | |
7195 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7196 | wxRect result; | |
7197 | PyObject * obj0 = 0 ; | |
7198 | char *kwnames[] = { | |
7199 | (char *) "self", NULL | |
7200 | }; | |
7201 | ||
7202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",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 = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7207 | ||
7208 | wxPyEndAllowThreads(__tstate); | |
7209 | if (PyErr_Occurred()) SWIG_fail; | |
7210 | } | |
7211 | { | |
7212 | wxRect * resultptr; | |
7213 | resultptr = new wxRect((wxRect &) result); | |
7214 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
7215 | } | |
7216 | return resultobj; | |
7217 | fail: | |
7218 | return NULL; | |
7219 | } | |
7220 | ||
7221 | ||
7222 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7223 | PyObject *resultobj; | |
7224 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7225 | int arg2 ; | |
7226 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7227 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7228 | char *kwnames[] = { |
7229 | (char *) "self",(char *) "status", NULL | |
7230 | }; | |
7231 | ||
8edf1c75 | 7232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7233 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7234 | { |
7235 | arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1); | |
7236 | if (PyErr_Occurred()) SWIG_fail; | |
7237 | } | |
d14a1e28 RD |
7238 | { |
7239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7240 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7241 | ||
7242 | wxPyEndAllowThreads(__tstate); | |
7243 | if (PyErr_Occurred()) SWIG_fail; | |
7244 | } | |
7245 | Py_INCREF(Py_None); resultobj = Py_None; | |
7246 | return resultobj; | |
7247 | fail: | |
7248 | return NULL; | |
7249 | } | |
7250 | ||
7251 | ||
7252 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7253 | PyObject *resultobj; | |
7254 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7255 | int result; | |
7256 | PyObject * obj0 = 0 ; | |
7257 | char *kwnames[] = { | |
7258 | (char *) "self", NULL | |
7259 | }; | |
7260 | ||
7261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
7262 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7263 | { | |
7264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7265 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7266 | ||
7267 | wxPyEndAllowThreads(__tstate); | |
7268 | if (PyErr_Occurred()) SWIG_fail; | |
7269 | } | |
8edf1c75 | 7270 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7271 | return resultobj; |
7272 | fail: | |
7273 | return NULL; | |
7274 | } | |
7275 | ||
7276 | ||
7277 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7278 | PyObject *obj; | |
7279 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7280 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7281 | Py_INCREF(obj); | |
7282 | return Py_BuildValue((char *)""); | |
7283 | } | |
7284 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7285 | PyObject *resultobj; | |
423f194a | 7286 | int arg1 = (int) 0 ; |
d14a1e28 | 7287 | wxQueryLayoutInfoEvent *result; |
8edf1c75 | 7288 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7289 | char *kwnames[] = { |
7290 | (char *) "id", NULL | |
7291 | }; | |
7292 | ||
8edf1c75 RD |
7293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7294 | if (obj0) { | |
7295 | { | |
7296 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7297 | if (PyErr_Occurred()) SWIG_fail; | |
7298 | } | |
7299 | } | |
d14a1e28 RD |
7300 | { |
7301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7302 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7303 | ||
7304 | wxPyEndAllowThreads(__tstate); | |
7305 | if (PyErr_Occurred()) SWIG_fail; | |
7306 | } | |
7307 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
7308 | return resultobj; | |
7309 | fail: | |
7310 | return NULL; | |
7311 | } | |
7312 | ||
7313 | ||
7314 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7315 | PyObject *resultobj; | |
7316 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7317 | int arg2 ; | |
7318 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7319 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7320 | char *kwnames[] = { |
7321 | (char *) "self",(char *) "length", NULL | |
7322 | }; | |
7323 | ||
8edf1c75 | 7324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7325 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7326 | { |
7327 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7328 | if (PyErr_Occurred()) SWIG_fail; | |
7329 | } | |
d14a1e28 RD |
7330 | { |
7331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7332 | (arg1)->SetRequestedLength(arg2); | |
7333 | ||
7334 | wxPyEndAllowThreads(__tstate); | |
7335 | if (PyErr_Occurred()) SWIG_fail; | |
7336 | } | |
7337 | Py_INCREF(Py_None); resultobj = Py_None; | |
7338 | return resultobj; | |
7339 | fail: | |
7340 | return NULL; | |
7341 | } | |
7342 | ||
7343 | ||
7344 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7345 | PyObject *resultobj; | |
7346 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7347 | int result; | |
7348 | PyObject * obj0 = 0 ; | |
7349 | char *kwnames[] = { | |
7350 | (char *) "self", NULL | |
7351 | }; | |
7352 | ||
7353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
7354 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7355 | { | |
7356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7357 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7358 | ||
7359 | wxPyEndAllowThreads(__tstate); | |
7360 | if (PyErr_Occurred()) SWIG_fail; | |
7361 | } | |
8edf1c75 | 7362 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7363 | return resultobj; |
7364 | fail: | |
7365 | return NULL; | |
7366 | } | |
7367 | ||
7368 | ||
7369 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7370 | PyObject *resultobj; | |
7371 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7372 | int arg2 ; | |
7373 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7374 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7375 | char *kwnames[] = { |
7376 | (char *) "self",(char *) "flags", NULL | |
7377 | }; | |
7378 | ||
8edf1c75 | 7379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7380 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7381 | { |
7382 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7383 | if (PyErr_Occurred()) SWIG_fail; | |
7384 | } | |
d14a1e28 RD |
7385 | { |
7386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7387 | (arg1)->SetFlags(arg2); | |
7388 | ||
7389 | wxPyEndAllowThreads(__tstate); | |
7390 | if (PyErr_Occurred()) SWIG_fail; | |
7391 | } | |
7392 | Py_INCREF(Py_None); resultobj = Py_None; | |
7393 | return resultobj; | |
7394 | fail: | |
7395 | return NULL; | |
7396 | } | |
7397 | ||
7398 | ||
7399 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7400 | PyObject *resultobj; | |
7401 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7402 | int result; | |
7403 | PyObject * obj0 = 0 ; | |
7404 | char *kwnames[] = { | |
7405 | (char *) "self", NULL | |
7406 | }; | |
7407 | ||
7408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7410 | { | |
7411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7412 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7413 | ||
7414 | wxPyEndAllowThreads(__tstate); | |
7415 | if (PyErr_Occurred()) SWIG_fail; | |
7416 | } | |
8edf1c75 | 7417 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7418 | return resultobj; |
7419 | fail: | |
7420 | return NULL; | |
7421 | } | |
7422 | ||
7423 | ||
7424 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7425 | PyObject *resultobj; | |
7426 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7427 | wxSize *arg2 = 0 ; | |
7428 | wxSize temp2 ; | |
7429 | PyObject * obj0 = 0 ; | |
7430 | PyObject * obj1 = 0 ; | |
7431 | char *kwnames[] = { | |
7432 | (char *) "self",(char *) "size", NULL | |
7433 | }; | |
7434 | ||
7435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
7436 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7437 | { | |
7438 | arg2 = &temp2; | |
7439 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7440 | } | |
7441 | { | |
7442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7443 | (arg1)->SetSize((wxSize const &)*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_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7456 | PyObject *resultobj; | |
7457 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7458 | wxSize result; | |
7459 | PyObject * obj0 = 0 ; | |
7460 | char *kwnames[] = { | |
7461 | (char *) "self", NULL | |
7462 | }; | |
7463 | ||
7464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",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 = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7469 | ||
7470 | wxPyEndAllowThreads(__tstate); | |
7471 | if (PyErr_Occurred()) SWIG_fail; | |
7472 | } | |
7473 | { | |
7474 | wxSize * resultptr; | |
7475 | resultptr = new wxSize((wxSize &) result); | |
7476 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
7477 | } | |
7478 | return resultobj; | |
7479 | fail: | |
7480 | return NULL; | |
7481 | } | |
7482 | ||
7483 | ||
7484 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7485 | PyObject *resultobj; | |
7486 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7487 | int arg2 ; | |
7488 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7489 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7490 | char *kwnames[] = { |
7491 | (char *) "self",(char *) "orient", NULL | |
7492 | }; | |
7493 | ||
8edf1c75 | 7494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7496 | { |
7497 | arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1); | |
7498 | if (PyErr_Occurred()) SWIG_fail; | |
7499 | } | |
d14a1e28 RD |
7500 | { |
7501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7502 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7503 | ||
7504 | wxPyEndAllowThreads(__tstate); | |
7505 | if (PyErr_Occurred()) SWIG_fail; | |
7506 | } | |
7507 | Py_INCREF(Py_None); resultobj = Py_None; | |
7508 | return resultobj; | |
7509 | fail: | |
7510 | return NULL; | |
7511 | } | |
7512 | ||
7513 | ||
7514 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7515 | PyObject *resultobj; | |
7516 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7517 | int result; | |
7518 | PyObject * obj0 = 0 ; | |
7519 | char *kwnames[] = { | |
7520 | (char *) "self", NULL | |
7521 | }; | |
7522 | ||
7523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
7524 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7525 | { | |
7526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7527 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7528 | ||
7529 | wxPyEndAllowThreads(__tstate); | |
7530 | if (PyErr_Occurred()) SWIG_fail; | |
7531 | } | |
8edf1c75 | 7532 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7533 | return resultobj; |
7534 | fail: | |
7535 | return NULL; | |
7536 | } | |
7537 | ||
7538 | ||
7539 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7540 | PyObject *resultobj; | |
7541 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7542 | int arg2 ; | |
7543 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7544 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7545 | char *kwnames[] = { |
7546 | (char *) "self",(char *) "align", NULL | |
7547 | }; | |
7548 | ||
8edf1c75 | 7549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7551 | { |
7552 | arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1); | |
7553 | if (PyErr_Occurred()) SWIG_fail; | |
7554 | } | |
d14a1e28 RD |
7555 | { |
7556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7557 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7558 | ||
7559 | wxPyEndAllowThreads(__tstate); | |
7560 | if (PyErr_Occurred()) SWIG_fail; | |
7561 | } | |
7562 | Py_INCREF(Py_None); resultobj = Py_None; | |
7563 | return resultobj; | |
7564 | fail: | |
7565 | return NULL; | |
7566 | } | |
7567 | ||
7568 | ||
7569 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7570 | PyObject *resultobj; | |
7571 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7572 | int result; | |
7573 | PyObject * obj0 = 0 ; | |
7574 | char *kwnames[] = { | |
7575 | (char *) "self", NULL | |
7576 | }; | |
7577 | ||
7578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
7579 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7580 | { | |
7581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7582 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7583 | ||
7584 | wxPyEndAllowThreads(__tstate); | |
7585 | if (PyErr_Occurred()) SWIG_fail; | |
7586 | } | |
8edf1c75 | 7587 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7588 | return resultobj; |
7589 | fail: | |
7590 | return NULL; | |
7591 | } | |
7592 | ||
7593 | ||
7594 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7595 | PyObject *obj; | |
7596 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7597 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7598 | Py_INCREF(obj); | |
7599 | return Py_BuildValue((char *)""); | |
7600 | } | |
7601 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7602 | PyObject *resultobj; | |
423f194a | 7603 | int arg1 = (int) 0 ; |
d14a1e28 | 7604 | wxCalculateLayoutEvent *result; |
8edf1c75 | 7605 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7606 | char *kwnames[] = { |
7607 | (char *) "id", NULL | |
7608 | }; | |
7609 | ||
8edf1c75 RD |
7610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7611 | if (obj0) { | |
7612 | { | |
7613 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
7614 | if (PyErr_Occurred()) SWIG_fail; | |
7615 | } | |
7616 | } | |
d14a1e28 RD |
7617 | { |
7618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7619 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7620 | ||
7621 | wxPyEndAllowThreads(__tstate); | |
7622 | if (PyErr_Occurred()) SWIG_fail; | |
7623 | } | |
7624 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
7625 | return resultobj; | |
7626 | fail: | |
7627 | return NULL; | |
7628 | } | |
7629 | ||
7630 | ||
7631 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7632 | PyObject *resultobj; | |
7633 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7634 | int arg2 ; | |
7635 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7637 | char *kwnames[] = { |
7638 | (char *) "self",(char *) "flags", NULL | |
7639 | }; | |
7640 | ||
8edf1c75 | 7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7642 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7643 | { |
7644 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7645 | if (PyErr_Occurred()) SWIG_fail; | |
7646 | } | |
d14a1e28 RD |
7647 | { |
7648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7649 | (arg1)->SetFlags(arg2); | |
7650 | ||
7651 | wxPyEndAllowThreads(__tstate); | |
7652 | if (PyErr_Occurred()) SWIG_fail; | |
7653 | } | |
7654 | Py_INCREF(Py_None); resultobj = Py_None; | |
7655 | return resultobj; | |
7656 | fail: | |
7657 | return NULL; | |
7658 | } | |
7659 | ||
7660 | ||
7661 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject *resultobj; | |
7663 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7664 | int result; | |
7665 | PyObject * obj0 = 0 ; | |
7666 | char *kwnames[] = { | |
7667 | (char *) "self", NULL | |
7668 | }; | |
7669 | ||
7670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7671 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7672 | { | |
7673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7674 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7675 | ||
7676 | wxPyEndAllowThreads(__tstate); | |
7677 | if (PyErr_Occurred()) SWIG_fail; | |
7678 | } | |
8edf1c75 | 7679 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7680 | return resultobj; |
7681 | fail: | |
7682 | return NULL; | |
7683 | } | |
7684 | ||
7685 | ||
7686 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7687 | PyObject *resultobj; | |
7688 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7689 | wxRect *arg2 = 0 ; | |
7690 | wxRect temp2 ; | |
7691 | PyObject * obj0 = 0 ; | |
7692 | PyObject * obj1 = 0 ; | |
7693 | char *kwnames[] = { | |
7694 | (char *) "self",(char *) "rect", NULL | |
7695 | }; | |
7696 | ||
7697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
7698 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7699 | { | |
7700 | arg2 = &temp2; | |
7701 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7702 | } | |
7703 | { | |
7704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7705 | (arg1)->SetRect((wxRect const &)*arg2); | |
7706 | ||
7707 | wxPyEndAllowThreads(__tstate); | |
7708 | if (PyErr_Occurred()) SWIG_fail; | |
7709 | } | |
7710 | Py_INCREF(Py_None); resultobj = Py_None; | |
7711 | return resultobj; | |
7712 | fail: | |
7713 | return NULL; | |
7714 | } | |
7715 | ||
7716 | ||
7717 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7718 | PyObject *resultobj; | |
7719 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7720 | wxRect result; | |
7721 | PyObject * obj0 = 0 ; | |
7722 | char *kwnames[] = { | |
7723 | (char *) "self", NULL | |
7724 | }; | |
7725 | ||
7726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
7727 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7728 | { | |
7729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7730 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7731 | ||
7732 | wxPyEndAllowThreads(__tstate); | |
7733 | if (PyErr_Occurred()) SWIG_fail; | |
7734 | } | |
7735 | { | |
7736 | wxRect * resultptr; | |
7737 | resultptr = new wxRect((wxRect &) result); | |
7738 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
7739 | } | |
7740 | return resultobj; | |
7741 | fail: | |
7742 | return NULL; | |
7743 | } | |
7744 | ||
7745 | ||
7746 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7747 | PyObject *obj; | |
7748 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7749 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7750 | Py_INCREF(obj); | |
7751 | return Py_BuildValue((char *)""); | |
7752 | } | |
7753 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7754 | PyObject *resultobj; | |
7755 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 7756 | int arg2 ; |
d14a1e28 RD |
7757 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7758 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7759 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7760 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7761 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7762 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7763 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7764 | wxSashLayoutWindow *result; | |
7765 | wxPoint temp3 ; | |
7766 | wxSize temp4 ; | |
423f194a | 7767 | bool temp6 = False ; |
d14a1e28 | 7768 | PyObject * obj0 = 0 ; |
8edf1c75 | 7769 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7770 | PyObject * obj2 = 0 ; |
7771 | PyObject * obj3 = 0 ; | |
8edf1c75 | 7772 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7773 | PyObject * obj5 = 0 ; |
7774 | char *kwnames[] = { | |
7775 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7776 | }; | |
7777 | ||
8edf1c75 | 7778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 7779 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7780 | { |
7781 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
7782 | if (PyErr_Occurred()) SWIG_fail; | |
7783 | } | |
d14a1e28 RD |
7784 | if (obj2) { |
7785 | { | |
7786 | arg3 = &temp3; | |
7787 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7788 | } | |
7789 | } | |
7790 | if (obj3) { | |
7791 | { | |
7792 | arg4 = &temp4; | |
7793 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7794 | } | |
7795 | } | |
8edf1c75 RD |
7796 | if (obj4) { |
7797 | { | |
7798 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
7799 | if (PyErr_Occurred()) SWIG_fail; | |
7800 | } | |
7801 | } | |
d14a1e28 RD |
7802 | if (obj5) { |
7803 | { | |
7804 | arg6 = wxString_in_helper(obj5); | |
7805 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 7806 | temp6 = True; |
d14a1e28 RD |
7807 | } |
7808 | } | |
7809 | { | |
7810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7811 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7812 | ||
7813 | wxPyEndAllowThreads(__tstate); | |
7814 | if (PyErr_Occurred()) SWIG_fail; | |
7815 | } | |
7816 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7817 | { | |
7818 | if (temp6) | |
7819 | delete arg6; | |
7820 | } | |
7821 | return resultobj; | |
7822 | fail: | |
7823 | { | |
7824 | if (temp6) | |
7825 | delete arg6; | |
7826 | } | |
7827 | return NULL; | |
7828 | } | |
7829 | ||
7830 | ||
7831 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7832 | PyObject *resultobj; | |
7833 | wxSashLayoutWindow *result; | |
7834 | char *kwnames[] = { | |
7835 | NULL | |
7836 | }; | |
7837 | ||
7838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7839 | { | |
7840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7841 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7842 | ||
7843 | wxPyEndAllowThreads(__tstate); | |
7844 | if (PyErr_Occurred()) SWIG_fail; | |
7845 | } | |
7846 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7847 | return resultobj; | |
7848 | fail: | |
7849 | return NULL; | |
7850 | } | |
7851 | ||
7852 | ||
7853 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7854 | PyObject *resultobj; | |
7855 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7856 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 7857 | int arg3 ; |
d14a1e28 RD |
7858 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7859 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7860 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7861 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7862 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7863 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7864 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7865 | bool result; | |
7866 | wxPoint temp4 ; | |
7867 | wxSize temp5 ; | |
423f194a | 7868 | bool temp7 = False ; |
d14a1e28 RD |
7869 | PyObject * obj0 = 0 ; |
7870 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7871 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7872 | PyObject * obj3 = 0 ; |
7873 | PyObject * obj4 = 0 ; | |
8edf1c75 | 7874 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7875 | PyObject * obj6 = 0 ; |
7876 | char *kwnames[] = { | |
7877 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7878 | }; | |
7879 | ||
8edf1c75 | 7880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
7881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
7882 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
7883 | { |
7884 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
7885 | if (PyErr_Occurred()) SWIG_fail; | |
7886 | } | |
d14a1e28 RD |
7887 | if (obj3) { |
7888 | { | |
7889 | arg4 = &temp4; | |
7890 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7891 | } | |
7892 | } | |
7893 | if (obj4) { | |
7894 | { | |
7895 | arg5 = &temp5; | |
7896 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7897 | } | |
7898 | } | |
8edf1c75 RD |
7899 | if (obj5) { |
7900 | { | |
7901 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
7902 | if (PyErr_Occurred()) SWIG_fail; | |
7903 | } | |
7904 | } | |
d14a1e28 RD |
7905 | if (obj6) { |
7906 | { | |
7907 | arg7 = wxString_in_helper(obj6); | |
7908 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 7909 | temp7 = True; |
d14a1e28 RD |
7910 | } |
7911 | } | |
7912 | { | |
7913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7914 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7915 | ||
7916 | wxPyEndAllowThreads(__tstate); | |
7917 | if (PyErr_Occurred()) SWIG_fail; | |
7918 | } | |
4e760a36 | 7919 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
7920 | { |
7921 | if (temp7) | |
7922 | delete arg7; | |
7923 | } | |
7924 | return resultobj; | |
7925 | fail: | |
7926 | { | |
7927 | if (temp7) | |
7928 | delete arg7; | |
7929 | } | |
7930 | return NULL; | |
7931 | } | |
7932 | ||
7933 | ||
7934 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7935 | PyObject *resultobj; | |
7936 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7937 | int result; | |
7938 | PyObject * obj0 = 0 ; | |
7939 | char *kwnames[] = { | |
7940 | (char *) "self", NULL | |
7941 | }; | |
7942 | ||
7943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
7944 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7945 | { | |
7946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7947 | result = (int)(arg1)->GetAlignment(); | |
7948 | ||
7949 | wxPyEndAllowThreads(__tstate); | |
7950 | if (PyErr_Occurred()) SWIG_fail; | |
7951 | } | |
8edf1c75 | 7952 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7953 | return resultobj; |
7954 | fail: | |
7955 | return NULL; | |
7956 | } | |
7957 | ||
7958 | ||
7959 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7960 | PyObject *resultobj; | |
7961 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7962 | int result; | |
7963 | PyObject * obj0 = 0 ; | |
7964 | char *kwnames[] = { | |
7965 | (char *) "self", NULL | |
7966 | }; | |
7967 | ||
7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
7969 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7970 | { | |
7971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7972 | result = (int)(arg1)->GetOrientation(); | |
7973 | ||
7974 | wxPyEndAllowThreads(__tstate); | |
7975 | if (PyErr_Occurred()) SWIG_fail; | |
7976 | } | |
8edf1c75 | 7977 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
7978 | return resultobj; |
7979 | fail: | |
7980 | return NULL; | |
7981 | } | |
7982 | ||
7983 | ||
7984 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7985 | PyObject *resultobj; | |
7986 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7987 | int arg2 ; | |
7988 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7989 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7990 | char *kwnames[] = { |
7991 | (char *) "self",(char *) "alignment", NULL | |
7992 | }; | |
7993 | ||
8edf1c75 | 7994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 7995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
7996 | { |
7997 | arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1); | |
7998 | if (PyErr_Occurred()) SWIG_fail; | |
7999 | } | |
d14a1e28 RD |
8000 | { |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8003 | ||
8004 | wxPyEndAllowThreads(__tstate); | |
8005 | if (PyErr_Occurred()) SWIG_fail; | |
8006 | } | |
8007 | Py_INCREF(Py_None); resultobj = Py_None; | |
8008 | return resultobj; | |
8009 | fail: | |
8010 | return NULL; | |
8011 | } | |
8012 | ||
8013 | ||
8014 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8015 | PyObject *resultobj; | |
8016 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8017 | wxSize *arg2 = 0 ; | |
8018 | wxSize temp2 ; | |
8019 | PyObject * obj0 = 0 ; | |
8020 | PyObject * obj1 = 0 ; | |
8021 | char *kwnames[] = { | |
8022 | (char *) "self",(char *) "size", NULL | |
8023 | }; | |
8024 | ||
8025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
8026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8027 | { | |
8028 | arg2 = &temp2; | |
8029 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8030 | } | |
8031 | { | |
8032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8033 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8034 | ||
8035 | wxPyEndAllowThreads(__tstate); | |
8036 | if (PyErr_Occurred()) SWIG_fail; | |
8037 | } | |
8038 | Py_INCREF(Py_None); resultobj = Py_None; | |
8039 | return resultobj; | |
8040 | fail: | |
8041 | return NULL; | |
8042 | } | |
8043 | ||
8044 | ||
8045 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8046 | PyObject *resultobj; | |
8047 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8048 | int arg2 ; | |
8049 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8050 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8051 | char *kwnames[] = { |
8052 | (char *) "self",(char *) "orientation", NULL | |
8053 | }; | |
8054 | ||
8edf1c75 | 8055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8056 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8057 | { |
8058 | arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1); | |
8059 | if (PyErr_Occurred()) SWIG_fail; | |
8060 | } | |
d14a1e28 RD |
8061 | { |
8062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8063 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8064 | ||
8065 | wxPyEndAllowThreads(__tstate); | |
8066 | if (PyErr_Occurred()) SWIG_fail; | |
8067 | } | |
8068 | Py_INCREF(Py_None); resultobj = Py_None; | |
8069 | return resultobj; | |
8070 | fail: | |
8071 | return NULL; | |
8072 | } | |
8073 | ||
8074 | ||
8075 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8076 | PyObject *obj; | |
8077 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8078 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8079 | Py_INCREF(obj); | |
8080 | return Py_BuildValue((char *)""); | |
8081 | } | |
8082 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8083 | PyObject *resultobj; | |
8084 | wxLayoutAlgorithm *result; | |
8085 | char *kwnames[] = { | |
8086 | NULL | |
8087 | }; | |
8088 | ||
8089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8090 | { | |
8091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8092 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8093 | ||
8094 | wxPyEndAllowThreads(__tstate); | |
8095 | if (PyErr_Occurred()) SWIG_fail; | |
8096 | } | |
8097 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
8098 | return resultobj; | |
8099 | fail: | |
8100 | return NULL; | |
8101 | } | |
8102 | ||
8103 | ||
8104 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8105 | PyObject *resultobj; | |
8106 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8107 | PyObject * obj0 = 0 ; | |
8108 | char *kwnames[] = { | |
8109 | (char *) "self", NULL | |
8110 | }; | |
8111 | ||
8112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
8113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8114 | { | |
8115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8116 | delete arg1; | |
8117 | ||
8118 | wxPyEndAllowThreads(__tstate); | |
8119 | if (PyErr_Occurred()) SWIG_fail; | |
8120 | } | |
8121 | Py_INCREF(Py_None); resultobj = Py_None; | |
8122 | return resultobj; | |
8123 | fail: | |
8124 | return NULL; | |
8125 | } | |
8126 | ||
8127 | ||
8128 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8129 | PyObject *resultobj; | |
8130 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8131 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8132 | wxRect *arg3 = (wxRect *) NULL ; | |
8133 | bool result; | |
8134 | PyObject * obj0 = 0 ; | |
8135 | PyObject * obj1 = 0 ; | |
8136 | PyObject * obj2 = 0 ; | |
8137 | char *kwnames[] = { | |
8138 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8139 | }; | |
8140 | ||
8141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8142 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8143 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8144 | if (obj2) { | |
8145 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8146 | } | |
8147 | { | |
8148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8149 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8150 | ||
8151 | wxPyEndAllowThreads(__tstate); | |
8152 | if (PyErr_Occurred()) SWIG_fail; | |
8153 | } | |
4e760a36 | 8154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8155 | return resultobj; |
8156 | fail: | |
8157 | return NULL; | |
8158 | } | |
8159 | ||
8160 | ||
8161 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8162 | PyObject *resultobj; | |
8163 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8164 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8165 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8166 | bool result; | |
8167 | PyObject * obj0 = 0 ; | |
8168 | PyObject * obj1 = 0 ; | |
8169 | PyObject * obj2 = 0 ; | |
8170 | char *kwnames[] = { | |
8171 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8172 | }; | |
8173 | ||
8174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8175 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8176 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8177 | if (obj2) { | |
8178 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8179 | } | |
8180 | { | |
8181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8182 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8183 | ||
8184 | wxPyEndAllowThreads(__tstate); | |
8185 | if (PyErr_Occurred()) SWIG_fail; | |
8186 | } | |
4e760a36 | 8187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8188 | return resultobj; |
8189 | fail: | |
8190 | return NULL; | |
8191 | } | |
8192 | ||
8193 | ||
8194 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8195 | PyObject *resultobj; | |
8196 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8197 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8198 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8199 | bool result; | |
8200 | PyObject * obj0 = 0 ; | |
8201 | PyObject * obj1 = 0 ; | |
8202 | PyObject * obj2 = 0 ; | |
8203 | char *kwnames[] = { | |
8204 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8205 | }; | |
8206 | ||
8207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8208 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8209 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8210 | if (obj2) { | |
8211 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8212 | } | |
8213 | { | |
8214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8215 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8216 | ||
8217 | wxPyEndAllowThreads(__tstate); | |
8218 | if (PyErr_Occurred()) SWIG_fail; | |
8219 | } | |
4e760a36 | 8220 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8221 | return resultobj; |
8222 | fail: | |
8223 | return NULL; | |
8224 | } | |
8225 | ||
8226 | ||
8227 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8228 | PyObject *obj; | |
8229 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8230 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8231 | Py_INCREF(obj); | |
8232 | return Py_BuildValue((char *)""); | |
8233 | } | |
8234 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8235 | PyObject *resultobj; | |
8236 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8237 | int arg2 = (int) wxBORDER_NONE ; | |
8238 | wxPopupWindow *result; | |
8239 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8240 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8241 | char *kwnames[] = { |
8242 | (char *) "parent",(char *) "flags", NULL | |
8243 | }; | |
8244 | ||
8edf1c75 | 8245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8246 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8247 | if (obj1) { |
8248 | { | |
8249 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8250 | if (PyErr_Occurred()) SWIG_fail; | |
8251 | } | |
8252 | } | |
d14a1e28 RD |
8253 | { |
8254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8255 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8256 | ||
8257 | wxPyEndAllowThreads(__tstate); | |
8258 | if (PyErr_Occurred()) SWIG_fail; | |
8259 | } | |
8260 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
8261 | return resultobj; | |
8262 | fail: | |
8263 | return NULL; | |
8264 | } | |
8265 | ||
8266 | ||
8267 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8268 | PyObject *resultobj; | |
8269 | wxPopupWindow *result; | |
8270 | char *kwnames[] = { | |
8271 | NULL | |
8272 | }; | |
8273 | ||
8274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8275 | { | |
8276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8277 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8278 | ||
8279 | wxPyEndAllowThreads(__tstate); | |
8280 | if (PyErr_Occurred()) SWIG_fail; | |
8281 | } | |
8282 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
8283 | return resultobj; | |
8284 | fail: | |
8285 | return NULL; | |
8286 | } | |
8287 | ||
8288 | ||
8289 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8290 | PyObject *resultobj; | |
8291 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8292 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8293 | int arg3 = (int) wxBORDER_NONE ; | |
8294 | bool result; | |
8295 | PyObject * obj0 = 0 ; | |
8296 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8297 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8298 | char *kwnames[] = { |
8299 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8300 | }; | |
8301 | ||
8edf1c75 | 8302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
8303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8304 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
8305 | if (obj2) { |
8306 | { | |
8307 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8308 | if (PyErr_Occurred()) SWIG_fail; | |
8309 | } | |
8310 | } | |
d14a1e28 RD |
8311 | { |
8312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8313 | result = (bool)(arg1)->Create(arg2,arg3); | |
8314 | ||
8315 | wxPyEndAllowThreads(__tstate); | |
8316 | if (PyErr_Occurred()) SWIG_fail; | |
8317 | } | |
4e760a36 | 8318 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8319 | return resultobj; |
8320 | fail: | |
8321 | return NULL; | |
8322 | } | |
8323 | ||
8324 | ||
8325 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8326 | PyObject *resultobj; | |
8327 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8328 | wxPoint *arg2 = 0 ; | |
8329 | wxSize *arg3 = 0 ; | |
8330 | wxPoint temp2 ; | |
8331 | wxSize temp3 ; | |
8332 | PyObject * obj0 = 0 ; | |
8333 | PyObject * obj1 = 0 ; | |
8334 | PyObject * obj2 = 0 ; | |
8335 | char *kwnames[] = { | |
8336 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8337 | }; | |
8338 | ||
8339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8340 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8341 | { | |
8342 | arg2 = &temp2; | |
8343 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8344 | } | |
8345 | { | |
8346 | arg3 = &temp3; | |
8347 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8348 | } | |
8349 | { | |
8350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8351 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8352 | ||
8353 | wxPyEndAllowThreads(__tstate); | |
8354 | if (PyErr_Occurred()) SWIG_fail; | |
8355 | } | |
8356 | Py_INCREF(Py_None); resultobj = Py_None; | |
8357 | return resultobj; | |
8358 | fail: | |
8359 | return NULL; | |
8360 | } | |
8361 | ||
8362 | ||
8363 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8364 | PyObject *obj; | |
8365 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8366 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8367 | Py_INCREF(obj); | |
8368 | return Py_BuildValue((char *)""); | |
8369 | } | |
8370 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8371 | PyObject *resultobj; | |
8372 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8373 | int arg2 = (int) wxBORDER_NONE ; | |
8374 | wxPyPopupTransientWindow *result; | |
8375 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8376 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8377 | char *kwnames[] = { |
8378 | (char *) "parent",(char *) "style", NULL | |
8379 | }; | |
8380 | ||
8edf1c75 | 8381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8382 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8383 | if (obj1) { |
8384 | { | |
8385 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8386 | if (PyErr_Occurred()) SWIG_fail; | |
8387 | } | |
8388 | } | |
d14a1e28 RD |
8389 | { |
8390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8391 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8392 | ||
8393 | wxPyEndAllowThreads(__tstate); | |
8394 | if (PyErr_Occurred()) SWIG_fail; | |
8395 | } | |
8396 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8397 | return resultobj; | |
8398 | fail: | |
8399 | return NULL; | |
8400 | } | |
8401 | ||
8402 | ||
8403 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8404 | PyObject *resultobj; | |
8405 | wxPyPopupTransientWindow *result; | |
8406 | char *kwnames[] = { | |
8407 | NULL | |
8408 | }; | |
8409 | ||
8410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8411 | { | |
8412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8413 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8414 | ||
8415 | wxPyEndAllowThreads(__tstate); | |
8416 | if (PyErr_Occurred()) SWIG_fail; | |
8417 | } | |
8418 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
8419 | return resultobj; | |
8420 | fail: | |
8421 | return NULL; | |
8422 | } | |
8423 | ||
8424 | ||
8425 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8426 | PyObject *resultobj; | |
8427 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8428 | PyObject *arg2 = (PyObject *) 0 ; | |
8429 | PyObject *arg3 = (PyObject *) 0 ; | |
8430 | PyObject * obj0 = 0 ; | |
8431 | PyObject * obj1 = 0 ; | |
8432 | PyObject * obj2 = 0 ; | |
8433 | char *kwnames[] = { | |
8434 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8435 | }; | |
8436 | ||
8437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8438 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8439 | arg2 = obj1; | |
8440 | arg3 = obj2; | |
8441 | { | |
8442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8443 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8444 | ||
8445 | wxPyEndAllowThreads(__tstate); | |
8446 | if (PyErr_Occurred()) SWIG_fail; | |
8447 | } | |
8448 | Py_INCREF(Py_None); resultobj = Py_None; | |
8449 | return resultobj; | |
8450 | fail: | |
8451 | return NULL; | |
8452 | } | |
8453 | ||
8454 | ||
8455 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8456 | PyObject *resultobj; | |
8457 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8458 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8459 | PyObject * obj0 = 0 ; | |
8460 | PyObject * obj1 = 0 ; | |
8461 | char *kwnames[] = { | |
8462 | (char *) "self",(char *) "focus", NULL | |
8463 | }; | |
8464 | ||
8465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
8466 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8467 | if (obj1) { | |
8468 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8469 | } | |
8470 | { | |
8471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8472 | (arg1)->Popup(arg2); | |
8473 | ||
8474 | wxPyEndAllowThreads(__tstate); | |
8475 | if (PyErr_Occurred()) SWIG_fail; | |
8476 | } | |
8477 | Py_INCREF(Py_None); resultobj = Py_None; | |
8478 | return resultobj; | |
8479 | fail: | |
8480 | return NULL; | |
8481 | } | |
8482 | ||
8483 | ||
8484 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8485 | PyObject *resultobj; | |
8486 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8487 | PyObject * obj0 = 0 ; | |
8488 | char *kwnames[] = { | |
8489 | (char *) "self", NULL | |
8490 | }; | |
8491 | ||
8492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
8493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8494 | { | |
8495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8496 | (arg1)->Dismiss(); | |
8497 | ||
8498 | wxPyEndAllowThreads(__tstate); | |
8499 | if (PyErr_Occurred()) SWIG_fail; | |
8500 | } | |
8501 | Py_INCREF(Py_None); resultobj = Py_None; | |
8502 | return resultobj; | |
8503 | fail: | |
8504 | return NULL; | |
8505 | } | |
8506 | ||
8507 | ||
8508 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8509 | PyObject *obj; | |
8510 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8511 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8512 | Py_INCREF(obj); | |
8513 | return Py_BuildValue((char *)""); | |
8514 | } | |
8515 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8516 | PyObject *resultobj; | |
8517 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8a0b029b | 8518 | wxString *arg2 = 0 ; |
423f194a | 8519 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8520 | wxRect *arg4 = (wxRect *) NULL ; |
8521 | wxTipWindow *result; | |
8a0b029b | 8522 | bool temp2 = False ; |
d14a1e28 RD |
8523 | PyObject * obj0 = 0 ; |
8524 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8525 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8526 | PyObject * obj3 = 0 ; |
8527 | char *kwnames[] = { | |
8528 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8529 | }; | |
8530 | ||
8edf1c75 | 8531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 | 8532 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8a0b029b RD |
8533 | { |
8534 | arg2 = wxString_in_helper(obj1); | |
8535 | if (arg2 == NULL) SWIG_fail; | |
8536 | temp2 = True; | |
8537 | } | |
8edf1c75 RD |
8538 | if (obj2) { |
8539 | { | |
8540 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8541 | if (PyErr_Occurred()) SWIG_fail; | |
8542 | } | |
8543 | } | |
d14a1e28 RD |
8544 | if (obj3) { |
8545 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8546 | } | |
8547 | { | |
8548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8a0b029b | 8549 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8550 | |
8551 | wxPyEndAllowThreads(__tstate); | |
8552 | if (PyErr_Occurred()) SWIG_fail; | |
8553 | } | |
8554 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1); | |
8a0b029b RD |
8555 | { |
8556 | if (temp2) | |
8557 | delete arg2; | |
8558 | } | |
d14a1e28 RD |
8559 | return resultobj; |
8560 | fail: | |
8a0b029b RD |
8561 | { |
8562 | if (temp2) | |
8563 | delete arg2; | |
8564 | } | |
d14a1e28 RD |
8565 | return NULL; |
8566 | } | |
8567 | ||
8568 | ||
8569 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8570 | PyObject *resultobj; | |
8571 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8572 | wxRect *arg2 = 0 ; | |
8573 | wxRect temp2 ; | |
8574 | PyObject * obj0 = 0 ; | |
8575 | PyObject * obj1 = 0 ; | |
8576 | char *kwnames[] = { | |
8577 | (char *) "self",(char *) "rectBound", NULL | |
8578 | }; | |
8579 | ||
8580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
8581 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8582 | { | |
8583 | arg2 = &temp2; | |
8584 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8585 | } | |
8586 | { | |
8587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8588 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8589 | ||
8590 | wxPyEndAllowThreads(__tstate); | |
8591 | if (PyErr_Occurred()) SWIG_fail; | |
8592 | } | |
8593 | Py_INCREF(Py_None); resultobj = Py_None; | |
8594 | return resultobj; | |
8595 | fail: | |
8596 | return NULL; | |
8597 | } | |
8598 | ||
8599 | ||
8600 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8601 | PyObject *resultobj; | |
8602 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8603 | PyObject * obj0 = 0 ; | |
8604 | char *kwnames[] = { | |
8605 | (char *) "self", NULL | |
8606 | }; | |
8607 | ||
8608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
8609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8610 | { | |
8611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8612 | (arg1)->Close(); | |
8613 | ||
8614 | wxPyEndAllowThreads(__tstate); | |
8615 | if (PyErr_Occurred()) SWIG_fail; | |
8616 | } | |
8617 | Py_INCREF(Py_None); resultobj = Py_None; | |
8618 | return resultobj; | |
8619 | fail: | |
8620 | return NULL; | |
8621 | } | |
8622 | ||
8623 | ||
8624 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8625 | PyObject *obj; | |
8626 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8627 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8628 | Py_INCREF(obj); | |
8629 | return Py_BuildValue((char *)""); | |
8630 | } | |
8631 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8632 | PyObject *resultobj; | |
8633 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 8634 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8635 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8636 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8637 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8638 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8639 | long arg5 = (long) 0 ; | |
8640 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8641 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8642 | wxPyVScrolledWindow *result; | |
8643 | wxPoint temp3 ; | |
8644 | wxSize temp4 ; | |
423f194a | 8645 | bool temp6 = False ; |
d14a1e28 | 8646 | PyObject * obj0 = 0 ; |
8edf1c75 | 8647 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8648 | PyObject * obj2 = 0 ; |
8649 | PyObject * obj3 = 0 ; | |
8edf1c75 | 8650 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8651 | PyObject * obj5 = 0 ; |
8652 | char *kwnames[] = { | |
8653 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8654 | }; | |
8655 | ||
8edf1c75 | 8656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 8657 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8658 | if (obj1) { |
8659 | { | |
8660 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8661 | if (PyErr_Occurred()) SWIG_fail; | |
8662 | } | |
8663 | } | |
d14a1e28 RD |
8664 | if (obj2) { |
8665 | { | |
8666 | arg3 = &temp3; | |
8667 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8668 | } | |
8669 | } | |
8670 | if (obj3) { | |
8671 | { | |
8672 | arg4 = &temp4; | |
8673 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8674 | } | |
8675 | } | |
8edf1c75 RD |
8676 | if (obj4) { |
8677 | { | |
8678 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
8679 | if (PyErr_Occurred()) SWIG_fail; | |
8680 | } | |
8681 | } | |
d14a1e28 RD |
8682 | if (obj5) { |
8683 | { | |
8684 | arg6 = wxString_in_helper(obj5); | |
8685 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 8686 | temp6 = True; |
d14a1e28 RD |
8687 | } |
8688 | } | |
8689 | { | |
8690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8691 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8692 | ||
8693 | wxPyEndAllowThreads(__tstate); | |
8694 | if (PyErr_Occurred()) SWIG_fail; | |
8695 | } | |
8696 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8697 | { | |
8698 | if (temp6) | |
8699 | delete arg6; | |
8700 | } | |
8701 | return resultobj; | |
8702 | fail: | |
8703 | { | |
8704 | if (temp6) | |
8705 | delete arg6; | |
8706 | } | |
8707 | return NULL; | |
8708 | } | |
8709 | ||
8710 | ||
8711 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8712 | PyObject *resultobj; | |
8713 | wxPyVScrolledWindow *result; | |
8714 | char *kwnames[] = { | |
8715 | NULL | |
8716 | }; | |
8717 | ||
8718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8719 | { | |
8720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8721 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8722 | ||
8723 | wxPyEndAllowThreads(__tstate); | |
8724 | if (PyErr_Occurred()) SWIG_fail; | |
8725 | } | |
8726 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8727 | return resultobj; | |
8728 | fail: | |
8729 | return NULL; | |
8730 | } | |
8731 | ||
8732 | ||
8733 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8734 | PyObject *resultobj; | |
8735 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8736 | PyObject *arg2 = (PyObject *) 0 ; | |
8737 | PyObject *arg3 = (PyObject *) 0 ; | |
8738 | PyObject * obj0 = 0 ; | |
8739 | PyObject * obj1 = 0 ; | |
8740 | PyObject * obj2 = 0 ; | |
8741 | char *kwnames[] = { | |
8742 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8743 | }; | |
8744 | ||
8745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8746 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8747 | arg2 = obj1; | |
8748 | arg3 = obj2; | |
8749 | { | |
8750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8751 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8752 | ||
8753 | wxPyEndAllowThreads(__tstate); | |
8754 | if (PyErr_Occurred()) SWIG_fail; | |
8755 | } | |
8756 | Py_INCREF(Py_None); resultobj = Py_None; | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | return NULL; | |
8760 | } | |
8761 | ||
8762 | ||
8763 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8764 | PyObject *resultobj; | |
8765 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8766 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 8767 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8768 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8769 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8770 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8771 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8772 | long arg6 = (long) 0 ; | |
8773 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8774 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8775 | bool result; | |
8776 | wxPoint temp4 ; | |
8777 | wxSize temp5 ; | |
423f194a | 8778 | bool temp7 = False ; |
d14a1e28 RD |
8779 | PyObject * obj0 = 0 ; |
8780 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8781 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8782 | PyObject * obj3 = 0 ; |
8783 | PyObject * obj4 = 0 ; | |
8edf1c75 | 8784 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8785 | PyObject * obj6 = 0 ; |
8786 | char *kwnames[] = { | |
8787 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8788 | }; | |
8789 | ||
8edf1c75 | 8790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
8791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8792 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
8793 | if (obj2) { |
8794 | { | |
8795 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
8796 | if (PyErr_Occurred()) SWIG_fail; | |
8797 | } | |
8798 | } | |
d14a1e28 RD |
8799 | if (obj3) { |
8800 | { | |
8801 | arg4 = &temp4; | |
8802 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8803 | } | |
8804 | } | |
8805 | if (obj4) { | |
8806 | { | |
8807 | arg5 = &temp5; | |
8808 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8809 | } | |
8810 | } | |
8edf1c75 RD |
8811 | if (obj5) { |
8812 | { | |
8813 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
8814 | if (PyErr_Occurred()) SWIG_fail; | |
8815 | } | |
8816 | } | |
d14a1e28 RD |
8817 | if (obj6) { |
8818 | { | |
8819 | arg7 = wxString_in_helper(obj6); | |
8820 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 8821 | temp7 = True; |
d14a1e28 RD |
8822 | } |
8823 | } | |
8824 | { | |
8825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8826 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8827 | ||
8828 | wxPyEndAllowThreads(__tstate); | |
8829 | if (PyErr_Occurred()) SWIG_fail; | |
8830 | } | |
4e760a36 | 8831 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8832 | { |
8833 | if (temp7) | |
8834 | delete arg7; | |
8835 | } | |
8836 | return resultobj; | |
8837 | fail: | |
8838 | { | |
8839 | if (temp7) | |
8840 | delete arg7; | |
8841 | } | |
8842 | return NULL; | |
8843 | } | |
8844 | ||
8845 | ||
8846 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8847 | PyObject *resultobj; | |
8848 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8849 | size_t arg2 ; | |
8850 | PyObject * obj0 = 0 ; | |
8851 | PyObject * obj1 = 0 ; | |
8852 | char *kwnames[] = { | |
8853 | (char *) "self",(char *) "count", NULL | |
8854 | }; | |
8855 | ||
8856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
8857 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 8858 | { |
8edf1c75 | 8859 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
8860 | if (PyErr_Occurred()) SWIG_fail; |
8861 | } | |
d14a1e28 RD |
8862 | { |
8863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8864 | (arg1)->SetLineCount(arg2); | |
8865 | ||
8866 | wxPyEndAllowThreads(__tstate); | |
8867 | if (PyErr_Occurred()) SWIG_fail; | |
8868 | } | |
8869 | Py_INCREF(Py_None); resultobj = Py_None; | |
8870 | return resultobj; | |
8871 | fail: | |
8872 | return NULL; | |
8873 | } | |
8874 | ||
8875 | ||
8876 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8877 | PyObject *resultobj; | |
8878 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8879 | size_t arg2 ; | |
8880 | bool result; | |
8881 | PyObject * obj0 = 0 ; | |
8882 | PyObject * obj1 = 0 ; | |
8883 | char *kwnames[] = { | |
8884 | (char *) "self",(char *) "line", NULL | |
8885 | }; | |
8886 | ||
8887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
8888 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 8889 | { |
8edf1c75 | 8890 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
8891 | if (PyErr_Occurred()) SWIG_fail; |
8892 | } | |
d14a1e28 RD |
8893 | { |
8894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8895 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8896 | ||
8897 | wxPyEndAllowThreads(__tstate); | |
8898 | if (PyErr_Occurred()) SWIG_fail; | |
8899 | } | |
4e760a36 | 8900 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8901 | return resultobj; |
8902 | fail: | |
8903 | return NULL; | |
8904 | } | |
8905 | ||
8906 | ||
8907 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8908 | PyObject *resultobj; | |
8909 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8910 | int arg2 ; | |
8911 | bool result; | |
8912 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8913 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8914 | char *kwnames[] = { |
8915 | (char *) "self",(char *) "lines", NULL | |
8916 | }; | |
8917 | ||
8edf1c75 | 8918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8920 | { |
8921 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8922 | if (PyErr_Occurred()) SWIG_fail; | |
8923 | } | |
d14a1e28 RD |
8924 | { |
8925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8926 | result = (bool)(arg1)->ScrollLines(arg2); | |
8927 | ||
8928 | wxPyEndAllowThreads(__tstate); | |
8929 | if (PyErr_Occurred()) SWIG_fail; | |
8930 | } | |
4e760a36 | 8931 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8932 | return resultobj; |
8933 | fail: | |
8934 | return NULL; | |
8935 | } | |
8936 | ||
8937 | ||
8938 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8939 | PyObject *resultobj; | |
8940 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8941 | int arg2 ; | |
8942 | bool result; | |
8943 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8944 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8945 | char *kwnames[] = { |
8946 | (char *) "self",(char *) "pages", NULL | |
8947 | }; | |
8948 | ||
8edf1c75 | 8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 8950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
8951 | { |
8952 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
8953 | if (PyErr_Occurred()) SWIG_fail; | |
8954 | } | |
d14a1e28 RD |
8955 | { |
8956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8957 | result = (bool)(arg1)->ScrollPages(arg2); | |
8958 | ||
8959 | wxPyEndAllowThreads(__tstate); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
8961 | } | |
4e760a36 | 8962 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8963 | return resultobj; |
8964 | fail: | |
8965 | return NULL; | |
8966 | } | |
8967 | ||
8968 | ||
8969 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8970 | PyObject *resultobj; | |
8971 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8972 | size_t arg2 ; | |
8973 | PyObject * obj0 = 0 ; | |
8974 | PyObject * obj1 = 0 ; | |
8975 | char *kwnames[] = { | |
8976 | (char *) "self",(char *) "line", NULL | |
8977 | }; | |
8978 | ||
8979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
8980 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 8981 | { |
8edf1c75 | 8982 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
8983 | if (PyErr_Occurred()) SWIG_fail; |
8984 | } | |
d14a1e28 RD |
8985 | { |
8986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8987 | (arg1)->RefreshLine(arg2); | |
8988 | ||
8989 | wxPyEndAllowThreads(__tstate); | |
8990 | if (PyErr_Occurred()) SWIG_fail; | |
8991 | } | |
8992 | Py_INCREF(Py_None); resultobj = Py_None; | |
8993 | return resultobj; | |
8994 | fail: | |
8995 | return NULL; | |
8996 | } | |
8997 | ||
8998 | ||
8999 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9000 | PyObject *resultobj; | |
9001 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9002 | size_t arg2 ; | |
9003 | size_t arg3 ; | |
9004 | PyObject * obj0 = 0 ; | |
9005 | PyObject * obj1 = 0 ; | |
9006 | PyObject * obj2 = 0 ; | |
9007 | char *kwnames[] = { | |
9008 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9009 | }; | |
9010 | ||
9011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9012 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9013 | { |
8edf1c75 | 9014 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9015 | if (PyErr_Occurred()) SWIG_fail; |
9016 | } | |
9017 | { | |
8edf1c75 | 9018 | arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2); |
83448d71 RD |
9019 | if (PyErr_Occurred()) SWIG_fail; |
9020 | } | |
d14a1e28 RD |
9021 | { |
9022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9023 | (arg1)->RefreshLines(arg2,arg3); | |
9024 | ||
9025 | wxPyEndAllowThreads(__tstate); | |
9026 | if (PyErr_Occurred()) SWIG_fail; | |
9027 | } | |
9028 | Py_INCREF(Py_None); resultobj = Py_None; | |
9029 | return resultobj; | |
9030 | fail: | |
9031 | return NULL; | |
9032 | } | |
9033 | ||
9034 | ||
9035 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9036 | PyObject *resultobj; | |
9037 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
423f194a RD |
9038 | int arg2 ; |
9039 | int arg3 ; | |
d14a1e28 RD |
9040 | int result; |
9041 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
9042 | PyObject * obj1 = 0 ; |
9043 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9044 | char *kwnames[] = { |
9045 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9046 | }; | |
9047 | ||
8edf1c75 | 9048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 9049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
9050 | { |
9051 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9052 | if (PyErr_Occurred()) SWIG_fail; | |
9053 | } | |
9054 | { | |
9055 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
9056 | if (PyErr_Occurred()) SWIG_fail; | |
9057 | } | |
d14a1e28 RD |
9058 | { |
9059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9060 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9061 | ||
9062 | wxPyEndAllowThreads(__tstate); | |
9063 | if (PyErr_Occurred()) SWIG_fail; | |
9064 | } | |
8edf1c75 | 9065 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9066 | return resultobj; |
9067 | fail: | |
9068 | return NULL; | |
9069 | } | |
9070 | ||
9071 | ||
9072 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9073 | PyObject *resultobj; | |
9074 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9075 | wxPoint *arg2 = 0 ; | |
9076 | int result; | |
9077 | wxPoint temp2 ; | |
9078 | PyObject * obj0 = 0 ; | |
9079 | PyObject * obj1 = 0 ; | |
9080 | char *kwnames[] = { | |
9081 | (char *) "self",(char *) "pt", NULL | |
9082 | }; | |
9083 | ||
9084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
9085 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9086 | { | |
9087 | arg2 = &temp2; | |
9088 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9089 | } | |
9090 | { | |
9091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9092 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9093 | ||
9094 | wxPyEndAllowThreads(__tstate); | |
9095 | if (PyErr_Occurred()) SWIG_fail; | |
9096 | } | |
8edf1c75 | 9097 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9098 | return resultobj; |
9099 | fail: | |
9100 | return NULL; | |
9101 | } | |
9102 | ||
9103 | ||
9104 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9105 | PyObject *resultobj; | |
9106 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9107 | PyObject * obj0 = 0 ; | |
9108 | char *kwnames[] = { | |
9109 | (char *) "self", NULL | |
9110 | }; | |
9111 | ||
9112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
9113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9114 | { | |
9115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9116 | (arg1)->RefreshAll(); | |
9117 | ||
9118 | wxPyEndAllowThreads(__tstate); | |
9119 | if (PyErr_Occurred()) SWIG_fail; | |
9120 | } | |
9121 | Py_INCREF(Py_None); resultobj = Py_None; | |
9122 | return resultobj; | |
9123 | fail: | |
9124 | return NULL; | |
9125 | } | |
9126 | ||
9127 | ||
9128 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9129 | PyObject *resultobj; | |
9130 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9131 | size_t result; | |
9132 | PyObject * obj0 = 0 ; | |
9133 | char *kwnames[] = { | |
9134 | (char *) "self", NULL | |
9135 | }; | |
9136 | ||
9137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
9138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9139 | { | |
9140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9141 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9142 | ||
9143 | wxPyEndAllowThreads(__tstate); | |
9144 | if (PyErr_Occurred()) SWIG_fail; | |
9145 | } | |
8edf1c75 | 9146 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9147 | return resultobj; |
9148 | fail: | |
9149 | return NULL; | |
9150 | } | |
9151 | ||
9152 | ||
9153 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9154 | PyObject *resultobj; | |
9155 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9156 | size_t result; | |
9157 | PyObject * obj0 = 0 ; | |
9158 | char *kwnames[] = { | |
9159 | (char *) "self", NULL | |
9160 | }; | |
9161 | ||
9162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
9163 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9164 | { | |
9165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9166 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9167 | ||
9168 | wxPyEndAllowThreads(__tstate); | |
9169 | if (PyErr_Occurred()) SWIG_fail; | |
9170 | } | |
8edf1c75 | 9171 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9172 | return resultobj; |
9173 | fail: | |
9174 | return NULL; | |
9175 | } | |
9176 | ||
9177 | ||
9178 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9179 | PyObject *resultobj; | |
9180 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9181 | size_t result; | |
9182 | PyObject * obj0 = 0 ; | |
9183 | char *kwnames[] = { | |
9184 | (char *) "self", NULL | |
9185 | }; | |
9186 | ||
9187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
9188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9189 | { | |
9190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9191 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9192 | ||
9193 | wxPyEndAllowThreads(__tstate); | |
9194 | if (PyErr_Occurred()) SWIG_fail; | |
9195 | } | |
8edf1c75 | 9196 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9197 | return resultobj; |
9198 | fail: | |
9199 | return NULL; | |
9200 | } | |
9201 | ||
9202 | ||
9203 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9204 | PyObject *resultobj; | |
9205 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9206 | size_t arg2 ; | |
9207 | bool result; | |
9208 | PyObject * obj0 = 0 ; | |
9209 | PyObject * obj1 = 0 ; | |
9210 | char *kwnames[] = { | |
9211 | (char *) "self",(char *) "line", NULL | |
9212 | }; | |
9213 | ||
9214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
9215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9216 | { |
8edf1c75 | 9217 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9218 | if (PyErr_Occurred()) SWIG_fail; |
9219 | } | |
d14a1e28 RD |
9220 | { |
9221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9222 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9223 | ||
9224 | wxPyEndAllowThreads(__tstate); | |
9225 | if (PyErr_Occurred()) SWIG_fail; | |
9226 | } | |
4e760a36 | 9227 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9228 | return resultobj; |
9229 | fail: | |
9230 | return NULL; | |
9231 | } | |
9232 | ||
9233 | ||
9234 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9235 | PyObject *obj; | |
9236 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9237 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9238 | Py_INCREF(obj); | |
9239 | return Py_BuildValue((char *)""); | |
9240 | } | |
8edf1c75 | 9241 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d03fd34d RD |
9242 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
9243 | return 1; | |
9244 | } | |
9245 | ||
9246 | ||
9247 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9248 | PyObject *pyobj; | |
9249 | ||
9250 | { | |
9251 | #if wxUSE_UNICODE | |
9252 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9253 | #else | |
9254 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9255 | #endif | |
9256 | } | |
9257 | return pyobj; | |
9258 | } | |
9259 | ||
9260 | ||
d14a1e28 RD |
9261 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9262 | PyObject *resultobj; | |
9263 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 9264 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9265 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9266 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9267 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9268 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9269 | long arg5 = (long) 0 ; | |
9270 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9271 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9272 | wxPyVListBox *result; | |
9273 | wxPoint temp3 ; | |
9274 | wxSize temp4 ; | |
423f194a | 9275 | bool temp6 = False ; |
d14a1e28 | 9276 | PyObject * obj0 = 0 ; |
8edf1c75 | 9277 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9278 | PyObject * obj2 = 0 ; |
9279 | PyObject * obj3 = 0 ; | |
8edf1c75 | 9280 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9281 | PyObject * obj5 = 0 ; |
9282 | char *kwnames[] = { | |
9283 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9284 | }; | |
9285 | ||
8edf1c75 | 9286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 9287 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
9288 | if (obj1) { |
9289 | { | |
9290 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9291 | if (PyErr_Occurred()) SWIG_fail; | |
9292 | } | |
9293 | } | |
d14a1e28 RD |
9294 | if (obj2) { |
9295 | { | |
9296 | arg3 = &temp3; | |
9297 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9298 | } | |
9299 | } | |
9300 | if (obj3) { | |
9301 | { | |
9302 | arg4 = &temp4; | |
9303 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9304 | } | |
9305 | } | |
8edf1c75 RD |
9306 | if (obj4) { |
9307 | { | |
9308 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
9309 | if (PyErr_Occurred()) SWIG_fail; | |
9310 | } | |
9311 | } | |
d14a1e28 RD |
9312 | if (obj5) { |
9313 | { | |
9314 | arg6 = wxString_in_helper(obj5); | |
9315 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 9316 | temp6 = True; |
d14a1e28 RD |
9317 | } |
9318 | } | |
9319 | { | |
9320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9321 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9322 | ||
9323 | wxPyEndAllowThreads(__tstate); | |
9324 | if (PyErr_Occurred()) SWIG_fail; | |
9325 | } | |
9326 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
9327 | { | |
9328 | if (temp6) | |
9329 | delete arg6; | |
9330 | } | |
9331 | return resultobj; | |
9332 | fail: | |
9333 | { | |
9334 | if (temp6) | |
9335 | delete arg6; | |
9336 | } | |
9337 | return NULL; | |
9338 | } | |
9339 | ||
9340 | ||
9341 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9342 | PyObject *resultobj; | |
9343 | wxPyVListBox *result; | |
9344 | char *kwnames[] = { | |
9345 | NULL | |
9346 | }; | |
9347 | ||
9348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9349 | { | |
9350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9351 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9352 | ||
9353 | wxPyEndAllowThreads(__tstate); | |
9354 | if (PyErr_Occurred()) SWIG_fail; | |
9355 | } | |
9356 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
9357 | return resultobj; | |
9358 | fail: | |
9359 | return NULL; | |
9360 | } | |
9361 | ||
9362 | ||
9363 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9364 | PyObject *resultobj; | |
9365 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9366 | PyObject *arg2 = (PyObject *) 0 ; | |
9367 | PyObject *arg3 = (PyObject *) 0 ; | |
9368 | PyObject * obj0 = 0 ; | |
9369 | PyObject * obj1 = 0 ; | |
9370 | PyObject * obj2 = 0 ; | |
9371 | char *kwnames[] = { | |
9372 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9373 | }; | |
9374 | ||
9375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9376 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9377 | arg2 = obj1; | |
9378 | arg3 = obj2; | |
9379 | { | |
9380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9381 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9382 | ||
9383 | wxPyEndAllowThreads(__tstate); | |
9384 | if (PyErr_Occurred()) SWIG_fail; | |
9385 | } | |
9386 | Py_INCREF(Py_None); resultobj = Py_None; | |
9387 | return resultobj; | |
9388 | fail: | |
9389 | return NULL; | |
9390 | } | |
9391 | ||
9392 | ||
9393 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9394 | PyObject *resultobj; | |
9395 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9396 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 9397 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9398 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9399 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9400 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9401 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9402 | long arg6 = (long) 0 ; | |
9403 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9404 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9405 | bool result; | |
9406 | wxPoint temp4 ; | |
9407 | wxSize temp5 ; | |
423f194a | 9408 | bool temp7 = False ; |
d14a1e28 RD |
9409 | PyObject * obj0 = 0 ; |
9410 | PyObject * obj1 = 0 ; | |
8edf1c75 | 9411 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9412 | PyObject * obj3 = 0 ; |
9413 | PyObject * obj4 = 0 ; | |
8edf1c75 | 9414 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9415 | PyObject * obj6 = 0 ; |
9416 | char *kwnames[] = { | |
9417 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9418 | }; | |
9419 | ||
8edf1c75 | 9420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
9421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
9422 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
9423 | if (obj2) { |
9424 | { | |
9425 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
9426 | if (PyErr_Occurred()) SWIG_fail; | |
9427 | } | |
9428 | } | |
d14a1e28 RD |
9429 | if (obj3) { |
9430 | { | |
9431 | arg4 = &temp4; | |
9432 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9433 | } | |
9434 | } | |
9435 | if (obj4) { | |
9436 | { | |
9437 | arg5 = &temp5; | |
9438 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9439 | } | |
9440 | } | |
8edf1c75 RD |
9441 | if (obj5) { |
9442 | { | |
9443 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
9444 | if (PyErr_Occurred()) SWIG_fail; | |
9445 | } | |
9446 | } | |
d14a1e28 RD |
9447 | if (obj6) { |
9448 | { | |
9449 | arg7 = wxString_in_helper(obj6); | |
9450 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 9451 | temp7 = True; |
d14a1e28 RD |
9452 | } |
9453 | } | |
9454 | { | |
9455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9456 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9457 | ||
9458 | wxPyEndAllowThreads(__tstate); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
9460 | } | |
4e760a36 | 9461 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9462 | { |
9463 | if (temp7) | |
9464 | delete arg7; | |
9465 | } | |
9466 | return resultobj; | |
9467 | fail: | |
9468 | { | |
9469 | if (temp7) | |
9470 | delete arg7; | |
9471 | } | |
9472 | return NULL; | |
9473 | } | |
9474 | ||
9475 | ||
9476 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9477 | PyObject *resultobj; | |
9478 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9479 | size_t result; | |
9480 | PyObject * obj0 = 0 ; | |
9481 | char *kwnames[] = { | |
9482 | (char *) "self", NULL | |
9483 | }; | |
9484 | ||
9485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
9486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9487 | { | |
9488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9489 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9490 | ||
9491 | wxPyEndAllowThreads(__tstate); | |
9492 | if (PyErr_Occurred()) SWIG_fail; | |
9493 | } | |
8edf1c75 | 9494 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9495 | return resultobj; |
9496 | fail: | |
9497 | return NULL; | |
9498 | } | |
9499 | ||
9500 | ||
9501 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9502 | PyObject *resultobj; | |
9503 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9504 | bool result; | |
9505 | PyObject * obj0 = 0 ; | |
9506 | char *kwnames[] = { | |
9507 | (char *) "self", NULL | |
9508 | }; | |
9509 | ||
9510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
9511 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9512 | { | |
9513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9514 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9515 | ||
9516 | wxPyEndAllowThreads(__tstate); | |
9517 | if (PyErr_Occurred()) SWIG_fail; | |
9518 | } | |
4e760a36 | 9519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9520 | return resultobj; |
9521 | fail: | |
9522 | return NULL; | |
9523 | } | |
9524 | ||
9525 | ||
9526 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9527 | PyObject *resultobj; | |
9528 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9529 | int result; | |
9530 | PyObject * obj0 = 0 ; | |
9531 | char *kwnames[] = { | |
9532 | (char *) "self", NULL | |
9533 | }; | |
9534 | ||
9535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
9536 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9537 | { | |
9538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9539 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9540 | ||
9541 | wxPyEndAllowThreads(__tstate); | |
9542 | if (PyErr_Occurred()) SWIG_fail; | |
9543 | } | |
8edf1c75 | 9544 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9545 | return resultobj; |
9546 | fail: | |
9547 | return NULL; | |
9548 | } | |
9549 | ||
9550 | ||
9551 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9552 | PyObject *resultobj; | |
9553 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9554 | size_t arg2 ; | |
9555 | bool result; | |
9556 | PyObject * obj0 = 0 ; | |
9557 | PyObject * obj1 = 0 ; | |
9558 | char *kwnames[] = { | |
9559 | (char *) "self",(char *) "item", NULL | |
9560 | }; | |
9561 | ||
9562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
9563 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9564 | { |
8edf1c75 | 9565 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9566 | if (PyErr_Occurred()) SWIG_fail; |
9567 | } | |
d14a1e28 RD |
9568 | { |
9569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9570 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9571 | ||
9572 | wxPyEndAllowThreads(__tstate); | |
9573 | if (PyErr_Occurred()) SWIG_fail; | |
9574 | } | |
4e760a36 | 9575 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9576 | return resultobj; |
9577 | fail: | |
9578 | return NULL; | |
9579 | } | |
9580 | ||
9581 | ||
9582 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9583 | PyObject *resultobj; | |
9584 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9585 | size_t arg2 ; | |
9586 | bool result; | |
9587 | PyObject * obj0 = 0 ; | |
9588 | PyObject * obj1 = 0 ; | |
9589 | char *kwnames[] = { | |
9590 | (char *) "self",(char *) "item", NULL | |
9591 | }; | |
9592 | ||
9593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
9594 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9595 | { |
8edf1c75 | 9596 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9597 | if (PyErr_Occurred()) SWIG_fail; |
9598 | } | |
d14a1e28 RD |
9599 | { |
9600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9601 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9602 | ||
9603 | wxPyEndAllowThreads(__tstate); | |
9604 | if (PyErr_Occurred()) SWIG_fail; | |
9605 | } | |
4e760a36 | 9606 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9607 | return resultobj; |
9608 | fail: | |
9609 | return NULL; | |
9610 | } | |
9611 | ||
9612 | ||
9613 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9614 | PyObject *resultobj; | |
9615 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9616 | size_t result; | |
9617 | PyObject * obj0 = 0 ; | |
9618 | char *kwnames[] = { | |
9619 | (char *) "self", NULL | |
9620 | }; | |
9621 | ||
9622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
9623 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9624 | { | |
9625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9626 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9627 | ||
9628 | wxPyEndAllowThreads(__tstate); | |
9629 | if (PyErr_Occurred()) SWIG_fail; | |
9630 | } | |
8edf1c75 | 9631 | resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9632 | return resultobj; |
9633 | fail: | |
9634 | return NULL; | |
9635 | } | |
9636 | ||
9637 | ||
9638 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9639 | PyObject *resultobj; | |
9640 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9641 | unsigned long *arg2 = 0 ; | |
9642 | int result; | |
9643 | PyObject * obj0 = 0 ; | |
9644 | PyObject * obj1 = 0 ; | |
9645 | char *kwnames[] = { | |
9646 | (char *) "self",(char *) "cookie", NULL | |
9647 | }; | |
9648 | ||
9649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
9650 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9651 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9652 | if (arg2 == NULL) { | |
9653 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9654 | } | |
9655 | { | |
9656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9657 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9658 | ||
9659 | wxPyEndAllowThreads(__tstate); | |
9660 | if (PyErr_Occurred()) SWIG_fail; | |
9661 | } | |
8edf1c75 | 9662 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9663 | return resultobj; |
9664 | fail: | |
9665 | return NULL; | |
9666 | } | |
9667 | ||
9668 | ||
9669 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9670 | PyObject *resultobj; | |
9671 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9672 | unsigned long *arg2 = 0 ; | |
9673 | int result; | |
9674 | PyObject * obj0 = 0 ; | |
9675 | PyObject * obj1 = 0 ; | |
9676 | char *kwnames[] = { | |
9677 | (char *) "self",(char *) "cookie", NULL | |
9678 | }; | |
9679 | ||
9680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
9681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9682 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9683 | if (arg2 == NULL) { | |
9684 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9685 | } | |
9686 | { | |
9687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9688 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9689 | ||
9690 | wxPyEndAllowThreads(__tstate); | |
9691 | if (PyErr_Occurred()) SWIG_fail; | |
9692 | } | |
8edf1c75 | 9693 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
9694 | return resultobj; |
9695 | fail: | |
9696 | return NULL; | |
9697 | } | |
9698 | ||
9699 | ||
9700 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9701 | PyObject *resultobj; | |
9702 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9703 | wxPoint result; | |
9704 | PyObject * obj0 = 0 ; | |
9705 | char *kwnames[] = { | |
9706 | (char *) "self", NULL | |
9707 | }; | |
9708 | ||
9709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
9710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9711 | { | |
9712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9713 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9714 | ||
9715 | wxPyEndAllowThreads(__tstate); | |
9716 | if (PyErr_Occurred()) SWIG_fail; | |
9717 | } | |
9718 | { | |
9719 | wxPoint * resultptr; | |
9720 | resultptr = new wxPoint((wxPoint &) result); | |
9721 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
9722 | } | |
9723 | return resultobj; | |
9724 | fail: | |
9725 | return NULL; | |
9726 | } | |
9727 | ||
9728 | ||
9729 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9730 | PyObject *resultobj; | |
9731 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9732 | wxColour *result; | |
9733 | PyObject * obj0 = 0 ; | |
9734 | char *kwnames[] = { | |
9735 | (char *) "self", NULL | |
9736 | }; | |
9737 | ||
9738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
9739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9740 | { | |
9741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9742 | { | |
9743 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9744 | result = (wxColour *) &_result_ref; | |
9745 | } | |
9746 | ||
9747 | wxPyEndAllowThreads(__tstate); | |
9748 | if (PyErr_Occurred()) SWIG_fail; | |
9749 | } | |
9750 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
9751 | return resultobj; | |
9752 | fail: | |
9753 | return NULL; | |
9754 | } | |
9755 | ||
9756 | ||
9757 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9758 | PyObject *resultobj; | |
9759 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9760 | size_t arg2 ; | |
9761 | PyObject * obj0 = 0 ; | |
9762 | PyObject * obj1 = 0 ; | |
9763 | char *kwnames[] = { | |
9764 | (char *) "self",(char *) "count", NULL | |
9765 | }; | |
9766 | ||
9767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
9768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9769 | { |
8edf1c75 | 9770 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9771 | if (PyErr_Occurred()) SWIG_fail; |
9772 | } | |
d14a1e28 RD |
9773 | { |
9774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9775 | (arg1)->SetItemCount(arg2); | |
9776 | ||
9777 | wxPyEndAllowThreads(__tstate); | |
9778 | if (PyErr_Occurred()) SWIG_fail; | |
9779 | } | |
9780 | Py_INCREF(Py_None); resultobj = Py_None; | |
9781 | return resultobj; | |
9782 | fail: | |
9783 | return NULL; | |
9784 | } | |
9785 | ||
9786 | ||
9787 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9788 | PyObject *resultobj; | |
9789 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9790 | PyObject * obj0 = 0 ; | |
9791 | char *kwnames[] = { | |
9792 | (char *) "self", NULL | |
9793 | }; | |
9794 | ||
9795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
9796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9797 | { | |
9798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9799 | (arg1)->Clear(); | |
9800 | ||
9801 | wxPyEndAllowThreads(__tstate); | |
9802 | if (PyErr_Occurred()) SWIG_fail; | |
9803 | } | |
9804 | Py_INCREF(Py_None); resultobj = Py_None; | |
9805 | return resultobj; | |
9806 | fail: | |
9807 | return NULL; | |
9808 | } | |
9809 | ||
9810 | ||
9811 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9812 | PyObject *resultobj; | |
9813 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9814 | int arg2 ; | |
9815 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9816 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9817 | char *kwnames[] = { |
9818 | (char *) "self",(char *) "selection", NULL | |
9819 | }; | |
9820 | ||
8edf1c75 | 9821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 9822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
9823 | { |
9824 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
9825 | if (PyErr_Occurred()) SWIG_fail; | |
9826 | } | |
d14a1e28 RD |
9827 | { |
9828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9829 | (arg1)->SetSelection(arg2); | |
9830 | ||
9831 | wxPyEndAllowThreads(__tstate); | |
9832 | if (PyErr_Occurred()) SWIG_fail; | |
9833 | } | |
9834 | Py_INCREF(Py_None); resultobj = Py_None; | |
9835 | return resultobj; | |
9836 | fail: | |
9837 | return NULL; | |
9838 | } | |
9839 | ||
9840 | ||
9841 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9842 | PyObject *resultobj; | |
9843 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9844 | size_t arg2 ; | |
423f194a | 9845 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9846 | bool result; |
9847 | PyObject * obj0 = 0 ; | |
9848 | PyObject * obj1 = 0 ; | |
9849 | PyObject * obj2 = 0 ; | |
9850 | char *kwnames[] = { | |
9851 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9852 | }; | |
9853 | ||
9854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9855 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9856 | { |
8edf1c75 | 9857 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
d14a1e28 RD |
9858 | if (PyErr_Occurred()) SWIG_fail; |
9859 | } | |
83448d71 RD |
9860 | if (obj2) { |
9861 | { | |
8edf1c75 | 9862 | arg3 = (bool) SWIG_PyObj_AsBool(obj2); |
83448d71 RD |
9863 | if (PyErr_Occurred()) SWIG_fail; |
9864 | } | |
9865 | } | |
d14a1e28 RD |
9866 | { |
9867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9868 | result = (bool)(arg1)->Select(arg2,arg3); | |
9869 | ||
9870 | wxPyEndAllowThreads(__tstate); | |
9871 | if (PyErr_Occurred()) SWIG_fail; | |
9872 | } | |
4e760a36 | 9873 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9874 | return resultobj; |
9875 | fail: | |
9876 | return NULL; | |
9877 | } | |
9878 | ||
9879 | ||
9880 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9881 | PyObject *resultobj; | |
9882 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9883 | size_t arg2 ; | |
9884 | size_t arg3 ; | |
9885 | bool result; | |
9886 | PyObject * obj0 = 0 ; | |
9887 | PyObject * obj1 = 0 ; | |
9888 | PyObject * obj2 = 0 ; | |
9889 | char *kwnames[] = { | |
9890 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9891 | }; | |
9892 | ||
9893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9895 | { |
8edf1c75 | 9896 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9897 | if (PyErr_Occurred()) SWIG_fail; |
9898 | } | |
9899 | { | |
8edf1c75 | 9900 | arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2); |
83448d71 RD |
9901 | if (PyErr_Occurred()) SWIG_fail; |
9902 | } | |
d14a1e28 RD |
9903 | { |
9904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9905 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9906 | ||
9907 | wxPyEndAllowThreads(__tstate); | |
9908 | if (PyErr_Occurred()) SWIG_fail; | |
9909 | } | |
4e760a36 | 9910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9911 | return resultobj; |
9912 | fail: | |
9913 | return NULL; | |
9914 | } | |
9915 | ||
9916 | ||
9917 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9918 | PyObject *resultobj; | |
9919 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9920 | size_t arg2 ; | |
9921 | PyObject * obj0 = 0 ; | |
9922 | PyObject * obj1 = 0 ; | |
9923 | char *kwnames[] = { | |
9924 | (char *) "self",(char *) "item", NULL | |
9925 | }; | |
9926 | ||
9927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
9928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 9929 | { |
8edf1c75 | 9930 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
9931 | if (PyErr_Occurred()) SWIG_fail; |
9932 | } | |
d14a1e28 RD |
9933 | { |
9934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9935 | (arg1)->Toggle(arg2); | |
9936 | ||
9937 | wxPyEndAllowThreads(__tstate); | |
9938 | if (PyErr_Occurred()) SWIG_fail; | |
9939 | } | |
9940 | Py_INCREF(Py_None); resultobj = Py_None; | |
9941 | return resultobj; | |
9942 | fail: | |
9943 | return NULL; | |
9944 | } | |
9945 | ||
9946 | ||
9947 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9948 | PyObject *resultobj; | |
9949 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9950 | bool result; | |
9951 | PyObject * obj0 = 0 ; | |
9952 | char *kwnames[] = { | |
9953 | (char *) "self", NULL | |
9954 | }; | |
9955 | ||
9956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
9957 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9958 | { | |
9959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9960 | result = (bool)(arg1)->SelectAll(); | |
9961 | ||
9962 | wxPyEndAllowThreads(__tstate); | |
9963 | if (PyErr_Occurred()) SWIG_fail; | |
9964 | } | |
4e760a36 | 9965 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9966 | return resultobj; |
9967 | fail: | |
9968 | return NULL; | |
9969 | } | |
9970 | ||
9971 | ||
9972 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9973 | PyObject *resultobj; | |
9974 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9975 | bool result; | |
9976 | PyObject * obj0 = 0 ; | |
9977 | char *kwnames[] = { | |
9978 | (char *) "self", NULL | |
9979 | }; | |
9980 | ||
9981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
9982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9983 | { | |
9984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9985 | result = (bool)(arg1)->DeselectAll(); | |
9986 | ||
9987 | wxPyEndAllowThreads(__tstate); | |
9988 | if (PyErr_Occurred()) SWIG_fail; | |
9989 | } | |
4e760a36 | 9990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9991 | return resultobj; |
9992 | fail: | |
9993 | return NULL; | |
9994 | } | |
9995 | ||
9996 | ||
9997 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9998 | PyObject *resultobj; | |
9999 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10000 | wxPoint *arg2 = 0 ; | |
10001 | wxPoint temp2 ; | |
10002 | PyObject * obj0 = 0 ; | |
10003 | PyObject * obj1 = 0 ; | |
10004 | char *kwnames[] = { | |
10005 | (char *) "self",(char *) "pt", NULL | |
10006 | }; | |
10007 | ||
10008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
10009 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10010 | { | |
10011 | arg2 = &temp2; | |
10012 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10013 | } | |
10014 | { | |
10015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10016 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10017 | ||
10018 | wxPyEndAllowThreads(__tstate); | |
10019 | if (PyErr_Occurred()) SWIG_fail; | |
10020 | } | |
10021 | Py_INCREF(Py_None); resultobj = Py_None; | |
10022 | return resultobj; | |
10023 | fail: | |
10024 | return NULL; | |
10025 | } | |
10026 | ||
10027 | ||
10028 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10029 | PyObject *resultobj; | |
10030 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
423f194a RD |
10031 | int arg2 ; |
10032 | int arg3 ; | |
d14a1e28 | 10033 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
10034 | PyObject * obj1 = 0 ; |
10035 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10036 | char *kwnames[] = { |
10037 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10038 | }; | |
10039 | ||
8edf1c75 | 10040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 10041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
10042 | { |
10043 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10044 | if (PyErr_Occurred()) SWIG_fail; | |
10045 | } | |
10046 | { | |
10047 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
10048 | if (PyErr_Occurred()) SWIG_fail; | |
10049 | } | |
d14a1e28 RD |
10050 | { |
10051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10052 | (arg1)->SetMargins(arg2,arg3); | |
10053 | ||
10054 | wxPyEndAllowThreads(__tstate); | |
10055 | if (PyErr_Occurred()) SWIG_fail; | |
10056 | } | |
10057 | Py_INCREF(Py_None); resultobj = Py_None; | |
10058 | return resultobj; | |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
10064 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10065 | PyObject *resultobj; | |
10066 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10067 | wxColour *arg2 = 0 ; | |
10068 | wxColour temp2 ; | |
10069 | PyObject * obj0 = 0 ; | |
10070 | PyObject * obj1 = 0 ; | |
10071 | char *kwnames[] = { | |
10072 | (char *) "self",(char *) "col", NULL | |
10073 | }; | |
10074 | ||
10075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
10076 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10077 | { | |
10078 | arg2 = &temp2; | |
10079 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10080 | } | |
10081 | { | |
10082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10083 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10084 | ||
10085 | wxPyEndAllowThreads(__tstate); | |
10086 | if (PyErr_Occurred()) SWIG_fail; | |
10087 | } | |
10088 | Py_INCREF(Py_None); resultobj = Py_None; | |
10089 | return resultobj; | |
10090 | fail: | |
10091 | return NULL; | |
10092 | } | |
10093 | ||
10094 | ||
10095 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10096 | PyObject *obj; | |
10097 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10098 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10099 | Py_INCREF(obj); | |
10100 | return Py_BuildValue((char *)""); | |
10101 | } | |
10102 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10103 | PyObject *resultobj; | |
10104 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 10105 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10106 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10107 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10108 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10109 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10110 | long arg5 = (long) 0 ; | |
10111 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10112 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10113 | wxPyHtmlListBox *result; | |
10114 | wxPoint temp3 ; | |
10115 | wxSize temp4 ; | |
423f194a | 10116 | bool temp6 = False ; |
d14a1e28 | 10117 | PyObject * obj0 = 0 ; |
8edf1c75 | 10118 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10119 | PyObject * obj2 = 0 ; |
10120 | PyObject * obj3 = 0 ; | |
8edf1c75 | 10121 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10122 | PyObject * obj5 = 0 ; |
10123 | char *kwnames[] = { | |
10124 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10125 | }; | |
10126 | ||
8edf1c75 | 10127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 10128 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
10129 | if (obj1) { |
10130 | { | |
10131 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10132 | if (PyErr_Occurred()) SWIG_fail; | |
10133 | } | |
10134 | } | |
d14a1e28 RD |
10135 | if (obj2) { |
10136 | { | |
10137 | arg3 = &temp3; | |
10138 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10139 | } | |
10140 | } | |
10141 | if (obj3) { | |
10142 | { | |
10143 | arg4 = &temp4; | |
10144 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10145 | } | |
10146 | } | |
8edf1c75 RD |
10147 | if (obj4) { |
10148 | { | |
10149 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
10150 | if (PyErr_Occurred()) SWIG_fail; | |
10151 | } | |
10152 | } | |
d14a1e28 RD |
10153 | if (obj5) { |
10154 | { | |
10155 | arg6 = wxString_in_helper(obj5); | |
10156 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 10157 | temp6 = True; |
d14a1e28 RD |
10158 | } |
10159 | } | |
10160 | { | |
10161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10162 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10163 | ||
10164 | wxPyEndAllowThreads(__tstate); | |
10165 | if (PyErr_Occurred()) SWIG_fail; | |
10166 | } | |
10167 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10168 | { | |
10169 | if (temp6) | |
10170 | delete arg6; | |
10171 | } | |
10172 | return resultobj; | |
10173 | fail: | |
10174 | { | |
10175 | if (temp6) | |
10176 | delete arg6; | |
10177 | } | |
10178 | return NULL; | |
10179 | } | |
10180 | ||
10181 | ||
10182 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10183 | PyObject *resultobj; | |
10184 | wxPyHtmlListBox *result; | |
10185 | char *kwnames[] = { | |
10186 | NULL | |
10187 | }; | |
10188 | ||
10189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10190 | { | |
10191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10192 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10193 | ||
10194 | wxPyEndAllowThreads(__tstate); | |
10195 | if (PyErr_Occurred()) SWIG_fail; | |
10196 | } | |
10197 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
10198 | return resultobj; | |
10199 | fail: | |
10200 | return NULL; | |
10201 | } | |
10202 | ||
10203 | ||
10204 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10205 | PyObject *resultobj; | |
10206 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10207 | PyObject *arg2 = (PyObject *) 0 ; | |
10208 | PyObject *arg3 = (PyObject *) 0 ; | |
10209 | PyObject * obj0 = 0 ; | |
10210 | PyObject * obj1 = 0 ; | |
10211 | PyObject * obj2 = 0 ; | |
10212 | char *kwnames[] = { | |
10213 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10214 | }; | |
10215 | ||
10216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10217 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10218 | arg2 = obj1; | |
10219 | arg3 = obj2; | |
10220 | { | |
10221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10222 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10223 | ||
10224 | wxPyEndAllowThreads(__tstate); | |
10225 | if (PyErr_Occurred()) SWIG_fail; | |
10226 | } | |
10227 | Py_INCREF(Py_None); resultobj = Py_None; | |
10228 | return resultobj; | |
10229 | fail: | |
10230 | return NULL; | |
10231 | } | |
10232 | ||
10233 | ||
10234 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10235 | PyObject *resultobj; | |
10236 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10237 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 10238 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10239 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10240 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10241 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10242 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10243 | long arg6 = (long) 0 ; | |
10244 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10245 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10246 | bool result; | |
10247 | wxPoint temp4 ; | |
10248 | wxSize temp5 ; | |
423f194a | 10249 | bool temp7 = False ; |
d14a1e28 RD |
10250 | PyObject * obj0 = 0 ; |
10251 | PyObject * obj1 = 0 ; | |
8edf1c75 | 10252 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10253 | PyObject * obj3 = 0 ; |
10254 | PyObject * obj4 = 0 ; | |
8edf1c75 | 10255 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10256 | PyObject * obj6 = 0 ; |
10257 | char *kwnames[] = { | |
10258 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10259 | }; | |
10260 | ||
8edf1c75 | 10261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
10262 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
10263 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
10264 | if (obj2) { |
10265 | { | |
10266 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
10267 | if (PyErr_Occurred()) SWIG_fail; | |
10268 | } | |
10269 | } | |
d14a1e28 RD |
10270 | if (obj3) { |
10271 | { | |
10272 | arg4 = &temp4; | |
10273 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10274 | } | |
10275 | } | |
10276 | if (obj4) { | |
10277 | { | |
10278 | arg5 = &temp5; | |
10279 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10280 | } | |
10281 | } | |
8edf1c75 RD |
10282 | if (obj5) { |
10283 | { | |
10284 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
10285 | if (PyErr_Occurred()) SWIG_fail; | |
10286 | } | |
10287 | } | |
d14a1e28 RD |
10288 | if (obj6) { |
10289 | { | |
10290 | arg7 = wxString_in_helper(obj6); | |
10291 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 10292 | temp7 = True; |
d14a1e28 RD |
10293 | } |
10294 | } | |
10295 | { | |
10296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10297 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10298 | ||
10299 | wxPyEndAllowThreads(__tstate); | |
10300 | if (PyErr_Occurred()) SWIG_fail; | |
10301 | } | |
4e760a36 | 10302 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10303 | { |
10304 | if (temp7) | |
10305 | delete arg7; | |
10306 | } | |
10307 | return resultobj; | |
10308 | fail: | |
10309 | { | |
10310 | if (temp7) | |
10311 | delete arg7; | |
10312 | } | |
10313 | return NULL; | |
10314 | } | |
10315 | ||
10316 | ||
10317 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10318 | PyObject *resultobj; | |
10319 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10320 | PyObject * obj0 = 0 ; | |
10321 | char *kwnames[] = { | |
10322 | (char *) "self", NULL | |
10323 | }; | |
10324 | ||
10325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
10326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10327 | { | |
10328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10329 | (arg1)->RefreshAll(); | |
10330 | ||
10331 | wxPyEndAllowThreads(__tstate); | |
10332 | if (PyErr_Occurred()) SWIG_fail; | |
10333 | } | |
10334 | Py_INCREF(Py_None); resultobj = Py_None; | |
10335 | return resultobj; | |
10336 | fail: | |
10337 | return NULL; | |
10338 | } | |
10339 | ||
10340 | ||
10341 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10342 | PyObject *resultobj; | |
10343 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10344 | size_t arg2 ; | |
10345 | PyObject * obj0 = 0 ; | |
10346 | PyObject * obj1 = 0 ; | |
10347 | char *kwnames[] = { | |
10348 | (char *) "self",(char *) "count", NULL | |
10349 | }; | |
10350 | ||
10351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
10352 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 10353 | { |
8edf1c75 | 10354 | arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1); |
83448d71 RD |
10355 | if (PyErr_Occurred()) SWIG_fail; |
10356 | } | |
d14a1e28 RD |
10357 | { |
10358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10359 | (arg1)->SetItemCount(arg2); | |
10360 | ||
10361 | wxPyEndAllowThreads(__tstate); | |
10362 | if (PyErr_Occurred()) SWIG_fail; | |
10363 | } | |
10364 | Py_INCREF(Py_None); resultobj = Py_None; | |
10365 | return resultobj; | |
10366 | fail: | |
10367 | return NULL; | |
10368 | } | |
10369 | ||
10370 | ||
10371 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10372 | PyObject *obj; | |
10373 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10374 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10375 | Py_INCREF(obj); | |
10376 | return Py_BuildValue((char *)""); | |
10377 | } | |
10378 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10379 | PyObject *resultobj; | |
10380 | wxTaskBarIcon *result; | |
10381 | char *kwnames[] = { | |
10382 | NULL | |
10383 | }; | |
10384 | ||
10385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10386 | { | |
10387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10388 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10389 | ||
10390 | wxPyEndAllowThreads(__tstate); | |
10391 | if (PyErr_Occurred()) SWIG_fail; | |
10392 | } | |
10393 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1); | |
10394 | return resultobj; | |
10395 | fail: | |
10396 | return NULL; | |
10397 | } | |
10398 | ||
10399 | ||
10400 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10401 | PyObject *resultobj; | |
10402 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10403 | PyObject * obj0 = 0 ; | |
10404 | char *kwnames[] = { | |
10405 | (char *) "self", NULL | |
10406 | }; | |
10407 | ||
10408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
10409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10410 | { | |
10411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10412 | delete arg1; | |
10413 | ||
10414 | wxPyEndAllowThreads(__tstate); | |
10415 | if (PyErr_Occurred()) SWIG_fail; | |
10416 | } | |
10417 | Py_INCREF(Py_None); resultobj = Py_None; | |
10418 | return resultobj; | |
10419 | fail: | |
10420 | return NULL; | |
10421 | } | |
10422 | ||
10423 | ||
10424 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10425 | PyObject *resultobj; | |
10426 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10427 | bool result; | |
10428 | PyObject * obj0 = 0 ; | |
10429 | char *kwnames[] = { | |
10430 | (char *) "self", NULL | |
10431 | }; | |
10432 | ||
10433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
10434 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10435 | { | |
10436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10437 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10438 | ||
10439 | wxPyEndAllowThreads(__tstate); | |
10440 | if (PyErr_Occurred()) SWIG_fail; | |
10441 | } | |
4e760a36 | 10442 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10443 | return resultobj; |
10444 | fail: | |
10445 | return NULL; | |
10446 | } | |
10447 | ||
10448 | ||
10449 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10450 | PyObject *resultobj; | |
10451 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10452 | bool result; | |
10453 | PyObject * obj0 = 0 ; | |
10454 | char *kwnames[] = { | |
10455 | (char *) "self", NULL | |
10456 | }; | |
10457 | ||
10458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
10459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10460 | { | |
10461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10462 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10463 | ||
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
4e760a36 | 10467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10468 | return resultobj; |
10469 | fail: | |
10470 | return NULL; | |
10471 | } | |
10472 | ||
10473 | ||
10474 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10475 | PyObject *resultobj; | |
10476 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10477 | wxIcon *arg2 = 0 ; | |
10478 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10479 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10480 | bool result; | |
423f194a | 10481 | bool temp3 = False ; |
d14a1e28 RD |
10482 | PyObject * obj0 = 0 ; |
10483 | PyObject * obj1 = 0 ; | |
10484 | PyObject * obj2 = 0 ; | |
10485 | char *kwnames[] = { | |
10486 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10487 | }; | |
10488 | ||
10489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10490 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10491 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10492 | if (arg2 == NULL) { | |
10493 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
10494 | } | |
10495 | if (obj2) { | |
10496 | { | |
10497 | arg3 = wxString_in_helper(obj2); | |
10498 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10499 | temp3 = True; |
d14a1e28 RD |
10500 | } |
10501 | } | |
10502 | { | |
10503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10504 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10505 | ||
10506 | wxPyEndAllowThreads(__tstate); | |
10507 | if (PyErr_Occurred()) SWIG_fail; | |
10508 | } | |
4e760a36 | 10509 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10510 | { |
10511 | if (temp3) | |
10512 | delete arg3; | |
10513 | } | |
10514 | return resultobj; | |
10515 | fail: | |
10516 | { | |
10517 | if (temp3) | |
10518 | delete arg3; | |
10519 | } | |
10520 | return NULL; | |
10521 | } | |
10522 | ||
10523 | ||
10524 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10525 | PyObject *resultobj; | |
10526 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10527 | bool result; | |
10528 | PyObject * obj0 = 0 ; | |
10529 | char *kwnames[] = { | |
10530 | (char *) "self", NULL | |
10531 | }; | |
10532 | ||
10533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
10534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10535 | { | |
10536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10537 | result = (bool)(arg1)->RemoveIcon(); | |
10538 | ||
10539 | wxPyEndAllowThreads(__tstate); | |
10540 | if (PyErr_Occurred()) SWIG_fail; | |
10541 | } | |
4e760a36 | 10542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10543 | return resultobj; |
10544 | fail: | |
10545 | return NULL; | |
10546 | } | |
10547 | ||
10548 | ||
10549 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10550 | PyObject *resultobj; | |
10551 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10552 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10553 | bool result; | |
10554 | PyObject * obj0 = 0 ; | |
10555 | PyObject * obj1 = 0 ; | |
10556 | char *kwnames[] = { | |
10557 | (char *) "self",(char *) "menu", NULL | |
10558 | }; | |
10559 | ||
10560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
10561 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10562 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10563 | { | |
10564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10565 | result = (bool)(arg1)->PopupMenu(arg2); | |
10566 | ||
10567 | wxPyEndAllowThreads(__tstate); | |
10568 | if (PyErr_Occurred()) SWIG_fail; | |
10569 | } | |
4e760a36 | 10570 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10571 | return resultobj; |
10572 | fail: | |
10573 | return NULL; | |
10574 | } | |
10575 | ||
10576 | ||
10577 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10578 | PyObject *obj; | |
10579 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10580 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10581 | Py_INCREF(obj); | |
10582 | return Py_BuildValue((char *)""); | |
10583 | } | |
10584 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10585 | PyObject *resultobj; | |
10586 | wxEventType arg1 ; | |
10587 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10588 | wxTaskBarIconEvent *result; | |
8edf1c75 | 10589 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10590 | PyObject * obj1 = 0 ; |
10591 | char *kwnames[] = { | |
10592 | (char *) "evtType",(char *) "tbIcon", NULL | |
10593 | }; | |
10594 | ||
8edf1c75 RD |
10595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
10596 | { | |
10597 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
10598 | if (PyErr_Occurred()) SWIG_fail; | |
10599 | } | |
d14a1e28 RD |
10600 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
10601 | { | |
10602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10603 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10604 | ||
10605 | wxPyEndAllowThreads(__tstate); | |
10606 | if (PyErr_Occurred()) SWIG_fail; | |
10607 | } | |
10608 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
10609 | return resultobj; | |
10610 | fail: | |
10611 | return NULL; | |
10612 | } | |
10613 | ||
10614 | ||
10615 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10616 | PyObject *obj; | |
10617 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10618 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10619 | Py_INCREF(obj); | |
10620 | return Py_BuildValue((char *)""); | |
10621 | } | |
8edf1c75 | 10622 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d03fd34d RD |
10623 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
10624 | return 1; | |
10625 | } | |
10626 | ||
10627 | ||
10628 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10629 | PyObject *pyobj; | |
10630 | ||
10631 | { | |
10632 | #if wxUSE_UNICODE | |
10633 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10634 | #else | |
10635 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10636 | #endif | |
10637 | } | |
10638 | return pyobj; | |
10639 | } | |
10640 | ||
10641 | ||
8edf1c75 | 10642 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d03fd34d RD |
10643 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
10644 | return 1; | |
10645 | } | |
10646 | ||
10647 | ||
10648 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10649 | PyObject *pyobj; | |
10650 | ||
10651 | { | |
10652 | #if wxUSE_UNICODE | |
10653 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10654 | #else | |
10655 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10656 | #endif | |
10657 | } | |
10658 | return pyobj; | |
10659 | } | |
10660 | ||
10661 | ||
8edf1c75 | 10662 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d03fd34d RD |
10663 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
10664 | return 1; | |
10665 | } | |
10666 | ||
10667 | ||
10668 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10669 | PyObject *pyobj; | |
10670 | ||
10671 | { | |
10672 | #if wxUSE_UNICODE | |
10673 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10674 | #else | |
10675 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10676 | #endif | |
10677 | } | |
10678 | return pyobj; | |
10679 | } | |
10680 | ||
10681 | ||
8edf1c75 | 10682 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d03fd34d RD |
10683 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
10684 | return 1; | |
10685 | } | |
10686 | ||
10687 | ||
10688 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10689 | PyObject *pyobj; | |
10690 | ||
10691 | { | |
10692 | #if wxUSE_UNICODE | |
10693 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10694 | #else | |
10695 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10696 | #endif | |
10697 | } | |
10698 | return pyobj; | |
10699 | } | |
10700 | ||
10701 | ||
8edf1c75 | 10702 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d03fd34d RD |
10703 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
10704 | return 1; | |
10705 | } | |
10706 | ||
10707 | ||
10708 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10709 | PyObject *pyobj; | |
10710 | ||
10711 | { | |
10712 | #if wxUSE_UNICODE | |
10713 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10714 | #else | |
10715 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10716 | #endif | |
10717 | } | |
10718 | return pyobj; | |
10719 | } | |
10720 | ||
10721 | ||
8edf1c75 | 10722 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d03fd34d RD |
10723 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
10724 | return 1; | |
10725 | } | |
10726 | ||
10727 | ||
10728 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10729 | PyObject *pyobj; | |
10730 | ||
10731 | { | |
10732 | #if wxUSE_UNICODE | |
10733 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10734 | #else | |
10735 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10736 | #endif | |
10737 | } | |
10738 | return pyobj; | |
10739 | } | |
10740 | ||
10741 | ||
d14a1e28 RD |
10742 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10743 | PyObject *resultobj; | |
10744 | wxColourData *result; | |
10745 | char *kwnames[] = { | |
10746 | NULL | |
10747 | }; | |
10748 | ||
10749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10750 | { | |
10751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10752 | result = (wxColourData *)new wxColourData(); | |
10753 | ||
10754 | wxPyEndAllowThreads(__tstate); | |
10755 | if (PyErr_Occurred()) SWIG_fail; | |
10756 | } | |
10757 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1); | |
10758 | return resultobj; | |
10759 | fail: | |
10760 | return NULL; | |
10761 | } | |
10762 | ||
10763 | ||
10764 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10765 | PyObject *resultobj; | |
10766 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10767 | PyObject * obj0 = 0 ; | |
10768 | char *kwnames[] = { | |
10769 | (char *) "self", NULL | |
10770 | }; | |
10771 | ||
10772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
10773 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10774 | { | |
10775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10776 | delete arg1; | |
10777 | ||
10778 | wxPyEndAllowThreads(__tstate); | |
10779 | if (PyErr_Occurred()) SWIG_fail; | |
10780 | } | |
10781 | Py_INCREF(Py_None); resultobj = Py_None; | |
10782 | return resultobj; | |
10783 | fail: | |
10784 | return NULL; | |
10785 | } | |
10786 | ||
10787 | ||
10788 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10789 | PyObject *resultobj; | |
10790 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10791 | bool result; | |
10792 | PyObject * obj0 = 0 ; | |
10793 | char *kwnames[] = { | |
10794 | (char *) "self", NULL | |
10795 | }; | |
10796 | ||
10797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
10798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10799 | { | |
10800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10801 | result = (bool)(arg1)->GetChooseFull(); | |
10802 | ||
10803 | wxPyEndAllowThreads(__tstate); | |
10804 | if (PyErr_Occurred()) SWIG_fail; | |
10805 | } | |
4e760a36 | 10806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10807 | return resultobj; |
10808 | fail: | |
10809 | return NULL; | |
10810 | } | |
10811 | ||
10812 | ||
10813 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10814 | PyObject *resultobj; | |
10815 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10816 | wxColour result; | |
10817 | PyObject * obj0 = 0 ; | |
10818 | char *kwnames[] = { | |
10819 | (char *) "self", NULL | |
10820 | }; | |
10821 | ||
10822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
10823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10824 | { | |
10825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10826 | result = (arg1)->GetColour(); | |
10827 | ||
10828 | wxPyEndAllowThreads(__tstate); | |
10829 | if (PyErr_Occurred()) SWIG_fail; | |
10830 | } | |
10831 | { | |
10832 | wxColour * resultptr; | |
10833 | resultptr = new wxColour((wxColour &) result); | |
10834 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
10835 | } | |
10836 | return resultobj; | |
10837 | fail: | |
10838 | return NULL; | |
10839 | } | |
10840 | ||
10841 | ||
10842 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10843 | PyObject *resultobj; | |
10844 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10845 | int arg2 ; | |
10846 | wxColour result; | |
10847 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10848 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10849 | char *kwnames[] = { |
10850 | (char *) "self",(char *) "i", NULL | |
10851 | }; | |
10852 | ||
8edf1c75 | 10853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 10854 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
10855 | { |
10856 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10857 | if (PyErr_Occurred()) SWIG_fail; | |
10858 | } | |
d14a1e28 RD |
10859 | { |
10860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10861 | result = (arg1)->GetCustomColour(arg2); | |
10862 | ||
10863 | wxPyEndAllowThreads(__tstate); | |
10864 | if (PyErr_Occurred()) SWIG_fail; | |
10865 | } | |
10866 | { | |
10867 | wxColour * resultptr; | |
10868 | resultptr = new wxColour((wxColour &) result); | |
10869 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
10870 | } | |
10871 | return resultobj; | |
10872 | fail: | |
10873 | return NULL; | |
10874 | } | |
10875 | ||
10876 | ||
10877 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10878 | PyObject *resultobj; | |
10879 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10880 | int arg2 ; | |
10881 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10882 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10883 | char *kwnames[] = { |
10884 | (char *) "self",(char *) "flag", NULL | |
10885 | }; | |
10886 | ||
8edf1c75 | 10887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 10888 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
10889 | { |
10890 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10891 | if (PyErr_Occurred()) SWIG_fail; | |
10892 | } | |
d14a1e28 RD |
10893 | { |
10894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10895 | (arg1)->SetChooseFull(arg2); | |
10896 | ||
10897 | wxPyEndAllowThreads(__tstate); | |
10898 | if (PyErr_Occurred()) SWIG_fail; | |
10899 | } | |
10900 | Py_INCREF(Py_None); resultobj = Py_None; | |
10901 | return resultobj; | |
10902 | fail: | |
10903 | return NULL; | |
10904 | } | |
10905 | ||
10906 | ||
10907 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10908 | PyObject *resultobj; | |
10909 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10910 | wxColour *arg2 = 0 ; | |
10911 | wxColour temp2 ; | |
10912 | PyObject * obj0 = 0 ; | |
10913 | PyObject * obj1 = 0 ; | |
10914 | char *kwnames[] = { | |
10915 | (char *) "self",(char *) "colour", NULL | |
10916 | }; | |
10917 | ||
10918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
10919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10920 | { | |
10921 | arg2 = &temp2; | |
10922 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10923 | } | |
10924 | { | |
10925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10926 | (arg1)->SetColour((wxColour const &)*arg2); | |
10927 | ||
10928 | wxPyEndAllowThreads(__tstate); | |
10929 | if (PyErr_Occurred()) SWIG_fail; | |
10930 | } | |
10931 | Py_INCREF(Py_None); resultobj = Py_None; | |
10932 | return resultobj; | |
10933 | fail: | |
10934 | return NULL; | |
10935 | } | |
10936 | ||
10937 | ||
10938 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10939 | PyObject *resultobj; | |
10940 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10941 | int arg2 ; | |
10942 | wxColour *arg3 = 0 ; | |
10943 | wxColour temp3 ; | |
10944 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10945 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10946 | PyObject * obj2 = 0 ; |
10947 | char *kwnames[] = { | |
10948 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
10949 | }; | |
10950 | ||
8edf1c75 | 10951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 10952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
10953 | { |
10954 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
10955 | if (PyErr_Occurred()) SWIG_fail; | |
10956 | } | |
d14a1e28 RD |
10957 | { |
10958 | arg3 = &temp3; | |
10959 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10960 | } | |
10961 | { | |
10962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10963 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
10964 | ||
10965 | wxPyEndAllowThreads(__tstate); | |
10966 | if (PyErr_Occurred()) SWIG_fail; | |
10967 | } | |
10968 | Py_INCREF(Py_None); resultobj = Py_None; | |
10969 | return resultobj; | |
10970 | fail: | |
10971 | return NULL; | |
10972 | } | |
10973 | ||
10974 | ||
10975 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
10976 | PyObject *obj; | |
10977 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10978 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
10979 | Py_INCREF(obj); | |
10980 | return Py_BuildValue((char *)""); | |
10981 | } | |
10982 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10983 | PyObject *resultobj; | |
10984 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10985 | wxColourData *arg2 = (wxColourData *) NULL ; | |
10986 | wxColourDialog *result; | |
10987 | PyObject * obj0 = 0 ; | |
10988 | PyObject * obj1 = 0 ; | |
10989 | char *kwnames[] = { | |
10990 | (char *) "parent",(char *) "data", NULL | |
10991 | }; | |
10992 | ||
10993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
10994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10995 | if (obj1) { | |
10996 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10997 | } | |
10998 | { | |
10999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11000 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11001 | ||
11002 | wxPyEndAllowThreads(__tstate); | |
11003 | if (PyErr_Occurred()) SWIG_fail; | |
11004 | } | |
11005 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1); | |
11006 | return resultobj; | |
11007 | fail: | |
11008 | return NULL; | |
11009 | } | |
11010 | ||
11011 | ||
11012 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11013 | PyObject *resultobj; | |
11014 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11015 | wxColourData *result; | |
11016 | PyObject * obj0 = 0 ; | |
11017 | char *kwnames[] = { | |
11018 | (char *) "self", NULL | |
11019 | }; | |
11020 | ||
11021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
11022 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11023 | { | |
11024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11025 | { | |
11026 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11027 | result = (wxColourData *) &_result_ref; | |
11028 | } | |
11029 | ||
11030 | wxPyEndAllowThreads(__tstate); | |
11031 | if (PyErr_Occurred()) SWIG_fail; | |
11032 | } | |
11033 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0); | |
11034 | return resultobj; | |
11035 | fail: | |
11036 | return NULL; | |
11037 | } | |
11038 | ||
11039 | ||
11040 | static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11041 | PyObject *resultobj; | |
11042 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11043 | int result; | |
11044 | PyObject * obj0 = 0 ; | |
11045 | char *kwnames[] = { | |
11046 | (char *) "self", NULL | |
11047 | }; | |
11048 | ||
11049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11051 | { | |
11052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11053 | result = (int)(arg1)->ShowModal(); | |
11054 | ||
11055 | wxPyEndAllowThreads(__tstate); | |
11056 | if (PyErr_Occurred()) SWIG_fail; | |
11057 | } | |
8edf1c75 | 11058 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
11059 | return resultobj; |
11060 | fail: | |
11061 | return NULL; | |
11062 | } | |
11063 | ||
11064 | ||
11065 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { | |
11066 | PyObject *obj; | |
11067 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11068 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11069 | Py_INCREF(obj); | |
11070 | return Py_BuildValue((char *)""); | |
11071 | } | |
11072 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11073 | PyObject *resultobj; | |
11074 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11075 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11076 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11077 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11078 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11079 | long arg4 = (long) 0 ; | |
11080 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11081 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11082 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11083 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11084 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11085 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11086 | wxDirDialog *result; | |
423f194a RD |
11087 | bool temp2 = False ; |
11088 | bool temp3 = False ; | |
d14a1e28 RD |
11089 | wxPoint temp5 ; |
11090 | wxSize temp6 ; | |
423f194a | 11091 | bool temp7 = False ; |
d14a1e28 RD |
11092 | PyObject * obj0 = 0 ; |
11093 | PyObject * obj1 = 0 ; | |
11094 | PyObject * obj2 = 0 ; | |
8edf1c75 | 11095 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11096 | PyObject * obj4 = 0 ; |
11097 | PyObject * obj5 = 0 ; | |
11098 | PyObject * obj6 = 0 ; | |
11099 | char *kwnames[] = { | |
11100 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11101 | }; | |
11102 | ||
8edf1c75 | 11103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
11104 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
11105 | if (obj1) { | |
11106 | { | |
11107 | arg2 = wxString_in_helper(obj1); | |
11108 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11109 | temp2 = True; |
d14a1e28 RD |
11110 | } |
11111 | } | |
11112 | if (obj2) { | |
11113 | { | |
11114 | arg3 = wxString_in_helper(obj2); | |
11115 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11116 | temp3 = True; |
d14a1e28 RD |
11117 | } |
11118 | } | |
8edf1c75 RD |
11119 | if (obj3) { |
11120 | { | |
11121 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
11122 | if (PyErr_Occurred()) SWIG_fail; | |
11123 | } | |
11124 | } | |
d14a1e28 RD |
11125 | if (obj4) { |
11126 | { | |
11127 | arg5 = &temp5; | |
11128 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11129 | } | |
11130 | } | |
11131 | if (obj5) { | |
11132 | { | |
11133 | arg6 = &temp6; | |
11134 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11135 | } | |
11136 | } | |
11137 | if (obj6) { | |
11138 | { | |
11139 | arg7 = wxString_in_helper(obj6); | |
11140 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 11141 | temp7 = True; |
d14a1e28 RD |
11142 | } |
11143 | } | |
11144 | { | |
11145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11146 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11147 | ||
11148 | wxPyEndAllowThreads(__tstate); | |
11149 | if (PyErr_Occurred()) SWIG_fail; | |
11150 | } | |
11151 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1); | |
11152 | { | |
11153 | if (temp2) | |
11154 | delete arg2; | |
11155 | } | |
11156 | { | |
11157 | if (temp3) | |
11158 | delete arg3; | |
11159 | } | |
11160 | { | |
11161 | if (temp7) | |
11162 | delete arg7; | |
11163 | } | |
11164 | return resultobj; | |
11165 | fail: | |
11166 | { | |
11167 | if (temp2) | |
11168 | delete arg2; | |
11169 | } | |
11170 | { | |
11171 | if (temp3) | |
11172 | delete arg3; | |
11173 | } | |
11174 | { | |
11175 | if (temp7) | |
11176 | delete arg7; | |
11177 | } | |
11178 | return NULL; | |
11179 | } | |
11180 | ||
11181 | ||
11182 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11183 | PyObject *resultobj; | |
11184 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11185 | wxString result; | |
11186 | PyObject * obj0 = 0 ; | |
11187 | char *kwnames[] = { | |
11188 | (char *) "self", NULL | |
11189 | }; | |
11190 | ||
11191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
11192 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11193 | { | |
11194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11195 | result = (arg1)->GetPath(); | |
11196 | ||
11197 | wxPyEndAllowThreads(__tstate); | |
11198 | if (PyErr_Occurred()) SWIG_fail; | |
11199 | } | |
11200 | { | |
11201 | #if wxUSE_UNICODE | |
11202 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11203 | #else | |
11204 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11205 | #endif | |
11206 | } | |
11207 | return resultobj; | |
11208 | fail: | |
11209 | return NULL; | |
11210 | } | |
11211 | ||
11212 | ||
11213 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11214 | PyObject *resultobj; | |
11215 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11216 | wxString result; | |
11217 | PyObject * obj0 = 0 ; | |
11218 | char *kwnames[] = { | |
11219 | (char *) "self", NULL | |
11220 | }; | |
11221 | ||
11222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11223 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11224 | { | |
11225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11226 | result = (arg1)->GetMessage(); | |
11227 | ||
11228 | wxPyEndAllowThreads(__tstate); | |
11229 | if (PyErr_Occurred()) SWIG_fail; | |
11230 | } | |
11231 | { | |
11232 | #if wxUSE_UNICODE | |
11233 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11234 | #else | |
11235 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11236 | #endif | |
11237 | } | |
11238 | return resultobj; | |
11239 | fail: | |
11240 | return NULL; | |
11241 | } | |
11242 | ||
11243 | ||
11244 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11245 | PyObject *resultobj; | |
11246 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11247 | long result; | |
11248 | PyObject * obj0 = 0 ; | |
11249 | char *kwnames[] = { | |
11250 | (char *) "self", NULL | |
11251 | }; | |
11252 | ||
11253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11254 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11255 | { | |
11256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11257 | result = (long)(arg1)->GetStyle(); | |
11258 | ||
11259 | wxPyEndAllowThreads(__tstate); | |
11260 | if (PyErr_Occurred()) SWIG_fail; | |
11261 | } | |
8edf1c75 | 11262 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
11263 | return resultobj; |
11264 | fail: | |
11265 | return NULL; | |
11266 | } | |
11267 | ||
11268 | ||
11269 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11270 | PyObject *resultobj; | |
11271 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11272 | wxString *arg2 = 0 ; | |
423f194a | 11273 | bool temp2 = False ; |
d14a1e28 RD |
11274 | PyObject * obj0 = 0 ; |
11275 | PyObject * obj1 = 0 ; | |
11276 | char *kwnames[] = { | |
11277 | (char *) "self",(char *) "message", NULL | |
11278 | }; | |
11279 | ||
11280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11282 | { | |
11283 | arg2 = wxString_in_helper(obj1); | |
11284 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11285 | temp2 = True; |
d14a1e28 RD |
11286 | } |
11287 | { | |
11288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11289 | (arg1)->SetMessage((wxString const &)*arg2); | |
11290 | ||
11291 | wxPyEndAllowThreads(__tstate); | |
11292 | if (PyErr_Occurred()) SWIG_fail; | |
11293 | } | |
11294 | Py_INCREF(Py_None); resultobj = Py_None; | |
11295 | { | |
11296 | if (temp2) | |
11297 | delete arg2; | |
11298 | } | |
11299 | return resultobj; | |
11300 | fail: | |
11301 | { | |
11302 | if (temp2) | |
11303 | delete arg2; | |
11304 | } | |
11305 | return NULL; | |
11306 | } | |
11307 | ||
11308 | ||
11309 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11310 | PyObject *resultobj; | |
11311 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11312 | wxString *arg2 = 0 ; | |
423f194a | 11313 | bool temp2 = False ; |
d14a1e28 RD |
11314 | PyObject * obj0 = 0 ; |
11315 | PyObject * obj1 = 0 ; | |
11316 | char *kwnames[] = { | |
11317 | (char *) "self",(char *) "path", NULL | |
11318 | }; | |
11319 | ||
11320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
11321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11322 | { | |
11323 | arg2 = wxString_in_helper(obj1); | |
11324 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11325 | temp2 = True; |
d14a1e28 RD |
11326 | } |
11327 | { | |
11328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11329 | (arg1)->SetPath((wxString const &)*arg2); | |
11330 | ||
11331 | wxPyEndAllowThreads(__tstate); | |
11332 | if (PyErr_Occurred()) SWIG_fail; | |
11333 | } | |
11334 | Py_INCREF(Py_None); resultobj = Py_None; | |
11335 | { | |
11336 | if (temp2) | |
11337 | delete arg2; | |
11338 | } | |
11339 | return resultobj; | |
11340 | fail: | |
11341 | { | |
11342 | if (temp2) | |
11343 | delete arg2; | |
11344 | } | |
11345 | return NULL; | |
11346 | } | |
11347 | ||
11348 | ||
11349 | static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11350 | PyObject *resultobj; | |
11351 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11352 | int result; | |
11353 | PyObject * obj0 = 0 ; | |
11354 | char *kwnames[] = { | |
11355 | (char *) "self", NULL | |
11356 | }; | |
11357 | ||
11358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11360 | { | |
11361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11362 | result = (int)(arg1)->ShowModal(); | |
11363 | ||
11364 | wxPyEndAllowThreads(__tstate); | |
11365 | if (PyErr_Occurred()) SWIG_fail; | |
11366 | } | |
8edf1c75 | 11367 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
11368 | return resultobj; |
11369 | fail: | |
11370 | return NULL; | |
11371 | } | |
11372 | ||
11373 | ||
11374 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { | |
11375 | PyObject *obj; | |
11376 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11377 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11378 | Py_INCREF(obj); | |
11379 | return Py_BuildValue((char *)""); | |
11380 | } | |
11381 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11382 | PyObject *resultobj; | |
11383 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11384 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11385 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11386 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11387 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11388 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11389 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11390 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11391 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11392 | long arg6 = (long) 0 ; | |
11393 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11394 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11395 | wxFileDialog *result; | |
423f194a RD |
11396 | bool temp2 = False ; |
11397 | bool temp3 = False ; | |
11398 | bool temp4 = False ; | |
11399 | bool temp5 = False ; | |
d14a1e28 RD |
11400 | wxPoint temp7 ; |
11401 | PyObject * obj0 = 0 ; | |
11402 | PyObject * obj1 = 0 ; | |
11403 | PyObject * obj2 = 0 ; | |
11404 | PyObject * obj3 = 0 ; | |
11405 | PyObject * obj4 = 0 ; | |
8edf1c75 | 11406 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11407 | PyObject * obj6 = 0 ; |
11408 | char *kwnames[] = { | |
11409 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11410 | }; | |
11411 | ||
8edf1c75 | 11412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
11413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
11414 | if (obj1) { | |
11415 | { | |
11416 | arg2 = wxString_in_helper(obj1); | |
11417 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11418 | temp2 = True; |
d14a1e28 RD |
11419 | } |
11420 | } | |
11421 | if (obj2) { | |
11422 | { | |
11423 | arg3 = wxString_in_helper(obj2); | |
11424 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11425 | temp3 = True; |
d14a1e28 RD |
11426 | } |
11427 | } | |
11428 | if (obj3) { | |
11429 | { | |
11430 | arg4 = wxString_in_helper(obj3); | |
11431 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 11432 | temp4 = True; |
d14a1e28 RD |
11433 | } |
11434 | } | |
11435 | if (obj4) { | |
11436 | { | |
11437 | arg5 = wxString_in_helper(obj4); | |
11438 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 11439 | temp5 = True; |
d14a1e28 RD |
11440 | } |
11441 | } | |
8edf1c75 RD |
11442 | if (obj5) { |
11443 | { | |
11444 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
11445 | if (PyErr_Occurred()) SWIG_fail; | |
11446 | } | |
11447 | } | |
d14a1e28 RD |
11448 | if (obj6) { |
11449 | { | |
11450 | arg7 = &temp7; | |
11451 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11452 | } | |
11453 | } | |
11454 | { | |
11455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11456 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11457 | ||
11458 | wxPyEndAllowThreads(__tstate); | |
11459 | if (PyErr_Occurred()) SWIG_fail; | |
11460 | } | |
11461 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1); | |
11462 | { | |
11463 | if (temp2) | |
11464 | delete arg2; | |
11465 | } | |
11466 | { | |
11467 | if (temp3) | |
11468 | delete arg3; | |
11469 | } | |
11470 | { | |
11471 | if (temp4) | |
11472 | delete arg4; | |
11473 | } | |
11474 | { | |
11475 | if (temp5) | |
11476 | delete arg5; | |
11477 | } | |
11478 | return resultobj; | |
11479 | fail: | |
11480 | { | |
11481 | if (temp2) | |
11482 | delete arg2; | |
11483 | } | |
11484 | { | |
11485 | if (temp3) | |
11486 | delete arg3; | |
11487 | } | |
11488 | { | |
11489 | if (temp4) | |
11490 | delete arg4; | |
11491 | } | |
11492 | { | |
11493 | if (temp5) | |
11494 | delete arg5; | |
11495 | } | |
11496 | return NULL; | |
11497 | } | |
11498 | ||
11499 | ||
11500 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11501 | PyObject *resultobj; | |
11502 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11503 | wxString *arg2 = 0 ; | |
423f194a | 11504 | bool temp2 = False ; |
d14a1e28 RD |
11505 | PyObject * obj0 = 0 ; |
11506 | PyObject * obj1 = 0 ; | |
11507 | char *kwnames[] = { | |
11508 | (char *) "self",(char *) "message", NULL | |
11509 | }; | |
11510 | ||
11511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
11512 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11513 | { | |
11514 | arg2 = wxString_in_helper(obj1); | |
11515 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11516 | temp2 = True; |
d14a1e28 RD |
11517 | } |
11518 | { | |
11519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11520 | (arg1)->SetMessage((wxString const &)*arg2); | |
11521 | ||
11522 | wxPyEndAllowThreads(__tstate); | |
11523 | if (PyErr_Occurred()) SWIG_fail; | |
11524 | } | |
11525 | Py_INCREF(Py_None); resultobj = Py_None; | |
11526 | { | |
11527 | if (temp2) | |
11528 | delete arg2; | |
11529 | } | |
11530 | return resultobj; | |
11531 | fail: | |
11532 | { | |
11533 | if (temp2) | |
11534 | delete arg2; | |
11535 | } | |
11536 | return NULL; | |
11537 | } | |
11538 | ||
11539 | ||
11540 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11541 | PyObject *resultobj; | |
11542 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11543 | wxString *arg2 = 0 ; | |
423f194a | 11544 | bool temp2 = False ; |
d14a1e28 RD |
11545 | PyObject * obj0 = 0 ; |
11546 | PyObject * obj1 = 0 ; | |
11547 | char *kwnames[] = { | |
11548 | (char *) "self",(char *) "path", NULL | |
11549 | }; | |
11550 | ||
11551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
11552 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11553 | { | |
11554 | arg2 = wxString_in_helper(obj1); | |
11555 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11556 | temp2 = True; |
d14a1e28 RD |
11557 | } |
11558 | { | |
11559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11560 | (arg1)->SetPath((wxString const &)*arg2); | |
11561 | ||
11562 | wxPyEndAllowThreads(__tstate); | |
11563 | if (PyErr_Occurred()) SWIG_fail; | |
11564 | } | |
11565 | Py_INCREF(Py_None); resultobj = Py_None; | |
11566 | { | |
11567 | if (temp2) | |
11568 | delete arg2; | |
11569 | } | |
11570 | return resultobj; | |
11571 | fail: | |
11572 | { | |
11573 | if (temp2) | |
11574 | delete arg2; | |
11575 | } | |
11576 | return NULL; | |
11577 | } | |
11578 | ||
11579 | ||
11580 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11581 | PyObject *resultobj; | |
11582 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11583 | wxString *arg2 = 0 ; | |
423f194a | 11584 | bool temp2 = False ; |
d14a1e28 RD |
11585 | PyObject * obj0 = 0 ; |
11586 | PyObject * obj1 = 0 ; | |
11587 | char *kwnames[] = { | |
11588 | (char *) "self",(char *) "dir", NULL | |
11589 | }; | |
11590 | ||
11591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
11592 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11593 | { | |
11594 | arg2 = wxString_in_helper(obj1); | |
11595 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11596 | temp2 = True; |
d14a1e28 RD |
11597 | } |
11598 | { | |
11599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11600 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11601 | ||
11602 | wxPyEndAllowThreads(__tstate); | |
11603 | if (PyErr_Occurred()) SWIG_fail; | |
11604 | } | |
11605 | Py_INCREF(Py_None); resultobj = Py_None; | |
11606 | { | |
11607 | if (temp2) | |
11608 | delete arg2; | |
11609 | } | |
11610 | return resultobj; | |
11611 | fail: | |
11612 | { | |
11613 | if (temp2) | |
11614 | delete arg2; | |
11615 | } | |
11616 | return NULL; | |
11617 | } | |
11618 | ||
11619 | ||
11620 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11621 | PyObject *resultobj; | |
11622 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11623 | wxString *arg2 = 0 ; | |
423f194a | 11624 | bool temp2 = False ; |
d14a1e28 RD |
11625 | PyObject * obj0 = 0 ; |
11626 | PyObject * obj1 = 0 ; | |
11627 | char *kwnames[] = { | |
11628 | (char *) "self",(char *) "name", NULL | |
11629 | }; | |
11630 | ||
11631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
11632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11633 | { | |
11634 | arg2 = wxString_in_helper(obj1); | |
11635 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11636 | temp2 = True; |
d14a1e28 RD |
11637 | } |
11638 | { | |
11639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11640 | (arg1)->SetFilename((wxString const &)*arg2); | |
11641 | ||
11642 | wxPyEndAllowThreads(__tstate); | |
11643 | if (PyErr_Occurred()) SWIG_fail; | |
11644 | } | |
11645 | Py_INCREF(Py_None); resultobj = Py_None; | |
11646 | { | |
11647 | if (temp2) | |
11648 | delete arg2; | |
11649 | } | |
11650 | return resultobj; | |
11651 | fail: | |
11652 | { | |
11653 | if (temp2) | |
11654 | delete arg2; | |
11655 | } | |
11656 | return NULL; | |
11657 | } | |
11658 | ||
11659 | ||
11660 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11661 | PyObject *resultobj; | |
11662 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11663 | wxString *arg2 = 0 ; | |
423f194a | 11664 | bool temp2 = False ; |
d14a1e28 RD |
11665 | PyObject * obj0 = 0 ; |
11666 | PyObject * obj1 = 0 ; | |
11667 | char *kwnames[] = { | |
11668 | (char *) "self",(char *) "wildCard", NULL | |
11669 | }; | |
11670 | ||
11671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
11672 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11673 | { | |
11674 | arg2 = wxString_in_helper(obj1); | |
11675 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11676 | temp2 = True; |
d14a1e28 RD |
11677 | } |
11678 | { | |
11679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11680 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11681 | ||
11682 | wxPyEndAllowThreads(__tstate); | |
11683 | if (PyErr_Occurred()) SWIG_fail; | |
11684 | } | |
11685 | Py_INCREF(Py_None); resultobj = Py_None; | |
11686 | { | |
11687 | if (temp2) | |
11688 | delete arg2; | |
11689 | } | |
11690 | return resultobj; | |
11691 | fail: | |
11692 | { | |
11693 | if (temp2) | |
11694 | delete arg2; | |
11695 | } | |
11696 | return NULL; | |
11697 | } | |
11698 | ||
11699 | ||
11700 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11701 | PyObject *resultobj; | |
11702 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11703 | long arg2 ; | |
11704 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11705 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11706 | char *kwnames[] = { |
11707 | (char *) "self",(char *) "style", NULL | |
11708 | }; | |
11709 | ||
8edf1c75 | 11710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 11711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
11712 | { |
11713 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
11714 | if (PyErr_Occurred()) SWIG_fail; | |
11715 | } | |
d14a1e28 RD |
11716 | { |
11717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11718 | (arg1)->SetStyle(arg2); | |
11719 | ||
11720 | wxPyEndAllowThreads(__tstate); | |
11721 | if (PyErr_Occurred()) SWIG_fail; | |
11722 | } | |
11723 | Py_INCREF(Py_None); resultobj = Py_None; | |
11724 | return resultobj; | |
11725 | fail: | |
11726 | return NULL; | |
11727 | } | |
11728 | ||
11729 | ||
11730 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11731 | PyObject *resultobj; | |
11732 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11733 | int arg2 ; | |
11734 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11735 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11736 | char *kwnames[] = { |
11737 | (char *) "self",(char *) "filterIndex", NULL | |
11738 | }; | |
11739 | ||
8edf1c75 | 11740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 11741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
11742 | { |
11743 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
11744 | if (PyErr_Occurred()) SWIG_fail; | |
11745 | } | |
d14a1e28 RD |
11746 | { |
11747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11748 | (arg1)->SetFilterIndex(arg2); | |
11749 | ||
11750 | wxPyEndAllowThreads(__tstate); | |
11751 | if (PyErr_Occurred()) SWIG_fail; | |
11752 | } | |
11753 | Py_INCREF(Py_None); resultobj = Py_None; | |
11754 | return resultobj; | |
11755 | fail: | |
11756 | return NULL; | |
11757 | } | |
11758 | ||
11759 | ||
11760 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11761 | PyObject *resultobj; | |
11762 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11763 | wxString result; | |
11764 | PyObject * obj0 = 0 ; | |
11765 | char *kwnames[] = { | |
11766 | (char *) "self", NULL | |
11767 | }; | |
11768 | ||
11769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
11770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11771 | { | |
11772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11773 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11774 | ||
11775 | wxPyEndAllowThreads(__tstate); | |
11776 | if (PyErr_Occurred()) SWIG_fail; | |
11777 | } | |
11778 | { | |
11779 | #if wxUSE_UNICODE | |
11780 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11781 | #else | |
11782 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11783 | #endif | |
11784 | } | |
11785 | return resultobj; | |
11786 | fail: | |
11787 | return NULL; | |
11788 | } | |
11789 | ||
11790 | ||
11791 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11792 | PyObject *resultobj; | |
11793 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11794 | wxString result; | |
11795 | PyObject * obj0 = 0 ; | |
11796 | char *kwnames[] = { | |
11797 | (char *) "self", NULL | |
11798 | }; | |
11799 | ||
11800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
11801 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11802 | { | |
11803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11804 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11805 | ||
11806 | wxPyEndAllowThreads(__tstate); | |
11807 | if (PyErr_Occurred()) SWIG_fail; | |
11808 | } | |
11809 | { | |
11810 | #if wxUSE_UNICODE | |
11811 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11812 | #else | |
11813 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11814 | #endif | |
11815 | } | |
11816 | return resultobj; | |
11817 | fail: | |
11818 | return NULL; | |
11819 | } | |
11820 | ||
11821 | ||
11822 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11823 | PyObject *resultobj; | |
11824 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11825 | wxString result; | |
11826 | PyObject * obj0 = 0 ; | |
11827 | char *kwnames[] = { | |
11828 | (char *) "self", NULL | |
11829 | }; | |
11830 | ||
11831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
11832 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11833 | { | |
11834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11835 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11836 | ||
11837 | wxPyEndAllowThreads(__tstate); | |
11838 | if (PyErr_Occurred()) SWIG_fail; | |
11839 | } | |
11840 | { | |
11841 | #if wxUSE_UNICODE | |
11842 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11843 | #else | |
11844 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11845 | #endif | |
11846 | } | |
11847 | return resultobj; | |
11848 | fail: | |
11849 | return NULL; | |
11850 | } | |
11851 | ||
11852 | ||
11853 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11854 | PyObject *resultobj; | |
11855 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11856 | wxString result; | |
11857 | PyObject * obj0 = 0 ; | |
11858 | char *kwnames[] = { | |
11859 | (char *) "self", NULL | |
11860 | }; | |
11861 | ||
11862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
11863 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11864 | { | |
11865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11866 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11867 | ||
11868 | wxPyEndAllowThreads(__tstate); | |
11869 | if (PyErr_Occurred()) SWIG_fail; | |
11870 | } | |
11871 | { | |
11872 | #if wxUSE_UNICODE | |
11873 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11874 | #else | |
11875 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11876 | #endif | |
11877 | } | |
11878 | return resultobj; | |
11879 | fail: | |
11880 | return NULL; | |
11881 | } | |
11882 | ||
11883 | ||
11884 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11885 | PyObject *resultobj; | |
11886 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11887 | wxString result; | |
11888 | PyObject * obj0 = 0 ; | |
11889 | char *kwnames[] = { | |
11890 | (char *) "self", NULL | |
11891 | }; | |
11892 | ||
11893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
11894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11895 | { | |
11896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11897 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
11898 | ||
11899 | wxPyEndAllowThreads(__tstate); | |
11900 | if (PyErr_Occurred()) SWIG_fail; | |
11901 | } | |
11902 | { | |
11903 | #if wxUSE_UNICODE | |
11904 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11905 | #else | |
11906 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11907 | #endif | |
11908 | } | |
11909 | return resultobj; | |
11910 | fail: | |
11911 | return NULL; | |
11912 | } | |
11913 | ||
11914 | ||
11915 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11916 | PyObject *resultobj; | |
11917 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11918 | long result; | |
11919 | PyObject * obj0 = 0 ; | |
11920 | char *kwnames[] = { | |
11921 | (char *) "self", NULL | |
11922 | }; | |
11923 | ||
11924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
11925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11926 | { | |
11927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11928 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
11929 | ||
11930 | wxPyEndAllowThreads(__tstate); | |
11931 | if (PyErr_Occurred()) SWIG_fail; | |
11932 | } | |
8edf1c75 | 11933 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
11934 | return resultobj; |
11935 | fail: | |
11936 | return NULL; | |
11937 | } | |
11938 | ||
11939 | ||
11940 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11941 | PyObject *resultobj; | |
11942 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11943 | int result; | |
11944 | PyObject * obj0 = 0 ; | |
11945 | char *kwnames[] = { | |
11946 | (char *) "self", NULL | |
11947 | }; | |
11948 | ||
11949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
11950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11951 | { | |
11952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11953 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11954 | ||
11955 | wxPyEndAllowThreads(__tstate); | |
11956 | if (PyErr_Occurred()) SWIG_fail; | |
11957 | } | |
8edf1c75 | 11958 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
11959 | return resultobj; |
11960 | fail: | |
11961 | return NULL; | |
11962 | } | |
11963 | ||
11964 | ||
11965 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11966 | PyObject *resultobj; | |
11967 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11968 | PyObject *result; | |
11969 | PyObject * obj0 = 0 ; | |
11970 | char *kwnames[] = { | |
11971 | (char *) "self", NULL | |
11972 | }; | |
11973 | ||
11974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
11975 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11976 | { | |
11977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11978 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
11979 | ||
11980 | wxPyEndAllowThreads(__tstate); | |
11981 | if (PyErr_Occurred()) SWIG_fail; | |
11982 | } | |
11983 | resultobj = result; | |
11984 | return resultobj; | |
11985 | fail: | |
11986 | return NULL; | |
11987 | } | |
11988 | ||
11989 | ||
11990 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11991 | PyObject *resultobj; | |
11992 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11993 | PyObject *result; | |
11994 | PyObject * obj0 = 0 ; | |
11995 | char *kwnames[] = { | |
11996 | (char *) "self", NULL | |
11997 | }; | |
11998 | ||
11999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
12000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12001 | { | |
12002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12003 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12004 | ||
12005 | wxPyEndAllowThreads(__tstate); | |
12006 | if (PyErr_Occurred()) SWIG_fail; | |
12007 | } | |
12008 | resultobj = result; | |
12009 | return resultobj; | |
12010 | fail: | |
12011 | return NULL; | |
12012 | } | |
12013 | ||
12014 | ||
12015 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12016 | PyObject *obj; | |
12017 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12018 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12019 | Py_INCREF(obj); | |
12020 | return Py_BuildValue((char *)""); | |
12021 | } | |
12022 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12023 | PyObject *resultobj; | |
12024 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12025 | wxString *arg2 = 0 ; | |
12026 | wxString *arg3 = 0 ; | |
4e760a36 | 12027 | int arg4 = (int) 0 ; |
d14a1e28 RD |
12028 | wxString *arg5 = (wxString *) 0 ; |
12029 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12030 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12031 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12032 | wxMultiChoiceDialog *result; | |
423f194a RD |
12033 | bool temp2 = False ; |
12034 | bool temp3 = False ; | |
4e760a36 | 12035 | wxPoint temp6 ; |
d14a1e28 RD |
12036 | PyObject * obj0 = 0 ; |
12037 | PyObject * obj1 = 0 ; | |
12038 | PyObject * obj2 = 0 ; | |
8edf1c75 | 12039 | PyObject * obj3 = 0 ; |
d14a1e28 | 12040 | PyObject * obj4 = 0 ; |
8edf1c75 | 12041 | PyObject * obj5 = 0 ; |
d14a1e28 | 12042 | char *kwnames[] = { |
4e760a36 | 12043 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12044 | }; |
12045 | ||
4e760a36 | 12046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
12047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12048 | { | |
12049 | arg2 = wxString_in_helper(obj1); | |
12050 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12051 | temp2 = True; |
d14a1e28 RD |
12052 | } |
12053 | { | |
12054 | arg3 = wxString_in_helper(obj2); | |
12055 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12056 | temp3 = True; |
d14a1e28 | 12057 | } |
4e760a36 RD |
12058 | if (obj3) { |
12059 | { | |
12060 | arg4 = PyList_Size(obj3); | |
12061 | arg5 = wxString_LIST_helper(obj3); | |
12062 | if (arg5 == NULL) SWIG_fail; | |
12063 | } | |
f775c30d | 12064 | } |
4e760a36 | 12065 | if (obj4) { |
8edf1c75 | 12066 | { |
4e760a36 | 12067 | arg6 = (long) SWIG_PyObj_AsLong(obj4); |
8edf1c75 RD |
12068 | if (PyErr_Occurred()) SWIG_fail; |
12069 | } | |
12070 | } | |
4e760a36 | 12071 | if (obj5) { |
d14a1e28 | 12072 | { |
4e760a36 RD |
12073 | arg7 = &temp6; |
12074 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12075 | } |
12076 | } | |
12077 | { | |
12078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12079 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12080 | ||
12081 | wxPyEndAllowThreads(__tstate); | |
12082 | if (PyErr_Occurred()) SWIG_fail; | |
12083 | } | |
12084 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
12085 | { | |
12086 | if (temp2) | |
12087 | delete arg2; | |
12088 | } | |
12089 | { | |
12090 | if (temp3) | |
12091 | delete arg3; | |
12092 | } | |
f775c30d | 12093 | { |
4e760a36 | 12094 | if (arg5) delete [] arg5; |
f775c30d | 12095 | } |
d14a1e28 RD |
12096 | return resultobj; |
12097 | fail: | |
12098 | { | |
12099 | if (temp2) | |
12100 | delete arg2; | |
12101 | } | |
12102 | { | |
12103 | if (temp3) | |
12104 | delete arg3; | |
12105 | } | |
f775c30d | 12106 | { |
4e760a36 | 12107 | if (arg5) delete [] arg5; |
f775c30d | 12108 | } |
d14a1e28 RD |
12109 | return NULL; |
12110 | } | |
12111 | ||
12112 | ||
12113 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12114 | PyObject *resultobj; | |
12115 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12116 | wxArrayInt *arg2 = 0 ; | |
12117 | PyObject * obj0 = 0 ; | |
12118 | PyObject * obj1 = 0 ; | |
12119 | char *kwnames[] = { | |
12120 | (char *) "self",(char *) "selections", NULL | |
12121 | }; | |
12122 | ||
12123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
12124 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12125 | { | |
12126 | if (! PySequence_Check(obj1)) { | |
12127 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12128 | SWIG_fail; | |
12129 | } | |
12130 | arg2 = new wxArrayInt; | |
12131 | int i, len=PySequence_Length(obj1); | |
12132 | for (i=0; i<len; i++) { | |
12133 | PyObject* item = PySequence_GetItem(obj1, i); | |
12134 | PyObject* number = PyNumber_Int(item); | |
12135 | arg2->Add(PyInt_AS_LONG(number)); | |
12136 | Py_DECREF(item); | |
12137 | Py_DECREF(number); | |
12138 | } | |
12139 | } | |
12140 | { | |
12141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12142 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12143 | ||
12144 | wxPyEndAllowThreads(__tstate); | |
12145 | if (PyErr_Occurred()) SWIG_fail; | |
12146 | } | |
12147 | Py_INCREF(Py_None); resultobj = Py_None; | |
12148 | { | |
12149 | if (arg2) delete arg2; | |
12150 | } | |
12151 | return resultobj; | |
12152 | fail: | |
12153 | { | |
12154 | if (arg2) delete arg2; | |
12155 | } | |
12156 | return NULL; | |
12157 | } | |
12158 | ||
12159 | ||
12160 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12161 | PyObject *resultobj; | |
12162 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12163 | PyObject *result; | |
12164 | PyObject * obj0 = 0 ; | |
12165 | char *kwnames[] = { | |
12166 | (char *) "self", NULL | |
12167 | }; | |
12168 | ||
12169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
12170 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12171 | { | |
12172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12173 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12174 | ||
12175 | wxPyEndAllowThreads(__tstate); | |
12176 | if (PyErr_Occurred()) SWIG_fail; | |
12177 | } | |
12178 | resultobj = result; | |
12179 | return resultobj; | |
12180 | fail: | |
12181 | return NULL; | |
12182 | } | |
12183 | ||
12184 | ||
12185 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12186 | PyObject *obj; | |
12187 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12188 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12189 | Py_INCREF(obj); | |
12190 | return Py_BuildValue((char *)""); | |
12191 | } | |
12192 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12193 | PyObject *resultobj; | |
12194 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12195 | wxString *arg2 = 0 ; | |
12196 | wxString *arg3 = 0 ; | |
12197 | int arg4 ; | |
12198 | wxString *arg5 = (wxString *) 0 ; | |
12199 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12200 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12201 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12202 | wxSingleChoiceDialog *result; | |
423f194a RD |
12203 | bool temp2 = False ; |
12204 | bool temp3 = False ; | |
d14a1e28 RD |
12205 | wxPoint temp6 ; |
12206 | PyObject * obj0 = 0 ; | |
12207 | PyObject * obj1 = 0 ; | |
12208 | PyObject * obj2 = 0 ; | |
12209 | PyObject * obj3 = 0 ; | |
8edf1c75 | 12210 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12211 | PyObject * obj5 = 0 ; |
12212 | char *kwnames[] = { | |
12213 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12214 | }; | |
12215 | ||
8edf1c75 | 12216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
12217 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12218 | { | |
12219 | arg2 = wxString_in_helper(obj1); | |
12220 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12221 | temp2 = True; |
d14a1e28 RD |
12222 | } |
12223 | { | |
12224 | arg3 = wxString_in_helper(obj2); | |
12225 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12226 | temp3 = True; |
d14a1e28 RD |
12227 | } |
12228 | { | |
12229 | arg4 = PyList_Size(obj3); | |
12230 | arg5 = wxString_LIST_helper(obj3); | |
12231 | if (arg5 == NULL) SWIG_fail; | |
12232 | } | |
8edf1c75 RD |
12233 | if (obj4) { |
12234 | { | |
12235 | arg6 = (long) SWIG_PyObj_AsLong(obj4); | |
12236 | if (PyErr_Occurred()) SWIG_fail; | |
12237 | } | |
12238 | } | |
d14a1e28 RD |
12239 | if (obj5) { |
12240 | { | |
12241 | arg7 = &temp6; | |
12242 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12243 | } | |
12244 | } | |
12245 | { | |
12246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12247 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12248 | ||
12249 | wxPyEndAllowThreads(__tstate); | |
12250 | if (PyErr_Occurred()) SWIG_fail; | |
12251 | } | |
12252 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
12253 | { | |
12254 | if (temp2) | |
12255 | delete arg2; | |
12256 | } | |
12257 | { | |
12258 | if (temp3) | |
12259 | delete arg3; | |
12260 | } | |
12261 | { | |
12262 | if (arg5) delete [] arg5; | |
12263 | } | |
12264 | return resultobj; | |
12265 | fail: | |
12266 | { | |
12267 | if (temp2) | |
12268 | delete arg2; | |
12269 | } | |
12270 | { | |
12271 | if (temp3) | |
12272 | delete arg3; | |
12273 | } | |
12274 | { | |
12275 | if (arg5) delete [] arg5; | |
12276 | } | |
12277 | return NULL; | |
12278 | } | |
12279 | ||
12280 | ||
12281 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12282 | PyObject *resultobj; | |
12283 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12284 | int result; | |
12285 | PyObject * obj0 = 0 ; | |
12286 | char *kwnames[] = { | |
12287 | (char *) "self", NULL | |
12288 | }; | |
12289 | ||
12290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
12291 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12292 | { | |
12293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12294 | result = (int)(arg1)->GetSelection(); | |
12295 | ||
12296 | wxPyEndAllowThreads(__tstate); | |
12297 | if (PyErr_Occurred()) SWIG_fail; | |
12298 | } | |
8edf1c75 | 12299 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
12300 | return resultobj; |
12301 | fail: | |
12302 | return NULL; | |
12303 | } | |
12304 | ||
12305 | ||
12306 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12307 | PyObject *resultobj; | |
12308 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12309 | wxString result; | |
12310 | PyObject * obj0 = 0 ; | |
12311 | char *kwnames[] = { | |
12312 | (char *) "self", NULL | |
12313 | }; | |
12314 | ||
12315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
12316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12317 | { | |
12318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12319 | result = (arg1)->GetStringSelection(); | |
12320 | ||
12321 | wxPyEndAllowThreads(__tstate); | |
12322 | if (PyErr_Occurred()) SWIG_fail; | |
12323 | } | |
12324 | { | |
12325 | #if wxUSE_UNICODE | |
12326 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12327 | #else | |
12328 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12329 | #endif | |
12330 | } | |
12331 | return resultobj; | |
12332 | fail: | |
12333 | return NULL; | |
12334 | } | |
12335 | ||
12336 | ||
12337 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12338 | PyObject *resultobj; | |
12339 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12340 | int arg2 ; | |
12341 | PyObject * obj0 = 0 ; | |
8edf1c75 | 12342 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12343 | char *kwnames[] = { |
12344 | (char *) "self",(char *) "sel", NULL | |
12345 | }; | |
12346 | ||
8edf1c75 | 12347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 12348 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
12349 | { |
12350 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
12351 | if (PyErr_Occurred()) SWIG_fail; | |
12352 | } | |
d14a1e28 RD |
12353 | { |
12354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12355 | (arg1)->SetSelection(arg2); | |
12356 | ||
12357 | wxPyEndAllowThreads(__tstate); | |
12358 | if (PyErr_Occurred()) SWIG_fail; | |
12359 | } | |
12360 | Py_INCREF(Py_None); resultobj = Py_None; | |
12361 | return resultobj; | |
12362 | fail: | |
12363 | return NULL; | |
12364 | } | |
12365 | ||
12366 | ||
12367 | static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12368 | PyObject *resultobj; | |
12369 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12370 | int result; | |
12371 | PyObject * obj0 = 0 ; | |
12372 | char *kwnames[] = { | |
12373 | (char *) "self", NULL | |
12374 | }; | |
12375 | ||
12376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail; | |
12377 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12378 | { | |
12379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12380 | result = (int)(arg1)->ShowModal(); | |
12381 | ||
12382 | wxPyEndAllowThreads(__tstate); | |
12383 | if (PyErr_Occurred()) SWIG_fail; | |
12384 | } | |
8edf1c75 | 12385 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
12386 | return resultobj; |
12387 | fail: | |
12388 | return NULL; | |
12389 | } | |
12390 | ||
12391 | ||
12392 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12393 | PyObject *obj; | |
12394 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12395 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12396 | Py_INCREF(obj); | |
12397 | return Py_BuildValue((char *)""); | |
12398 | } | |
12399 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12400 | PyObject *resultobj; | |
12401 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12402 | wxString *arg2 = 0 ; | |
12403 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12404 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12405 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12406 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12407 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12408 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12409 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12410 | wxTextEntryDialog *result; | |
423f194a RD |
12411 | bool temp2 = False ; |
12412 | bool temp3 = False ; | |
12413 | bool temp4 = False ; | |
d14a1e28 RD |
12414 | wxPoint temp6 ; |
12415 | PyObject * obj0 = 0 ; | |
12416 | PyObject * obj1 = 0 ; | |
12417 | PyObject * obj2 = 0 ; | |
12418 | PyObject * obj3 = 0 ; | |
8edf1c75 | 12419 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12420 | PyObject * obj5 = 0 ; |
12421 | char *kwnames[] = { | |
12422 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12423 | }; | |
12424 | ||
8edf1c75 | 12425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
12426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
12427 | { | |
12428 | arg2 = wxString_in_helper(obj1); | |
12429 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12430 | temp2 = True; |
d14a1e28 RD |
12431 | } |
12432 | if (obj2) { | |
12433 | { | |
12434 | arg3 = wxString_in_helper(obj2); | |
12435 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12436 | temp3 = True; |
d14a1e28 RD |
12437 | } |
12438 | } | |
12439 | if (obj3) { | |
12440 | { | |
12441 | arg4 = wxString_in_helper(obj3); | |
12442 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 12443 | temp4 = True; |
d14a1e28 RD |
12444 | } |
12445 | } | |
8edf1c75 RD |
12446 | if (obj4) { |
12447 | { | |
12448 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
12449 | if (PyErr_Occurred()) SWIG_fail; | |
12450 | } | |
12451 | } | |
d14a1e28 RD |
12452 | if (obj5) { |
12453 | { | |
12454 | arg6 = &temp6; | |
12455 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12456 | } | |
12457 | } | |
12458 | { | |
12459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12460 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12461 | ||
12462 | wxPyEndAllowThreads(__tstate); | |
12463 | if (PyErr_Occurred()) SWIG_fail; | |
12464 | } | |
12465 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1); | |
12466 | { | |
12467 | if (temp2) | |
12468 | delete arg2; | |
12469 | } | |
12470 | { | |
12471 | if (temp3) | |
12472 | delete arg3; | |
12473 | } | |
12474 | { | |
12475 | if (temp4) | |
12476 | delete arg4; | |
12477 | } | |
12478 | return resultobj; | |
12479 | fail: | |
12480 | { | |
12481 | if (temp2) | |
12482 | delete arg2; | |
12483 | } | |
12484 | { | |
12485 | if (temp3) | |
12486 | delete arg3; | |
12487 | } | |
12488 | { | |
12489 | if (temp4) | |
12490 | delete arg4; | |
12491 | } | |
12492 | return NULL; | |
12493 | } | |
12494 | ||
12495 | ||
12496 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12497 | PyObject *resultobj; | |
12498 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12499 | wxString result; | |
12500 | PyObject * obj0 = 0 ; | |
12501 | char *kwnames[] = { | |
12502 | (char *) "self", NULL | |
12503 | }; | |
12504 | ||
12505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
12506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12507 | { | |
12508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12509 | result = (arg1)->GetValue(); | |
12510 | ||
12511 | wxPyEndAllowThreads(__tstate); | |
12512 | if (PyErr_Occurred()) SWIG_fail; | |
12513 | } | |
12514 | { | |
12515 | #if wxUSE_UNICODE | |
12516 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12517 | #else | |
12518 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12519 | #endif | |
12520 | } | |
12521 | return resultobj; | |
12522 | fail: | |
12523 | return NULL; | |
12524 | } | |
12525 | ||
12526 | ||
12527 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12528 | PyObject *resultobj; | |
12529 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12530 | wxString *arg2 = 0 ; | |
423f194a | 12531 | bool temp2 = False ; |
d14a1e28 RD |
12532 | PyObject * obj0 = 0 ; |
12533 | PyObject * obj1 = 0 ; | |
12534 | char *kwnames[] = { | |
12535 | (char *) "self",(char *) "value", NULL | |
12536 | }; | |
12537 | ||
12538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
12539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12540 | { | |
12541 | arg2 = wxString_in_helper(obj1); | |
12542 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12543 | temp2 = True; |
d14a1e28 RD |
12544 | } |
12545 | { | |
12546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12547 | (arg1)->SetValue((wxString const &)*arg2); | |
12548 | ||
12549 | wxPyEndAllowThreads(__tstate); | |
12550 | if (PyErr_Occurred()) SWIG_fail; | |
12551 | } | |
12552 | Py_INCREF(Py_None); resultobj = Py_None; | |
12553 | { | |
12554 | if (temp2) | |
12555 | delete arg2; | |
12556 | } | |
12557 | return resultobj; | |
12558 | fail: | |
12559 | { | |
12560 | if (temp2) | |
12561 | delete arg2; | |
12562 | } | |
12563 | return NULL; | |
12564 | } | |
12565 | ||
12566 | ||
12567 | static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12568 | PyObject *resultobj; | |
12569 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12570 | int result; | |
12571 | PyObject * obj0 = 0 ; | |
12572 | char *kwnames[] = { | |
12573 | (char *) "self", NULL | |
12574 | }; | |
12575 | ||
12576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail; | |
12577 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12578 | { | |
12579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12580 | result = (int)(arg1)->ShowModal(); | |
12581 | ||
12582 | wxPyEndAllowThreads(__tstate); | |
12583 | if (PyErr_Occurred()) SWIG_fail; | |
12584 | } | |
8edf1c75 | 12585 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
12586 | return resultobj; |
12587 | fail: | |
12588 | return NULL; | |
12589 | } | |
12590 | ||
12591 | ||
12592 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { | |
12593 | PyObject *obj; | |
12594 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12595 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12596 | Py_INCREF(obj); | |
12597 | return Py_BuildValue((char *)""); | |
12598 | } | |
12599 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12600 | PyObject *resultobj; | |
12601 | wxFontData *result; | |
12602 | char *kwnames[] = { | |
12603 | NULL | |
12604 | }; | |
12605 | ||
12606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12607 | { | |
12608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12609 | result = (wxFontData *)new wxFontData(); | |
12610 | ||
12611 | wxPyEndAllowThreads(__tstate); | |
12612 | if (PyErr_Occurred()) SWIG_fail; | |
12613 | } | |
12614 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1); | |
12615 | return resultobj; | |
12616 | fail: | |
12617 | return NULL; | |
12618 | } | |
12619 | ||
12620 | ||
12621 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12622 | PyObject *resultobj; | |
12623 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12624 | PyObject * obj0 = 0 ; | |
12625 | char *kwnames[] = { | |
12626 | (char *) "self", NULL | |
12627 | }; | |
12628 | ||
12629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
12630 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12631 | { | |
12632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12633 | delete arg1; | |
12634 | ||
12635 | wxPyEndAllowThreads(__tstate); | |
12636 | if (PyErr_Occurred()) SWIG_fail; | |
12637 | } | |
12638 | Py_INCREF(Py_None); resultobj = Py_None; | |
12639 | return resultobj; | |
12640 | fail: | |
12641 | return NULL; | |
12642 | } | |
12643 | ||
12644 | ||
12645 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12646 | PyObject *resultobj; | |
12647 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12648 | bool arg2 ; | |
12649 | PyObject * obj0 = 0 ; | |
12650 | PyObject * obj1 = 0 ; | |
12651 | char *kwnames[] = { | |
12652 | (char *) "self",(char *) "enable", NULL | |
12653 | }; | |
12654 | ||
12655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
12656 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 12657 | { |
8edf1c75 | 12658 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
12659 | if (PyErr_Occurred()) SWIG_fail; |
12660 | } | |
d14a1e28 RD |
12661 | { |
12662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12663 | (arg1)->EnableEffects(arg2); | |
12664 | ||
12665 | wxPyEndAllowThreads(__tstate); | |
12666 | if (PyErr_Occurred()) SWIG_fail; | |
12667 | } | |
12668 | Py_INCREF(Py_None); resultobj = Py_None; | |
12669 | return resultobj; | |
12670 | fail: | |
12671 | return NULL; | |
12672 | } | |
12673 | ||
12674 | ||
12675 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12676 | PyObject *resultobj; | |
12677 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12678 | bool result; | |
12679 | PyObject * obj0 = 0 ; | |
12680 | char *kwnames[] = { | |
12681 | (char *) "self", NULL | |
12682 | }; | |
12683 | ||
12684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
12685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12686 | { | |
12687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12688 | result = (bool)(arg1)->GetAllowSymbols(); | |
12689 | ||
12690 | wxPyEndAllowThreads(__tstate); | |
12691 | if (PyErr_Occurred()) SWIG_fail; | |
12692 | } | |
4e760a36 | 12693 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12694 | return resultobj; |
12695 | fail: | |
12696 | return NULL; | |
12697 | } | |
12698 | ||
12699 | ||
12700 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12701 | PyObject *resultobj; | |
12702 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12703 | wxColour result; | |
12704 | PyObject * obj0 = 0 ; | |
12705 | char *kwnames[] = { | |
12706 | (char *) "self", NULL | |
12707 | }; | |
12708 | ||
12709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
12710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12711 | { | |
12712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12713 | result = (arg1)->GetColour(); | |
12714 | ||
12715 | wxPyEndAllowThreads(__tstate); | |
12716 | if (PyErr_Occurred()) SWIG_fail; | |
12717 | } | |
12718 | { | |
12719 | wxColour * resultptr; | |
12720 | resultptr = new wxColour((wxColour &) result); | |
12721 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
12722 | } | |
12723 | return resultobj; | |
12724 | fail: | |
12725 | return NULL; | |
12726 | } | |
12727 | ||
12728 | ||
12729 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12730 | PyObject *resultobj; | |
12731 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12732 | wxFont result; | |
12733 | PyObject * obj0 = 0 ; | |
12734 | char *kwnames[] = { | |
12735 | (char *) "self", NULL | |
12736 | }; | |
12737 | ||
12738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
12739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12740 | { | |
12741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12742 | result = (arg1)->GetChosenFont(); | |
12743 | ||
12744 | wxPyEndAllowThreads(__tstate); | |
12745 | if (PyErr_Occurred()) SWIG_fail; | |
12746 | } | |
12747 | { | |
12748 | wxFont * resultptr; | |
12749 | resultptr = new wxFont((wxFont &) result); | |
12750 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
12751 | } | |
12752 | return resultobj; | |
12753 | fail: | |
12754 | return NULL; | |
12755 | } | |
12756 | ||
12757 | ||
12758 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12759 | PyObject *resultobj; | |
12760 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12761 | bool result; | |
12762 | PyObject * obj0 = 0 ; | |
12763 | char *kwnames[] = { | |
12764 | (char *) "self", NULL | |
12765 | }; | |
12766 | ||
12767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
12768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12769 | { | |
12770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12771 | result = (bool)(arg1)->GetEnableEffects(); | |
12772 | ||
12773 | wxPyEndAllowThreads(__tstate); | |
12774 | if (PyErr_Occurred()) SWIG_fail; | |
12775 | } | |
4e760a36 | 12776 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12777 | return resultobj; |
12778 | fail: | |
12779 | return NULL; | |
12780 | } | |
12781 | ||
12782 | ||
12783 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12784 | PyObject *resultobj; | |
12785 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12786 | wxFont result; | |
12787 | PyObject * obj0 = 0 ; | |
12788 | char *kwnames[] = { | |
12789 | (char *) "self", NULL | |
12790 | }; | |
12791 | ||
12792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
12793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12794 | { | |
12795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12796 | result = (arg1)->GetInitialFont(); | |
12797 | ||
12798 | wxPyEndAllowThreads(__tstate); | |
12799 | if (PyErr_Occurred()) SWIG_fail; | |
12800 | } | |
12801 | { | |
12802 | wxFont * resultptr; | |
12803 | resultptr = new wxFont((wxFont &) result); | |
12804 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
12805 | } | |
12806 | return resultobj; | |
12807 | fail: | |
12808 | return NULL; | |
12809 | } | |
12810 | ||
12811 | ||
12812 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12813 | PyObject *resultobj; | |
12814 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12815 | bool result; | |
12816 | PyObject * obj0 = 0 ; | |
12817 | char *kwnames[] = { | |
12818 | (char *) "self", NULL | |
12819 | }; | |
12820 | ||
12821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
12822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12823 | { | |
12824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12825 | result = (bool)(arg1)->GetShowHelp(); | |
12826 | ||
12827 | wxPyEndAllowThreads(__tstate); | |
12828 | if (PyErr_Occurred()) SWIG_fail; | |
12829 | } | |
4e760a36 | 12830 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12831 | return resultobj; |
12832 | fail: | |
12833 | return NULL; | |
12834 | } | |
12835 | ||
12836 | ||
12837 | static PyObject *_wrap_FontData_SetAllowSymbols(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 *) "allowSymbols", NULL | |
12845 | }; | |
12846 | ||
12847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
12848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 12849 | { |
8edf1c75 | 12850 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
12851 | if (PyErr_Occurred()) SWIG_fail; |
12852 | } | |
d14a1e28 RD |
12853 | { |
12854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12855 | (arg1)->SetAllowSymbols(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 *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12868 | PyObject *resultobj; | |
12869 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12870 | wxFont *arg2 = 0 ; | |
12871 | PyObject * obj0 = 0 ; | |
12872 | PyObject * obj1 = 0 ; | |
12873 | char *kwnames[] = { | |
12874 | (char *) "self",(char *) "font", NULL | |
12875 | }; | |
12876 | ||
12877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
12878 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12879 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12880 | if (arg2 == NULL) { | |
12881 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12882 | } | |
12883 | { | |
12884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12885 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12886 | ||
12887 | wxPyEndAllowThreads(__tstate); | |
12888 | if (PyErr_Occurred()) SWIG_fail; | |
12889 | } | |
12890 | Py_INCREF(Py_None); resultobj = Py_None; | |
12891 | return resultobj; | |
12892 | fail: | |
12893 | return NULL; | |
12894 | } | |
12895 | ||
12896 | ||
12897 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12898 | PyObject *resultobj; | |
12899 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12900 | wxColour *arg2 = 0 ; | |
12901 | wxColour temp2 ; | |
12902 | PyObject * obj0 = 0 ; | |
12903 | PyObject * obj1 = 0 ; | |
12904 | char *kwnames[] = { | |
12905 | (char *) "self",(char *) "colour", NULL | |
12906 | }; | |
12907 | ||
12908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
12909 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12910 | { | |
12911 | arg2 = &temp2; | |
12912 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12913 | } | |
12914 | { | |
12915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12916 | (arg1)->SetColour((wxColour const &)*arg2); | |
12917 | ||
12918 | wxPyEndAllowThreads(__tstate); | |
12919 | if (PyErr_Occurred()) SWIG_fail; | |
12920 | } | |
12921 | Py_INCREF(Py_None); resultobj = Py_None; | |
12922 | return resultobj; | |
12923 | fail: | |
12924 | return NULL; | |
12925 | } | |
12926 | ||
12927 | ||
12928 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12929 | PyObject *resultobj; | |
12930 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12931 | wxFont *arg2 = 0 ; | |
12932 | PyObject * obj0 = 0 ; | |
12933 | PyObject * obj1 = 0 ; | |
12934 | char *kwnames[] = { | |
12935 | (char *) "self",(char *) "font", NULL | |
12936 | }; | |
12937 | ||
12938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
12939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12940 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12941 | if (arg2 == NULL) { | |
12942 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12943 | } | |
12944 | { | |
12945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12946 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
12947 | ||
12948 | wxPyEndAllowThreads(__tstate); | |
12949 | if (PyErr_Occurred()) SWIG_fail; | |
12950 | } | |
12951 | Py_INCREF(Py_None); resultobj = Py_None; | |
12952 | return resultobj; | |
12953 | fail: | |
12954 | return NULL; | |
12955 | } | |
12956 | ||
12957 | ||
12958 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12959 | PyObject *resultobj; | |
12960 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12961 | int arg2 ; | |
12962 | int arg3 ; | |
12963 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
12964 | PyObject * obj1 = 0 ; |
12965 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12966 | char *kwnames[] = { |
12967 | (char *) "self",(char *) "min",(char *) "max", NULL | |
12968 | }; | |
12969 | ||
8edf1c75 | 12970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 12971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
12972 | { |
12973 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
12974 | if (PyErr_Occurred()) SWIG_fail; | |
12975 | } | |
12976 | { | |
12977 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
12978 | if (PyErr_Occurred()) SWIG_fail; | |
12979 | } | |
d14a1e28 RD |
12980 | { |
12981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12982 | (arg1)->SetRange(arg2,arg3); | |
12983 | ||
12984 | wxPyEndAllowThreads(__tstate); | |
12985 | if (PyErr_Occurred()) SWIG_fail; | |
12986 | } | |
12987 | Py_INCREF(Py_None); resultobj = Py_None; | |
12988 | return resultobj; | |
12989 | fail: | |
12990 | return NULL; | |
12991 | } | |
12992 | ||
12993 | ||
12994 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12995 | PyObject *resultobj; | |
12996 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12997 | bool arg2 ; | |
12998 | PyObject * obj0 = 0 ; | |
12999 | PyObject * obj1 = 0 ; | |
13000 | char *kwnames[] = { | |
13001 | (char *) "self",(char *) "showHelp", NULL | |
13002 | }; | |
13003 | ||
13004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
13005 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 13006 | { |
8edf1c75 | 13007 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
13008 | if (PyErr_Occurred()) SWIG_fail; |
13009 | } | |
d14a1e28 RD |
13010 | { |
13011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13012 | (arg1)->SetShowHelp(arg2); | |
13013 | ||
13014 | wxPyEndAllowThreads(__tstate); | |
13015 | if (PyErr_Occurred()) SWIG_fail; | |
13016 | } | |
13017 | Py_INCREF(Py_None); resultobj = Py_None; | |
13018 | return resultobj; | |
13019 | fail: | |
13020 | return NULL; | |
13021 | } | |
13022 | ||
13023 | ||
13024 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13025 | PyObject *obj; | |
13026 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13027 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13028 | Py_INCREF(obj); | |
13029 | return Py_BuildValue((char *)""); | |
13030 | } | |
13031 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13032 | PyObject *resultobj; | |
13033 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13034 | wxFontData *arg2 = 0 ; | |
13035 | wxFontDialog *result; | |
13036 | PyObject * obj0 = 0 ; | |
13037 | PyObject * obj1 = 0 ; | |
13038 | char *kwnames[] = { | |
13039 | (char *) "parent",(char *) "data", NULL | |
13040 | }; | |
13041 | ||
13042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
13043 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13044 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13045 | if (arg2 == NULL) { | |
13046 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
13047 | } | |
13048 | { | |
13049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13050 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
13051 | ||
13052 | wxPyEndAllowThreads(__tstate); | |
13053 | if (PyErr_Occurred()) SWIG_fail; | |
13054 | } | |
13055 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1); | |
13056 | return resultobj; | |
13057 | fail: | |
13058 | return NULL; | |
13059 | } | |
13060 | ||
13061 | ||
13062 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13063 | PyObject *resultobj; | |
13064 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
13065 | wxFontData *result; | |
13066 | PyObject * obj0 = 0 ; | |
13067 | char *kwnames[] = { | |
13068 | (char *) "self", NULL | |
13069 | }; | |
13070 | ||
13071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
13072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13073 | { | |
13074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13075 | { | |
13076 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13077 | result = (wxFontData *) &_result_ref; | |
13078 | } | |
13079 | ||
13080 | wxPyEndAllowThreads(__tstate); | |
13081 | if (PyErr_Occurred()) SWIG_fail; | |
13082 | } | |
13083 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0); | |
13084 | return resultobj; | |
13085 | fail: | |
13086 | return NULL; | |
13087 | } | |
13088 | ||
13089 | ||
13090 | static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13091 | PyObject *resultobj; | |
13092 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
13093 | int result; | |
13094 | PyObject * obj0 = 0 ; | |
13095 | char *kwnames[] = { | |
13096 | (char *) "self", NULL | |
13097 | }; | |
13098 | ||
13099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail; | |
13100 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13101 | { | |
13102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13103 | result = (int)(arg1)->ShowModal(); | |
13104 | ||
13105 | wxPyEndAllowThreads(__tstate); | |
13106 | if (PyErr_Occurred()) SWIG_fail; | |
13107 | } | |
8edf1c75 | 13108 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13109 | return resultobj; |
13110 | fail: | |
13111 | return NULL; | |
13112 | } | |
13113 | ||
13114 | ||
13115 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13116 | PyObject *obj; | |
13117 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13118 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13119 | Py_INCREF(obj); | |
13120 | return Py_BuildValue((char *)""); | |
13121 | } | |
13122 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13123 | PyObject *resultobj; | |
13124 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13125 | wxString *arg2 = 0 ; | |
13126 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13127 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13128 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13129 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13130 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13131 | wxMessageDialog *result; | |
423f194a RD |
13132 | bool temp2 = False ; |
13133 | bool temp3 = False ; | |
d14a1e28 RD |
13134 | wxPoint temp5 ; |
13135 | PyObject * obj0 = 0 ; | |
13136 | PyObject * obj1 = 0 ; | |
13137 | PyObject * obj2 = 0 ; | |
8edf1c75 | 13138 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13139 | PyObject * obj4 = 0 ; |
13140 | char *kwnames[] = { | |
13141 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13142 | }; | |
13143 | ||
8edf1c75 | 13144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13145 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
13146 | { | |
13147 | arg2 = wxString_in_helper(obj1); | |
13148 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13149 | temp2 = True; |
d14a1e28 RD |
13150 | } |
13151 | if (obj2) { | |
13152 | { | |
13153 | arg3 = wxString_in_helper(obj2); | |
13154 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13155 | temp3 = True; |
d14a1e28 RD |
13156 | } |
13157 | } | |
8edf1c75 RD |
13158 | if (obj3) { |
13159 | { | |
13160 | arg4 = (long) SWIG_PyObj_AsLong(obj3); | |
13161 | if (PyErr_Occurred()) SWIG_fail; | |
13162 | } | |
13163 | } | |
d14a1e28 RD |
13164 | if (obj4) { |
13165 | { | |
13166 | arg5 = &temp5; | |
13167 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13168 | } | |
13169 | } | |
13170 | { | |
13171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13172 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13173 | ||
13174 | wxPyEndAllowThreads(__tstate); | |
13175 | if (PyErr_Occurred()) SWIG_fail; | |
13176 | } | |
13177 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1); | |
13178 | { | |
13179 | if (temp2) | |
13180 | delete arg2; | |
13181 | } | |
13182 | { | |
13183 | if (temp3) | |
13184 | delete arg3; | |
13185 | } | |
13186 | return resultobj; | |
13187 | fail: | |
13188 | { | |
13189 | if (temp2) | |
13190 | delete arg2; | |
13191 | } | |
13192 | { | |
13193 | if (temp3) | |
13194 | delete arg3; | |
13195 | } | |
13196 | return NULL; | |
13197 | } | |
13198 | ||
13199 | ||
13200 | static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13201 | PyObject *resultobj; | |
13202 | wxMessageDialog *arg1 = (wxMessageDialog *) 0 ; | |
13203 | int result; | |
13204 | PyObject * obj0 = 0 ; | |
13205 | char *kwnames[] = { | |
13206 | (char *) "self", NULL | |
13207 | }; | |
13208 | ||
13209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail; | |
13210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13211 | { | |
13212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13213 | result = (int)(arg1)->ShowModal(); | |
13214 | ||
13215 | wxPyEndAllowThreads(__tstate); | |
13216 | if (PyErr_Occurred()) SWIG_fail; | |
13217 | } | |
8edf1c75 | 13218 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13219 | return resultobj; |
13220 | fail: | |
13221 | return NULL; | |
13222 | } | |
13223 | ||
13224 | ||
13225 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { | |
13226 | PyObject *obj; | |
13227 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13228 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13229 | Py_INCREF(obj); | |
13230 | return Py_BuildValue((char *)""); | |
13231 | } | |
13232 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13233 | PyObject *resultobj; | |
13234 | wxString *arg1 = 0 ; | |
13235 | wxString *arg2 = 0 ; | |
13236 | int arg3 = (int) 100 ; | |
13237 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13238 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13239 | wxProgressDialog *result; | |
423f194a RD |
13240 | bool temp1 = False ; |
13241 | bool temp2 = False ; | |
d14a1e28 RD |
13242 | PyObject * obj0 = 0 ; |
13243 | PyObject * obj1 = 0 ; | |
8edf1c75 | 13244 | PyObject * obj2 = 0 ; |
d14a1e28 | 13245 | PyObject * obj3 = 0 ; |
8edf1c75 | 13246 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13247 | char *kwnames[] = { |
13248 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13249 | }; | |
13250 | ||
8edf1c75 | 13251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13252 | { |
13253 | arg1 = wxString_in_helper(obj0); | |
13254 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 13255 | temp1 = True; |
d14a1e28 RD |
13256 | } |
13257 | { | |
13258 | arg2 = wxString_in_helper(obj1); | |
13259 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13260 | temp2 = True; |
d14a1e28 | 13261 | } |
8edf1c75 RD |
13262 | if (obj2) { |
13263 | { | |
13264 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
13265 | if (PyErr_Occurred()) SWIG_fail; | |
13266 | } | |
13267 | } | |
d14a1e28 RD |
13268 | if (obj3) { |
13269 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13270 | } | |
8edf1c75 RD |
13271 | if (obj4) { |
13272 | { | |
13273 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
13274 | if (PyErr_Occurred()) SWIG_fail; | |
13275 | } | |
13276 | } | |
d14a1e28 RD |
13277 | { |
13278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13279 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13280 | ||
13281 | wxPyEndAllowThreads(__tstate); | |
13282 | if (PyErr_Occurred()) SWIG_fail; | |
13283 | } | |
13284 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1); | |
13285 | { | |
13286 | if (temp1) | |
13287 | delete arg1; | |
13288 | } | |
13289 | { | |
13290 | if (temp2) | |
13291 | delete arg2; | |
13292 | } | |
13293 | return resultobj; | |
13294 | fail: | |
13295 | { | |
13296 | if (temp1) | |
13297 | delete arg1; | |
13298 | } | |
13299 | { | |
13300 | if (temp2) | |
13301 | delete arg2; | |
13302 | } | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
13307 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13308 | PyObject *resultobj; | |
13309 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13310 | int arg2 ; | |
13311 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13312 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13313 | bool result; | |
423f194a | 13314 | bool temp3 = False ; |
d14a1e28 | 13315 | PyObject * obj0 = 0 ; |
8edf1c75 | 13316 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13317 | PyObject * obj2 = 0 ; |
13318 | char *kwnames[] = { | |
13319 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13320 | }; | |
13321 | ||
8edf1c75 | 13322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 13323 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
13324 | { |
13325 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13326 | if (PyErr_Occurred()) SWIG_fail; | |
13327 | } | |
d14a1e28 RD |
13328 | if (obj2) { |
13329 | { | |
13330 | arg3 = wxString_in_helper(obj2); | |
13331 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13332 | temp3 = True; |
d14a1e28 RD |
13333 | } |
13334 | } | |
13335 | { | |
13336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13337 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13338 | ||
13339 | wxPyEndAllowThreads(__tstate); | |
13340 | if (PyErr_Occurred()) SWIG_fail; | |
13341 | } | |
4e760a36 | 13342 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13343 | { |
13344 | if (temp3) | |
13345 | delete arg3; | |
13346 | } | |
13347 | return resultobj; | |
13348 | fail: | |
13349 | { | |
13350 | if (temp3) | |
13351 | delete arg3; | |
13352 | } | |
13353 | return NULL; | |
13354 | } | |
13355 | ||
13356 | ||
13357 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13358 | PyObject *resultobj; | |
13359 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13360 | PyObject * obj0 = 0 ; | |
13361 | char *kwnames[] = { | |
13362 | (char *) "self", NULL | |
13363 | }; | |
13364 | ||
13365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
13366 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13367 | { | |
13368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13369 | (arg1)->Resume(); | |
13370 | ||
13371 | wxPyEndAllowThreads(__tstate); | |
13372 | if (PyErr_Occurred()) SWIG_fail; | |
13373 | } | |
13374 | Py_INCREF(Py_None); resultobj = Py_None; | |
13375 | return resultobj; | |
13376 | fail: | |
13377 | return NULL; | |
13378 | } | |
13379 | ||
13380 | ||
13381 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13382 | PyObject *obj; | |
13383 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13384 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13385 | Py_INCREF(obj); | |
13386 | return Py_BuildValue((char *)""); | |
13387 | } | |
13388 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13389 | PyObject *resultobj; | |
13390 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13391 | int arg2 = (int) 0 ; | |
13392 | wxFindDialogEvent *result; | |
8edf1c75 RD |
13393 | PyObject * obj0 = 0 ; |
13394 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13395 | char *kwnames[] = { |
13396 | (char *) "commandType",(char *) "id", NULL | |
13397 | }; | |
13398 | ||
8edf1c75 RD |
13399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13400 | if (obj0) { | |
13401 | { | |
13402 | arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0); | |
13403 | if (PyErr_Occurred()) SWIG_fail; | |
13404 | } | |
13405 | } | |
13406 | if (obj1) { | |
13407 | { | |
13408 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13409 | if (PyErr_Occurred()) SWIG_fail; | |
13410 | } | |
13411 | } | |
d14a1e28 RD |
13412 | { |
13413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13414 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13415 | ||
13416 | wxPyEndAllowThreads(__tstate); | |
13417 | if (PyErr_Occurred()) SWIG_fail; | |
13418 | } | |
13419 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1); | |
13420 | return resultobj; | |
13421 | fail: | |
13422 | return NULL; | |
13423 | } | |
13424 | ||
13425 | ||
13426 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13427 | PyObject *resultobj; | |
13428 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13429 | int result; | |
13430 | PyObject * obj0 = 0 ; | |
13431 | char *kwnames[] = { | |
13432 | (char *) "self", NULL | |
13433 | }; | |
13434 | ||
13435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
13436 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13437 | { | |
13438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13439 | result = (int)(arg1)->GetFlags(); | |
13440 | ||
13441 | wxPyEndAllowThreads(__tstate); | |
13442 | if (PyErr_Occurred()) SWIG_fail; | |
13443 | } | |
8edf1c75 | 13444 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13445 | return resultobj; |
13446 | fail: | |
13447 | return NULL; | |
13448 | } | |
13449 | ||
13450 | ||
13451 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13452 | PyObject *resultobj; | |
13453 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
f0983263 | 13454 | wxString *result; |
d14a1e28 RD |
13455 | PyObject * obj0 = 0 ; |
13456 | char *kwnames[] = { | |
13457 | (char *) "self", NULL | |
13458 | }; | |
13459 | ||
13460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
13461 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13462 | { | |
13463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
f0983263 RD |
13464 | { |
13465 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13466 | result = (wxString *) &_result_ref; | |
13467 | } | |
d14a1e28 RD |
13468 | |
13469 | wxPyEndAllowThreads(__tstate); | |
13470 | if (PyErr_Occurred()) SWIG_fail; | |
13471 | } | |
13472 | { | |
13473 | #if wxUSE_UNICODE | |
f0983263 | 13474 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13475 | #else |
f0983263 | 13476 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13477 | #endif |
13478 | } | |
13479 | return resultobj; | |
13480 | fail: | |
13481 | return NULL; | |
13482 | } | |
13483 | ||
13484 | ||
13485 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13486 | PyObject *resultobj; | |
13487 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13488 | wxString *result; | |
13489 | PyObject * obj0 = 0 ; | |
13490 | char *kwnames[] = { | |
13491 | (char *) "self", NULL | |
13492 | }; | |
13493 | ||
13494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
13495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13496 | { | |
13497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13498 | { | |
13499 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13500 | result = (wxString *) &_result_ref; | |
13501 | } | |
13502 | ||
13503 | wxPyEndAllowThreads(__tstate); | |
13504 | if (PyErr_Occurred()) SWIG_fail; | |
13505 | } | |
f0983263 RD |
13506 | { |
13507 | #if wxUSE_UNICODE | |
13508 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13509 | #else | |
13510 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13511 | #endif | |
13512 | } | |
d14a1e28 RD |
13513 | return resultobj; |
13514 | fail: | |
13515 | return NULL; | |
13516 | } | |
13517 | ||
13518 | ||
13519 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13520 | PyObject *resultobj; | |
13521 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13522 | wxFindReplaceDialog *result; | |
13523 | PyObject * obj0 = 0 ; | |
13524 | char *kwnames[] = { | |
13525 | (char *) "self", NULL | |
13526 | }; | |
13527 | ||
13528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
13529 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13530 | { | |
13531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13532 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13533 | ||
13534 | wxPyEndAllowThreads(__tstate); | |
13535 | if (PyErr_Occurred()) SWIG_fail; | |
13536 | } | |
13537 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0); | |
13538 | return resultobj; | |
13539 | fail: | |
13540 | return NULL; | |
13541 | } | |
13542 | ||
13543 | ||
13544 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13545 | PyObject *resultobj; | |
13546 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13547 | int arg2 ; | |
13548 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13549 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13550 | char *kwnames[] = { |
13551 | (char *) "self",(char *) "flags", NULL | |
13552 | }; | |
13553 | ||
8edf1c75 | 13554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 13555 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
13556 | { |
13557 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13558 | if (PyErr_Occurred()) SWIG_fail; | |
13559 | } | |
d14a1e28 RD |
13560 | { |
13561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13562 | (arg1)->SetFlags(arg2); | |
13563 | ||
13564 | wxPyEndAllowThreads(__tstate); | |
13565 | if (PyErr_Occurred()) SWIG_fail; | |
13566 | } | |
13567 | Py_INCREF(Py_None); resultobj = Py_None; | |
13568 | return resultobj; | |
13569 | fail: | |
13570 | return NULL; | |
13571 | } | |
13572 | ||
13573 | ||
13574 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13575 | PyObject *resultobj; | |
13576 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13577 | wxString *arg2 = 0 ; | |
423f194a | 13578 | bool temp2 = False ; |
d14a1e28 RD |
13579 | PyObject * obj0 = 0 ; |
13580 | PyObject * obj1 = 0 ; | |
13581 | char *kwnames[] = { | |
13582 | (char *) "self",(char *) "str", NULL | |
13583 | }; | |
13584 | ||
13585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
13586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13587 | { | |
13588 | arg2 = wxString_in_helper(obj1); | |
13589 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13590 | temp2 = True; |
d14a1e28 RD |
13591 | } |
13592 | { | |
13593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13594 | (arg1)->SetFindString((wxString const &)*arg2); | |
13595 | ||
13596 | wxPyEndAllowThreads(__tstate); | |
13597 | if (PyErr_Occurred()) SWIG_fail; | |
13598 | } | |
13599 | Py_INCREF(Py_None); resultobj = Py_None; | |
13600 | { | |
13601 | if (temp2) | |
13602 | delete arg2; | |
13603 | } | |
13604 | return resultobj; | |
13605 | fail: | |
13606 | { | |
13607 | if (temp2) | |
13608 | delete arg2; | |
13609 | } | |
13610 | return NULL; | |
13611 | } | |
13612 | ||
13613 | ||
13614 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13615 | PyObject *resultobj; | |
13616 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13617 | wxString *arg2 = 0 ; | |
423f194a | 13618 | bool temp2 = False ; |
d14a1e28 RD |
13619 | PyObject * obj0 = 0 ; |
13620 | PyObject * obj1 = 0 ; | |
13621 | char *kwnames[] = { | |
13622 | (char *) "self",(char *) "str", NULL | |
13623 | }; | |
13624 | ||
13625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
13626 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13627 | { | |
13628 | arg2 = wxString_in_helper(obj1); | |
13629 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13630 | temp2 = True; |
d14a1e28 RD |
13631 | } |
13632 | { | |
13633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13634 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13635 | ||
13636 | wxPyEndAllowThreads(__tstate); | |
13637 | if (PyErr_Occurred()) SWIG_fail; | |
13638 | } | |
13639 | Py_INCREF(Py_None); resultobj = Py_None; | |
13640 | { | |
13641 | if (temp2) | |
13642 | delete arg2; | |
13643 | } | |
13644 | return resultobj; | |
13645 | fail: | |
13646 | { | |
13647 | if (temp2) | |
13648 | delete arg2; | |
13649 | } | |
13650 | return NULL; | |
13651 | } | |
13652 | ||
13653 | ||
13654 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13655 | PyObject *obj; | |
13656 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13657 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13658 | Py_INCREF(obj); | |
13659 | return Py_BuildValue((char *)""); | |
13660 | } | |
13661 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13662 | PyObject *resultobj; | |
13663 | int arg1 = (int) 0 ; | |
13664 | wxFindReplaceData *result; | |
8edf1c75 | 13665 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13666 | char *kwnames[] = { |
13667 | (char *) "flags", NULL | |
13668 | }; | |
13669 | ||
8edf1c75 RD |
13670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13671 | if (obj0) { | |
13672 | { | |
13673 | arg1 = (int) SWIG_PyObj_AsInt(obj0); | |
13674 | if (PyErr_Occurred()) SWIG_fail; | |
13675 | } | |
13676 | } | |
d14a1e28 RD |
13677 | { |
13678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13679 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13680 | ||
13681 | wxPyEndAllowThreads(__tstate); | |
13682 | if (PyErr_Occurred()) SWIG_fail; | |
13683 | } | |
13684 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1); | |
13685 | return resultobj; | |
13686 | fail: | |
13687 | return NULL; | |
13688 | } | |
13689 | ||
13690 | ||
13691 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13692 | PyObject *resultobj; | |
13693 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13694 | PyObject * obj0 = 0 ; | |
13695 | char *kwnames[] = { | |
13696 | (char *) "self", NULL | |
13697 | }; | |
13698 | ||
13699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
13700 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13701 | { | |
13702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13703 | delete arg1; | |
13704 | ||
13705 | wxPyEndAllowThreads(__tstate); | |
13706 | if (PyErr_Occurred()) SWIG_fail; | |
13707 | } | |
13708 | Py_INCREF(Py_None); resultobj = Py_None; | |
13709 | return resultobj; | |
13710 | fail: | |
13711 | return NULL; | |
13712 | } | |
13713 | ||
13714 | ||
13715 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13716 | PyObject *resultobj; | |
13717 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13718 | wxString *result; | |
13719 | PyObject * obj0 = 0 ; | |
13720 | char *kwnames[] = { | |
13721 | (char *) "self", NULL | |
13722 | }; | |
13723 | ||
13724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
13725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13726 | { | |
13727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13728 | { | |
13729 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13730 | result = (wxString *) &_result_ref; | |
13731 | } | |
13732 | ||
13733 | wxPyEndAllowThreads(__tstate); | |
13734 | if (PyErr_Occurred()) SWIG_fail; | |
13735 | } | |
f0983263 RD |
13736 | { |
13737 | #if wxUSE_UNICODE | |
13738 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13739 | #else | |
13740 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13741 | #endif | |
13742 | } | |
d14a1e28 RD |
13743 | return resultobj; |
13744 | fail: | |
13745 | return NULL; | |
13746 | } | |
13747 | ||
13748 | ||
13749 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13750 | PyObject *resultobj; | |
13751 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13752 | wxString *result; | |
13753 | PyObject * obj0 = 0 ; | |
13754 | char *kwnames[] = { | |
13755 | (char *) "self", NULL | |
13756 | }; | |
13757 | ||
13758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
13759 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13760 | { | |
13761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13762 | { | |
13763 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13764 | result = (wxString *) &_result_ref; | |
13765 | } | |
13766 | ||
13767 | wxPyEndAllowThreads(__tstate); | |
13768 | if (PyErr_Occurred()) SWIG_fail; | |
13769 | } | |
f0983263 RD |
13770 | { |
13771 | #if wxUSE_UNICODE | |
13772 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13773 | #else | |
13774 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13775 | #endif | |
13776 | } | |
d14a1e28 RD |
13777 | return resultobj; |
13778 | fail: | |
13779 | return NULL; | |
13780 | } | |
13781 | ||
13782 | ||
13783 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13784 | PyObject *resultobj; | |
13785 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13786 | int result; | |
13787 | PyObject * obj0 = 0 ; | |
13788 | char *kwnames[] = { | |
13789 | (char *) "self", NULL | |
13790 | }; | |
13791 | ||
13792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
13793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13794 | { | |
13795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13796 | result = (int)(arg1)->GetFlags(); | |
13797 | ||
13798 | wxPyEndAllowThreads(__tstate); | |
13799 | if (PyErr_Occurred()) SWIG_fail; | |
13800 | } | |
8edf1c75 | 13801 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
13802 | return resultobj; |
13803 | fail: | |
13804 | return NULL; | |
13805 | } | |
13806 | ||
13807 | ||
13808 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13809 | PyObject *resultobj; | |
13810 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13811 | int arg2 ; | |
13812 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13813 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13814 | char *kwnames[] = { |
13815 | (char *) "self",(char *) "flags", NULL | |
13816 | }; | |
13817 | ||
8edf1c75 | 13818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 13819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
13820 | { |
13821 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
13822 | if (PyErr_Occurred()) SWIG_fail; | |
13823 | } | |
d14a1e28 RD |
13824 | { |
13825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13826 | (arg1)->SetFlags(arg2); | |
13827 | ||
13828 | wxPyEndAllowThreads(__tstate); | |
13829 | if (PyErr_Occurred()) SWIG_fail; | |
13830 | } | |
13831 | Py_INCREF(Py_None); resultobj = Py_None; | |
13832 | return resultobj; | |
13833 | fail: | |
13834 | return NULL; | |
13835 | } | |
13836 | ||
13837 | ||
13838 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13839 | PyObject *resultobj; | |
13840 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13841 | wxString *arg2 = 0 ; | |
423f194a | 13842 | bool temp2 = False ; |
d14a1e28 RD |
13843 | PyObject * obj0 = 0 ; |
13844 | PyObject * obj1 = 0 ; | |
13845 | char *kwnames[] = { | |
13846 | (char *) "self",(char *) "str", NULL | |
13847 | }; | |
13848 | ||
13849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
13850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13851 | { | |
13852 | arg2 = wxString_in_helper(obj1); | |
13853 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13854 | temp2 = True; |
d14a1e28 RD |
13855 | } |
13856 | { | |
13857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13858 | (arg1)->SetFindString((wxString const &)*arg2); | |
13859 | ||
13860 | wxPyEndAllowThreads(__tstate); | |
13861 | if (PyErr_Occurred()) SWIG_fail; | |
13862 | } | |
13863 | Py_INCREF(Py_None); resultobj = Py_None; | |
13864 | { | |
13865 | if (temp2) | |
13866 | delete arg2; | |
13867 | } | |
13868 | return resultobj; | |
13869 | fail: | |
13870 | { | |
13871 | if (temp2) | |
13872 | delete arg2; | |
13873 | } | |
13874 | return NULL; | |
13875 | } | |
13876 | ||
13877 | ||
13878 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13879 | PyObject *resultobj; | |
13880 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13881 | wxString *arg2 = 0 ; | |
423f194a | 13882 | bool temp2 = False ; |
d14a1e28 RD |
13883 | PyObject * obj0 = 0 ; |
13884 | PyObject * obj1 = 0 ; | |
13885 | char *kwnames[] = { | |
13886 | (char *) "self",(char *) "str", NULL | |
13887 | }; | |
13888 | ||
13889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
13890 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13891 | { | |
13892 | arg2 = wxString_in_helper(obj1); | |
13893 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13894 | temp2 = True; |
d14a1e28 RD |
13895 | } |
13896 | { | |
13897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13898 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13899 | ||
13900 | wxPyEndAllowThreads(__tstate); | |
13901 | if (PyErr_Occurred()) SWIG_fail; | |
13902 | } | |
13903 | Py_INCREF(Py_None); resultobj = Py_None; | |
13904 | { | |
13905 | if (temp2) | |
13906 | delete arg2; | |
13907 | } | |
13908 | return resultobj; | |
13909 | fail: | |
13910 | { | |
13911 | if (temp2) | |
13912 | delete arg2; | |
13913 | } | |
13914 | return NULL; | |
13915 | } | |
13916 | ||
13917 | ||
13918 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
13919 | PyObject *obj; | |
13920 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13921 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13922 | Py_INCREF(obj); | |
13923 | return Py_BuildValue((char *)""); | |
13924 | } | |
13925 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13926 | PyObject *resultobj; | |
13927 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13928 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13929 | wxString *arg3 = 0 ; | |
13930 | int arg4 = (int) 0 ; | |
13931 | wxFindReplaceDialog *result; | |
423f194a | 13932 | bool temp3 = False ; |
d14a1e28 RD |
13933 | PyObject * obj0 = 0 ; |
13934 | PyObject * obj1 = 0 ; | |
13935 | PyObject * obj2 = 0 ; | |
8edf1c75 | 13936 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13937 | char *kwnames[] = { |
13938 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13939 | }; | |
13940 | ||
8edf1c75 | 13941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
13942 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
13943 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13944 | { | |
13945 | arg3 = wxString_in_helper(obj2); | |
13946 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13947 | temp3 = True; |
d14a1e28 | 13948 | } |
8edf1c75 RD |
13949 | if (obj3) { |
13950 | { | |
13951 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
13952 | if (PyErr_Occurred()) SWIG_fail; | |
13953 | } | |
13954 | } | |
d14a1e28 RD |
13955 | { |
13956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13957 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13958 | ||
13959 | wxPyEndAllowThreads(__tstate); | |
13960 | if (PyErr_Occurred()) SWIG_fail; | |
13961 | } | |
13962 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
13963 | { | |
13964 | if (temp3) | |
13965 | delete arg3; | |
13966 | } | |
13967 | return resultobj; | |
13968 | fail: | |
13969 | { | |
13970 | if (temp3) | |
13971 | delete arg3; | |
13972 | } | |
13973 | return NULL; | |
13974 | } | |
13975 | ||
13976 | ||
13977 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13978 | PyObject *resultobj; | |
13979 | wxFindReplaceDialog *result; | |
13980 | char *kwnames[] = { | |
13981 | NULL | |
13982 | }; | |
13983 | ||
13984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
13985 | { | |
13986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13987 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
13988 | ||
13989 | wxPyEndAllowThreads(__tstate); | |
13990 | if (PyErr_Occurred()) SWIG_fail; | |
13991 | } | |
13992 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
13993 | return resultobj; | |
13994 | fail: | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
13999 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14000 | PyObject *resultobj; | |
14001 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14002 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14003 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14004 | wxString *arg4 = 0 ; | |
14005 | int arg5 = (int) 0 ; | |
14006 | bool result; | |
423f194a | 14007 | bool temp4 = False ; |
d14a1e28 RD |
14008 | PyObject * obj0 = 0 ; |
14009 | PyObject * obj1 = 0 ; | |
14010 | PyObject * obj2 = 0 ; | |
14011 | PyObject * obj3 = 0 ; | |
8edf1c75 | 14012 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14013 | char *kwnames[] = { |
14014 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14015 | }; | |
14016 | ||
8edf1c75 | 14017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
14018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14019 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14020 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14021 | { | |
14022 | arg4 = wxString_in_helper(obj3); | |
14023 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14024 | temp4 = True; |
d14a1e28 | 14025 | } |
8edf1c75 RD |
14026 | if (obj4) { |
14027 | { | |
14028 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
14029 | if (PyErr_Occurred()) SWIG_fail; | |
14030 | } | |
14031 | } | |
d14a1e28 RD |
14032 | { |
14033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14034 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14035 | ||
14036 | wxPyEndAllowThreads(__tstate); | |
14037 | if (PyErr_Occurred()) SWIG_fail; | |
14038 | } | |
4e760a36 | 14039 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14040 | { |
14041 | if (temp4) | |
14042 | delete arg4; | |
14043 | } | |
14044 | return resultobj; | |
14045 | fail: | |
14046 | { | |
14047 | if (temp4) | |
14048 | delete arg4; | |
14049 | } | |
14050 | return NULL; | |
14051 | } | |
14052 | ||
14053 | ||
14054 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14055 | PyObject *resultobj; | |
14056 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14057 | wxFindReplaceData *result; | |
14058 | PyObject * obj0 = 0 ; | |
14059 | char *kwnames[] = { | |
14060 | (char *) "self", NULL | |
14061 | }; | |
14062 | ||
14063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
14064 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14065 | { | |
14066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14067 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14068 | ||
14069 | wxPyEndAllowThreads(__tstate); | |
14070 | if (PyErr_Occurred()) SWIG_fail; | |
14071 | } | |
14072 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0); | |
14073 | return resultobj; | |
14074 | fail: | |
14075 | return NULL; | |
14076 | } | |
14077 | ||
14078 | ||
14079 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14080 | PyObject *resultobj; | |
14081 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14082 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14083 | PyObject * obj0 = 0 ; | |
14084 | PyObject * obj1 = 0 ; | |
14085 | char *kwnames[] = { | |
14086 | (char *) "self",(char *) "data", NULL | |
14087 | }; | |
14088 | ||
14089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
14090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14091 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14092 | { | |
14093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14094 | (arg1)->SetData(arg2); | |
14095 | ||
14096 | wxPyEndAllowThreads(__tstate); | |
14097 | if (PyErr_Occurred()) SWIG_fail; | |
14098 | } | |
14099 | Py_INCREF(Py_None); resultobj = Py_None; | |
14100 | return resultobj; | |
14101 | fail: | |
14102 | return NULL; | |
14103 | } | |
14104 | ||
14105 | ||
14106 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14107 | PyObject *obj; | |
14108 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14109 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14110 | Py_INCREF(obj); | |
14111 | return Py_BuildValue((char *)""); | |
14112 | } | |
14113 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14114 | PyObject *resultobj; | |
14115 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 14116 | int arg2 ; |
d14a1e28 RD |
14117 | wxString *arg3 = 0 ; |
14118 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14119 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14120 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14121 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14122 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14123 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14124 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14125 | wxMDIParentFrame *result; | |
423f194a | 14126 | bool temp3 = False ; |
d14a1e28 RD |
14127 | wxPoint temp4 ; |
14128 | wxSize temp5 ; | |
423f194a | 14129 | bool temp7 = False ; |
d14a1e28 | 14130 | PyObject * obj0 = 0 ; |
8edf1c75 | 14131 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14132 | PyObject * obj2 = 0 ; |
14133 | PyObject * obj3 = 0 ; | |
14134 | PyObject * obj4 = 0 ; | |
8edf1c75 | 14135 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14136 | PyObject * obj6 = 0 ; |
14137 | char *kwnames[] = { | |
14138 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14139 | }; | |
14140 | ||
8edf1c75 | 14141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 14142 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
14143 | { |
14144 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
14145 | if (PyErr_Occurred()) SWIG_fail; | |
14146 | } | |
d14a1e28 RD |
14147 | { |
14148 | arg3 = wxString_in_helper(obj2); | |
14149 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 14150 | temp3 = True; |
d14a1e28 RD |
14151 | } |
14152 | if (obj3) { | |
14153 | { | |
14154 | arg4 = &temp4; | |
14155 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14156 | } | |
14157 | } | |
14158 | if (obj4) { | |
14159 | { | |
14160 | arg5 = &temp5; | |
14161 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14162 | } | |
14163 | } | |
8edf1c75 RD |
14164 | if (obj5) { |
14165 | { | |
14166 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
14167 | if (PyErr_Occurred()) SWIG_fail; | |
14168 | } | |
14169 | } | |
d14a1e28 RD |
14170 | if (obj6) { |
14171 | { | |
14172 | arg7 = wxString_in_helper(obj6); | |
14173 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 14174 | temp7 = True; |
d14a1e28 RD |
14175 | } |
14176 | } | |
14177 | { | |
14178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14179 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14180 | ||
14181 | wxPyEndAllowThreads(__tstate); | |
14182 | if (PyErr_Occurred()) SWIG_fail; | |
14183 | } | |
14184 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
14185 | { | |
14186 | if (temp3) | |
14187 | delete arg3; | |
14188 | } | |
14189 | { | |
14190 | if (temp7) | |
14191 | delete arg7; | |
14192 | } | |
14193 | return resultobj; | |
14194 | fail: | |
14195 | { | |
14196 | if (temp3) | |
14197 | delete arg3; | |
14198 | } | |
14199 | { | |
14200 | if (temp7) | |
14201 | delete arg7; | |
14202 | } | |
14203 | return NULL; | |
14204 | } | |
14205 | ||
14206 | ||
14207 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14208 | PyObject *resultobj; | |
14209 | wxMDIParentFrame *result; | |
14210 | char *kwnames[] = { | |
14211 | NULL | |
14212 | }; | |
14213 | ||
14214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14215 | { | |
14216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14217 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14218 | ||
14219 | wxPyEndAllowThreads(__tstate); | |
14220 | if (PyErr_Occurred()) SWIG_fail; | |
14221 | } | |
14222 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
14223 | return resultobj; | |
14224 | fail: | |
14225 | return NULL; | |
14226 | } | |
14227 | ||
14228 | ||
14229 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14230 | PyObject *resultobj; | |
14231 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14232 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 14233 | int arg3 ; |
d14a1e28 RD |
14234 | wxString *arg4 = 0 ; |
14235 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14236 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14237 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14238 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14239 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14240 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14241 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14242 | bool result; | |
423f194a | 14243 | bool temp4 = False ; |
d14a1e28 RD |
14244 | wxPoint temp5 ; |
14245 | wxSize temp6 ; | |
423f194a | 14246 | bool temp8 = False ; |
d14a1e28 RD |
14247 | PyObject * obj0 = 0 ; |
14248 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14249 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14250 | PyObject * obj3 = 0 ; |
14251 | PyObject * obj4 = 0 ; | |
14252 | PyObject * obj5 = 0 ; | |
8edf1c75 | 14253 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14254 | PyObject * obj7 = 0 ; |
14255 | char *kwnames[] = { | |
14256 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14257 | }; | |
14258 | ||
8edf1c75 | 14259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
14260 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14261 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
14262 | { |
14263 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
14264 | if (PyErr_Occurred()) SWIG_fail; | |
14265 | } | |
d14a1e28 RD |
14266 | { |
14267 | arg4 = wxString_in_helper(obj3); | |
14268 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14269 | temp4 = True; |
d14a1e28 RD |
14270 | } |
14271 | if (obj4) { | |
14272 | { | |
14273 | arg5 = &temp5; | |
14274 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14275 | } | |
14276 | } | |
14277 | if (obj5) { | |
14278 | { | |
14279 | arg6 = &temp6; | |
14280 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14281 | } | |
14282 | } | |
8edf1c75 RD |
14283 | if (obj6) { |
14284 | { | |
14285 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
14286 | if (PyErr_Occurred()) SWIG_fail; | |
14287 | } | |
14288 | } | |
d14a1e28 RD |
14289 | if (obj7) { |
14290 | { | |
14291 | arg8 = wxString_in_helper(obj7); | |
14292 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 14293 | temp8 = True; |
d14a1e28 RD |
14294 | } |
14295 | } | |
14296 | { | |
14297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14298 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14299 | ||
14300 | wxPyEndAllowThreads(__tstate); | |
14301 | if (PyErr_Occurred()) SWIG_fail; | |
14302 | } | |
4e760a36 | 14303 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14304 | { |
14305 | if (temp4) | |
14306 | delete arg4; | |
14307 | } | |
14308 | { | |
14309 | if (temp8) | |
14310 | delete arg8; | |
14311 | } | |
14312 | return resultobj; | |
14313 | fail: | |
14314 | { | |
14315 | if (temp4) | |
14316 | delete arg4; | |
14317 | } | |
14318 | { | |
14319 | if (temp8) | |
14320 | delete arg8; | |
14321 | } | |
14322 | return NULL; | |
14323 | } | |
14324 | ||
14325 | ||
14326 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14327 | PyObject *resultobj; | |
14328 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14329 | PyObject * obj0 = 0 ; | |
14330 | char *kwnames[] = { | |
14331 | (char *) "self", NULL | |
14332 | }; | |
14333 | ||
14334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
14335 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14336 | { | |
14337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14338 | (arg1)->ActivateNext(); | |
14339 | ||
14340 | wxPyEndAllowThreads(__tstate); | |
14341 | if (PyErr_Occurred()) SWIG_fail; | |
14342 | } | |
14343 | Py_INCREF(Py_None); resultobj = Py_None; | |
14344 | return resultobj; | |
14345 | fail: | |
14346 | return NULL; | |
14347 | } | |
14348 | ||
14349 | ||
14350 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14351 | PyObject *resultobj; | |
14352 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14353 | PyObject * obj0 = 0 ; | |
14354 | char *kwnames[] = { | |
14355 | (char *) "self", NULL | |
14356 | }; | |
14357 | ||
14358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
14359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14360 | { | |
14361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14362 | (arg1)->ActivatePrevious(); | |
14363 | ||
14364 | wxPyEndAllowThreads(__tstate); | |
14365 | if (PyErr_Occurred()) SWIG_fail; | |
14366 | } | |
14367 | Py_INCREF(Py_None); resultobj = Py_None; | |
14368 | return resultobj; | |
14369 | fail: | |
14370 | return NULL; | |
14371 | } | |
14372 | ||
14373 | ||
14374 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14375 | PyObject *resultobj; | |
14376 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14377 | PyObject * obj0 = 0 ; | |
14378 | char *kwnames[] = { | |
14379 | (char *) "self", NULL | |
14380 | }; | |
14381 | ||
14382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
14383 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14384 | { | |
14385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14386 | (arg1)->ArrangeIcons(); | |
14387 | ||
14388 | wxPyEndAllowThreads(__tstate); | |
14389 | if (PyErr_Occurred()) SWIG_fail; | |
14390 | } | |
14391 | Py_INCREF(Py_None); resultobj = Py_None; | |
14392 | return resultobj; | |
14393 | fail: | |
14394 | return NULL; | |
14395 | } | |
14396 | ||
14397 | ||
14398 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14399 | PyObject *resultobj; | |
14400 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14401 | PyObject * obj0 = 0 ; | |
14402 | char *kwnames[] = { | |
14403 | (char *) "self", NULL | |
14404 | }; | |
14405 | ||
14406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
14407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14408 | { | |
14409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14410 | (arg1)->Cascade(); | |
14411 | ||
14412 | wxPyEndAllowThreads(__tstate); | |
14413 | if (PyErr_Occurred()) SWIG_fail; | |
14414 | } | |
14415 | Py_INCREF(Py_None); resultobj = Py_None; | |
14416 | return resultobj; | |
14417 | fail: | |
14418 | return NULL; | |
14419 | } | |
14420 | ||
14421 | ||
14422 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14423 | PyObject *resultobj; | |
14424 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14425 | wxMDIChildFrame *result; | |
14426 | PyObject * obj0 = 0 ; | |
14427 | char *kwnames[] = { | |
14428 | (char *) "self", NULL | |
14429 | }; | |
14430 | ||
14431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
14432 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14433 | { | |
14434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14435 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14436 | ||
14437 | wxPyEndAllowThreads(__tstate); | |
14438 | if (PyErr_Occurred()) SWIG_fail; | |
14439 | } | |
14440 | { | |
14441 | resultobj = wxPyMake_wxObject(result); | |
14442 | } | |
14443 | return resultobj; | |
14444 | fail: | |
14445 | return NULL; | |
14446 | } | |
14447 | ||
14448 | ||
14449 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14450 | PyObject *resultobj; | |
14451 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14452 | wxMDIClientWindow *result; | |
14453 | PyObject * obj0 = 0 ; | |
14454 | char *kwnames[] = { | |
14455 | (char *) "self", NULL | |
14456 | }; | |
14457 | ||
14458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
14459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14460 | { | |
14461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14462 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14463 | ||
14464 | wxPyEndAllowThreads(__tstate); | |
14465 | if (PyErr_Occurred()) SWIG_fail; | |
14466 | } | |
14467 | { | |
14468 | resultobj = wxPyMake_wxObject(result); | |
14469 | } | |
14470 | return resultobj; | |
14471 | fail: | |
14472 | return NULL; | |
14473 | } | |
14474 | ||
14475 | ||
14476 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14477 | PyObject *resultobj; | |
14478 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14479 | wxWindow *result; | |
14480 | PyObject * obj0 = 0 ; | |
14481 | char *kwnames[] = { | |
14482 | (char *) "self", NULL | |
14483 | }; | |
14484 | ||
14485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
14486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14487 | { | |
14488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14489 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14490 | ||
14491 | wxPyEndAllowThreads(__tstate); | |
14492 | if (PyErr_Occurred()) SWIG_fail; | |
14493 | } | |
14494 | { | |
14495 | resultobj = wxPyMake_wxObject(result); | |
14496 | } | |
14497 | return resultobj; | |
14498 | fail: | |
14499 | return NULL; | |
14500 | } | |
14501 | ||
14502 | ||
14503 | static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14504 | PyObject *resultobj; | |
14505 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14506 | wxMenu *result; | |
14507 | PyObject * obj0 = 0 ; | |
14508 | char *kwnames[] = { | |
14509 | (char *) "self", NULL | |
14510 | }; | |
14511 | ||
14512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail; | |
14513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14514 | { | |
14515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14516 | result = (wxMenu *)(arg1)->GetWindowMenu(); | |
14517 | ||
14518 | wxPyEndAllowThreads(__tstate); | |
14519 | if (PyErr_Occurred()) SWIG_fail; | |
14520 | } | |
14521 | { | |
14522 | resultobj = wxPyMake_wxObject(result); | |
14523 | } | |
14524 | return resultobj; | |
14525 | fail: | |
14526 | return NULL; | |
14527 | } | |
14528 | ||
14529 | ||
14530 | static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14531 | PyObject *resultobj; | |
14532 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14533 | wxMenu *arg2 = (wxMenu *) 0 ; | |
14534 | PyObject * obj0 = 0 ; | |
14535 | PyObject * obj1 = 0 ; | |
14536 | char *kwnames[] = { | |
14537 | (char *) "self",(char *) "menu", NULL | |
14538 | }; | |
14539 | ||
14540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail; | |
14541 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14542 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14543 | { | |
14544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14545 | (arg1)->SetWindowMenu(arg2); | |
14546 | ||
14547 | wxPyEndAllowThreads(__tstate); | |
14548 | if (PyErr_Occurred()) SWIG_fail; | |
14549 | } | |
14550 | Py_INCREF(Py_None); resultobj = Py_None; | |
14551 | return resultobj; | |
14552 | fail: | |
14553 | return NULL; | |
14554 | } | |
14555 | ||
14556 | ||
14557 | static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14558 | PyObject *resultobj; | |
14559 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14560 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
14561 | PyObject * obj0 = 0 ; | |
14562 | PyObject * obj1 = 0 ; | |
14563 | char *kwnames[] = { | |
14564 | (char *) "self",(char *) "toolbar", NULL | |
14565 | }; | |
14566 | ||
14567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
14568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14569 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14570 | { | |
14571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14572 | (arg1)->SetToolBar(arg2); | |
14573 | ||
14574 | wxPyEndAllowThreads(__tstate); | |
14575 | if (PyErr_Occurred()) SWIG_fail; | |
14576 | } | |
14577 | Py_INCREF(Py_None); resultobj = Py_None; | |
14578 | return resultobj; | |
14579 | fail: | |
14580 | return NULL; | |
14581 | } | |
14582 | ||
14583 | ||
14584 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14585 | PyObject *resultobj; | |
14586 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14587 | PyObject * obj0 = 0 ; | |
14588 | char *kwnames[] = { | |
14589 | (char *) "self", NULL | |
14590 | }; | |
14591 | ||
14592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
14593 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14594 | { | |
14595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14596 | (arg1)->Tile(); | |
14597 | ||
14598 | wxPyEndAllowThreads(__tstate); | |
14599 | if (PyErr_Occurred()) SWIG_fail; | |
14600 | } | |
14601 | Py_INCREF(Py_None); resultobj = Py_None; | |
14602 | return resultobj; | |
14603 | fail: | |
14604 | return NULL; | |
14605 | } | |
14606 | ||
14607 | ||
14608 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14609 | PyObject *obj; | |
14610 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14611 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14612 | Py_INCREF(obj); | |
14613 | return Py_BuildValue((char *)""); | |
14614 | } | |
14615 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14616 | PyObject *resultobj; | |
14617 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14618 | int arg2 ; |
d14a1e28 RD |
14619 | wxString *arg3 = 0 ; |
14620 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14621 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14622 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14623 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14624 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14625 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14626 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14627 | wxMDIChildFrame *result; | |
423f194a | 14628 | bool temp3 = False ; |
d14a1e28 RD |
14629 | wxPoint temp4 ; |
14630 | wxSize temp5 ; | |
423f194a | 14631 | bool temp7 = False ; |
d14a1e28 | 14632 | PyObject * obj0 = 0 ; |
8edf1c75 | 14633 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14634 | PyObject * obj2 = 0 ; |
14635 | PyObject * obj3 = 0 ; | |
14636 | PyObject * obj4 = 0 ; | |
8edf1c75 | 14637 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14638 | PyObject * obj6 = 0 ; |
14639 | char *kwnames[] = { | |
14640 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14641 | }; | |
14642 | ||
8edf1c75 | 14643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 14644 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
14645 | { |
14646 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
14647 | if (PyErr_Occurred()) SWIG_fail; | |
14648 | } | |
d14a1e28 RD |
14649 | { |
14650 | arg3 = wxString_in_helper(obj2); | |
14651 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 14652 | temp3 = True; |
d14a1e28 RD |
14653 | } |
14654 | if (obj3) { | |
14655 | { | |
14656 | arg4 = &temp4; | |
14657 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14658 | } | |
14659 | } | |
14660 | if (obj4) { | |
14661 | { | |
14662 | arg5 = &temp5; | |
14663 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14664 | } | |
14665 | } | |
8edf1c75 RD |
14666 | if (obj5) { |
14667 | { | |
14668 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
14669 | if (PyErr_Occurred()) SWIG_fail; | |
14670 | } | |
14671 | } | |
d14a1e28 RD |
14672 | if (obj6) { |
14673 | { | |
14674 | arg7 = wxString_in_helper(obj6); | |
14675 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 14676 | temp7 = True; |
d14a1e28 RD |
14677 | } |
14678 | } | |
14679 | { | |
14680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14681 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14682 | ||
14683 | wxPyEndAllowThreads(__tstate); | |
14684 | if (PyErr_Occurred()) SWIG_fail; | |
14685 | } | |
14686 | { | |
14687 | resultobj = wxPyMake_wxObject(result); | |
14688 | } | |
14689 | { | |
14690 | if (temp3) | |
14691 | delete arg3; | |
14692 | } | |
14693 | { | |
14694 | if (temp7) | |
14695 | delete arg7; | |
14696 | } | |
14697 | return resultobj; | |
14698 | fail: | |
14699 | { | |
14700 | if (temp3) | |
14701 | delete arg3; | |
14702 | } | |
14703 | { | |
14704 | if (temp7) | |
14705 | delete arg7; | |
14706 | } | |
14707 | return NULL; | |
14708 | } | |
14709 | ||
14710 | ||
14711 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14712 | PyObject *resultobj; | |
14713 | wxMDIChildFrame *result; | |
14714 | char *kwnames[] = { | |
14715 | NULL | |
14716 | }; | |
14717 | ||
14718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14719 | { | |
14720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14721 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14722 | ||
14723 | wxPyEndAllowThreads(__tstate); | |
14724 | if (PyErr_Occurred()) SWIG_fail; | |
14725 | } | |
14726 | { | |
14727 | resultobj = wxPyMake_wxObject(result); | |
14728 | } | |
14729 | return resultobj; | |
14730 | fail: | |
14731 | return NULL; | |
14732 | } | |
14733 | ||
14734 | ||
14735 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14736 | PyObject *resultobj; | |
14737 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14738 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14739 | int arg3 ; |
d14a1e28 RD |
14740 | wxString *arg4 = 0 ; |
14741 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14742 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14743 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14744 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14745 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14746 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14747 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14748 | bool result; | |
423f194a | 14749 | bool temp4 = False ; |
d14a1e28 RD |
14750 | wxPoint temp5 ; |
14751 | wxSize temp6 ; | |
423f194a | 14752 | bool temp8 = False ; |
d14a1e28 RD |
14753 | PyObject * obj0 = 0 ; |
14754 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14755 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14756 | PyObject * obj3 = 0 ; |
14757 | PyObject * obj4 = 0 ; | |
14758 | PyObject * obj5 = 0 ; | |
8edf1c75 | 14759 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14760 | PyObject * obj7 = 0 ; |
14761 | char *kwnames[] = { | |
14762 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14763 | }; | |
14764 | ||
8edf1c75 | 14765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
d14a1e28 RD |
14766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14767 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
14768 | { |
14769 | arg3 = (int const) SWIG_PyObj_AsInt(obj2); | |
14770 | if (PyErr_Occurred()) SWIG_fail; | |
14771 | } | |
d14a1e28 RD |
14772 | { |
14773 | arg4 = wxString_in_helper(obj3); | |
14774 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14775 | temp4 = True; |
d14a1e28 RD |
14776 | } |
14777 | if (obj4) { | |
14778 | { | |
14779 | arg5 = &temp5; | |
14780 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14781 | } | |
14782 | } | |
14783 | if (obj5) { | |
14784 | { | |
14785 | arg6 = &temp6; | |
14786 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14787 | } | |
14788 | } | |
8edf1c75 RD |
14789 | if (obj6) { |
14790 | { | |
14791 | arg7 = (long) SWIG_PyObj_AsLong(obj6); | |
14792 | if (PyErr_Occurred()) SWIG_fail; | |
14793 | } | |
14794 | } | |
d14a1e28 RD |
14795 | if (obj7) { |
14796 | { | |
14797 | arg8 = wxString_in_helper(obj7); | |
14798 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 14799 | temp8 = True; |
d14a1e28 RD |
14800 | } |
14801 | } | |
14802 | { | |
14803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14804 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14805 | ||
14806 | wxPyEndAllowThreads(__tstate); | |
14807 | if (PyErr_Occurred()) SWIG_fail; | |
14808 | } | |
4e760a36 | 14809 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14810 | { |
14811 | if (temp4) | |
14812 | delete arg4; | |
14813 | } | |
14814 | { | |
14815 | if (temp8) | |
14816 | delete arg8; | |
14817 | } | |
14818 | return resultobj; | |
14819 | fail: | |
14820 | { | |
14821 | if (temp4) | |
14822 | delete arg4; | |
14823 | } | |
14824 | { | |
14825 | if (temp8) | |
14826 | delete arg8; | |
14827 | } | |
14828 | return NULL; | |
14829 | } | |
14830 | ||
14831 | ||
14832 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14833 | PyObject *resultobj; | |
14834 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14835 | PyObject * obj0 = 0 ; | |
14836 | char *kwnames[] = { | |
14837 | (char *) "self", NULL | |
14838 | }; | |
14839 | ||
14840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
14841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14842 | { | |
14843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14844 | (arg1)->Activate(); | |
14845 | ||
14846 | wxPyEndAllowThreads(__tstate); | |
14847 | if (PyErr_Occurred()) SWIG_fail; | |
14848 | } | |
14849 | Py_INCREF(Py_None); resultobj = Py_None; | |
14850 | return resultobj; | |
14851 | fail: | |
14852 | return NULL; | |
14853 | } | |
14854 | ||
14855 | ||
14856 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14857 | PyObject *resultobj; | |
14858 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14859 | bool arg2 ; | |
14860 | PyObject * obj0 = 0 ; | |
14861 | PyObject * obj1 = 0 ; | |
14862 | char *kwnames[] = { | |
14863 | (char *) "self",(char *) "maximize", NULL | |
14864 | }; | |
14865 | ||
14866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
14867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 14868 | { |
8edf1c75 | 14869 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
14870 | if (PyErr_Occurred()) SWIG_fail; |
14871 | } | |
d14a1e28 RD |
14872 | { |
14873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14874 | (arg1)->Maximize(arg2); | |
14875 | ||
14876 | wxPyEndAllowThreads(__tstate); | |
14877 | if (PyErr_Occurred()) SWIG_fail; | |
14878 | } | |
14879 | Py_INCREF(Py_None); resultobj = Py_None; | |
14880 | return resultobj; | |
14881 | fail: | |
14882 | return NULL; | |
14883 | } | |
14884 | ||
14885 | ||
14886 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14887 | PyObject *resultobj; | |
14888 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14889 | PyObject * obj0 = 0 ; | |
14890 | char *kwnames[] = { | |
14891 | (char *) "self", NULL | |
14892 | }; | |
14893 | ||
14894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
14895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14896 | { | |
14897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14898 | (arg1)->Restore(); | |
14899 | ||
14900 | wxPyEndAllowThreads(__tstate); | |
14901 | if (PyErr_Occurred()) SWIG_fail; | |
14902 | } | |
14903 | Py_INCREF(Py_None); resultobj = Py_None; | |
14904 | return resultobj; | |
14905 | fail: | |
14906 | return NULL; | |
14907 | } | |
14908 | ||
14909 | ||
14910 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14911 | PyObject *obj; | |
14912 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14913 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14914 | Py_INCREF(obj); | |
14915 | return Py_BuildValue((char *)""); | |
14916 | } | |
14917 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14918 | PyObject *resultobj; | |
14919 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14920 | long arg2 = (long) 0 ; | |
14921 | wxMDIClientWindow *result; | |
14922 | PyObject * obj0 = 0 ; | |
8edf1c75 | 14923 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14924 | char *kwnames[] = { |
14925 | (char *) "parent",(char *) "style", NULL | |
14926 | }; | |
14927 | ||
8edf1c75 | 14928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 14929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
14930 | if (obj1) { |
14931 | { | |
14932 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
14933 | if (PyErr_Occurred()) SWIG_fail; | |
14934 | } | |
14935 | } | |
d14a1e28 RD |
14936 | { |
14937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14938 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14939 | ||
14940 | wxPyEndAllowThreads(__tstate); | |
14941 | if (PyErr_Occurred()) SWIG_fail; | |
14942 | } | |
14943 | { | |
14944 | resultobj = wxPyMake_wxObject(result); | |
14945 | } | |
14946 | return resultobj; | |
14947 | fail: | |
14948 | return NULL; | |
14949 | } | |
14950 | ||
14951 | ||
14952 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14953 | PyObject *resultobj; | |
14954 | wxMDIClientWindow *result; | |
14955 | char *kwnames[] = { | |
14956 | NULL | |
14957 | }; | |
14958 | ||
14959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14960 | { | |
14961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14962 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14963 | ||
14964 | wxPyEndAllowThreads(__tstate); | |
14965 | if (PyErr_Occurred()) SWIG_fail; | |
14966 | } | |
14967 | { | |
14968 | resultobj = wxPyMake_wxObject(result); | |
14969 | } | |
14970 | return resultobj; | |
14971 | fail: | |
14972 | return NULL; | |
14973 | } | |
14974 | ||
14975 | ||
14976 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14977 | PyObject *resultobj; | |
14978 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14979 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14980 | long arg3 = (long) 0 ; | |
14981 | bool result; | |
14982 | PyObject * obj0 = 0 ; | |
14983 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14984 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14985 | char *kwnames[] = { |
14986 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14987 | }; | |
14988 | ||
8edf1c75 | 14989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 RD |
14990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
14991 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
14992 | if (obj2) { |
14993 | { | |
14994 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
14995 | if (PyErr_Occurred()) SWIG_fail; | |
14996 | } | |
14997 | } | |
d14a1e28 RD |
14998 | { |
14999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15000 | result = (bool)(arg1)->Create(arg2,arg3); | |
15001 | ||
15002 | wxPyEndAllowThreads(__tstate); | |
15003 | if (PyErr_Occurred()) SWIG_fail; | |
15004 | } | |
4e760a36 | 15005 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15006 | return resultobj; |
15007 | fail: | |
15008 | return NULL; | |
15009 | } | |
15010 | ||
15011 | ||
15012 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15013 | PyObject *obj; | |
15014 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15015 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15016 | Py_INCREF(obj); | |
15017 | return Py_BuildValue((char *)""); | |
15018 | } | |
15019 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15020 | PyObject *resultobj; | |
15021 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 15022 | int arg2 ; |
d14a1e28 RD |
15023 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15024 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15025 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15026 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15027 | long arg5 = (long) 0 ; | |
15028 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15029 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15030 | wxPyWindow *result; | |
15031 | wxPoint temp3 ; | |
15032 | wxSize temp4 ; | |
423f194a | 15033 | bool temp6 = False ; |
d14a1e28 | 15034 | PyObject * obj0 = 0 ; |
8edf1c75 | 15035 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15036 | PyObject * obj2 = 0 ; |
15037 | PyObject * obj3 = 0 ; | |
8edf1c75 | 15038 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15039 | PyObject * obj5 = 0 ; |
15040 | char *kwnames[] = { | |
15041 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15042 | }; | |
15043 | ||
8edf1c75 | 15044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15046 | { |
15047 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
15048 | if (PyErr_Occurred()) SWIG_fail; | |
15049 | } | |
d14a1e28 RD |
15050 | if (obj2) { |
15051 | { | |
15052 | arg3 = &temp3; | |
15053 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15054 | } | |
15055 | } | |
15056 | if (obj3) { | |
15057 | { | |
15058 | arg4 = &temp4; | |
15059 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15060 | } | |
15061 | } | |
8edf1c75 RD |
15062 | if (obj4) { |
15063 | { | |
15064 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
15065 | if (PyErr_Occurred()) SWIG_fail; | |
15066 | } | |
15067 | } | |
d14a1e28 RD |
15068 | if (obj5) { |
15069 | { | |
15070 | arg6 = wxString_in_helper(obj5); | |
15071 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 15072 | temp6 = True; |
d14a1e28 RD |
15073 | } |
15074 | } | |
15075 | { | |
15076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15077 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15078 | ||
15079 | wxPyEndAllowThreads(__tstate); | |
15080 | if (PyErr_Occurred()) SWIG_fail; | |
15081 | } | |
15082 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1); | |
15083 | { | |
15084 | if (temp6) | |
15085 | delete arg6; | |
15086 | } | |
15087 | return resultobj; | |
15088 | fail: | |
15089 | { | |
15090 | if (temp6) | |
15091 | delete arg6; | |
15092 | } | |
15093 | return NULL; | |
15094 | } | |
15095 | ||
15096 | ||
15097 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15098 | PyObject *resultobj; | |
15099 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15100 | PyObject *arg2 = (PyObject *) 0 ; | |
15101 | PyObject *arg3 = (PyObject *) 0 ; | |
15102 | PyObject * obj0 = 0 ; | |
15103 | PyObject * obj1 = 0 ; | |
15104 | PyObject * obj2 = 0 ; | |
15105 | char *kwnames[] = { | |
15106 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15107 | }; | |
15108 | ||
15109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15110 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15111 | arg2 = obj1; | |
15112 | arg3 = obj2; | |
15113 | { | |
15114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15115 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15116 | ||
15117 | wxPyEndAllowThreads(__tstate); | |
15118 | if (PyErr_Occurred()) SWIG_fail; | |
15119 | } | |
15120 | Py_INCREF(Py_None); resultobj = Py_None; | |
15121 | return resultobj; | |
15122 | fail: | |
15123 | return NULL; | |
15124 | } | |
15125 | ||
15126 | ||
15127 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15128 | PyObject *resultobj; | |
15129 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15130 | int arg2 ; | |
15131 | int arg3 ; | |
15132 | int arg4 ; | |
15133 | int arg5 ; | |
15134 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15135 | PyObject * obj1 = 0 ; |
15136 | PyObject * obj2 = 0 ; | |
15137 | PyObject * obj3 = 0 ; | |
15138 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15139 | char *kwnames[] = { |
15140 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15141 | }; | |
15142 | ||
8edf1c75 | 15143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 15144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15145 | { |
15146 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15147 | if (PyErr_Occurred()) SWIG_fail; | |
15148 | } | |
15149 | { | |
15150 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15151 | if (PyErr_Occurred()) SWIG_fail; | |
15152 | } | |
15153 | { | |
15154 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15155 | if (PyErr_Occurred()) SWIG_fail; | |
15156 | } | |
15157 | { | |
15158 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15159 | if (PyErr_Occurred()) SWIG_fail; | |
15160 | } | |
d14a1e28 RD |
15161 | { |
15162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15163 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15164 | ||
15165 | wxPyEndAllowThreads(__tstate); | |
15166 | if (PyErr_Occurred()) SWIG_fail; | |
15167 | } | |
15168 | Py_INCREF(Py_None); resultobj = Py_None; | |
15169 | return resultobj; | |
15170 | fail: | |
15171 | return NULL; | |
15172 | } | |
15173 | ||
15174 | ||
15175 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15176 | PyObject *resultobj; | |
15177 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15178 | int arg2 ; | |
15179 | int arg3 ; | |
15180 | int arg4 ; | |
15181 | int arg5 ; | |
15182 | int arg6 = (int) wxSIZE_AUTO ; | |
15183 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15184 | PyObject * obj1 = 0 ; |
15185 | PyObject * obj2 = 0 ; | |
15186 | PyObject * obj3 = 0 ; | |
15187 | PyObject * obj4 = 0 ; | |
15188 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15189 | char *kwnames[] = { |
15190 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15191 | }; | |
15192 | ||
8edf1c75 | 15193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15195 | { |
15196 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15197 | if (PyErr_Occurred()) SWIG_fail; | |
15198 | } | |
15199 | { | |
15200 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15201 | if (PyErr_Occurred()) SWIG_fail; | |
15202 | } | |
15203 | { | |
15204 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15205 | if (PyErr_Occurred()) SWIG_fail; | |
15206 | } | |
15207 | { | |
15208 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15209 | if (PyErr_Occurred()) SWIG_fail; | |
15210 | } | |
15211 | if (obj5) { | |
15212 | { | |
15213 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
15214 | if (PyErr_Occurred()) SWIG_fail; | |
15215 | } | |
15216 | } | |
d14a1e28 RD |
15217 | { |
15218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15219 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15220 | ||
15221 | wxPyEndAllowThreads(__tstate); | |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | } | |
15224 | Py_INCREF(Py_None); resultobj = Py_None; | |
15225 | return resultobj; | |
15226 | fail: | |
15227 | return NULL; | |
15228 | } | |
15229 | ||
15230 | ||
15231 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15232 | PyObject *resultobj; | |
15233 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15234 | int arg2 ; | |
15235 | int arg3 ; | |
15236 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15237 | PyObject * obj1 = 0 ; |
15238 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15239 | char *kwnames[] = { |
15240 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15241 | }; | |
15242 | ||
8edf1c75 | 15243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15245 | { |
15246 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15247 | if (PyErr_Occurred()) SWIG_fail; | |
15248 | } | |
15249 | { | |
15250 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15251 | if (PyErr_Occurred()) SWIG_fail; | |
15252 | } | |
d14a1e28 RD |
15253 | { |
15254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15255 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15256 | ||
15257 | wxPyEndAllowThreads(__tstate); | |
15258 | if (PyErr_Occurred()) SWIG_fail; | |
15259 | } | |
15260 | Py_INCREF(Py_None); resultobj = Py_None; | |
15261 | return resultobj; | |
15262 | fail: | |
15263 | return NULL; | |
15264 | } | |
15265 | ||
15266 | ||
15267 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15268 | PyObject *resultobj; | |
15269 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15270 | int arg2 ; | |
15271 | int arg3 ; | |
15272 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15273 | PyObject * obj1 = 0 ; |
15274 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15275 | char *kwnames[] = { |
15276 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15277 | }; | |
15278 | ||
8edf1c75 | 15279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15281 | { |
15282 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15283 | if (PyErr_Occurred()) SWIG_fail; | |
15284 | } | |
15285 | { | |
15286 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15287 | if (PyErr_Occurred()) SWIG_fail; | |
15288 | } | |
d14a1e28 RD |
15289 | { |
15290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15291 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15292 | ||
15293 | wxPyEndAllowThreads(__tstate); | |
15294 | if (PyErr_Occurred()) SWIG_fail; | |
15295 | } | |
15296 | Py_INCREF(Py_None); resultobj = Py_None; | |
15297 | return resultobj; | |
15298 | fail: | |
15299 | return NULL; | |
15300 | } | |
15301 | ||
15302 | ||
15303 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15304 | PyObject *resultobj; | |
15305 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15306 | int *arg2 = (int *) 0 ; | |
15307 | int *arg3 = (int *) 0 ; | |
15308 | int temp2 ; | |
15309 | int temp3 ; | |
15310 | PyObject * obj0 = 0 ; | |
15311 | char *kwnames[] = { | |
15312 | (char *) "self", NULL | |
15313 | }; | |
15314 | ||
15315 | arg2 = &temp2; | |
15316 | arg3 = &temp3; | |
15317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15319 | { | |
15320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15321 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15322 | ||
15323 | wxPyEndAllowThreads(__tstate); | |
15324 | if (PyErr_Occurred()) SWIG_fail; | |
15325 | } | |
15326 | Py_INCREF(Py_None); resultobj = Py_None; | |
15327 | { | |
15328 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15329 | resultobj = t_output_helper(resultobj,o); | |
15330 | } | |
15331 | { | |
15332 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15333 | resultobj = t_output_helper(resultobj,o); | |
15334 | } | |
15335 | return resultobj; | |
15336 | fail: | |
15337 | return NULL; | |
15338 | } | |
15339 | ||
15340 | ||
15341 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15342 | PyObject *resultobj; | |
15343 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15344 | int *arg2 = (int *) 0 ; | |
15345 | int *arg3 = (int *) 0 ; | |
15346 | int temp2 ; | |
15347 | int temp3 ; | |
15348 | PyObject * obj0 = 0 ; | |
15349 | char *kwnames[] = { | |
15350 | (char *) "self", NULL | |
15351 | }; | |
15352 | ||
15353 | arg2 = &temp2; | |
15354 | arg3 = &temp3; | |
15355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15356 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15357 | { | |
15358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15359 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15360 | ||
15361 | wxPyEndAllowThreads(__tstate); | |
15362 | if (PyErr_Occurred()) SWIG_fail; | |
15363 | } | |
15364 | Py_INCREF(Py_None); resultobj = Py_None; | |
15365 | { | |
15366 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15367 | resultobj = t_output_helper(resultobj,o); | |
15368 | } | |
15369 | { | |
15370 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15371 | resultobj = t_output_helper(resultobj,o); | |
15372 | } | |
15373 | return resultobj; | |
15374 | fail: | |
15375 | return NULL; | |
15376 | } | |
15377 | ||
15378 | ||
15379 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15380 | PyObject *resultobj; | |
15381 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15382 | int *arg2 = (int *) 0 ; | |
15383 | int *arg3 = (int *) 0 ; | |
15384 | int temp2 ; | |
15385 | int temp3 ; | |
15386 | PyObject * obj0 = 0 ; | |
15387 | char *kwnames[] = { | |
15388 | (char *) "self", NULL | |
15389 | }; | |
15390 | ||
15391 | arg2 = &temp2; | |
15392 | arg3 = &temp3; | |
15393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15395 | { | |
15396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15397 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15398 | ||
15399 | wxPyEndAllowThreads(__tstate); | |
15400 | if (PyErr_Occurred()) SWIG_fail; | |
15401 | } | |
15402 | Py_INCREF(Py_None); resultobj = Py_None; | |
15403 | { | |
15404 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15405 | resultobj = t_output_helper(resultobj,o); | |
15406 | } | |
15407 | { | |
15408 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15409 | resultobj = t_output_helper(resultobj,o); | |
15410 | } | |
15411 | return resultobj; | |
15412 | fail: | |
15413 | return NULL; | |
15414 | } | |
15415 | ||
15416 | ||
15417 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15418 | PyObject *resultobj; | |
15419 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15420 | wxSize result; | |
15421 | PyObject * obj0 = 0 ; | |
15422 | char *kwnames[] = { | |
15423 | (char *) "self", NULL | |
15424 | }; | |
15425 | ||
15426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15427 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15428 | { | |
15429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15430 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15431 | ||
15432 | wxPyEndAllowThreads(__tstate); | |
15433 | if (PyErr_Occurred()) SWIG_fail; | |
15434 | } | |
15435 | { | |
15436 | wxSize * resultptr; | |
15437 | resultptr = new wxSize((wxSize &) result); | |
15438 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15439 | } | |
15440 | return resultobj; | |
15441 | fail: | |
15442 | return NULL; | |
15443 | } | |
15444 | ||
15445 | ||
15446 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15447 | PyObject *resultobj; | |
15448 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15449 | wxSize result; | |
15450 | PyObject * obj0 = 0 ; | |
15451 | char *kwnames[] = { | |
15452 | (char *) "self", NULL | |
15453 | }; | |
15454 | ||
15455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15456 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15457 | { | |
15458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15459 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15460 | ||
15461 | wxPyEndAllowThreads(__tstate); | |
15462 | if (PyErr_Occurred()) SWIG_fail; | |
15463 | } | |
15464 | { | |
15465 | wxSize * resultptr; | |
15466 | resultptr = new wxSize((wxSize &) result); | |
15467 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15468 | } | |
15469 | return resultobj; | |
15470 | fail: | |
15471 | return NULL; | |
15472 | } | |
15473 | ||
15474 | ||
15475 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15476 | PyObject *resultobj; | |
15477 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15478 | PyObject * obj0 = 0 ; | |
15479 | char *kwnames[] = { | |
15480 | (char *) "self", NULL | |
15481 | }; | |
15482 | ||
15483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15485 | { | |
15486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15487 | (arg1)->base_InitDialog(); | |
15488 | ||
15489 | wxPyEndAllowThreads(__tstate); | |
15490 | if (PyErr_Occurred()) SWIG_fail; | |
15491 | } | |
15492 | Py_INCREF(Py_None); resultobj = Py_None; | |
15493 | return resultobj; | |
15494 | fail: | |
15495 | return NULL; | |
15496 | } | |
15497 | ||
15498 | ||
15499 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15500 | PyObject *resultobj; | |
15501 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15502 | bool result; | |
15503 | PyObject * obj0 = 0 ; | |
15504 | char *kwnames[] = { | |
15505 | (char *) "self", NULL | |
15506 | }; | |
15507 | ||
15508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15509 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15510 | { | |
15511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15512 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15513 | ||
15514 | wxPyEndAllowThreads(__tstate); | |
15515 | if (PyErr_Occurred()) SWIG_fail; | |
15516 | } | |
4e760a36 | 15517 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15518 | return resultobj; |
15519 | fail: | |
15520 | return NULL; | |
15521 | } | |
15522 | ||
15523 | ||
15524 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15525 | PyObject *resultobj; | |
15526 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15527 | bool result; | |
15528 | PyObject * obj0 = 0 ; | |
15529 | char *kwnames[] = { | |
15530 | (char *) "self", NULL | |
15531 | }; | |
15532 | ||
15533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15535 | { | |
15536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15537 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15538 | ||
15539 | wxPyEndAllowThreads(__tstate); | |
15540 | if (PyErr_Occurred()) SWIG_fail; | |
15541 | } | |
4e760a36 | 15542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15543 | return resultobj; |
15544 | fail: | |
15545 | return NULL; | |
15546 | } | |
15547 | ||
15548 | ||
15549 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15550 | PyObject *resultobj; | |
15551 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15552 | bool result; | |
15553 | PyObject * obj0 = 0 ; | |
15554 | char *kwnames[] = { | |
15555 | (char *) "self", NULL | |
15556 | }; | |
15557 | ||
15558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15559 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15560 | { | |
15561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15562 | result = (bool)(arg1)->base_Validate(); | |
15563 | ||
15564 | wxPyEndAllowThreads(__tstate); | |
15565 | if (PyErr_Occurred()) SWIG_fail; | |
15566 | } | |
4e760a36 | 15567 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15568 | return resultobj; |
15569 | fail: | |
15570 | return NULL; | |
15571 | } | |
15572 | ||
15573 | ||
15574 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15575 | PyObject *resultobj; | |
15576 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15577 | bool result; | |
15578 | PyObject * obj0 = 0 ; | |
15579 | char *kwnames[] = { | |
15580 | (char *) "self", NULL | |
15581 | }; | |
15582 | ||
15583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15584 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15585 | { | |
15586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15587 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15588 | ||
15589 | wxPyEndAllowThreads(__tstate); | |
15590 | if (PyErr_Occurred()) SWIG_fail; | |
15591 | } | |
4e760a36 | 15592 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15593 | return resultobj; |
15594 | fail: | |
15595 | return NULL; | |
15596 | } | |
15597 | ||
15598 | ||
15599 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15600 | PyObject *resultobj; | |
15601 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15602 | bool result; | |
15603 | PyObject * obj0 = 0 ; | |
15604 | char *kwnames[] = { | |
15605 | (char *) "self", NULL | |
15606 | }; | |
15607 | ||
15608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15610 | { | |
15611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15612 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15613 | ||
15614 | wxPyEndAllowThreads(__tstate); | |
15615 | if (PyErr_Occurred()) SWIG_fail; | |
15616 | } | |
4e760a36 | 15617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15618 | return resultobj; |
15619 | fail: | |
15620 | return NULL; | |
15621 | } | |
15622 | ||
15623 | ||
15624 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15625 | PyObject *resultobj; | |
15626 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15627 | wxSize result; | |
15628 | PyObject * obj0 = 0 ; | |
15629 | char *kwnames[] = { | |
15630 | (char *) "self", NULL | |
15631 | }; | |
15632 | ||
15633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15635 | { | |
15636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15637 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15638 | ||
15639 | wxPyEndAllowThreads(__tstate); | |
15640 | if (PyErr_Occurred()) SWIG_fail; | |
15641 | } | |
15642 | { | |
15643 | wxSize * resultptr; | |
15644 | resultptr = new wxSize((wxSize &) result); | |
15645 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15646 | } | |
15647 | return resultobj; | |
15648 | fail: | |
15649 | return NULL; | |
15650 | } | |
15651 | ||
15652 | ||
15653 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15654 | PyObject *resultobj; | |
15655 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15656 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15657 | PyObject * obj0 = 0 ; | |
15658 | PyObject * obj1 = 0 ; | |
15659 | char *kwnames[] = { | |
15660 | (char *) "self",(char *) "child", NULL | |
15661 | }; | |
15662 | ||
15663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15665 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15666 | { | |
15667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15668 | (arg1)->base_AddChild(arg2); | |
15669 | ||
15670 | wxPyEndAllowThreads(__tstate); | |
15671 | if (PyErr_Occurred()) SWIG_fail; | |
15672 | } | |
15673 | Py_INCREF(Py_None); resultobj = Py_None; | |
15674 | return resultobj; | |
15675 | fail: | |
15676 | return NULL; | |
15677 | } | |
15678 | ||
15679 | ||
15680 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15681 | PyObject *resultobj; | |
15682 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15683 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15684 | PyObject * obj0 = 0 ; | |
15685 | PyObject * obj1 = 0 ; | |
15686 | char *kwnames[] = { | |
15687 | (char *) "self",(char *) "child", NULL | |
15688 | }; | |
15689 | ||
15690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15692 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15693 | { | |
15694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15695 | (arg1)->base_RemoveChild(arg2); | |
15696 | ||
15697 | wxPyEndAllowThreads(__tstate); | |
15698 | if (PyErr_Occurred()) SWIG_fail; | |
15699 | } | |
15700 | Py_INCREF(Py_None); resultobj = Py_None; | |
15701 | return resultobj; | |
15702 | fail: | |
15703 | return NULL; | |
15704 | } | |
15705 | ||
15706 | ||
15707 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
15708 | PyObject *obj; | |
15709 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15710 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15711 | Py_INCREF(obj); | |
15712 | return Py_BuildValue((char *)""); | |
15713 | } | |
15714 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15715 | PyObject *resultobj; | |
15716 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 15717 | int arg2 ; |
d14a1e28 RD |
15718 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15719 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15720 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15721 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15722 | long arg5 = (long) 0 ; | |
15723 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15724 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15725 | wxPyPanel *result; | |
15726 | wxPoint temp3 ; | |
15727 | wxSize temp4 ; | |
423f194a | 15728 | bool temp6 = False ; |
d14a1e28 | 15729 | PyObject * obj0 = 0 ; |
8edf1c75 | 15730 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15731 | PyObject * obj2 = 0 ; |
15732 | PyObject * obj3 = 0 ; | |
8edf1c75 | 15733 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15734 | PyObject * obj5 = 0 ; |
15735 | char *kwnames[] = { | |
15736 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15737 | }; | |
15738 | ||
8edf1c75 | 15739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15741 | { |
15742 | arg2 = (int const) SWIG_PyObj_AsInt(obj1); | |
15743 | if (PyErr_Occurred()) SWIG_fail; | |
15744 | } | |
d14a1e28 RD |
15745 | if (obj2) { |
15746 | { | |
15747 | arg3 = &temp3; | |
15748 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15749 | } | |
15750 | } | |
15751 | if (obj3) { | |
15752 | { | |
15753 | arg4 = &temp4; | |
15754 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15755 | } | |
15756 | } | |
8edf1c75 RD |
15757 | if (obj4) { |
15758 | { | |
15759 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
15760 | if (PyErr_Occurred()) SWIG_fail; | |
15761 | } | |
15762 | } | |
d14a1e28 RD |
15763 | if (obj5) { |
15764 | { | |
15765 | arg6 = wxString_in_helper(obj5); | |
15766 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 15767 | temp6 = True; |
d14a1e28 RD |
15768 | } |
15769 | } | |
15770 | { | |
15771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15772 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15773 | ||
15774 | wxPyEndAllowThreads(__tstate); | |
15775 | if (PyErr_Occurred()) SWIG_fail; | |
15776 | } | |
15777 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1); | |
15778 | { | |
15779 | if (temp6) | |
15780 | delete arg6; | |
15781 | } | |
15782 | return resultobj; | |
15783 | fail: | |
15784 | { | |
15785 | if (temp6) | |
15786 | delete arg6; | |
15787 | } | |
15788 | return NULL; | |
15789 | } | |
15790 | ||
15791 | ||
15792 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15793 | PyObject *resultobj; | |
15794 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15795 | PyObject *arg2 = (PyObject *) 0 ; | |
15796 | PyObject *arg3 = (PyObject *) 0 ; | |
15797 | PyObject * obj0 = 0 ; | |
15798 | PyObject * obj1 = 0 ; | |
15799 | PyObject * obj2 = 0 ; | |
15800 | char *kwnames[] = { | |
15801 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15802 | }; | |
15803 | ||
15804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15805 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15806 | arg2 = obj1; | |
15807 | arg3 = obj2; | |
15808 | { | |
15809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15810 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15811 | ||
15812 | wxPyEndAllowThreads(__tstate); | |
15813 | if (PyErr_Occurred()) SWIG_fail; | |
15814 | } | |
15815 | Py_INCREF(Py_None); resultobj = Py_None; | |
15816 | return resultobj; | |
15817 | fail: | |
15818 | return NULL; | |
15819 | } | |
15820 | ||
15821 | ||
15822 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15823 | PyObject *resultobj; | |
15824 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15825 | int arg2 ; | |
15826 | int arg3 ; | |
15827 | int arg4 ; | |
15828 | int arg5 ; | |
15829 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15830 | PyObject * obj1 = 0 ; |
15831 | PyObject * obj2 = 0 ; | |
15832 | PyObject * obj3 = 0 ; | |
15833 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15834 | char *kwnames[] = { |
15835 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15836 | }; | |
15837 | ||
8edf1c75 | 15838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 | 15839 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15840 | { |
15841 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15842 | if (PyErr_Occurred()) SWIG_fail; | |
15843 | } | |
15844 | { | |
15845 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15846 | if (PyErr_Occurred()) SWIG_fail; | |
15847 | } | |
15848 | { | |
15849 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | { | |
15853 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15854 | if (PyErr_Occurred()) SWIG_fail; | |
15855 | } | |
d14a1e28 RD |
15856 | { |
15857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15858 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15859 | ||
15860 | wxPyEndAllowThreads(__tstate); | |
15861 | if (PyErr_Occurred()) SWIG_fail; | |
15862 | } | |
15863 | Py_INCREF(Py_None); resultobj = Py_None; | |
15864 | return resultobj; | |
15865 | fail: | |
15866 | return NULL; | |
15867 | } | |
15868 | ||
15869 | ||
15870 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15871 | PyObject *resultobj; | |
15872 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15873 | int arg2 ; | |
15874 | int arg3 ; | |
15875 | int arg4 ; | |
15876 | int arg5 ; | |
15877 | int arg6 = (int) wxSIZE_AUTO ; | |
15878 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15879 | PyObject * obj1 = 0 ; |
15880 | PyObject * obj2 = 0 ; | |
15881 | PyObject * obj3 = 0 ; | |
15882 | PyObject * obj4 = 0 ; | |
15883 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15884 | char *kwnames[] = { |
15885 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15886 | }; | |
15887 | ||
8edf1c75 | 15888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 | 15889 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15890 | { |
15891 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15892 | if (PyErr_Occurred()) SWIG_fail; | |
15893 | } | |
15894 | { | |
15895 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15896 | if (PyErr_Occurred()) SWIG_fail; | |
15897 | } | |
15898 | { | |
15899 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
15900 | if (PyErr_Occurred()) SWIG_fail; | |
15901 | } | |
15902 | { | |
15903 | arg5 = (int) SWIG_PyObj_AsInt(obj4); | |
15904 | if (PyErr_Occurred()) SWIG_fail; | |
15905 | } | |
15906 | if (obj5) { | |
15907 | { | |
15908 | arg6 = (int) SWIG_PyObj_AsInt(obj5); | |
15909 | if (PyErr_Occurred()) SWIG_fail; | |
15910 | } | |
15911 | } | |
d14a1e28 RD |
15912 | { |
15913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15914 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15915 | ||
15916 | wxPyEndAllowThreads(__tstate); | |
15917 | if (PyErr_Occurred()) SWIG_fail; | |
15918 | } | |
15919 | Py_INCREF(Py_None); resultobj = Py_None; | |
15920 | return resultobj; | |
15921 | fail: | |
15922 | return NULL; | |
15923 | } | |
15924 | ||
15925 | ||
15926 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15927 | PyObject *resultobj; | |
15928 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15929 | int arg2 ; | |
15930 | int arg3 ; | |
15931 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15932 | PyObject * obj1 = 0 ; |
15933 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15934 | char *kwnames[] = { |
15935 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15936 | }; | |
15937 | ||
8edf1c75 | 15938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15940 | { |
15941 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15942 | if (PyErr_Occurred()) SWIG_fail; | |
15943 | } | |
15944 | { | |
15945 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15946 | if (PyErr_Occurred()) SWIG_fail; | |
15947 | } | |
d14a1e28 RD |
15948 | { |
15949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15950 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15951 | ||
15952 | wxPyEndAllowThreads(__tstate); | |
15953 | if (PyErr_Occurred()) SWIG_fail; | |
15954 | } | |
15955 | Py_INCREF(Py_None); resultobj = Py_None; | |
15956 | return resultobj; | |
15957 | fail: | |
15958 | return NULL; | |
15959 | } | |
15960 | ||
15961 | ||
15962 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15963 | PyObject *resultobj; | |
15964 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15965 | int arg2 ; | |
15966 | int arg3 ; | |
15967 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15968 | PyObject * obj1 = 0 ; |
15969 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15970 | char *kwnames[] = { |
15971 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15972 | }; | |
15973 | ||
8edf1c75 | 15974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 15975 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
15976 | { |
15977 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
15978 | if (PyErr_Occurred()) SWIG_fail; | |
15979 | } | |
15980 | { | |
15981 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
15982 | if (PyErr_Occurred()) SWIG_fail; | |
15983 | } | |
d14a1e28 RD |
15984 | { |
15985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15986 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15987 | ||
15988 | wxPyEndAllowThreads(__tstate); | |
15989 | if (PyErr_Occurred()) SWIG_fail; | |
15990 | } | |
15991 | Py_INCREF(Py_None); resultobj = Py_None; | |
15992 | return resultobj; | |
15993 | fail: | |
15994 | return NULL; | |
15995 | } | |
15996 | ||
15997 | ||
15998 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15999 | PyObject *resultobj; | |
16000 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16001 | int *arg2 = (int *) 0 ; | |
16002 | int *arg3 = (int *) 0 ; | |
16003 | int temp2 ; | |
16004 | int temp3 ; | |
16005 | PyObject * obj0 = 0 ; | |
16006 | char *kwnames[] = { | |
16007 | (char *) "self", NULL | |
16008 | }; | |
16009 | ||
16010 | arg2 = &temp2; | |
16011 | arg3 = &temp3; | |
16012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
16013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16014 | { | |
16015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16016 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16017 | ||
16018 | wxPyEndAllowThreads(__tstate); | |
16019 | if (PyErr_Occurred()) SWIG_fail; | |
16020 | } | |
16021 | Py_INCREF(Py_None); resultobj = Py_None; | |
16022 | { | |
16023 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16024 | resultobj = t_output_helper(resultobj,o); | |
16025 | } | |
16026 | { | |
16027 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16028 | resultobj = t_output_helper(resultobj,o); | |
16029 | } | |
16030 | return resultobj; | |
16031 | fail: | |
16032 | return NULL; | |
16033 | } | |
16034 | ||
16035 | ||
16036 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16037 | PyObject *resultobj; | |
16038 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16039 | int *arg2 = (int *) 0 ; | |
16040 | int *arg3 = (int *) 0 ; | |
16041 | int temp2 ; | |
16042 | int temp3 ; | |
16043 | PyObject * obj0 = 0 ; | |
16044 | char *kwnames[] = { | |
16045 | (char *) "self", NULL | |
16046 | }; | |
16047 | ||
16048 | arg2 = &temp2; | |
16049 | arg3 = &temp3; | |
16050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
16051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16052 | { | |
16053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16054 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16055 | ||
16056 | wxPyEndAllowThreads(__tstate); | |
16057 | if (PyErr_Occurred()) SWIG_fail; | |
16058 | } | |
16059 | Py_INCREF(Py_None); resultobj = Py_None; | |
16060 | { | |
16061 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16062 | resultobj = t_output_helper(resultobj,o); | |
16063 | } | |
16064 | { | |
16065 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16066 | resultobj = t_output_helper(resultobj,o); | |
16067 | } | |
16068 | return resultobj; | |
16069 | fail: | |
16070 | return NULL; | |
16071 | } | |
16072 | ||
16073 | ||
16074 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16075 | PyObject *resultobj; | |
16076 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16077 | int *arg2 = (int *) 0 ; | |
16078 | int *arg3 = (int *) 0 ; | |
16079 | int temp2 ; | |
16080 | int temp3 ; | |
16081 | PyObject * obj0 = 0 ; | |
16082 | char *kwnames[] = { | |
16083 | (char *) "self", NULL | |
16084 | }; | |
16085 | ||
16086 | arg2 = &temp2; | |
16087 | arg3 = &temp3; | |
16088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
16089 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16090 | { | |
16091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16092 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16093 | ||
16094 | wxPyEndAllowThreads(__tstate); | |
16095 | if (PyErr_Occurred()) SWIG_fail; | |
16096 | } | |
16097 | Py_INCREF(Py_None); resultobj = Py_None; | |
16098 | { | |
16099 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16100 | resultobj = t_output_helper(resultobj,o); | |
16101 | } | |
16102 | { | |
16103 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16104 | resultobj = t_output_helper(resultobj,o); | |
16105 | } | |
16106 | return resultobj; | |
16107 | fail: | |
16108 | return NULL; | |
16109 | } | |
16110 | ||
16111 | ||
16112 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16113 | PyObject *resultobj; | |
16114 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16115 | wxSize result; | |
16116 | PyObject * obj0 = 0 ; | |
16117 | char *kwnames[] = { | |
16118 | (char *) "self", NULL | |
16119 | }; | |
16120 | ||
16121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
16122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16123 | { | |
16124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16125 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16126 | ||
16127 | wxPyEndAllowThreads(__tstate); | |
16128 | if (PyErr_Occurred()) SWIG_fail; | |
16129 | } | |
16130 | { | |
16131 | wxSize * resultptr; | |
16132 | resultptr = new wxSize((wxSize &) result); | |
16133 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16134 | } | |
16135 | return resultobj; | |
16136 | fail: | |
16137 | return NULL; | |
16138 | } | |
16139 | ||
16140 | ||
16141 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16142 | PyObject *resultobj; | |
16143 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16144 | wxSize result; | |
16145 | PyObject * obj0 = 0 ; | |
16146 | char *kwnames[] = { | |
16147 | (char *) "self", NULL | |
16148 | }; | |
16149 | ||
16150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
16151 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16152 | { | |
16153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16154 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16155 | ||
16156 | wxPyEndAllowThreads(__tstate); | |
16157 | if (PyErr_Occurred()) SWIG_fail; | |
16158 | } | |
16159 | { | |
16160 | wxSize * resultptr; | |
16161 | resultptr = new wxSize((wxSize &) result); | |
16162 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16163 | } | |
16164 | return resultobj; | |
16165 | fail: | |
16166 | return NULL; | |
16167 | } | |
16168 | ||
16169 | ||
16170 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16171 | PyObject *resultobj; | |
16172 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16173 | PyObject * obj0 = 0 ; | |
16174 | char *kwnames[] = { | |
16175 | (char *) "self", NULL | |
16176 | }; | |
16177 | ||
16178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
16179 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16180 | { | |
16181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16182 | (arg1)->base_InitDialog(); | |
16183 | ||
16184 | wxPyEndAllowThreads(__tstate); | |
16185 | if (PyErr_Occurred()) SWIG_fail; | |
16186 | } | |
16187 | Py_INCREF(Py_None); resultobj = Py_None; | |
16188 | return resultobj; | |
16189 | fail: | |
16190 | return NULL; | |
16191 | } | |
16192 | ||
16193 | ||
16194 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16195 | PyObject *resultobj; | |
16196 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16197 | bool result; | |
16198 | PyObject * obj0 = 0 ; | |
16199 | char *kwnames[] = { | |
16200 | (char *) "self", NULL | |
16201 | }; | |
16202 | ||
16203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
16204 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16205 | { | |
16206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16207 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16208 | ||
16209 | wxPyEndAllowThreads(__tstate); | |
16210 | if (PyErr_Occurred()) SWIG_fail; | |
16211 | } | |
4e760a36 | 16212 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16213 | return resultobj; |
16214 | fail: | |
16215 | return NULL; | |
16216 | } | |
16217 | ||
16218 | ||
16219 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16220 | PyObject *resultobj; | |
16221 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16222 | bool result; | |
16223 | PyObject * obj0 = 0 ; | |
16224 | char *kwnames[] = { | |
16225 | (char *) "self", NULL | |
16226 | }; | |
16227 | ||
16228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
16229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16230 | { | |
16231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16232 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16233 | ||
16234 | wxPyEndAllowThreads(__tstate); | |
16235 | if (PyErr_Occurred()) SWIG_fail; | |
16236 | } | |
4e760a36 | 16237 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16238 | return resultobj; |
16239 | fail: | |
16240 | return NULL; | |
16241 | } | |
16242 | ||
16243 | ||
16244 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16245 | PyObject *resultobj; | |
16246 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16247 | bool result; | |
16248 | PyObject * obj0 = 0 ; | |
16249 | char *kwnames[] = { | |
16250 | (char *) "self", NULL | |
16251 | }; | |
16252 | ||
16253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
16254 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16255 | { | |
16256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16257 | result = (bool)(arg1)->base_Validate(); | |
16258 | ||
16259 | wxPyEndAllowThreads(__tstate); | |
16260 | if (PyErr_Occurred()) SWIG_fail; | |
16261 | } | |
4e760a36 | 16262 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16263 | return resultobj; |
16264 | fail: | |
16265 | return NULL; | |
16266 | } | |
16267 | ||
16268 | ||
16269 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16270 | PyObject *resultobj; | |
16271 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16272 | bool result; | |
16273 | PyObject * obj0 = 0 ; | |
16274 | char *kwnames[] = { | |
16275 | (char *) "self", NULL | |
16276 | }; | |
16277 | ||
16278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
16279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16280 | { | |
16281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16282 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16283 | ||
16284 | wxPyEndAllowThreads(__tstate); | |
16285 | if (PyErr_Occurred()) SWIG_fail; | |
16286 | } | |
4e760a36 | 16287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16288 | return resultobj; |
16289 | fail: | |
16290 | return NULL; | |
16291 | } | |
16292 | ||
16293 | ||
16294 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16295 | PyObject *resultobj; | |
16296 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16297 | bool result; | |
16298 | PyObject * obj0 = 0 ; | |
16299 | char *kwnames[] = { | |
16300 | (char *) "self", NULL | |
16301 | }; | |
16302 | ||
16303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
16304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16305 | { | |
16306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16307 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16308 | ||
16309 | wxPyEndAllowThreads(__tstate); | |
16310 | if (PyErr_Occurred()) SWIG_fail; | |
16311 | } | |
4e760a36 | 16312 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16313 | return resultobj; |
16314 | fail: | |
16315 | return NULL; | |
16316 | } | |
16317 | ||
16318 | ||
16319 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16320 | PyObject *resultobj; | |
16321 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16322 | wxSize result; | |
16323 | PyObject * obj0 = 0 ; | |
16324 | char *kwnames[] = { | |
16325 | (char *) "self", NULL | |
16326 | }; | |
16327 | ||
16328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
16329 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16330 | { | |
16331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16332 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16333 | ||
16334 | wxPyEndAllowThreads(__tstate); | |
16335 | if (PyErr_Occurred()) SWIG_fail; | |
16336 | } | |
16337 | { | |
16338 | wxSize * resultptr; | |
16339 | resultptr = new wxSize((wxSize &) result); | |
16340 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16341 | } | |
16342 | return resultobj; | |
16343 | fail: | |
16344 | return NULL; | |
16345 | } | |
16346 | ||
16347 | ||
16348 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16349 | PyObject *resultobj; | |
16350 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16351 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16352 | PyObject * obj0 = 0 ; | |
16353 | PyObject * obj1 = 0 ; | |
16354 | char *kwnames[] = { | |
16355 | (char *) "self",(char *) "child", NULL | |
16356 | }; | |
16357 | ||
16358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
16359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16360 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16361 | { | |
16362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16363 | (arg1)->base_AddChild(arg2); | |
16364 | ||
16365 | wxPyEndAllowThreads(__tstate); | |
16366 | if (PyErr_Occurred()) SWIG_fail; | |
16367 | } | |
16368 | Py_INCREF(Py_None); resultobj = Py_None; | |
16369 | return resultobj; | |
16370 | fail: | |
16371 | return NULL; | |
16372 | } | |
16373 | ||
16374 | ||
16375 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16376 | PyObject *resultobj; | |
16377 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16378 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16379 | PyObject * obj0 = 0 ; | |
16380 | PyObject * obj1 = 0 ; | |
16381 | char *kwnames[] = { | |
16382 | (char *) "self",(char *) "child", NULL | |
16383 | }; | |
16384 | ||
16385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
16386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16387 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16388 | { | |
16389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16390 | (arg1)->base_RemoveChild(arg2); | |
16391 | ||
16392 | wxPyEndAllowThreads(__tstate); | |
16393 | if (PyErr_Occurred()) SWIG_fail; | |
16394 | } | |
16395 | Py_INCREF(Py_None); resultobj = Py_None; | |
16396 | return resultobj; | |
16397 | fail: | |
16398 | return NULL; | |
16399 | } | |
16400 | ||
16401 | ||
16402 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
16403 | PyObject *obj; | |
16404 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16405 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16406 | Py_INCREF(obj); | |
16407 | return Py_BuildValue((char *)""); | |
16408 | } | |
8edf1c75 | 16409 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d03fd34d RD |
16410 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
16411 | return 1; | |
16412 | } | |
16413 | ||
16414 | ||
16415 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
16416 | PyObject *pyobj; | |
16417 | ||
16418 | { | |
16419 | #if wxUSE_UNICODE | |
16420 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16421 | #else | |
16422 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16423 | #endif | |
16424 | } | |
16425 | return pyobj; | |
16426 | } | |
16427 | ||
16428 | ||
8edf1c75 | 16429 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d03fd34d RD |
16430 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
16431 | return 1; | |
16432 | } | |
16433 | ||
16434 | ||
16435 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
16436 | PyObject *pyobj; | |
16437 | ||
16438 | { | |
16439 | #if wxUSE_UNICODE | |
16440 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16441 | #else | |
16442 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16443 | #endif | |
16444 | } | |
16445 | return pyobj; | |
16446 | } | |
16447 | ||
16448 | ||
d14a1e28 RD |
16449 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
16450 | PyObject *resultobj; | |
16451 | wxPrintData *result; | |
16452 | char *kwnames[] = { | |
16453 | NULL | |
16454 | }; | |
16455 | ||
16456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
16457 | { | |
16458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16459 | result = (wxPrintData *)new wxPrintData(); | |
16460 | ||
16461 | wxPyEndAllowThreads(__tstate); | |
16462 | if (PyErr_Occurred()) SWIG_fail; | |
16463 | } | |
16464 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1); | |
16465 | return resultobj; | |
16466 | fail: | |
16467 | return NULL; | |
16468 | } | |
16469 | ||
16470 | ||
16471 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16472 | PyObject *resultobj; | |
16473 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16474 | PyObject * obj0 = 0 ; | |
16475 | char *kwnames[] = { | |
16476 | (char *) "self", NULL | |
16477 | }; | |
16478 | ||
16479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
16480 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16481 | { | |
16482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16483 | delete arg1; | |
16484 | ||
16485 | wxPyEndAllowThreads(__tstate); | |
16486 | if (PyErr_Occurred()) SWIG_fail; | |
16487 | } | |
16488 | Py_INCREF(Py_None); resultobj = Py_None; | |
16489 | return resultobj; | |
16490 | fail: | |
16491 | return NULL; | |
16492 | } | |
16493 | ||
16494 | ||
16495 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16496 | PyObject *resultobj; | |
16497 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16498 | int result; | |
16499 | PyObject * obj0 = 0 ; | |
16500 | char *kwnames[] = { | |
16501 | (char *) "self", NULL | |
16502 | }; | |
16503 | ||
16504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
16505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16506 | { | |
16507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16508 | result = (int)(arg1)->GetNoCopies(); | |
16509 | ||
16510 | wxPyEndAllowThreads(__tstate); | |
16511 | if (PyErr_Occurred()) SWIG_fail; | |
16512 | } | |
8edf1c75 | 16513 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16514 | return resultobj; |
16515 | fail: | |
16516 | return NULL; | |
16517 | } | |
16518 | ||
16519 | ||
16520 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16521 | PyObject *resultobj; | |
16522 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16523 | bool result; | |
16524 | PyObject * obj0 = 0 ; | |
16525 | char *kwnames[] = { | |
16526 | (char *) "self", NULL | |
16527 | }; | |
16528 | ||
16529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
16530 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16531 | { | |
16532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16533 | result = (bool)(arg1)->GetCollate(); | |
16534 | ||
16535 | wxPyEndAllowThreads(__tstate); | |
16536 | if (PyErr_Occurred()) SWIG_fail; | |
16537 | } | |
4e760a36 | 16538 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16539 | return resultobj; |
16540 | fail: | |
16541 | return NULL; | |
16542 | } | |
16543 | ||
16544 | ||
16545 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16546 | PyObject *resultobj; | |
16547 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16548 | int result; | |
16549 | PyObject * obj0 = 0 ; | |
16550 | char *kwnames[] = { | |
16551 | (char *) "self", NULL | |
16552 | }; | |
16553 | ||
16554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
16555 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16556 | { | |
16557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16558 | result = (int)(arg1)->GetOrientation(); | |
16559 | ||
16560 | wxPyEndAllowThreads(__tstate); | |
16561 | if (PyErr_Occurred()) SWIG_fail; | |
16562 | } | |
8edf1c75 | 16563 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16564 | return resultobj; |
16565 | fail: | |
16566 | return NULL; | |
16567 | } | |
16568 | ||
16569 | ||
16570 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16571 | PyObject *resultobj; | |
16572 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16573 | bool result; | |
16574 | PyObject * obj0 = 0 ; | |
16575 | char *kwnames[] = { | |
16576 | (char *) "self", NULL | |
16577 | }; | |
16578 | ||
16579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
16580 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16581 | { | |
16582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16583 | result = (bool)(arg1)->Ok(); | |
16584 | ||
16585 | wxPyEndAllowThreads(__tstate); | |
16586 | if (PyErr_Occurred()) SWIG_fail; | |
16587 | } | |
4e760a36 | 16588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16589 | return resultobj; |
16590 | fail: | |
16591 | return NULL; | |
16592 | } | |
16593 | ||
16594 | ||
16595 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16596 | PyObject *resultobj; | |
16597 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16598 | wxString *result; | |
16599 | PyObject * obj0 = 0 ; | |
16600 | char *kwnames[] = { | |
16601 | (char *) "self", NULL | |
16602 | }; | |
16603 | ||
16604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
16605 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16606 | { | |
16607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16608 | { | |
16609 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16610 | result = (wxString *) &_result_ref; | |
16611 | } | |
16612 | ||
16613 | wxPyEndAllowThreads(__tstate); | |
16614 | if (PyErr_Occurred()) SWIG_fail; | |
16615 | } | |
f0983263 RD |
16616 | { |
16617 | #if wxUSE_UNICODE | |
16618 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16619 | #else | |
16620 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16621 | #endif | |
16622 | } | |
d14a1e28 RD |
16623 | return resultobj; |
16624 | fail: | |
16625 | return NULL; | |
16626 | } | |
16627 | ||
16628 | ||
16629 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16630 | PyObject *resultobj; | |
16631 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16632 | bool result; | |
16633 | PyObject * obj0 = 0 ; | |
16634 | char *kwnames[] = { | |
16635 | (char *) "self", NULL | |
16636 | }; | |
16637 | ||
16638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
16639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16640 | { | |
16641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16642 | result = (bool)(arg1)->GetColour(); | |
16643 | ||
16644 | wxPyEndAllowThreads(__tstate); | |
16645 | if (PyErr_Occurred()) SWIG_fail; | |
16646 | } | |
4e760a36 | 16647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16648 | return resultobj; |
16649 | fail: | |
16650 | return NULL; | |
16651 | } | |
16652 | ||
16653 | ||
16654 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16655 | PyObject *resultobj; | |
16656 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16657 | int result; | |
16658 | PyObject * obj0 = 0 ; | |
16659 | char *kwnames[] = { | |
16660 | (char *) "self", NULL | |
16661 | }; | |
16662 | ||
16663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
16664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16665 | { | |
16666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16667 | result = (int)(arg1)->GetDuplex(); | |
16668 | ||
16669 | wxPyEndAllowThreads(__tstate); | |
16670 | if (PyErr_Occurred()) SWIG_fail; | |
16671 | } | |
8edf1c75 | 16672 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16673 | return resultobj; |
16674 | fail: | |
16675 | return NULL; | |
16676 | } | |
16677 | ||
16678 | ||
16679 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16680 | PyObject *resultobj; | |
16681 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16682 | int result; | |
16683 | PyObject * obj0 = 0 ; | |
16684 | char *kwnames[] = { | |
16685 | (char *) "self", NULL | |
16686 | }; | |
16687 | ||
16688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
16689 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16690 | { | |
16691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16692 | result = (int)(arg1)->GetPaperId(); | |
16693 | ||
16694 | wxPyEndAllowThreads(__tstate); | |
16695 | if (PyErr_Occurred()) SWIG_fail; | |
16696 | } | |
8edf1c75 | 16697 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16698 | return resultobj; |
16699 | fail: | |
16700 | return NULL; | |
16701 | } | |
16702 | ||
16703 | ||
16704 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16705 | PyObject *resultobj; | |
16706 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16707 | wxSize *result; | |
16708 | PyObject * obj0 = 0 ; | |
16709 | char *kwnames[] = { | |
16710 | (char *) "self", NULL | |
16711 | }; | |
16712 | ||
16713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
16714 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16715 | { | |
16716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16717 | { | |
16718 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16719 | result = (wxSize *) &_result_ref; | |
16720 | } | |
16721 | ||
16722 | wxPyEndAllowThreads(__tstate); | |
16723 | if (PyErr_Occurred()) SWIG_fail; | |
16724 | } | |
16725 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0); | |
16726 | return resultobj; | |
16727 | fail: | |
16728 | return NULL; | |
16729 | } | |
16730 | ||
16731 | ||
16732 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16733 | PyObject *resultobj; | |
16734 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d03fd34d | 16735 | int result; |
d14a1e28 RD |
16736 | PyObject * obj0 = 0 ; |
16737 | char *kwnames[] = { | |
16738 | (char *) "self", NULL | |
16739 | }; | |
16740 | ||
16741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
16742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16743 | { | |
16744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d03fd34d | 16745 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16746 | |
16747 | wxPyEndAllowThreads(__tstate); | |
16748 | if (PyErr_Occurred()) SWIG_fail; | |
16749 | } | |
8edf1c75 | 16750 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
16751 | return resultobj; |
16752 | fail: | |
16753 | return NULL; | |
16754 | } | |
16755 | ||
16756 | ||
16757 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16758 | PyObject *resultobj; | |
16759 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16760 | int arg2 ; | |
16761 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16762 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16763 | char *kwnames[] = { |
16764 | (char *) "self",(char *) "v", NULL | |
16765 | }; | |
16766 | ||
8edf1c75 | 16767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
16769 | { |
16770 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
16771 | if (PyErr_Occurred()) SWIG_fail; | |
16772 | } | |
d14a1e28 RD |
16773 | { |
16774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16775 | (arg1)->SetNoCopies(arg2); | |
16776 | ||
16777 | wxPyEndAllowThreads(__tstate); | |
16778 | if (PyErr_Occurred()) SWIG_fail; | |
16779 | } | |
16780 | Py_INCREF(Py_None); resultobj = Py_None; | |
16781 | return resultobj; | |
16782 | fail: | |
16783 | return NULL; | |
16784 | } | |
16785 | ||
16786 | ||
16787 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16788 | PyObject *resultobj; | |
16789 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16790 | bool arg2 ; | |
16791 | PyObject * obj0 = 0 ; | |
16792 | PyObject * obj1 = 0 ; | |
16793 | char *kwnames[] = { | |
16794 | (char *) "self",(char *) "flag", NULL | |
16795 | }; | |
16796 | ||
16797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
16798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 16799 | { |
8edf1c75 | 16800 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
16801 | if (PyErr_Occurred()) SWIG_fail; |
16802 | } | |
d14a1e28 RD |
16803 | { |
16804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16805 | (arg1)->SetCollate(arg2); | |
16806 | ||
16807 | wxPyEndAllowThreads(__tstate); | |
16808 | if (PyErr_Occurred()) SWIG_fail; | |
16809 | } | |
16810 | Py_INCREF(Py_None); resultobj = Py_None; | |
16811 | return resultobj; | |
16812 | fail: | |
16813 | return NULL; | |
16814 | } | |
16815 | ||
16816 | ||
16817 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16818 | PyObject *resultobj; | |
16819 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16820 | int arg2 ; | |
16821 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16822 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16823 | char *kwnames[] = { |
16824 | (char *) "self",(char *) "orient", NULL | |
16825 | }; | |
16826 | ||
8edf1c75 | 16827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16828 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
16829 | { |
16830 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
16831 | if (PyErr_Occurred()) SWIG_fail; | |
16832 | } | |
d14a1e28 RD |
16833 | { |
16834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16835 | (arg1)->SetOrientation(arg2); | |
16836 | ||
16837 | wxPyEndAllowThreads(__tstate); | |
16838 | if (PyErr_Occurred()) SWIG_fail; | |
16839 | } | |
16840 | Py_INCREF(Py_None); resultobj = Py_None; | |
16841 | return resultobj; | |
16842 | fail: | |
16843 | return NULL; | |
16844 | } | |
16845 | ||
16846 | ||
16847 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16848 | PyObject *resultobj; | |
16849 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16850 | wxString *arg2 = 0 ; | |
423f194a | 16851 | bool temp2 = False ; |
d14a1e28 RD |
16852 | PyObject * obj0 = 0 ; |
16853 | PyObject * obj1 = 0 ; | |
16854 | char *kwnames[] = { | |
16855 | (char *) "self",(char *) "name", NULL | |
16856 | }; | |
16857 | ||
16858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
16859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16860 | { | |
16861 | arg2 = wxString_in_helper(obj1); | |
16862 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16863 | temp2 = True; |
d14a1e28 RD |
16864 | } |
16865 | { | |
16866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16867 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16868 | ||
16869 | wxPyEndAllowThreads(__tstate); | |
16870 | if (PyErr_Occurred()) SWIG_fail; | |
16871 | } | |
16872 | Py_INCREF(Py_None); resultobj = Py_None; | |
16873 | { | |
16874 | if (temp2) | |
16875 | delete arg2; | |
16876 | } | |
16877 | return resultobj; | |
16878 | fail: | |
16879 | { | |
16880 | if (temp2) | |
16881 | delete arg2; | |
16882 | } | |
16883 | return NULL; | |
16884 | } | |
16885 | ||
16886 | ||
16887 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16888 | PyObject *resultobj; | |
16889 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16890 | bool arg2 ; | |
16891 | PyObject * obj0 = 0 ; | |
16892 | PyObject * obj1 = 0 ; | |
16893 | char *kwnames[] = { | |
16894 | (char *) "self",(char *) "colour", NULL | |
16895 | }; | |
16896 | ||
16897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
16898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 16899 | { |
8edf1c75 | 16900 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
16901 | if (PyErr_Occurred()) SWIG_fail; |
16902 | } | |
d14a1e28 RD |
16903 | { |
16904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16905 | (arg1)->SetColour(arg2); | |
16906 | ||
16907 | wxPyEndAllowThreads(__tstate); | |
16908 | if (PyErr_Occurred()) SWIG_fail; | |
16909 | } | |
16910 | Py_INCREF(Py_None); resultobj = Py_None; | |
16911 | return resultobj; | |
16912 | fail: | |
16913 | return NULL; | |
16914 | } | |
16915 | ||
16916 | ||
16917 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16918 | PyObject *resultobj; | |
16919 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16920 | int arg2 ; | |
16921 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16923 | char *kwnames[] = { |
16924 | (char *) "self",(char *) "duplex", NULL | |
16925 | }; | |
16926 | ||
8edf1c75 | 16927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
16929 | { |
16930 | arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1); | |
16931 | if (PyErr_Occurred()) SWIG_fail; | |
16932 | } | |
d14a1e28 RD |
16933 | { |
16934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16935 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
16936 | ||
16937 | wxPyEndAllowThreads(__tstate); | |
16938 | if (PyErr_Occurred()) SWIG_fail; | |
16939 | } | |
16940 | Py_INCREF(Py_None); resultobj = Py_None; | |
16941 | return resultobj; | |
16942 | fail: | |
16943 | return NULL; | |
16944 | } | |
16945 | ||
16946 | ||
16947 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16948 | PyObject *resultobj; | |
16949 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16950 | int arg2 ; | |
16951 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16952 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16953 | char *kwnames[] = { |
16954 | (char *) "self",(char *) "sizeId", NULL | |
16955 | }; | |
16956 | ||
8edf1c75 | 16957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 16958 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
16959 | { |
16960 | arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1); | |
16961 | if (PyErr_Occurred()) SWIG_fail; | |
16962 | } | |
d14a1e28 RD |
16963 | { |
16964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16965 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16966 | ||
16967 | wxPyEndAllowThreads(__tstate); | |
16968 | if (PyErr_Occurred()) SWIG_fail; | |
16969 | } | |
16970 | Py_INCREF(Py_None); resultobj = Py_None; | |
16971 | return resultobj; | |
16972 | fail: | |
16973 | return NULL; | |
16974 | } | |
16975 | ||
16976 | ||
16977 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16978 | PyObject *resultobj; | |
16979 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16980 | wxSize *arg2 = 0 ; | |
16981 | wxSize temp2 ; | |
16982 | PyObject * obj0 = 0 ; | |
16983 | PyObject * obj1 = 0 ; | |
16984 | char *kwnames[] = { | |
16985 | (char *) "self",(char *) "sz", NULL | |
16986 | }; | |
16987 | ||
16988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
16989 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16990 | { | |
16991 | arg2 = &temp2; | |
16992 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16993 | } | |
16994 | { | |
16995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16996 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16997 | ||
16998 | wxPyEndAllowThreads(__tstate); | |
16999 | if (PyErr_Occurred()) SWIG_fail; | |
17000 | } | |
17001 | Py_INCREF(Py_None); resultobj = Py_None; | |
17002 | return resultobj; | |
17003 | fail: | |
17004 | return NULL; | |
17005 | } | |
17006 | ||
17007 | ||
17008 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17009 | PyObject *resultobj; | |
17010 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d03fd34d | 17011 | int arg2 ; |
d14a1e28 | 17012 | PyObject * obj0 = 0 ; |
8edf1c75 | 17013 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17014 | char *kwnames[] = { |
17015 | (char *) "self",(char *) "quality", NULL | |
17016 | }; | |
17017 | ||
8edf1c75 | 17018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17020 | { |
17021 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
17022 | if (PyErr_Occurred()) SWIG_fail; | |
17023 | } | |
d14a1e28 RD |
17024 | { |
17025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17026 | (arg1)->SetQuality(arg2); | |
17027 | ||
17028 | wxPyEndAllowThreads(__tstate); | |
17029 | if (PyErr_Occurred()) SWIG_fail; | |
17030 | } | |
17031 | Py_INCREF(Py_None); resultobj = Py_None; | |
17032 | return resultobj; | |
17033 | fail: | |
17034 | return NULL; | |
17035 | } | |
17036 | ||
17037 | ||
17038 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17039 | PyObject *resultobj; | |
17040 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17041 | wxString *result; | |
17042 | PyObject * obj0 = 0 ; | |
17043 | char *kwnames[] = { | |
17044 | (char *) "self", NULL | |
17045 | }; | |
17046 | ||
17047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
17048 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17049 | { | |
17050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17051 | { | |
17052 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
17053 | result = (wxString *) &_result_ref; | |
17054 | } | |
17055 | ||
17056 | wxPyEndAllowThreads(__tstate); | |
17057 | if (PyErr_Occurred()) SWIG_fail; | |
17058 | } | |
f0983263 RD |
17059 | { |
17060 | #if wxUSE_UNICODE | |
17061 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17062 | #else | |
17063 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17064 | #endif | |
17065 | } | |
d14a1e28 RD |
17066 | return resultobj; |
17067 | fail: | |
17068 | return NULL; | |
17069 | } | |
17070 | ||
17071 | ||
17072 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17073 | PyObject *resultobj; | |
17074 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17075 | wxString *result; | |
17076 | PyObject * obj0 = 0 ; | |
17077 | char *kwnames[] = { | |
17078 | (char *) "self", NULL | |
17079 | }; | |
17080 | ||
17081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
17082 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17083 | { | |
17084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17085 | { | |
17086 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
17087 | result = (wxString *) &_result_ref; | |
17088 | } | |
17089 | ||
17090 | wxPyEndAllowThreads(__tstate); | |
17091 | if (PyErr_Occurred()) SWIG_fail; | |
17092 | } | |
f0983263 RD |
17093 | { |
17094 | #if wxUSE_UNICODE | |
17095 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17096 | #else | |
17097 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17098 | #endif | |
17099 | } | |
d14a1e28 RD |
17100 | return resultobj; |
17101 | fail: | |
17102 | return NULL; | |
17103 | } | |
17104 | ||
17105 | ||
17106 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17107 | PyObject *resultobj; | |
17108 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17109 | wxString *result; | |
17110 | PyObject * obj0 = 0 ; | |
17111 | char *kwnames[] = { | |
17112 | (char *) "self", NULL | |
17113 | }; | |
17114 | ||
17115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
17116 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17117 | { | |
17118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17119 | { | |
17120 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
17121 | result = (wxString *) &_result_ref; | |
17122 | } | |
17123 | ||
17124 | wxPyEndAllowThreads(__tstate); | |
17125 | if (PyErr_Occurred()) SWIG_fail; | |
17126 | } | |
f0983263 RD |
17127 | { |
17128 | #if wxUSE_UNICODE | |
17129 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17130 | #else | |
17131 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17132 | #endif | |
17133 | } | |
d14a1e28 RD |
17134 | return resultobj; |
17135 | fail: | |
17136 | return NULL; | |
17137 | } | |
17138 | ||
17139 | ||
17140 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17141 | PyObject *resultobj; | |
17142 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17143 | wxString *result; | |
17144 | PyObject * obj0 = 0 ; | |
17145 | char *kwnames[] = { | |
17146 | (char *) "self", NULL | |
17147 | }; | |
17148 | ||
17149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
17150 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17151 | { | |
17152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17153 | { | |
17154 | wxString const &_result_ref = (arg1)->GetFilename(); | |
17155 | result = (wxString *) &_result_ref; | |
17156 | } | |
17157 | ||
17158 | wxPyEndAllowThreads(__tstate); | |
17159 | if (PyErr_Occurred()) SWIG_fail; | |
17160 | } | |
f0983263 RD |
17161 | { |
17162 | #if wxUSE_UNICODE | |
17163 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17164 | #else | |
17165 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17166 | #endif | |
17167 | } | |
d14a1e28 RD |
17168 | return resultobj; |
17169 | fail: | |
17170 | return NULL; | |
17171 | } | |
17172 | ||
17173 | ||
17174 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17175 | PyObject *resultobj; | |
17176 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17177 | wxString *result; | |
17178 | PyObject * obj0 = 0 ; | |
17179 | char *kwnames[] = { | |
17180 | (char *) "self", NULL | |
17181 | }; | |
17182 | ||
17183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
17184 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17185 | { | |
17186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17187 | { | |
17188 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
17189 | result = (wxString *) &_result_ref; | |
17190 | } | |
17191 | ||
17192 | wxPyEndAllowThreads(__tstate); | |
17193 | if (PyErr_Occurred()) SWIG_fail; | |
17194 | } | |
f0983263 RD |
17195 | { |
17196 | #if wxUSE_UNICODE | |
17197 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17198 | #else | |
17199 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17200 | #endif | |
17201 | } | |
d14a1e28 RD |
17202 | return resultobj; |
17203 | fail: | |
17204 | return NULL; | |
17205 | } | |
17206 | ||
17207 | ||
17208 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17209 | PyObject *resultobj; | |
17210 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17211 | double result; | |
17212 | PyObject * obj0 = 0 ; | |
17213 | char *kwnames[] = { | |
17214 | (char *) "self", NULL | |
17215 | }; | |
17216 | ||
17217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
17218 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17219 | { | |
17220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17221 | result = (double)(arg1)->GetPrinterScaleX(); | |
17222 | ||
17223 | wxPyEndAllowThreads(__tstate); | |
17224 | if (PyErr_Occurred()) SWIG_fail; | |
17225 | } | |
8edf1c75 | 17226 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
17227 | return resultobj; |
17228 | fail: | |
17229 | return NULL; | |
17230 | } | |
17231 | ||
17232 | ||
17233 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17234 | PyObject *resultobj; | |
17235 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17236 | double result; | |
17237 | PyObject * obj0 = 0 ; | |
17238 | char *kwnames[] = { | |
17239 | (char *) "self", NULL | |
17240 | }; | |
17241 | ||
17242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
17243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17244 | { | |
17245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17246 | result = (double)(arg1)->GetPrinterScaleY(); | |
17247 | ||
17248 | wxPyEndAllowThreads(__tstate); | |
17249 | if (PyErr_Occurred()) SWIG_fail; | |
17250 | } | |
8edf1c75 | 17251 | resultobj = SWIG_PyObj_FromDouble((double)result); |
d14a1e28 RD |
17252 | return resultobj; |
17253 | fail: | |
17254 | return NULL; | |
17255 | } | |
17256 | ||
17257 | ||
17258 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17259 | PyObject *resultobj; | |
17260 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17261 | long result; | |
17262 | PyObject * obj0 = 0 ; | |
17263 | char *kwnames[] = { | |
17264 | (char *) "self", NULL | |
17265 | }; | |
17266 | ||
17267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
17268 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17269 | { | |
17270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17271 | result = (long)(arg1)->GetPrinterTranslateX(); | |
17272 | ||
17273 | wxPyEndAllowThreads(__tstate); | |
17274 | if (PyErr_Occurred()) SWIG_fail; | |
17275 | } | |
8edf1c75 | 17276 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
17277 | return resultobj; |
17278 | fail: | |
17279 | return NULL; | |
17280 | } | |
17281 | ||
17282 | ||
17283 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17284 | PyObject *resultobj; | |
17285 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17286 | long result; | |
17287 | PyObject * obj0 = 0 ; | |
17288 | char *kwnames[] = { | |
17289 | (char *) "self", NULL | |
17290 | }; | |
17291 | ||
17292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
17293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17294 | { | |
17295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17296 | result = (long)(arg1)->GetPrinterTranslateY(); | |
17297 | ||
17298 | wxPyEndAllowThreads(__tstate); | |
17299 | if (PyErr_Occurred()) SWIG_fail; | |
17300 | } | |
8edf1c75 | 17301 | resultobj = SWIG_PyObj_FromLong((long)result); |
d14a1e28 RD |
17302 | return resultobj; |
17303 | fail: | |
17304 | return NULL; | |
17305 | } | |
17306 | ||
17307 | ||
17308 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17309 | PyObject *resultobj; | |
17310 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17311 | int result; | |
17312 | PyObject * obj0 = 0 ; | |
17313 | char *kwnames[] = { | |
17314 | (char *) "self", NULL | |
17315 | }; | |
17316 | ||
17317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
17318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17319 | { | |
17320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17321 | result = (int)(arg1)->GetPrintMode(); | |
17322 | ||
17323 | wxPyEndAllowThreads(__tstate); | |
17324 | if (PyErr_Occurred()) SWIG_fail; | |
17325 | } | |
8edf1c75 | 17326 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
17327 | return resultobj; |
17328 | fail: | |
17329 | return NULL; | |
17330 | } | |
17331 | ||
17332 | ||
17333 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17334 | PyObject *resultobj; | |
17335 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17336 | wxString *arg2 = 0 ; | |
423f194a | 17337 | bool temp2 = False ; |
d14a1e28 RD |
17338 | PyObject * obj0 = 0 ; |
17339 | PyObject * obj1 = 0 ; | |
17340 | char *kwnames[] = { | |
17341 | (char *) "self",(char *) "command", NULL | |
17342 | }; | |
17343 | ||
17344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
17345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17346 | { | |
17347 | arg2 = wxString_in_helper(obj1); | |
17348 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17349 | temp2 = True; |
d14a1e28 RD |
17350 | } |
17351 | { | |
17352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17353 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
17354 | ||
17355 | wxPyEndAllowThreads(__tstate); | |
17356 | if (PyErr_Occurred()) SWIG_fail; | |
17357 | } | |
17358 | Py_INCREF(Py_None); resultobj = Py_None; | |
17359 | { | |
17360 | if (temp2) | |
17361 | delete arg2; | |
17362 | } | |
17363 | return resultobj; | |
17364 | fail: | |
17365 | { | |
17366 | if (temp2) | |
17367 | delete arg2; | |
17368 | } | |
17369 | return NULL; | |
17370 | } | |
17371 | ||
17372 | ||
17373 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17374 | PyObject *resultobj; | |
17375 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17376 | wxString *arg2 = 0 ; | |
423f194a | 17377 | bool temp2 = False ; |
d14a1e28 RD |
17378 | PyObject * obj0 = 0 ; |
17379 | PyObject * obj1 = 0 ; | |
17380 | char *kwnames[] = { | |
17381 | (char *) "self",(char *) "options", NULL | |
17382 | }; | |
17383 | ||
17384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
17385 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17386 | { | |
17387 | arg2 = wxString_in_helper(obj1); | |
17388 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17389 | temp2 = True; |
d14a1e28 RD |
17390 | } |
17391 | { | |
17392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17393 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
17394 | ||
17395 | wxPyEndAllowThreads(__tstate); | |
17396 | if (PyErr_Occurred()) SWIG_fail; | |
17397 | } | |
17398 | Py_INCREF(Py_None); resultobj = Py_None; | |
17399 | { | |
17400 | if (temp2) | |
17401 | delete arg2; | |
17402 | } | |
17403 | return resultobj; | |
17404 | fail: | |
17405 | { | |
17406 | if (temp2) | |
17407 | delete arg2; | |
17408 | } | |
17409 | return NULL; | |
17410 | } | |
17411 | ||
17412 | ||
17413 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17414 | PyObject *resultobj; | |
17415 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17416 | wxString *arg2 = 0 ; | |
423f194a | 17417 | bool temp2 = False ; |
d14a1e28 RD |
17418 | PyObject * obj0 = 0 ; |
17419 | PyObject * obj1 = 0 ; | |
17420 | char *kwnames[] = { | |
17421 | (char *) "self",(char *) "command", NULL | |
17422 | }; | |
17423 | ||
17424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
17425 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17426 | { | |
17427 | arg2 = wxString_in_helper(obj1); | |
17428 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17429 | temp2 = True; |
d14a1e28 RD |
17430 | } |
17431 | { | |
17432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17433 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
17434 | ||
17435 | wxPyEndAllowThreads(__tstate); | |
17436 | if (PyErr_Occurred()) SWIG_fail; | |
17437 | } | |
17438 | Py_INCREF(Py_None); resultobj = Py_None; | |
17439 | { | |
17440 | if (temp2) | |
17441 | delete arg2; | |
17442 | } | |
17443 | return resultobj; | |
17444 | fail: | |
17445 | { | |
17446 | if (temp2) | |
17447 | delete arg2; | |
17448 | } | |
17449 | return NULL; | |
17450 | } | |
17451 | ||
17452 | ||
17453 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17454 | PyObject *resultobj; | |
17455 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17456 | wxString *arg2 = 0 ; | |
423f194a | 17457 | bool temp2 = False ; |
d14a1e28 RD |
17458 | PyObject * obj0 = 0 ; |
17459 | PyObject * obj1 = 0 ; | |
17460 | char *kwnames[] = { | |
17461 | (char *) "self",(char *) "filename", NULL | |
17462 | }; | |
17463 | ||
17464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
17465 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17466 | { | |
17467 | arg2 = wxString_in_helper(obj1); | |
17468 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17469 | temp2 = True; |
d14a1e28 RD |
17470 | } |
17471 | { | |
17472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17473 | (arg1)->SetFilename((wxString const &)*arg2); | |
17474 | ||
17475 | wxPyEndAllowThreads(__tstate); | |
17476 | if (PyErr_Occurred()) SWIG_fail; | |
17477 | } | |
17478 | Py_INCREF(Py_None); resultobj = Py_None; | |
17479 | { | |
17480 | if (temp2) | |
17481 | delete arg2; | |
17482 | } | |
17483 | return resultobj; | |
17484 | fail: | |
17485 | { | |
17486 | if (temp2) | |
17487 | delete arg2; | |
17488 | } | |
17489 | return NULL; | |
17490 | } | |
17491 | ||
17492 | ||
17493 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17494 | PyObject *resultobj; | |
17495 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17496 | wxString *arg2 = 0 ; | |
423f194a | 17497 | bool temp2 = False ; |
d14a1e28 RD |
17498 | PyObject * obj0 = 0 ; |
17499 | PyObject * obj1 = 0 ; | |
17500 | char *kwnames[] = { | |
17501 | (char *) "self",(char *) "path", NULL | |
17502 | }; | |
17503 | ||
17504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
17505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17506 | { | |
17507 | arg2 = wxString_in_helper(obj1); | |
17508 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17509 | temp2 = True; |
d14a1e28 RD |
17510 | } |
17511 | { | |
17512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17513 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17514 | ||
17515 | wxPyEndAllowThreads(__tstate); | |
17516 | if (PyErr_Occurred()) SWIG_fail; | |
17517 | } | |
17518 | Py_INCREF(Py_None); resultobj = Py_None; | |
17519 | { | |
17520 | if (temp2) | |
17521 | delete arg2; | |
17522 | } | |
17523 | return resultobj; | |
17524 | fail: | |
17525 | { | |
17526 | if (temp2) | |
17527 | delete arg2; | |
17528 | } | |
17529 | return NULL; | |
17530 | } | |
17531 | ||
17532 | ||
17533 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17534 | PyObject *resultobj; | |
17535 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17536 | double arg2 ; | |
17537 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17538 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17539 | char *kwnames[] = { |
17540 | (char *) "self",(char *) "x", NULL | |
17541 | }; | |
17542 | ||
8edf1c75 | 17543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17544 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17545 | { |
17546 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17547 | if (PyErr_Occurred()) SWIG_fail; | |
17548 | } | |
d14a1e28 RD |
17549 | { |
17550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17551 | (arg1)->SetPrinterScaleX(arg2); | |
17552 | ||
17553 | wxPyEndAllowThreads(__tstate); | |
17554 | if (PyErr_Occurred()) SWIG_fail; | |
17555 | } | |
17556 | Py_INCREF(Py_None); resultobj = Py_None; | |
17557 | return resultobj; | |
17558 | fail: | |
17559 | return NULL; | |
17560 | } | |
17561 | ||
17562 | ||
17563 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17564 | PyObject *resultobj; | |
17565 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17566 | double arg2 ; | |
17567 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17568 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17569 | char *kwnames[] = { |
17570 | (char *) "self",(char *) "y", NULL | |
17571 | }; | |
17572 | ||
8edf1c75 | 17573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17574 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17575 | { |
17576 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17577 | if (PyErr_Occurred()) SWIG_fail; | |
17578 | } | |
d14a1e28 RD |
17579 | { |
17580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17581 | (arg1)->SetPrinterScaleY(arg2); | |
17582 | ||
17583 | wxPyEndAllowThreads(__tstate); | |
17584 | if (PyErr_Occurred()) SWIG_fail; | |
17585 | } | |
17586 | Py_INCREF(Py_None); resultobj = Py_None; | |
17587 | return resultobj; | |
17588 | fail: | |
17589 | return NULL; | |
17590 | } | |
17591 | ||
17592 | ||
17593 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17594 | PyObject *resultobj; | |
17595 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17596 | double arg2 ; | |
17597 | double arg3 ; | |
17598 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17599 | PyObject * obj1 = 0 ; |
17600 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17601 | char *kwnames[] = { |
17602 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17603 | }; | |
17604 | ||
8edf1c75 | 17605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 17606 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17607 | { |
17608 | arg2 = (double) SWIG_PyObj_AsDouble(obj1); | |
17609 | if (PyErr_Occurred()) SWIG_fail; | |
17610 | } | |
17611 | { | |
17612 | arg3 = (double) SWIG_PyObj_AsDouble(obj2); | |
17613 | if (PyErr_Occurred()) SWIG_fail; | |
17614 | } | |
d14a1e28 RD |
17615 | { |
17616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17617 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17618 | ||
17619 | wxPyEndAllowThreads(__tstate); | |
17620 | if (PyErr_Occurred()) SWIG_fail; | |
17621 | } | |
17622 | Py_INCREF(Py_None); resultobj = Py_None; | |
17623 | return resultobj; | |
17624 | fail: | |
17625 | return NULL; | |
17626 | } | |
17627 | ||
17628 | ||
17629 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17630 | PyObject *resultobj; | |
17631 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17632 | long arg2 ; | |
17633 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17634 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17635 | char *kwnames[] = { |
17636 | (char *) "self",(char *) "x", NULL | |
17637 | }; | |
17638 | ||
8edf1c75 | 17639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17641 | { |
17642 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17643 | if (PyErr_Occurred()) SWIG_fail; | |
17644 | } | |
d14a1e28 RD |
17645 | { |
17646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17647 | (arg1)->SetPrinterTranslateX(arg2); | |
17648 | ||
17649 | wxPyEndAllowThreads(__tstate); | |
17650 | if (PyErr_Occurred()) SWIG_fail; | |
17651 | } | |
17652 | Py_INCREF(Py_None); resultobj = Py_None; | |
17653 | return resultobj; | |
17654 | fail: | |
17655 | return NULL; | |
17656 | } | |
17657 | ||
17658 | ||
17659 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17660 | PyObject *resultobj; | |
17661 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17662 | long arg2 ; | |
17663 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17664 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17665 | char *kwnames[] = { |
17666 | (char *) "self",(char *) "y", NULL | |
17667 | }; | |
17668 | ||
8edf1c75 | 17669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17671 | { |
17672 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17673 | if (PyErr_Occurred()) SWIG_fail; | |
17674 | } | |
d14a1e28 RD |
17675 | { |
17676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17677 | (arg1)->SetPrinterTranslateY(arg2); | |
17678 | ||
17679 | wxPyEndAllowThreads(__tstate); | |
17680 | if (PyErr_Occurred()) SWIG_fail; | |
17681 | } | |
17682 | Py_INCREF(Py_None); resultobj = Py_None; | |
17683 | return resultobj; | |
17684 | fail: | |
17685 | return NULL; | |
17686 | } | |
17687 | ||
17688 | ||
17689 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17690 | PyObject *resultobj; | |
17691 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17692 | long arg2 ; | |
17693 | long arg3 ; | |
17694 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17695 | PyObject * obj1 = 0 ; |
17696 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17697 | char *kwnames[] = { |
17698 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17699 | }; | |
17700 | ||
8edf1c75 | 17701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 17702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17703 | { |
17704 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
17705 | if (PyErr_Occurred()) SWIG_fail; | |
17706 | } | |
17707 | { | |
17708 | arg3 = (long) SWIG_PyObj_AsLong(obj2); | |
17709 | if (PyErr_Occurred()) SWIG_fail; | |
17710 | } | |
d14a1e28 RD |
17711 | { |
17712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17713 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17714 | ||
17715 | wxPyEndAllowThreads(__tstate); | |
17716 | if (PyErr_Occurred()) SWIG_fail; | |
17717 | } | |
17718 | Py_INCREF(Py_None); resultobj = Py_None; | |
17719 | return resultobj; | |
17720 | fail: | |
17721 | return NULL; | |
17722 | } | |
17723 | ||
17724 | ||
17725 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17726 | PyObject *resultobj; | |
17727 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17728 | int arg2 ; | |
17729 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17730 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17731 | char *kwnames[] = { |
17732 | (char *) "self",(char *) "printMode", NULL | |
17733 | }; | |
17734 | ||
8edf1c75 | 17735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 17736 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
17737 | { |
17738 | arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1); | |
17739 | if (PyErr_Occurred()) SWIG_fail; | |
17740 | } | |
d14a1e28 RD |
17741 | { |
17742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17743 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17744 | ||
17745 | wxPyEndAllowThreads(__tstate); | |
17746 | if (PyErr_Occurred()) SWIG_fail; | |
17747 | } | |
17748 | Py_INCREF(Py_None); resultobj = Py_None; | |
17749 | return resultobj; | |
17750 | fail: | |
17751 | return NULL; | |
17752 | } | |
17753 | ||
17754 | ||
17755 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { | |
17756 | PyObject *obj; | |
17757 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17758 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17759 | Py_INCREF(obj); | |
17760 | return Py_BuildValue((char *)""); | |
17761 | } | |
17762 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17763 | PyObject *resultobj; | |
17764 | wxPageSetupDialogData *result; | |
17765 | char *kwnames[] = { | |
17766 | NULL | |
17767 | }; | |
17768 | ||
17769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17770 | { | |
17771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17772 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17773 | ||
17774 | wxPyEndAllowThreads(__tstate); | |
17775 | if (PyErr_Occurred()) SWIG_fail; | |
17776 | } | |
17777 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1); | |
17778 | return resultobj; | |
17779 | fail: | |
17780 | return NULL; | |
17781 | } | |
17782 | ||
17783 | ||
17784 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17785 | PyObject *resultobj; | |
17786 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17787 | PyObject * obj0 = 0 ; | |
17788 | char *kwnames[] = { | |
17789 | (char *) "self", NULL | |
17790 | }; | |
17791 | ||
17792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
17793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17794 | { | |
17795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17796 | delete arg1; | |
17797 | ||
17798 | wxPyEndAllowThreads(__tstate); | |
17799 | if (PyErr_Occurred()) SWIG_fail; | |
17800 | } | |
17801 | Py_INCREF(Py_None); resultobj = Py_None; | |
17802 | return resultobj; | |
17803 | fail: | |
17804 | return NULL; | |
17805 | } | |
17806 | ||
17807 | ||
17808 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17809 | PyObject *resultobj; | |
17810 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17811 | bool arg2 ; | |
17812 | PyObject * obj0 = 0 ; | |
17813 | PyObject * obj1 = 0 ; | |
17814 | char *kwnames[] = { | |
17815 | (char *) "self",(char *) "flag", NULL | |
17816 | }; | |
17817 | ||
17818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
17819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 17820 | { |
8edf1c75 | 17821 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
17822 | if (PyErr_Occurred()) SWIG_fail; |
17823 | } | |
d14a1e28 RD |
17824 | { |
17825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17826 | (arg1)->EnableHelp(arg2); | |
17827 | ||
17828 | wxPyEndAllowThreads(__tstate); | |
17829 | if (PyErr_Occurred()) SWIG_fail; | |
17830 | } | |
17831 | Py_INCREF(Py_None); resultobj = Py_None; | |
17832 | return resultobj; | |
17833 | fail: | |
17834 | return NULL; | |
17835 | } | |
17836 | ||
17837 | ||
17838 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17839 | PyObject *resultobj; | |
17840 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17841 | bool arg2 ; | |
17842 | PyObject * obj0 = 0 ; | |
17843 | PyObject * obj1 = 0 ; | |
17844 | char *kwnames[] = { | |
17845 | (char *) "self",(char *) "flag", NULL | |
17846 | }; | |
17847 | ||
17848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
17849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 17850 | { |
8edf1c75 | 17851 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
17852 | if (PyErr_Occurred()) SWIG_fail; |
17853 | } | |
d14a1e28 RD |
17854 | { |
17855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17856 | (arg1)->EnableMargins(arg2); | |
17857 | ||
17858 | wxPyEndAllowThreads(__tstate); | |
17859 | if (PyErr_Occurred()) SWIG_fail; | |
17860 | } | |
17861 | Py_INCREF(Py_None); resultobj = Py_None; | |
17862 | return resultobj; | |
17863 | fail: | |
17864 | return NULL; | |
17865 | } | |
17866 | ||
17867 | ||
17868 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17869 | PyObject *resultobj; | |
17870 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17871 | bool arg2 ; | |
17872 | PyObject * obj0 = 0 ; | |
17873 | PyObject * obj1 = 0 ; | |
17874 | char *kwnames[] = { | |
17875 | (char *) "self",(char *) "flag", NULL | |
17876 | }; | |
17877 | ||
17878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
17879 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 17880 | { |
8edf1c75 | 17881 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
17882 | if (PyErr_Occurred()) SWIG_fail; |
17883 | } | |
d14a1e28 RD |
17884 | { |
17885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17886 | (arg1)->EnableOrientation(arg2); | |
17887 | ||
17888 | wxPyEndAllowThreads(__tstate); | |
17889 | if (PyErr_Occurred()) SWIG_fail; | |
17890 | } | |
17891 | Py_INCREF(Py_None); resultobj = Py_None; | |
17892 | return resultobj; | |
17893 | fail: | |
17894 | return NULL; | |
17895 | } | |
17896 | ||
17897 | ||
17898 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17899 | PyObject *resultobj; | |
17900 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17901 | bool arg2 ; | |
17902 | PyObject * obj0 = 0 ; | |
17903 | PyObject * obj1 = 0 ; | |
17904 | char *kwnames[] = { | |
17905 | (char *) "self",(char *) "flag", NULL | |
17906 | }; | |
17907 | ||
17908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
17909 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 17910 | { |
8edf1c75 | 17911 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
17912 | if (PyErr_Occurred()) SWIG_fail; |
17913 | } | |
d14a1e28 RD |
17914 | { |
17915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17916 | (arg1)->EnablePaper(arg2); | |
17917 | ||
17918 | wxPyEndAllowThreads(__tstate); | |
17919 | if (PyErr_Occurred()) SWIG_fail; | |
17920 | } | |
17921 | Py_INCREF(Py_None); resultobj = Py_None; | |
17922 | return resultobj; | |
17923 | fail: | |
17924 | return NULL; | |
17925 | } | |
17926 | ||
17927 | ||
17928 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17929 | PyObject *resultobj; | |
17930 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17931 | bool arg2 ; | |
17932 | PyObject * obj0 = 0 ; | |
17933 | PyObject * obj1 = 0 ; | |
17934 | char *kwnames[] = { | |
17935 | (char *) "self",(char *) "flag", NULL | |
17936 | }; | |
17937 | ||
17938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
17939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 17940 | { |
8edf1c75 | 17941 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
17942 | if (PyErr_Occurred()) SWIG_fail; |
17943 | } | |
d14a1e28 RD |
17944 | { |
17945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17946 | (arg1)->EnablePrinter(arg2); | |
17947 | ||
17948 | wxPyEndAllowThreads(__tstate); | |
17949 | if (PyErr_Occurred()) SWIG_fail; | |
17950 | } | |
17951 | Py_INCREF(Py_None); resultobj = Py_None; | |
17952 | return resultobj; | |
17953 | fail: | |
17954 | return NULL; | |
17955 | } | |
17956 | ||
17957 | ||
17958 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17959 | PyObject *resultobj; | |
17960 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17961 | bool result; | |
17962 | PyObject * obj0 = 0 ; | |
17963 | char *kwnames[] = { | |
17964 | (char *) "self", NULL | |
17965 | }; | |
17966 | ||
17967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
17968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17969 | { | |
17970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17971 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
17972 | ||
17973 | wxPyEndAllowThreads(__tstate); | |
17974 | if (PyErr_Occurred()) SWIG_fail; | |
17975 | } | |
4e760a36 | 17976 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17977 | return resultobj; |
17978 | fail: | |
17979 | return NULL; | |
17980 | } | |
17981 | ||
17982 | ||
17983 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17984 | PyObject *resultobj; | |
17985 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17986 | bool result; | |
17987 | PyObject * obj0 = 0 ; | |
17988 | char *kwnames[] = { | |
17989 | (char *) "self", NULL | |
17990 | }; | |
17991 | ||
17992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
17993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17994 | { | |
17995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17996 | result = (bool)(arg1)->GetEnableMargins(); | |
17997 | ||
17998 | wxPyEndAllowThreads(__tstate); | |
17999 | if (PyErr_Occurred()) SWIG_fail; | |
18000 | } | |
4e760a36 | 18001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18002 | return resultobj; |
18003 | fail: | |
18004 | return NULL; | |
18005 | } | |
18006 | ||
18007 | ||
18008 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18009 | PyObject *resultobj; | |
18010 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18011 | bool result; | |
18012 | PyObject * obj0 = 0 ; | |
18013 | char *kwnames[] = { | |
18014 | (char *) "self", NULL | |
18015 | }; | |
18016 | ||
18017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
18018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18019 | { | |
18020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18021 | result = (bool)(arg1)->GetEnableOrientation(); | |
18022 | ||
18023 | wxPyEndAllowThreads(__tstate); | |
18024 | if (PyErr_Occurred()) SWIG_fail; | |
18025 | } | |
4e760a36 | 18026 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18027 | return resultobj; |
18028 | fail: | |
18029 | return NULL; | |
18030 | } | |
18031 | ||
18032 | ||
18033 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18034 | PyObject *resultobj; | |
18035 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18036 | bool result; | |
18037 | PyObject * obj0 = 0 ; | |
18038 | char *kwnames[] = { | |
18039 | (char *) "self", NULL | |
18040 | }; | |
18041 | ||
18042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
18043 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18044 | { | |
18045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18046 | result = (bool)(arg1)->GetEnablePaper(); | |
18047 | ||
18048 | wxPyEndAllowThreads(__tstate); | |
18049 | if (PyErr_Occurred()) SWIG_fail; | |
18050 | } | |
4e760a36 | 18051 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18052 | return resultobj; |
18053 | fail: | |
18054 | return NULL; | |
18055 | } | |
18056 | ||
18057 | ||
18058 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18059 | PyObject *resultobj; | |
18060 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18061 | bool result; | |
18062 | PyObject * obj0 = 0 ; | |
18063 | char *kwnames[] = { | |
18064 | (char *) "self", NULL | |
18065 | }; | |
18066 | ||
18067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
18068 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18069 | { | |
18070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18071 | result = (bool)(arg1)->GetEnablePrinter(); | |
18072 | ||
18073 | wxPyEndAllowThreads(__tstate); | |
18074 | if (PyErr_Occurred()) SWIG_fail; | |
18075 | } | |
4e760a36 | 18076 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18077 | return resultobj; |
18078 | fail: | |
18079 | return NULL; | |
18080 | } | |
18081 | ||
18082 | ||
18083 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18084 | PyObject *resultobj; | |
18085 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18086 | bool result; | |
18087 | PyObject * obj0 = 0 ; | |
18088 | char *kwnames[] = { | |
18089 | (char *) "self", NULL | |
18090 | }; | |
18091 | ||
18092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
18093 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18094 | { | |
18095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18096 | result = (bool)(arg1)->GetEnableHelp(); | |
18097 | ||
18098 | wxPyEndAllowThreads(__tstate); | |
18099 | if (PyErr_Occurred()) SWIG_fail; | |
18100 | } | |
4e760a36 | 18101 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18102 | return resultobj; |
18103 | fail: | |
18104 | return NULL; | |
18105 | } | |
18106 | ||
18107 | ||
18108 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18109 | PyObject *resultobj; | |
18110 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18111 | bool result; | |
18112 | PyObject * obj0 = 0 ; | |
18113 | char *kwnames[] = { | |
18114 | (char *) "self", NULL | |
18115 | }; | |
18116 | ||
18117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
18118 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18119 | { | |
18120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18121 | result = (bool)(arg1)->GetDefaultInfo(); | |
18122 | ||
18123 | wxPyEndAllowThreads(__tstate); | |
18124 | if (PyErr_Occurred()) SWIG_fail; | |
18125 | } | |
4e760a36 | 18126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18127 | return resultobj; |
18128 | fail: | |
18129 | return NULL; | |
18130 | } | |
18131 | ||
18132 | ||
18133 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18134 | PyObject *resultobj; | |
18135 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18136 | wxPoint result; | |
18137 | PyObject * obj0 = 0 ; | |
18138 | char *kwnames[] = { | |
18139 | (char *) "self", NULL | |
18140 | }; | |
18141 | ||
18142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
18143 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18144 | { | |
18145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18146 | result = (arg1)->GetMarginTopLeft(); | |
18147 | ||
18148 | wxPyEndAllowThreads(__tstate); | |
18149 | if (PyErr_Occurred()) SWIG_fail; | |
18150 | } | |
18151 | { | |
18152 | wxPoint * resultptr; | |
18153 | resultptr = new wxPoint((wxPoint &) result); | |
18154 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18155 | } | |
18156 | return resultobj; | |
18157 | fail: | |
18158 | return NULL; | |
18159 | } | |
18160 | ||
18161 | ||
18162 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18163 | PyObject *resultobj; | |
18164 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18165 | wxPoint result; | |
18166 | PyObject * obj0 = 0 ; | |
18167 | char *kwnames[] = { | |
18168 | (char *) "self", NULL | |
18169 | }; | |
18170 | ||
18171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
18172 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18173 | { | |
18174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18175 | result = (arg1)->GetMarginBottomRight(); | |
18176 | ||
18177 | wxPyEndAllowThreads(__tstate); | |
18178 | if (PyErr_Occurred()) SWIG_fail; | |
18179 | } | |
18180 | { | |
18181 | wxPoint * resultptr; | |
18182 | resultptr = new wxPoint((wxPoint &) result); | |
18183 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18184 | } | |
18185 | return resultobj; | |
18186 | fail: | |
18187 | return NULL; | |
18188 | } | |
18189 | ||
18190 | ||
18191 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18192 | PyObject *resultobj; | |
18193 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18194 | wxPoint result; | |
18195 | PyObject * obj0 = 0 ; | |
18196 | char *kwnames[] = { | |
18197 | (char *) "self", NULL | |
18198 | }; | |
18199 | ||
18200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
18201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18202 | { | |
18203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18204 | result = (arg1)->GetMinMarginTopLeft(); | |
18205 | ||
18206 | wxPyEndAllowThreads(__tstate); | |
18207 | if (PyErr_Occurred()) SWIG_fail; | |
18208 | } | |
18209 | { | |
18210 | wxPoint * resultptr; | |
18211 | resultptr = new wxPoint((wxPoint &) result); | |
18212 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18213 | } | |
18214 | return resultobj; | |
18215 | fail: | |
18216 | return NULL; | |
18217 | } | |
18218 | ||
18219 | ||
18220 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18221 | PyObject *resultobj; | |
18222 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18223 | wxPoint result; | |
18224 | PyObject * obj0 = 0 ; | |
18225 | char *kwnames[] = { | |
18226 | (char *) "self", NULL | |
18227 | }; | |
18228 | ||
18229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
18230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18231 | { | |
18232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18233 | result = (arg1)->GetMinMarginBottomRight(); | |
18234 | ||
18235 | wxPyEndAllowThreads(__tstate); | |
18236 | if (PyErr_Occurred()) SWIG_fail; | |
18237 | } | |
18238 | { | |
18239 | wxPoint * resultptr; | |
18240 | resultptr = new wxPoint((wxPoint &) result); | |
18241 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
18242 | } | |
18243 | return resultobj; | |
18244 | fail: | |
18245 | return NULL; | |
18246 | } | |
18247 | ||
18248 | ||
18249 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18250 | PyObject *resultobj; | |
18251 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18252 | int result; | |
18253 | PyObject * obj0 = 0 ; | |
18254 | char *kwnames[] = { | |
18255 | (char *) "self", NULL | |
18256 | }; | |
18257 | ||
18258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
18259 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18260 | { | |
18261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18262 | result = (int)(arg1)->GetPaperId(); | |
18263 | ||
18264 | wxPyEndAllowThreads(__tstate); | |
18265 | if (PyErr_Occurred()) SWIG_fail; | |
18266 | } | |
8edf1c75 | 18267 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18268 | return resultobj; |
18269 | fail: | |
18270 | return NULL; | |
18271 | } | |
18272 | ||
18273 | ||
18274 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18275 | PyObject *resultobj; | |
18276 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18277 | wxSize result; | |
18278 | PyObject * obj0 = 0 ; | |
18279 | char *kwnames[] = { | |
18280 | (char *) "self", NULL | |
18281 | }; | |
18282 | ||
18283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
18284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18285 | { | |
18286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18287 | result = (arg1)->GetPaperSize(); | |
18288 | ||
18289 | wxPyEndAllowThreads(__tstate); | |
18290 | if (PyErr_Occurred()) SWIG_fail; | |
18291 | } | |
18292 | { | |
18293 | wxSize * resultptr; | |
18294 | resultptr = new wxSize((wxSize &) result); | |
18295 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
18296 | } | |
18297 | return resultobj; | |
18298 | fail: | |
18299 | return NULL; | |
18300 | } | |
18301 | ||
18302 | ||
18303 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18304 | PyObject *resultobj; | |
18305 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18306 | wxPrintData *result; | |
18307 | PyObject * obj0 = 0 ; | |
18308 | char *kwnames[] = { | |
18309 | (char *) "self", NULL | |
18310 | }; | |
18311 | ||
18312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
18313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18314 | { | |
18315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18316 | { | |
18317 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18318 | result = (wxPrintData *) &_result_ref; | |
18319 | } | |
18320 | ||
18321 | wxPyEndAllowThreads(__tstate); | |
18322 | if (PyErr_Occurred()) SWIG_fail; | |
18323 | } | |
18324 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
18325 | return resultobj; | |
18326 | fail: | |
18327 | return NULL; | |
18328 | } | |
18329 | ||
18330 | ||
18331 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18332 | PyObject *resultobj; | |
18333 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18334 | bool result; | |
18335 | PyObject * obj0 = 0 ; | |
18336 | char *kwnames[] = { | |
18337 | (char *) "self", NULL | |
18338 | }; | |
18339 | ||
18340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
18341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18342 | { | |
18343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18344 | result = (bool)(arg1)->Ok(); | |
18345 | ||
18346 | wxPyEndAllowThreads(__tstate); | |
18347 | if (PyErr_Occurred()) SWIG_fail; | |
18348 | } | |
4e760a36 | 18349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18350 | return resultobj; |
18351 | fail: | |
18352 | return NULL; | |
18353 | } | |
18354 | ||
18355 | ||
18356 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18357 | PyObject *resultobj; | |
18358 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18359 | bool arg2 ; | |
18360 | PyObject * obj0 = 0 ; | |
18361 | PyObject * obj1 = 0 ; | |
18362 | char *kwnames[] = { | |
18363 | (char *) "self",(char *) "flag", NULL | |
18364 | }; | |
18365 | ||
18366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
18367 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 18368 | { |
8edf1c75 | 18369 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
18370 | if (PyErr_Occurred()) SWIG_fail; |
18371 | } | |
d14a1e28 RD |
18372 | { |
18373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18374 | (arg1)->SetDefaultInfo(arg2); | |
18375 | ||
18376 | wxPyEndAllowThreads(__tstate); | |
18377 | if (PyErr_Occurred()) SWIG_fail; | |
18378 | } | |
18379 | Py_INCREF(Py_None); resultobj = Py_None; | |
18380 | return resultobj; | |
18381 | fail: | |
18382 | return NULL; | |
18383 | } | |
18384 | ||
18385 | ||
18386 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18387 | PyObject *resultobj; | |
18388 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18389 | bool arg2 ; | |
18390 | PyObject * obj0 = 0 ; | |
18391 | PyObject * obj1 = 0 ; | |
18392 | char *kwnames[] = { | |
18393 | (char *) "self",(char *) "flag", NULL | |
18394 | }; | |
18395 | ||
18396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
18397 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 18398 | { |
8edf1c75 | 18399 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
18400 | if (PyErr_Occurred()) SWIG_fail; |
18401 | } | |
d14a1e28 RD |
18402 | { |
18403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18404 | (arg1)->SetDefaultMinMargins(arg2); | |
18405 | ||
18406 | wxPyEndAllowThreads(__tstate); | |
18407 | if (PyErr_Occurred()) SWIG_fail; | |
18408 | } | |
18409 | Py_INCREF(Py_None); resultobj = Py_None; | |
18410 | return resultobj; | |
18411 | fail: | |
18412 | return NULL; | |
18413 | } | |
18414 | ||
18415 | ||
18416 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18417 | PyObject *resultobj; | |
18418 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18419 | wxPoint *arg2 = 0 ; | |
18420 | wxPoint temp2 ; | |
18421 | PyObject * obj0 = 0 ; | |
18422 | PyObject * obj1 = 0 ; | |
18423 | char *kwnames[] = { | |
18424 | (char *) "self",(char *) "pt", NULL | |
18425 | }; | |
18426 | ||
18427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
18428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18429 | { | |
18430 | arg2 = &temp2; | |
18431 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18432 | } | |
18433 | { | |
18434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18435 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18436 | ||
18437 | wxPyEndAllowThreads(__tstate); | |
18438 | if (PyErr_Occurred()) SWIG_fail; | |
18439 | } | |
18440 | Py_INCREF(Py_None); resultobj = Py_None; | |
18441 | return resultobj; | |
18442 | fail: | |
18443 | return NULL; | |
18444 | } | |
18445 | ||
18446 | ||
18447 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18448 | PyObject *resultobj; | |
18449 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18450 | wxPoint *arg2 = 0 ; | |
18451 | wxPoint temp2 ; | |
18452 | PyObject * obj0 = 0 ; | |
18453 | PyObject * obj1 = 0 ; | |
18454 | char *kwnames[] = { | |
18455 | (char *) "self",(char *) "pt", NULL | |
18456 | }; | |
18457 | ||
18458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
18459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18460 | { | |
18461 | arg2 = &temp2; | |
18462 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18463 | } | |
18464 | { | |
18465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18466 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18467 | ||
18468 | wxPyEndAllowThreads(__tstate); | |
18469 | if (PyErr_Occurred()) SWIG_fail; | |
18470 | } | |
18471 | Py_INCREF(Py_None); resultobj = Py_None; | |
18472 | return resultobj; | |
18473 | fail: | |
18474 | return NULL; | |
18475 | } | |
18476 | ||
18477 | ||
18478 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18479 | PyObject *resultobj; | |
18480 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18481 | wxPoint *arg2 = 0 ; | |
18482 | wxPoint temp2 ; | |
18483 | PyObject * obj0 = 0 ; | |
18484 | PyObject * obj1 = 0 ; | |
18485 | char *kwnames[] = { | |
18486 | (char *) "self",(char *) "pt", NULL | |
18487 | }; | |
18488 | ||
18489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
18490 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18491 | { | |
18492 | arg2 = &temp2; | |
18493 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18494 | } | |
18495 | { | |
18496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18497 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18498 | ||
18499 | wxPyEndAllowThreads(__tstate); | |
18500 | if (PyErr_Occurred()) SWIG_fail; | |
18501 | } | |
18502 | Py_INCREF(Py_None); resultobj = Py_None; | |
18503 | return resultobj; | |
18504 | fail: | |
18505 | return NULL; | |
18506 | } | |
18507 | ||
18508 | ||
18509 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18510 | PyObject *resultobj; | |
18511 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18512 | wxPoint *arg2 = 0 ; | |
18513 | wxPoint temp2 ; | |
18514 | PyObject * obj0 = 0 ; | |
18515 | PyObject * obj1 = 0 ; | |
18516 | char *kwnames[] = { | |
18517 | (char *) "self",(char *) "pt", NULL | |
18518 | }; | |
18519 | ||
18520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
18521 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18522 | { | |
18523 | arg2 = &temp2; | |
18524 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18525 | } | |
18526 | { | |
18527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18528 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18529 | ||
18530 | wxPyEndAllowThreads(__tstate); | |
18531 | if (PyErr_Occurred()) SWIG_fail; | |
18532 | } | |
18533 | Py_INCREF(Py_None); resultobj = Py_None; | |
18534 | return resultobj; | |
18535 | fail: | |
18536 | return NULL; | |
18537 | } | |
18538 | ||
18539 | ||
18540 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18541 | PyObject *resultobj; | |
18542 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18543 | int arg2 ; | |
18544 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18545 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18546 | char *kwnames[] = { |
18547 | (char *) "self",(char *) "id", NULL | |
18548 | }; | |
18549 | ||
8edf1c75 | 18550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 18551 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
18552 | { |
18553 | arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1); | |
18554 | if (PyErr_Occurred()) SWIG_fail; | |
18555 | } | |
d14a1e28 RD |
18556 | { |
18557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18558 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18559 | ||
18560 | wxPyEndAllowThreads(__tstate); | |
18561 | if (PyErr_Occurred()) SWIG_fail; | |
18562 | } | |
18563 | Py_INCREF(Py_None); resultobj = Py_None; | |
18564 | return resultobj; | |
18565 | fail: | |
18566 | return NULL; | |
18567 | } | |
18568 | ||
18569 | ||
18570 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18571 | PyObject *resultobj; | |
18572 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18573 | wxSize *arg2 = 0 ; | |
18574 | wxSize temp2 ; | |
18575 | PyObject * obj0 = 0 ; | |
18576 | PyObject * obj1 = 0 ; | |
18577 | char *kwnames[] = { | |
18578 | (char *) "self",(char *) "size", NULL | |
18579 | }; | |
18580 | ||
18581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
18582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18583 | { | |
18584 | arg2 = &temp2; | |
18585 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18586 | } | |
18587 | { | |
18588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18589 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18590 | ||
18591 | wxPyEndAllowThreads(__tstate); | |
18592 | if (PyErr_Occurred()) SWIG_fail; | |
18593 | } | |
18594 | Py_INCREF(Py_None); resultobj = Py_None; | |
18595 | return resultobj; | |
18596 | fail: | |
18597 | return NULL; | |
18598 | } | |
18599 | ||
18600 | ||
18601 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18602 | PyObject *resultobj; | |
18603 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18604 | wxPrintData *arg2 = 0 ; | |
18605 | PyObject * obj0 = 0 ; | |
18606 | PyObject * obj1 = 0 ; | |
18607 | char *kwnames[] = { | |
18608 | (char *) "self",(char *) "printData", NULL | |
18609 | }; | |
18610 | ||
18611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
18612 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18613 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18614 | if (arg2 == NULL) { | |
18615 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
18616 | } | |
18617 | { | |
18618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18619 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18620 | ||
18621 | wxPyEndAllowThreads(__tstate); | |
18622 | if (PyErr_Occurred()) SWIG_fail; | |
18623 | } | |
18624 | Py_INCREF(Py_None); resultobj = Py_None; | |
18625 | return resultobj; | |
18626 | fail: | |
18627 | return NULL; | |
18628 | } | |
18629 | ||
18630 | ||
18631 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
18632 | PyObject *obj; | |
18633 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18634 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18635 | Py_INCREF(obj); | |
18636 | return Py_BuildValue((char *)""); | |
18637 | } | |
18638 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18639 | PyObject *resultobj; | |
18640 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18641 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18642 | wxPageSetupDialog *result; | |
18643 | PyObject * obj0 = 0 ; | |
18644 | PyObject * obj1 = 0 ; | |
18645 | char *kwnames[] = { | |
18646 | (char *) "parent",(char *) "data", NULL | |
18647 | }; | |
18648 | ||
18649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
18650 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18651 | if (obj1) { | |
18652 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18653 | } | |
18654 | { | |
18655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18656 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18657 | ||
18658 | wxPyEndAllowThreads(__tstate); | |
18659 | if (PyErr_Occurred()) SWIG_fail; | |
18660 | } | |
18661 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1); | |
18662 | return resultobj; | |
18663 | fail: | |
18664 | return NULL; | |
18665 | } | |
18666 | ||
18667 | ||
18668 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18669 | PyObject *resultobj; | |
18670 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18671 | wxPageSetupDialogData *result; | |
18672 | PyObject * obj0 = 0 ; | |
18673 | char *kwnames[] = { | |
18674 | (char *) "self", NULL | |
18675 | }; | |
18676 | ||
18677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
18678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18679 | { | |
18680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18681 | { | |
18682 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18683 | result = (wxPageSetupDialogData *) &_result_ref; | |
18684 | } | |
18685 | ||
18686 | wxPyEndAllowThreads(__tstate); | |
18687 | if (PyErr_Occurred()) SWIG_fail; | |
18688 | } | |
18689 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
18690 | return resultobj; | |
18691 | fail: | |
18692 | return NULL; | |
18693 | } | |
18694 | ||
18695 | ||
18696 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18697 | PyObject *resultobj; | |
18698 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18699 | int result; | |
18700 | PyObject * obj0 = 0 ; | |
18701 | char *kwnames[] = { | |
18702 | (char *) "self", NULL | |
18703 | }; | |
18704 | ||
18705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
18706 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18707 | { | |
18708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18709 | result = (int)(arg1)->ShowModal(); | |
18710 | ||
18711 | wxPyEndAllowThreads(__tstate); | |
18712 | if (PyErr_Occurred()) SWIG_fail; | |
18713 | } | |
8edf1c75 | 18714 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18715 | return resultobj; |
18716 | fail: | |
18717 | return NULL; | |
18718 | } | |
18719 | ||
18720 | ||
18721 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
18722 | PyObject *obj; | |
18723 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18724 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18725 | Py_INCREF(obj); | |
18726 | return Py_BuildValue((char *)""); | |
18727 | } | |
18728 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18729 | PyObject *resultobj; | |
18730 | wxPrintDialogData *result; | |
18731 | char *kwnames[] = { | |
18732 | NULL | |
18733 | }; | |
18734 | ||
18735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail; | |
18736 | { | |
18737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18738 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18739 | ||
18740 | wxPyEndAllowThreads(__tstate); | |
18741 | if (PyErr_Occurred()) SWIG_fail; | |
18742 | } | |
18743 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1); | |
18744 | return resultobj; | |
18745 | fail: | |
18746 | return NULL; | |
18747 | } | |
18748 | ||
18749 | ||
18750 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18751 | PyObject *resultobj; | |
18752 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18753 | PyObject * obj0 = 0 ; | |
18754 | char *kwnames[] = { | |
18755 | (char *) "self", NULL | |
18756 | }; | |
18757 | ||
18758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
18759 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18760 | { | |
18761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18762 | delete arg1; | |
18763 | ||
18764 | wxPyEndAllowThreads(__tstate); | |
18765 | if (PyErr_Occurred()) SWIG_fail; | |
18766 | } | |
18767 | Py_INCREF(Py_None); resultobj = Py_None; | |
18768 | return resultobj; | |
18769 | fail: | |
18770 | return NULL; | |
18771 | } | |
18772 | ||
18773 | ||
18774 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18775 | PyObject *resultobj; | |
18776 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18777 | int result; | |
18778 | PyObject * obj0 = 0 ; | |
18779 | char *kwnames[] = { | |
18780 | (char *) "self", NULL | |
18781 | }; | |
18782 | ||
18783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
18784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18785 | { | |
18786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18787 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
18788 | ||
18789 | wxPyEndAllowThreads(__tstate); | |
18790 | if (PyErr_Occurred()) SWIG_fail; | |
18791 | } | |
8edf1c75 | 18792 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18793 | return resultobj; |
18794 | fail: | |
18795 | return NULL; | |
18796 | } | |
18797 | ||
18798 | ||
18799 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18800 | PyObject *resultobj; | |
18801 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18802 | int result; | |
18803 | PyObject * obj0 = 0 ; | |
18804 | char *kwnames[] = { | |
18805 | (char *) "self", NULL | |
18806 | }; | |
18807 | ||
18808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
18809 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18810 | { | |
18811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18812 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
18813 | ||
18814 | wxPyEndAllowThreads(__tstate); | |
18815 | if (PyErr_Occurred()) SWIG_fail; | |
18816 | } | |
8edf1c75 | 18817 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18818 | return resultobj; |
18819 | fail: | |
18820 | return NULL; | |
18821 | } | |
18822 | ||
18823 | ||
18824 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18825 | PyObject *resultobj; | |
18826 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18827 | int result; | |
18828 | PyObject * obj0 = 0 ; | |
18829 | char *kwnames[] = { | |
18830 | (char *) "self", NULL | |
18831 | }; | |
18832 | ||
18833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
18834 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18835 | { | |
18836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18837 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
18838 | ||
18839 | wxPyEndAllowThreads(__tstate); | |
18840 | if (PyErr_Occurred()) SWIG_fail; | |
18841 | } | |
8edf1c75 | 18842 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18843 | return resultobj; |
18844 | fail: | |
18845 | return NULL; | |
18846 | } | |
18847 | ||
18848 | ||
18849 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18850 | PyObject *resultobj; | |
18851 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18852 | int result; | |
18853 | PyObject * obj0 = 0 ; | |
18854 | char *kwnames[] = { | |
18855 | (char *) "self", NULL | |
18856 | }; | |
18857 | ||
18858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
18859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18860 | { | |
18861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18862 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
18863 | ||
18864 | wxPyEndAllowThreads(__tstate); | |
18865 | if (PyErr_Occurred()) SWIG_fail; | |
18866 | } | |
8edf1c75 | 18867 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18868 | return resultobj; |
18869 | fail: | |
18870 | return NULL; | |
18871 | } | |
18872 | ||
18873 | ||
18874 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18875 | PyObject *resultobj; | |
18876 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18877 | int result; | |
18878 | PyObject * obj0 = 0 ; | |
18879 | char *kwnames[] = { | |
18880 | (char *) "self", NULL | |
18881 | }; | |
18882 | ||
18883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18884 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18885 | { | |
18886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18887 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
18888 | ||
18889 | wxPyEndAllowThreads(__tstate); | |
18890 | if (PyErr_Occurred()) SWIG_fail; | |
18891 | } | |
8edf1c75 | 18892 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
18893 | return resultobj; |
18894 | fail: | |
18895 | return NULL; | |
18896 | } | |
18897 | ||
18898 | ||
18899 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18900 | PyObject *resultobj; | |
18901 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18902 | bool result; | |
18903 | PyObject * obj0 = 0 ; | |
18904 | char *kwnames[] = { | |
18905 | (char *) "self", NULL | |
18906 | }; | |
18907 | ||
18908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
18909 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18910 | { | |
18911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18912 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
18913 | ||
18914 | wxPyEndAllowThreads(__tstate); | |
18915 | if (PyErr_Occurred()) SWIG_fail; | |
18916 | } | |
4e760a36 | 18917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18918 | return resultobj; |
18919 | fail: | |
18920 | return NULL; | |
18921 | } | |
18922 | ||
18923 | ||
18924 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18925 | PyObject *resultobj; | |
18926 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18927 | bool result; | |
18928 | PyObject * obj0 = 0 ; | |
18929 | char *kwnames[] = { | |
18930 | (char *) "self", NULL | |
18931 | }; | |
18932 | ||
18933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
18934 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18935 | { | |
18936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18937 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
18938 | ||
18939 | wxPyEndAllowThreads(__tstate); | |
18940 | if (PyErr_Occurred()) SWIG_fail; | |
18941 | } | |
4e760a36 | 18942 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18943 | return resultobj; |
18944 | fail: | |
18945 | return NULL; | |
18946 | } | |
18947 | ||
18948 | ||
18949 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18950 | PyObject *resultobj; | |
18951 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18952 | bool result; | |
18953 | PyObject * obj0 = 0 ; | |
18954 | char *kwnames[] = { | |
18955 | (char *) "self", NULL | |
18956 | }; | |
18957 | ||
18958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
18959 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18960 | { | |
18961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18962 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
18963 | ||
18964 | wxPyEndAllowThreads(__tstate); | |
18965 | if (PyErr_Occurred()) SWIG_fail; | |
18966 | } | |
4e760a36 | 18967 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18968 | return resultobj; |
18969 | fail: | |
18970 | return NULL; | |
18971 | } | |
18972 | ||
18973 | ||
18974 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18975 | PyObject *resultobj; | |
18976 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18977 | bool result; | |
18978 | PyObject * obj0 = 0 ; | |
18979 | char *kwnames[] = { | |
18980 | (char *) "self", NULL | |
18981 | }; | |
18982 | ||
18983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
18984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18985 | { | |
18986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18987 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
18988 | ||
18989 | wxPyEndAllowThreads(__tstate); | |
18990 | if (PyErr_Occurred()) SWIG_fail; | |
18991 | } | |
4e760a36 | 18992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18993 | return resultobj; |
18994 | fail: | |
18995 | return NULL; | |
18996 | } | |
18997 | ||
18998 | ||
18999 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19000 | PyObject *resultobj; | |
19001 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19002 | bool result; | |
19003 | PyObject * obj0 = 0 ; | |
19004 | char *kwnames[] = { | |
19005 | (char *) "self", NULL | |
19006 | }; | |
19007 | ||
19008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
19009 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19010 | { | |
19011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19012 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
19013 | ||
19014 | wxPyEndAllowThreads(__tstate); | |
19015 | if (PyErr_Occurred()) SWIG_fail; | |
19016 | } | |
4e760a36 | 19017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19018 | return resultobj; |
19019 | fail: | |
19020 | return NULL; | |
19021 | } | |
19022 | ||
19023 | ||
19024 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19025 | PyObject *resultobj; | |
19026 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19027 | int arg2 ; | |
19028 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19029 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19030 | char *kwnames[] = { |
19031 | (char *) "self",(char *) "v", NULL | |
19032 | }; | |
19033 | ||
8edf1c75 | 19034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 19035 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
19036 | { |
19037 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
19038 | if (PyErr_Occurred()) SWIG_fail; | |
19039 | } | |
d14a1e28 RD |
19040 | { |
19041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19042 | (arg1)->SetFromPage(arg2); | |
19043 | ||
19044 | wxPyEndAllowThreads(__tstate); | |
19045 | if (PyErr_Occurred()) SWIG_fail; | |
19046 | } | |
19047 | Py_INCREF(Py_None); resultobj = Py_None; | |
19048 | return resultobj; | |
19049 | fail: | |
19050 | return NULL; | |
19051 | } | |
19052 | ||
19053 | ||
19054 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19055 | PyObject *resultobj; | |
19056 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19057 | int arg2 ; | |
19058 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19059 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19060 | char *kwnames[] = { |
19061 | (char *) "self",(char *) "v", NULL | |
19062 | }; | |
19063 | ||
8edf1c75 | 19064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 19065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
19066 | { |
19067 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
19068 | if (PyErr_Occurred()) SWIG_fail; | |
19069 | } | |
d14a1e28 RD |
19070 | { |
19071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19072 | (arg1)->SetToPage(arg2); | |
19073 | ||
19074 | wxPyEndAllowThreads(__tstate); | |
19075 | if (PyErr_Occurred()) SWIG_fail; | |
19076 | } | |
19077 | Py_INCREF(Py_None); resultobj = Py_None; | |
19078 | return resultobj; | |
19079 | fail: | |
19080 | return NULL; | |
19081 | } | |
19082 | ||
19083 | ||
19084 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19085 | PyObject *resultobj; | |
19086 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19087 | int arg2 ; | |
19088 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19089 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19090 | char *kwnames[] = { |
19091 | (char *) "self",(char *) "v", NULL | |
19092 | }; | |
19093 | ||
8edf1c75 | 19094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 19095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
19096 | { |
19097 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
19098 | if (PyErr_Occurred()) SWIG_fail; | |
19099 | } | |
d14a1e28 RD |
19100 | { |
19101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19102 | (arg1)->SetMinPage(arg2); | |
19103 | ||
19104 | wxPyEndAllowThreads(__tstate); | |
19105 | if (PyErr_Occurred()) SWIG_fail; | |
19106 | } | |
19107 | Py_INCREF(Py_None); resultobj = Py_None; | |
19108 | return resultobj; | |
19109 | fail: | |
19110 | return NULL; | |
19111 | } | |
19112 | ||
19113 | ||
19114 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19115 | PyObject *resultobj; | |
19116 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19117 | int arg2 ; | |
19118 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19119 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19120 | char *kwnames[] = { |
19121 | (char *) "self",(char *) "v", NULL | |
19122 | }; | |
19123 | ||
8edf1c75 | 19124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 19125 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
19126 | { |
19127 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
19128 | if (PyErr_Occurred()) SWIG_fail; | |
19129 | } | |
d14a1e28 RD |
19130 | { |
19131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19132 | (arg1)->SetMaxPage(arg2); | |
19133 | ||
19134 | wxPyEndAllowThreads(__tstate); | |
19135 | if (PyErr_Occurred()) SWIG_fail; | |
19136 | } | |
19137 | Py_INCREF(Py_None); resultobj = Py_None; | |
19138 | return resultobj; | |
19139 | fail: | |
19140 | return NULL; | |
19141 | } | |
19142 | ||
19143 | ||
19144 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19145 | PyObject *resultobj; | |
19146 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19147 | int arg2 ; | |
19148 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19149 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19150 | char *kwnames[] = { |
19151 | (char *) "self",(char *) "v", NULL | |
19152 | }; | |
19153 | ||
8edf1c75 | 19154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 19155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
19156 | { |
19157 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
19158 | if (PyErr_Occurred()) SWIG_fail; | |
19159 | } | |
d14a1e28 RD |
19160 | { |
19161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19162 | (arg1)->SetNoCopies(arg2); | |
19163 | ||
19164 | wxPyEndAllowThreads(__tstate); | |
19165 | if (PyErr_Occurred()) SWIG_fail; | |
19166 | } | |
19167 | Py_INCREF(Py_None); resultobj = Py_None; | |
19168 | return resultobj; | |
19169 | fail: | |
19170 | return NULL; | |
19171 | } | |
19172 | ||
19173 | ||
19174 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19175 | PyObject *resultobj; | |
19176 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19177 | bool arg2 ; | |
19178 | PyObject * obj0 = 0 ; | |
19179 | PyObject * obj1 = 0 ; | |
19180 | char *kwnames[] = { | |
19181 | (char *) "self",(char *) "flag", NULL | |
19182 | }; | |
19183 | ||
19184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
19185 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19186 | { |
8edf1c75 | 19187 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19188 | if (PyErr_Occurred()) SWIG_fail; |
19189 | } | |
d14a1e28 RD |
19190 | { |
19191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19192 | (arg1)->SetAllPages(arg2); | |
19193 | ||
19194 | wxPyEndAllowThreads(__tstate); | |
19195 | if (PyErr_Occurred()) SWIG_fail; | |
19196 | } | |
19197 | Py_INCREF(Py_None); resultobj = Py_None; | |
19198 | return resultobj; | |
19199 | fail: | |
19200 | return NULL; | |
19201 | } | |
19202 | ||
19203 | ||
19204 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19205 | PyObject *resultobj; | |
19206 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19207 | bool arg2 ; | |
19208 | PyObject * obj0 = 0 ; | |
19209 | PyObject * obj1 = 0 ; | |
19210 | char *kwnames[] = { | |
19211 | (char *) "self",(char *) "flag", NULL | |
19212 | }; | |
19213 | ||
19214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
19215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19216 | { |
8edf1c75 | 19217 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19218 | if (PyErr_Occurred()) SWIG_fail; |
19219 | } | |
d14a1e28 RD |
19220 | { |
19221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19222 | (arg1)->SetSelection(arg2); | |
19223 | ||
19224 | wxPyEndAllowThreads(__tstate); | |
19225 | if (PyErr_Occurred()) SWIG_fail; | |
19226 | } | |
19227 | Py_INCREF(Py_None); resultobj = Py_None; | |
19228 | return resultobj; | |
19229 | fail: | |
19230 | return NULL; | |
19231 | } | |
19232 | ||
19233 | ||
19234 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19235 | PyObject *resultobj; | |
19236 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19237 | bool arg2 ; | |
19238 | PyObject * obj0 = 0 ; | |
19239 | PyObject * obj1 = 0 ; | |
19240 | char *kwnames[] = { | |
19241 | (char *) "self",(char *) "flag", NULL | |
19242 | }; | |
19243 | ||
19244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
19245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19246 | { |
8edf1c75 | 19247 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19248 | if (PyErr_Occurred()) SWIG_fail; |
19249 | } | |
d14a1e28 RD |
19250 | { |
19251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19252 | (arg1)->SetCollate(arg2); | |
19253 | ||
19254 | wxPyEndAllowThreads(__tstate); | |
19255 | if (PyErr_Occurred()) SWIG_fail; | |
19256 | } | |
19257 | Py_INCREF(Py_None); resultobj = Py_None; | |
19258 | return resultobj; | |
19259 | fail: | |
19260 | return NULL; | |
19261 | } | |
19262 | ||
19263 | ||
19264 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19265 | PyObject *resultobj; | |
19266 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19267 | bool arg2 ; | |
19268 | PyObject * obj0 = 0 ; | |
19269 | PyObject * obj1 = 0 ; | |
19270 | char *kwnames[] = { | |
19271 | (char *) "self",(char *) "flag", NULL | |
19272 | }; | |
19273 | ||
19274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
19275 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19276 | { |
8edf1c75 | 19277 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19278 | if (PyErr_Occurred()) SWIG_fail; |
19279 | } | |
d14a1e28 RD |
19280 | { |
19281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19282 | (arg1)->SetPrintToFile(arg2); | |
19283 | ||
19284 | wxPyEndAllowThreads(__tstate); | |
19285 | if (PyErr_Occurred()) SWIG_fail; | |
19286 | } | |
19287 | Py_INCREF(Py_None); resultobj = Py_None; | |
19288 | return resultobj; | |
19289 | fail: | |
19290 | return NULL; | |
19291 | } | |
19292 | ||
19293 | ||
19294 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19295 | PyObject *resultobj; | |
19296 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19297 | bool arg2 ; | |
19298 | PyObject * obj0 = 0 ; | |
19299 | PyObject * obj1 = 0 ; | |
19300 | char *kwnames[] = { | |
19301 | (char *) "self",(char *) "flag", NULL | |
19302 | }; | |
19303 | ||
19304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
19305 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19306 | { |
8edf1c75 | 19307 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19308 | if (PyErr_Occurred()) SWIG_fail; |
19309 | } | |
d14a1e28 RD |
19310 | { |
19311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19312 | (arg1)->SetSetupDialog(arg2); | |
19313 | ||
19314 | wxPyEndAllowThreads(__tstate); | |
19315 | if (PyErr_Occurred()) SWIG_fail; | |
19316 | } | |
19317 | Py_INCREF(Py_None); resultobj = Py_None; | |
19318 | return resultobj; | |
19319 | fail: | |
19320 | return NULL; | |
19321 | } | |
19322 | ||
19323 | ||
19324 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19325 | PyObject *resultobj; | |
19326 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19327 | bool arg2 ; | |
19328 | PyObject * obj0 = 0 ; | |
19329 | PyObject * obj1 = 0 ; | |
19330 | char *kwnames[] = { | |
19331 | (char *) "self",(char *) "flag", NULL | |
19332 | }; | |
19333 | ||
19334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
19335 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19336 | { |
8edf1c75 | 19337 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19338 | if (PyErr_Occurred()) SWIG_fail; |
19339 | } | |
d14a1e28 RD |
19340 | { |
19341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19342 | (arg1)->EnablePrintToFile(arg2); | |
19343 | ||
19344 | wxPyEndAllowThreads(__tstate); | |
19345 | if (PyErr_Occurred()) SWIG_fail; | |
19346 | } | |
19347 | Py_INCREF(Py_None); resultobj = Py_None; | |
19348 | return resultobj; | |
19349 | fail: | |
19350 | return NULL; | |
19351 | } | |
19352 | ||
19353 | ||
19354 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19355 | PyObject *resultobj; | |
19356 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19357 | bool arg2 ; | |
19358 | PyObject * obj0 = 0 ; | |
19359 | PyObject * obj1 = 0 ; | |
19360 | char *kwnames[] = { | |
19361 | (char *) "self",(char *) "flag", NULL | |
19362 | }; | |
19363 | ||
19364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
19365 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19366 | { |
8edf1c75 | 19367 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19368 | if (PyErr_Occurred()) SWIG_fail; |
19369 | } | |
d14a1e28 RD |
19370 | { |
19371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19372 | (arg1)->EnableSelection(arg2); | |
19373 | ||
19374 | wxPyEndAllowThreads(__tstate); | |
19375 | if (PyErr_Occurred()) SWIG_fail; | |
19376 | } | |
19377 | Py_INCREF(Py_None); resultobj = Py_None; | |
19378 | return resultobj; | |
19379 | fail: | |
19380 | return NULL; | |
19381 | } | |
19382 | ||
19383 | ||
19384 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19385 | PyObject *resultobj; | |
19386 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19387 | bool arg2 ; | |
19388 | PyObject * obj0 = 0 ; | |
19389 | PyObject * obj1 = 0 ; | |
19390 | char *kwnames[] = { | |
19391 | (char *) "self",(char *) "flag", NULL | |
19392 | }; | |
19393 | ||
19394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
19395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19396 | { |
8edf1c75 | 19397 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19398 | if (PyErr_Occurred()) SWIG_fail; |
19399 | } | |
d14a1e28 RD |
19400 | { |
19401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19402 | (arg1)->EnablePageNumbers(arg2); | |
19403 | ||
19404 | wxPyEndAllowThreads(__tstate); | |
19405 | if (PyErr_Occurred()) SWIG_fail; | |
19406 | } | |
19407 | Py_INCREF(Py_None); resultobj = Py_None; | |
19408 | return resultobj; | |
19409 | fail: | |
19410 | return NULL; | |
19411 | } | |
19412 | ||
19413 | ||
19414 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19415 | PyObject *resultobj; | |
19416 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19417 | bool arg2 ; | |
19418 | PyObject * obj0 = 0 ; | |
19419 | PyObject * obj1 = 0 ; | |
19420 | char *kwnames[] = { | |
19421 | (char *) "self",(char *) "flag", NULL | |
19422 | }; | |
19423 | ||
19424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
19425 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 19426 | { |
8edf1c75 | 19427 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
19428 | if (PyErr_Occurred()) SWIG_fail; |
19429 | } | |
d14a1e28 RD |
19430 | { |
19431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19432 | (arg1)->EnableHelp(arg2); | |
19433 | ||
19434 | wxPyEndAllowThreads(__tstate); | |
19435 | if (PyErr_Occurred()) SWIG_fail; | |
19436 | } | |
19437 | Py_INCREF(Py_None); resultobj = Py_None; | |
19438 | return resultobj; | |
19439 | fail: | |
19440 | return NULL; | |
19441 | } | |
19442 | ||
19443 | ||
19444 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19445 | PyObject *resultobj; | |
19446 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19447 | bool result; | |
19448 | PyObject * obj0 = 0 ; | |
19449 | char *kwnames[] = { | |
19450 | (char *) "self", NULL | |
19451 | }; | |
19452 | ||
19453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
19454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19455 | { | |
19456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19457 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19458 | ||
19459 | wxPyEndAllowThreads(__tstate); | |
19460 | if (PyErr_Occurred()) SWIG_fail; | |
19461 | } | |
4e760a36 | 19462 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19463 | return resultobj; |
19464 | fail: | |
19465 | return NULL; | |
19466 | } | |
19467 | ||
19468 | ||
19469 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19470 | PyObject *resultobj; | |
19471 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19472 | bool result; | |
19473 | PyObject * obj0 = 0 ; | |
19474 | char *kwnames[] = { | |
19475 | (char *) "self", NULL | |
19476 | }; | |
19477 | ||
19478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
19479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19480 | { | |
19481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19482 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19483 | ||
19484 | wxPyEndAllowThreads(__tstate); | |
19485 | if (PyErr_Occurred()) SWIG_fail; | |
19486 | } | |
4e760a36 | 19487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19488 | return resultobj; |
19489 | fail: | |
19490 | return NULL; | |
19491 | } | |
19492 | ||
19493 | ||
19494 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19495 | PyObject *resultobj; | |
19496 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19497 | bool result; | |
19498 | PyObject * obj0 = 0 ; | |
19499 | char *kwnames[] = { | |
19500 | (char *) "self", NULL | |
19501 | }; | |
19502 | ||
19503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
19504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19505 | { | |
19506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19507 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19508 | ||
19509 | wxPyEndAllowThreads(__tstate); | |
19510 | if (PyErr_Occurred()) SWIG_fail; | |
19511 | } | |
4e760a36 | 19512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19513 | return resultobj; |
19514 | fail: | |
19515 | return NULL; | |
19516 | } | |
19517 | ||
19518 | ||
19519 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19520 | PyObject *resultobj; | |
19521 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19522 | bool result; | |
19523 | PyObject * obj0 = 0 ; | |
19524 | char *kwnames[] = { | |
19525 | (char *) "self", NULL | |
19526 | }; | |
19527 | ||
19528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
19529 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19530 | { | |
19531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19532 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19533 | ||
19534 | wxPyEndAllowThreads(__tstate); | |
19535 | if (PyErr_Occurred()) SWIG_fail; | |
19536 | } | |
4e760a36 | 19537 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19538 | return resultobj; |
19539 | fail: | |
19540 | return NULL; | |
19541 | } | |
19542 | ||
19543 | ||
19544 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19545 | PyObject *resultobj; | |
19546 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19547 | bool result; | |
19548 | PyObject * obj0 = 0 ; | |
19549 | char *kwnames[] = { | |
19550 | (char *) "self", NULL | |
19551 | }; | |
19552 | ||
19553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
19554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19555 | { | |
19556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19557 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19558 | ||
19559 | wxPyEndAllowThreads(__tstate); | |
19560 | if (PyErr_Occurred()) SWIG_fail; | |
19561 | } | |
4e760a36 | 19562 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19563 | return resultobj; |
19564 | fail: | |
19565 | return NULL; | |
19566 | } | |
19567 | ||
19568 | ||
19569 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19570 | PyObject *resultobj; | |
19571 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19572 | wxPrintData *result; | |
19573 | PyObject * obj0 = 0 ; | |
19574 | char *kwnames[] = { | |
19575 | (char *) "self", NULL | |
19576 | }; | |
19577 | ||
19578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
19579 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19580 | { | |
19581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19582 | { | |
19583 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19584 | result = (wxPrintData *) &_result_ref; | |
19585 | } | |
19586 | ||
19587 | wxPyEndAllowThreads(__tstate); | |
19588 | if (PyErr_Occurred()) SWIG_fail; | |
19589 | } | |
19590 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
19591 | return resultobj; | |
19592 | fail: | |
19593 | return NULL; | |
19594 | } | |
19595 | ||
19596 | ||
19597 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19598 | PyObject *resultobj; | |
19599 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19600 | wxPrintData *arg2 = 0 ; | |
19601 | PyObject * obj0 = 0 ; | |
19602 | PyObject * obj1 = 0 ; | |
19603 | char *kwnames[] = { | |
19604 | (char *) "self",(char *) "printData", NULL | |
19605 | }; | |
19606 | ||
19607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
19608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19609 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19610 | if (arg2 == NULL) { | |
19611 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19612 | } | |
19613 | { | |
19614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19615 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19616 | ||
19617 | wxPyEndAllowThreads(__tstate); | |
19618 | if (PyErr_Occurred()) SWIG_fail; | |
19619 | } | |
19620 | Py_INCREF(Py_None); resultobj = Py_None; | |
19621 | return resultobj; | |
19622 | fail: | |
19623 | return NULL; | |
19624 | } | |
19625 | ||
19626 | ||
19627 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
19628 | PyObject *obj; | |
19629 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19630 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19631 | Py_INCREF(obj); | |
19632 | return Py_BuildValue((char *)""); | |
19633 | } | |
19634 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19635 | PyObject *resultobj; | |
19636 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19637 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19638 | wxPrintDialog *result; | |
19639 | PyObject * obj0 = 0 ; | |
19640 | PyObject * obj1 = 0 ; | |
19641 | char *kwnames[] = { | |
19642 | (char *) "parent",(char *) "data", NULL | |
19643 | }; | |
19644 | ||
19645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
19646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19647 | if (obj1) { | |
19648 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19649 | } | |
19650 | { | |
19651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19652 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19653 | ||
19654 | wxPyEndAllowThreads(__tstate); | |
19655 | if (PyErr_Occurred()) SWIG_fail; | |
19656 | } | |
19657 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1); | |
19658 | return resultobj; | |
19659 | fail: | |
19660 | return NULL; | |
19661 | } | |
19662 | ||
19663 | ||
19664 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19665 | PyObject *resultobj; | |
19666 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19667 | wxPrintDialogData *result; | |
19668 | PyObject * obj0 = 0 ; | |
19669 | char *kwnames[] = { | |
19670 | (char *) "self", NULL | |
19671 | }; | |
19672 | ||
19673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
19674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19675 | { | |
19676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19677 | { | |
19678 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19679 | result = (wxPrintDialogData *) &_result_ref; | |
19680 | } | |
19681 | ||
19682 | wxPyEndAllowThreads(__tstate); | |
19683 | if (PyErr_Occurred()) SWIG_fail; | |
19684 | } | |
19685 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
19686 | return resultobj; | |
19687 | fail: | |
19688 | return NULL; | |
19689 | } | |
19690 | ||
19691 | ||
19692 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19693 | PyObject *resultobj; | |
19694 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19695 | wxDC *result; | |
19696 | PyObject * obj0 = 0 ; | |
19697 | char *kwnames[] = { | |
19698 | (char *) "self", NULL | |
19699 | }; | |
19700 | ||
19701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
19702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19703 | { | |
19704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19705 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19706 | ||
19707 | wxPyEndAllowThreads(__tstate); | |
19708 | if (PyErr_Occurred()) SWIG_fail; | |
19709 | } | |
19710 | { | |
19711 | resultobj = wxPyMake_wxObject(result); | |
19712 | } | |
19713 | return resultobj; | |
19714 | fail: | |
19715 | return NULL; | |
19716 | } | |
19717 | ||
19718 | ||
19719 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19720 | PyObject *resultobj; | |
19721 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19722 | int result; | |
19723 | PyObject * obj0 = 0 ; | |
19724 | char *kwnames[] = { | |
19725 | (char *) "self", NULL | |
19726 | }; | |
19727 | ||
19728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
19729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19730 | { | |
19731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19732 | result = (int)(arg1)->ShowModal(); | |
19733 | ||
19734 | wxPyEndAllowThreads(__tstate); | |
19735 | if (PyErr_Occurred()) SWIG_fail; | |
19736 | } | |
8edf1c75 | 19737 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
19738 | return resultobj; |
19739 | fail: | |
19740 | return NULL; | |
19741 | } | |
19742 | ||
19743 | ||
19744 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
19745 | PyObject *obj; | |
19746 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19747 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19748 | Py_INCREF(obj); | |
19749 | return Py_BuildValue((char *)""); | |
19750 | } | |
19751 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19752 | PyObject *resultobj; | |
19753 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
19754 | wxPrinter *result; | |
19755 | PyObject * obj0 = 0 ; | |
19756 | char *kwnames[] = { | |
19757 | (char *) "data", NULL | |
19758 | }; | |
19759 | ||
19760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
19761 | if (obj0) { | |
19762 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19763 | } | |
19764 | { | |
19765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19766 | result = (wxPrinter *)new wxPrinter(arg1); | |
19767 | ||
19768 | wxPyEndAllowThreads(__tstate); | |
19769 | if (PyErr_Occurred()) SWIG_fail; | |
19770 | } | |
19771 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1); | |
19772 | return resultobj; | |
19773 | fail: | |
19774 | return NULL; | |
19775 | } | |
19776 | ||
19777 | ||
19778 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19779 | PyObject *resultobj; | |
19780 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19781 | PyObject * obj0 = 0 ; | |
19782 | char *kwnames[] = { | |
19783 | (char *) "self", NULL | |
19784 | }; | |
19785 | ||
19786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
19787 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19788 | { | |
19789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19790 | delete arg1; | |
19791 | ||
19792 | wxPyEndAllowThreads(__tstate); | |
19793 | if (PyErr_Occurred()) SWIG_fail; | |
19794 | } | |
19795 | Py_INCREF(Py_None); resultobj = Py_None; | |
19796 | return resultobj; | |
19797 | fail: | |
19798 | return NULL; | |
19799 | } | |
19800 | ||
19801 | ||
19802 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19803 | PyObject *resultobj; | |
19804 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19805 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19806 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19807 | PyObject * obj0 = 0 ; | |
19808 | PyObject * obj1 = 0 ; | |
19809 | PyObject * obj2 = 0 ; | |
19810 | char *kwnames[] = { | |
19811 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
19812 | }; | |
19813 | ||
19814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19815 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19816 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19817 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19818 | { | |
19819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19820 | (arg1)->CreateAbortWindow(arg2,arg3); | |
19821 | ||
19822 | wxPyEndAllowThreads(__tstate); | |
19823 | if (PyErr_Occurred()) SWIG_fail; | |
19824 | } | |
19825 | Py_INCREF(Py_None); resultobj = Py_None; | |
19826 | return resultobj; | |
19827 | fail: | |
19828 | return NULL; | |
19829 | } | |
19830 | ||
19831 | ||
19832 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19833 | PyObject *resultobj; | |
19834 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19835 | wxPrintDialogData *result; | |
19836 | PyObject * obj0 = 0 ; | |
19837 | char *kwnames[] = { | |
19838 | (char *) "self", NULL | |
19839 | }; | |
19840 | ||
19841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
19842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19843 | { | |
19844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19845 | { | |
19846 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19847 | result = (wxPrintDialogData *) &_result_ref; | |
19848 | } | |
19849 | ||
19850 | wxPyEndAllowThreads(__tstate); | |
19851 | if (PyErr_Occurred()) SWIG_fail; | |
19852 | } | |
19853 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
19854 | return resultobj; | |
19855 | fail: | |
19856 | return NULL; | |
19857 | } | |
19858 | ||
19859 | ||
19860 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19861 | PyObject *resultobj; | |
19862 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19863 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19864 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
423f194a | 19865 | int arg4 = (int) True ; |
d14a1e28 RD |
19866 | bool result; |
19867 | PyObject * obj0 = 0 ; | |
19868 | PyObject * obj1 = 0 ; | |
19869 | PyObject * obj2 = 0 ; | |
8edf1c75 | 19870 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
19871 | char *kwnames[] = { |
19872 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
19873 | }; | |
19874 | ||
8edf1c75 | 19875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
d14a1e28 RD |
19876 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
19877 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19878 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8edf1c75 RD |
19879 | if (obj3) { |
19880 | { | |
19881 | arg4 = (int) SWIG_PyObj_AsInt(obj3); | |
19882 | if (PyErr_Occurred()) SWIG_fail; | |
19883 | } | |
19884 | } | |
d14a1e28 RD |
19885 | { |
19886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19887 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
19888 | ||
19889 | wxPyEndAllowThreads(__tstate); | |
19890 | if (PyErr_Occurred()) SWIG_fail; | |
19891 | } | |
4e760a36 | 19892 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19893 | return resultobj; |
19894 | fail: | |
19895 | return NULL; | |
19896 | } | |
19897 | ||
19898 | ||
19899 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19900 | PyObject *resultobj; | |
19901 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19902 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19903 | wxDC *result; | |
19904 | PyObject * obj0 = 0 ; | |
19905 | PyObject * obj1 = 0 ; | |
19906 | char *kwnames[] = { | |
19907 | (char *) "self",(char *) "parent", NULL | |
19908 | }; | |
19909 | ||
19910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
19911 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19912 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19913 | { | |
19914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19915 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
19916 | ||
19917 | wxPyEndAllowThreads(__tstate); | |
19918 | if (PyErr_Occurred()) SWIG_fail; | |
19919 | } | |
19920 | { | |
19921 | resultobj = wxPyMake_wxObject(result); | |
19922 | } | |
19923 | return resultobj; | |
19924 | fail: | |
19925 | return NULL; | |
19926 | } | |
19927 | ||
19928 | ||
19929 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19930 | PyObject *resultobj; | |
19931 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19932 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19933 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19934 | wxString *arg4 = 0 ; | |
423f194a | 19935 | bool temp4 = False ; |
d14a1e28 RD |
19936 | PyObject * obj0 = 0 ; |
19937 | PyObject * obj1 = 0 ; | |
19938 | PyObject * obj2 = 0 ; | |
19939 | PyObject * obj3 = 0 ; | |
19940 | char *kwnames[] = { | |
19941 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
19942 | }; | |
19943 | ||
19944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
19945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19946 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19947 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19948 | { | |
19949 | arg4 = wxString_in_helper(obj3); | |
19950 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 19951 | temp4 = True; |
d14a1e28 RD |
19952 | } |
19953 | { | |
19954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19955 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
19956 | ||
19957 | wxPyEndAllowThreads(__tstate); | |
19958 | if (PyErr_Occurred()) SWIG_fail; | |
19959 | } | |
19960 | Py_INCREF(Py_None); resultobj = Py_None; | |
19961 | { | |
19962 | if (temp4) | |
19963 | delete arg4; | |
19964 | } | |
19965 | return resultobj; | |
19966 | fail: | |
19967 | { | |
19968 | if (temp4) | |
19969 | delete arg4; | |
19970 | } | |
19971 | return NULL; | |
19972 | } | |
19973 | ||
19974 | ||
19975 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19976 | PyObject *resultobj; | |
19977 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19978 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19979 | bool result; | |
19980 | PyObject * obj0 = 0 ; | |
19981 | PyObject * obj1 = 0 ; | |
19982 | char *kwnames[] = { | |
19983 | (char *) "self",(char *) "parent", NULL | |
19984 | }; | |
19985 | ||
19986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
19987 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19988 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19989 | { | |
19990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19991 | result = (bool)(arg1)->Setup(arg2); | |
19992 | ||
19993 | wxPyEndAllowThreads(__tstate); | |
19994 | if (PyErr_Occurred()) SWIG_fail; | |
19995 | } | |
4e760a36 | 19996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19997 | return resultobj; |
19998 | fail: | |
19999 | return NULL; | |
20000 | } | |
20001 | ||
20002 | ||
20003 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20004 | PyObject *resultobj; | |
20005 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20006 | bool result; | |
20007 | PyObject * obj0 = 0 ; | |
20008 | char *kwnames[] = { | |
20009 | (char *) "self", NULL | |
20010 | }; | |
20011 | ||
20012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
20013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20014 | { | |
20015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20016 | result = (bool)(arg1)->GetAbort(); | |
20017 | ||
20018 | wxPyEndAllowThreads(__tstate); | |
20019 | if (PyErr_Occurred()) SWIG_fail; | |
20020 | } | |
4e760a36 | 20021 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20022 | return resultobj; |
20023 | fail: | |
20024 | return NULL; | |
20025 | } | |
20026 | ||
20027 | ||
20028 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20029 | PyObject *resultobj; | |
20030 | int result; | |
20031 | char *kwnames[] = { | |
20032 | NULL | |
20033 | }; | |
20034 | ||
20035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
20036 | { | |
20037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20038 | result = (int)wxPrinter::GetLastError(); | |
20039 | ||
20040 | wxPyEndAllowThreads(__tstate); | |
20041 | if (PyErr_Occurred()) SWIG_fail; | |
20042 | } | |
8edf1c75 | 20043 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
20044 | return resultobj; |
20045 | fail: | |
20046 | return NULL; | |
20047 | } | |
20048 | ||
20049 | ||
20050 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
20051 | PyObject *obj; | |
20052 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20053 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
20054 | Py_INCREF(obj); | |
20055 | return Py_BuildValue((char *)""); | |
20056 | } | |
20057 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20058 | PyObject *resultobj; | |
20059 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
20060 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
20061 | wxPyPrintout *result; | |
423f194a | 20062 | bool temp1 = False ; |
d14a1e28 RD |
20063 | PyObject * obj0 = 0 ; |
20064 | char *kwnames[] = { | |
20065 | (char *) "title", NULL | |
20066 | }; | |
20067 | ||
20068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
20069 | if (obj0) { | |
20070 | { | |
20071 | arg1 = wxString_in_helper(obj0); | |
20072 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 20073 | temp1 = True; |
d14a1e28 RD |
20074 | } |
20075 | } | |
20076 | { | |
20077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20078 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
20079 | ||
20080 | wxPyEndAllowThreads(__tstate); | |
20081 | if (PyErr_Occurred()) SWIG_fail; | |
20082 | } | |
20083 | { | |
20084 | resultobj = wxPyMake_wxObject(result); | |
20085 | } | |
20086 | { | |
20087 | if (temp1) | |
20088 | delete arg1; | |
20089 | } | |
20090 | return resultobj; | |
20091 | fail: | |
20092 | { | |
20093 | if (temp1) | |
20094 | delete arg1; | |
20095 | } | |
20096 | return NULL; | |
20097 | } | |
20098 | ||
20099 | ||
20100 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20101 | PyObject *resultobj; | |
20102 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20103 | PyObject *arg2 = (PyObject *) 0 ; | |
20104 | PyObject *arg3 = (PyObject *) 0 ; | |
20105 | PyObject * obj0 = 0 ; | |
20106 | PyObject * obj1 = 0 ; | |
20107 | PyObject * obj2 = 0 ; | |
20108 | char *kwnames[] = { | |
20109 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20110 | }; | |
20111 | ||
20112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20114 | arg2 = obj1; | |
20115 | arg3 = obj2; | |
20116 | { | |
20117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20118 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20119 | ||
20120 | wxPyEndAllowThreads(__tstate); | |
20121 | if (PyErr_Occurred()) SWIG_fail; | |
20122 | } | |
20123 | Py_INCREF(Py_None); resultobj = Py_None; | |
20124 | return resultobj; | |
20125 | fail: | |
20126 | return NULL; | |
20127 | } | |
20128 | ||
20129 | ||
20130 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20131 | PyObject *resultobj; | |
20132 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20133 | wxString result; | |
20134 | PyObject * obj0 = 0 ; | |
20135 | char *kwnames[] = { | |
20136 | (char *) "self", NULL | |
20137 | }; | |
20138 | ||
20139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
20140 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20141 | { | |
20142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20143 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
20144 | ||
20145 | wxPyEndAllowThreads(__tstate); | |
20146 | if (PyErr_Occurred()) SWIG_fail; | |
20147 | } | |
20148 | { | |
20149 | #if wxUSE_UNICODE | |
20150 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
20151 | #else | |
20152 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
20153 | #endif | |
20154 | } | |
20155 | return resultobj; | |
20156 | fail: | |
20157 | return NULL; | |
20158 | } | |
20159 | ||
20160 | ||
20161 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20162 | PyObject *resultobj; | |
20163 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20164 | wxDC *result; | |
20165 | PyObject * obj0 = 0 ; | |
20166 | char *kwnames[] = { | |
20167 | (char *) "self", NULL | |
20168 | }; | |
20169 | ||
20170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
20171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20172 | { | |
20173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20174 | result = (wxDC *)(arg1)->GetDC(); | |
20175 | ||
20176 | wxPyEndAllowThreads(__tstate); | |
20177 | if (PyErr_Occurred()) SWIG_fail; | |
20178 | } | |
20179 | { | |
20180 | resultobj = wxPyMake_wxObject(result); | |
20181 | } | |
20182 | return resultobj; | |
20183 | fail: | |
20184 | return NULL; | |
20185 | } | |
20186 | ||
20187 | ||
20188 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20189 | PyObject *resultobj; | |
20190 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20191 | wxDC *arg2 = (wxDC *) 0 ; | |
20192 | PyObject * obj0 = 0 ; | |
20193 | PyObject * obj1 = 0 ; | |
20194 | char *kwnames[] = { | |
20195 | (char *) "self",(char *) "dc", NULL | |
20196 | }; | |
20197 | ||
20198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
20199 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20200 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20201 | { | |
20202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20203 | (arg1)->SetDC(arg2); | |
20204 | ||
20205 | wxPyEndAllowThreads(__tstate); | |
20206 | if (PyErr_Occurred()) SWIG_fail; | |
20207 | } | |
20208 | Py_INCREF(Py_None); resultobj = Py_None; | |
20209 | return resultobj; | |
20210 | fail: | |
20211 | return NULL; | |
20212 | } | |
20213 | ||
20214 | ||
44127b65 | 20215 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20216 | PyObject *resultobj; |
20217 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
20218 | int arg2 ; |
20219 | int arg3 ; | |
d14a1e28 | 20220 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
20221 | PyObject * obj1 = 0 ; |
20222 | PyObject * obj2 = 0 ; | |
d14a1e28 | 20223 | char *kwnames[] = { |
44127b65 | 20224 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
20225 | }; |
20226 | ||
8edf1c75 | 20227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20229 | { |
20230 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20231 | if (PyErr_Occurred()) SWIG_fail; | |
20232 | } | |
20233 | { | |
20234 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20235 | if (PyErr_Occurred()) SWIG_fail; | |
20236 | } | |
d14a1e28 RD |
20237 | { |
20238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 20239 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20240 | |
20241 | wxPyEndAllowThreads(__tstate); | |
20242 | if (PyErr_Occurred()) SWIG_fail; | |
20243 | } | |
20244 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
20245 | return resultobj; |
20246 | fail: | |
20247 | return NULL; | |
20248 | } | |
20249 | ||
20250 | ||
44127b65 | 20251 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20252 | PyObject *resultobj; |
20253 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
20254 | int *arg2 = (int *) 0 ; |
20255 | int *arg3 = (int *) 0 ; | |
20256 | int temp2 ; | |
20257 | int temp3 ; | |
d14a1e28 RD |
20258 | PyObject * obj0 = 0 ; |
20259 | char *kwnames[] = { | |
44127b65 | 20260 | (char *) "self", NULL |
d14a1e28 RD |
20261 | }; |
20262 | ||
44127b65 RD |
20263 | arg2 = &temp2; |
20264 | arg3 = &temp3; | |
20265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
d14a1e28 RD |
20266 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20267 | { | |
20268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 20269 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20270 | |
20271 | wxPyEndAllowThreads(__tstate); | |
20272 | if (PyErr_Occurred()) SWIG_fail; | |
20273 | } | |
20274 | Py_INCREF(Py_None); resultobj = Py_None; | |
44127b65 RD |
20275 | { |
20276 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20277 | resultobj = t_output_helper(resultobj,o); | |
20278 | } | |
20279 | { | |
20280 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20281 | resultobj = t_output_helper(resultobj,o); | |
20282 | } | |
d14a1e28 RD |
20283 | return resultobj; |
20284 | fail: | |
20285 | return NULL; | |
20286 | } | |
20287 | ||
20288 | ||
20289 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20290 | PyObject *resultobj; | |
20291 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20292 | int arg2 ; | |
20293 | int arg3 ; | |
20294 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20295 | PyObject * obj1 = 0 ; |
20296 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20297 | char *kwnames[] = { |
20298 | (char *) "self",(char *) "w",(char *) "h", NULL | |
20299 | }; | |
20300 | ||
8edf1c75 | 20301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20302 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20303 | { |
20304 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20305 | if (PyErr_Occurred()) SWIG_fail; | |
20306 | } | |
20307 | { | |
20308 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20309 | if (PyErr_Occurred()) SWIG_fail; | |
20310 | } | |
d14a1e28 RD |
20311 | { |
20312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20313 | (arg1)->SetPageSizeMM(arg2,arg3); | |
20314 | ||
20315 | wxPyEndAllowThreads(__tstate); | |
20316 | if (PyErr_Occurred()) SWIG_fail; | |
20317 | } | |
20318 | Py_INCREF(Py_None); resultobj = Py_None; | |
20319 | return resultobj; | |
20320 | fail: | |
20321 | return NULL; | |
20322 | } | |
20323 | ||
20324 | ||
20325 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20326 | PyObject *resultobj; | |
20327 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20328 | int *arg2 = (int *) 0 ; | |
20329 | int *arg3 = (int *) 0 ; | |
20330 | int temp2 ; | |
20331 | int temp3 ; | |
20332 | PyObject * obj0 = 0 ; | |
20333 | char *kwnames[] = { | |
20334 | (char *) "self", NULL | |
20335 | }; | |
20336 | ||
20337 | arg2 = &temp2; | |
20338 | arg3 = &temp3; | |
20339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
20340 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20341 | { | |
20342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20343 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20344 | ||
20345 | wxPyEndAllowThreads(__tstate); | |
20346 | if (PyErr_Occurred()) SWIG_fail; | |
20347 | } | |
20348 | Py_INCREF(Py_None); resultobj = Py_None; | |
20349 | { | |
20350 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20351 | resultobj = t_output_helper(resultobj,o); | |
20352 | } | |
20353 | { | |
20354 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20355 | resultobj = t_output_helper(resultobj,o); | |
20356 | } | |
20357 | return resultobj; | |
20358 | fail: | |
20359 | return NULL; | |
20360 | } | |
20361 | ||
20362 | ||
20363 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20364 | PyObject *resultobj; | |
20365 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20366 | int arg2 ; | |
20367 | int arg3 ; | |
20368 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20369 | PyObject * obj1 = 0 ; |
20370 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20371 | char *kwnames[] = { |
20372 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20373 | }; | |
20374 | ||
8edf1c75 | 20375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20376 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20377 | { |
20378 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20379 | if (PyErr_Occurred()) SWIG_fail; | |
20380 | } | |
20381 | { | |
20382 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20383 | if (PyErr_Occurred()) SWIG_fail; | |
20384 | } | |
d14a1e28 RD |
20385 | { |
20386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20387 | (arg1)->SetPPIScreen(arg2,arg3); | |
20388 | ||
20389 | wxPyEndAllowThreads(__tstate); | |
20390 | if (PyErr_Occurred()) SWIG_fail; | |
20391 | } | |
20392 | Py_INCREF(Py_None); resultobj = Py_None; | |
20393 | return resultobj; | |
20394 | fail: | |
20395 | return NULL; | |
20396 | } | |
20397 | ||
20398 | ||
20399 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20400 | PyObject *resultobj; | |
20401 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20402 | int *arg2 = (int *) 0 ; | |
20403 | int *arg3 = (int *) 0 ; | |
20404 | int temp2 ; | |
20405 | int temp3 ; | |
20406 | PyObject * obj0 = 0 ; | |
20407 | char *kwnames[] = { | |
20408 | (char *) "self", NULL | |
20409 | }; | |
20410 | ||
20411 | arg2 = &temp2; | |
20412 | arg3 = &temp3; | |
20413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
20414 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20415 | { | |
20416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20417 | (arg1)->GetPPIScreen(arg2,arg3); | |
20418 | ||
20419 | wxPyEndAllowThreads(__tstate); | |
20420 | if (PyErr_Occurred()) SWIG_fail; | |
20421 | } | |
20422 | Py_INCREF(Py_None); resultobj = Py_None; | |
20423 | { | |
20424 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20425 | resultobj = t_output_helper(resultobj,o); | |
20426 | } | |
20427 | { | |
20428 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20429 | resultobj = t_output_helper(resultobj,o); | |
20430 | } | |
20431 | return resultobj; | |
20432 | fail: | |
20433 | return NULL; | |
20434 | } | |
20435 | ||
20436 | ||
20437 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20438 | PyObject *resultobj; | |
20439 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20440 | int arg2 ; | |
20441 | int arg3 ; | |
20442 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20443 | PyObject * obj1 = 0 ; |
20444 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20445 | char *kwnames[] = { |
20446 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20447 | }; | |
20448 | ||
8edf1c75 | 20449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20451 | { |
20452 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20453 | if (PyErr_Occurred()) SWIG_fail; | |
20454 | } | |
20455 | { | |
20456 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20457 | if (PyErr_Occurred()) SWIG_fail; | |
20458 | } | |
d14a1e28 RD |
20459 | { |
20460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20461 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20462 | ||
20463 | wxPyEndAllowThreads(__tstate); | |
20464 | if (PyErr_Occurred()) SWIG_fail; | |
20465 | } | |
20466 | Py_INCREF(Py_None); resultobj = Py_None; | |
20467 | return resultobj; | |
20468 | fail: | |
20469 | return NULL; | |
20470 | } | |
20471 | ||
20472 | ||
20473 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20474 | PyObject *resultobj; | |
20475 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20476 | int *arg2 = (int *) 0 ; | |
20477 | int *arg3 = (int *) 0 ; | |
20478 | int temp2 ; | |
20479 | int temp3 ; | |
20480 | PyObject * obj0 = 0 ; | |
20481 | char *kwnames[] = { | |
20482 | (char *) "self", NULL | |
20483 | }; | |
20484 | ||
20485 | arg2 = &temp2; | |
20486 | arg3 = &temp3; | |
20487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
20488 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20489 | { | |
20490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20491 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20492 | ||
20493 | wxPyEndAllowThreads(__tstate); | |
20494 | if (PyErr_Occurred()) SWIG_fail; | |
20495 | } | |
20496 | Py_INCREF(Py_None); resultobj = Py_None; | |
20497 | { | |
20498 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20499 | resultobj = t_output_helper(resultobj,o); | |
20500 | } | |
20501 | { | |
20502 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20503 | resultobj = t_output_helper(resultobj,o); | |
20504 | } | |
20505 | return resultobj; | |
20506 | fail: | |
20507 | return NULL; | |
20508 | } | |
20509 | ||
20510 | ||
20511 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20512 | PyObject *resultobj; | |
20513 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20514 | bool result; | |
20515 | PyObject * obj0 = 0 ; | |
20516 | char *kwnames[] = { | |
20517 | (char *) "self", NULL | |
20518 | }; | |
20519 | ||
20520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
20521 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20522 | { | |
20523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20524 | result = (bool)(arg1)->IsPreview(); | |
20525 | ||
20526 | wxPyEndAllowThreads(__tstate); | |
20527 | if (PyErr_Occurred()) SWIG_fail; | |
20528 | } | |
4e760a36 | 20529 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20530 | return resultobj; |
20531 | fail: | |
20532 | return NULL; | |
20533 | } | |
20534 | ||
20535 | ||
20536 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20537 | PyObject *resultobj; | |
20538 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20539 | bool arg2 ; | |
20540 | PyObject * obj0 = 0 ; | |
20541 | PyObject * obj1 = 0 ; | |
20542 | char *kwnames[] = { | |
20543 | (char *) "self",(char *) "p", NULL | |
20544 | }; | |
20545 | ||
20546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
20547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 20548 | { |
8edf1c75 | 20549 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
20550 | if (PyErr_Occurred()) SWIG_fail; |
20551 | } | |
d14a1e28 RD |
20552 | { |
20553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20554 | (arg1)->SetIsPreview(arg2); | |
20555 | ||
20556 | wxPyEndAllowThreads(__tstate); | |
20557 | if (PyErr_Occurred()) SWIG_fail; | |
20558 | } | |
20559 | Py_INCREF(Py_None); resultobj = Py_None; | |
20560 | return resultobj; | |
20561 | fail: | |
20562 | return NULL; | |
20563 | } | |
20564 | ||
20565 | ||
20566 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20567 | PyObject *resultobj; | |
20568 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20569 | int arg2 ; | |
20570 | int arg3 ; | |
20571 | bool result; | |
20572 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20573 | PyObject * obj1 = 0 ; |
20574 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20575 | char *kwnames[] = { |
20576 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20577 | }; | |
20578 | ||
8edf1c75 | 20579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
d14a1e28 | 20580 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20581 | { |
20582 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20583 | if (PyErr_Occurred()) SWIG_fail; | |
20584 | } | |
20585 | { | |
20586 | arg3 = (int) SWIG_PyObj_AsInt(obj2); | |
20587 | if (PyErr_Occurred()) SWIG_fail; | |
20588 | } | |
d14a1e28 RD |
20589 | { |
20590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20591 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20592 | ||
20593 | wxPyEndAllowThreads(__tstate); | |
20594 | if (PyErr_Occurred()) SWIG_fail; | |
20595 | } | |
4e760a36 | 20596 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20597 | return resultobj; |
20598 | fail: | |
20599 | return NULL; | |
20600 | } | |
20601 | ||
20602 | ||
20603 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20604 | PyObject *resultobj; | |
20605 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20606 | PyObject * obj0 = 0 ; | |
20607 | char *kwnames[] = { | |
20608 | (char *) "self", NULL | |
20609 | }; | |
20610 | ||
20611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
20612 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20613 | { | |
20614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20615 | (arg1)->base_OnEndDocument(); | |
20616 | ||
20617 | wxPyEndAllowThreads(__tstate); | |
20618 | if (PyErr_Occurred()) SWIG_fail; | |
20619 | } | |
20620 | Py_INCREF(Py_None); resultobj = Py_None; | |
20621 | return resultobj; | |
20622 | fail: | |
20623 | return NULL; | |
20624 | } | |
20625 | ||
20626 | ||
20627 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20628 | PyObject *resultobj; | |
20629 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20630 | PyObject * obj0 = 0 ; | |
20631 | char *kwnames[] = { | |
20632 | (char *) "self", NULL | |
20633 | }; | |
20634 | ||
20635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
20636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20637 | { | |
20638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20639 | (arg1)->base_OnBeginPrinting(); | |
20640 | ||
20641 | wxPyEndAllowThreads(__tstate); | |
20642 | if (PyErr_Occurred()) SWIG_fail; | |
20643 | } | |
20644 | Py_INCREF(Py_None); resultobj = Py_None; | |
20645 | return resultobj; | |
20646 | fail: | |
20647 | return NULL; | |
20648 | } | |
20649 | ||
20650 | ||
20651 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20652 | PyObject *resultobj; | |
20653 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20654 | PyObject * obj0 = 0 ; | |
20655 | char *kwnames[] = { | |
20656 | (char *) "self", NULL | |
20657 | }; | |
20658 | ||
20659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
20660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20661 | { | |
20662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20663 | (arg1)->base_OnEndPrinting(); | |
20664 | ||
20665 | wxPyEndAllowThreads(__tstate); | |
20666 | if (PyErr_Occurred()) SWIG_fail; | |
20667 | } | |
20668 | Py_INCREF(Py_None); resultobj = Py_None; | |
20669 | return resultobj; | |
20670 | fail: | |
20671 | return NULL; | |
20672 | } | |
20673 | ||
20674 | ||
20675 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20676 | PyObject *resultobj; | |
20677 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20678 | PyObject * obj0 = 0 ; | |
20679 | char *kwnames[] = { | |
20680 | (char *) "self", NULL | |
20681 | }; | |
20682 | ||
20683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
20684 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20685 | { | |
20686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20687 | (arg1)->base_OnPreparePrinting(); | |
20688 | ||
20689 | wxPyEndAllowThreads(__tstate); | |
20690 | if (PyErr_Occurred()) SWIG_fail; | |
20691 | } | |
20692 | Py_INCREF(Py_None); resultobj = Py_None; | |
20693 | return resultobj; | |
20694 | fail: | |
20695 | return NULL; | |
20696 | } | |
20697 | ||
20698 | ||
44127b65 RD |
20699 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
20700 | PyObject *resultobj; | |
20701 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20702 | int arg2 ; | |
20703 | bool result; | |
20704 | PyObject * obj0 = 0 ; | |
8edf1c75 | 20705 | PyObject * obj1 = 0 ; |
44127b65 RD |
20706 | char *kwnames[] = { |
20707 | (char *) "self",(char *) "page", NULL | |
20708 | }; | |
20709 | ||
8edf1c75 | 20710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
44127b65 | 20711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
20712 | { |
20713 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
20714 | if (PyErr_Occurred()) SWIG_fail; | |
20715 | } | |
44127b65 RD |
20716 | { |
20717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20718 | result = (bool)(arg1)->base_HasPage(arg2); | |
20719 | ||
20720 | wxPyEndAllowThreads(__tstate); | |
20721 | if (PyErr_Occurred()) SWIG_fail; | |
20722 | } | |
4e760a36 | 20723 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
44127b65 RD |
20724 | return resultobj; |
20725 | fail: | |
20726 | return NULL; | |
20727 | } | |
20728 | ||
20729 | ||
d14a1e28 RD |
20730 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
20731 | PyObject *resultobj; | |
20732 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20733 | int *arg2 = (int *) 0 ; | |
20734 | int *arg3 = (int *) 0 ; | |
20735 | int *arg4 = (int *) 0 ; | |
20736 | int *arg5 = (int *) 0 ; | |
20737 | int temp2 ; | |
20738 | int temp3 ; | |
20739 | int temp4 ; | |
20740 | int temp5 ; | |
20741 | PyObject * obj0 = 0 ; | |
20742 | char *kwnames[] = { | |
20743 | (char *) "self", NULL | |
20744 | }; | |
20745 | ||
20746 | arg2 = &temp2; | |
20747 | arg3 = &temp3; | |
20748 | arg4 = &temp4; | |
20749 | arg5 = &temp5; | |
20750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
20751 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20752 | { | |
20753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20754 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
20755 | ||
20756 | wxPyEndAllowThreads(__tstate); | |
20757 | if (PyErr_Occurred()) SWIG_fail; | |
20758 | } | |
20759 | Py_INCREF(Py_None); resultobj = Py_None; | |
20760 | { | |
20761 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20762 | resultobj = t_output_helper(resultobj,o); | |
20763 | } | |
20764 | { | |
20765 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20766 | resultobj = t_output_helper(resultobj,o); | |
20767 | } | |
20768 | { | |
20769 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
20770 | resultobj = t_output_helper(resultobj,o); | |
20771 | } | |
20772 | { | |
20773 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
20774 | resultobj = t_output_helper(resultobj,o); | |
20775 | } | |
20776 | return resultobj; | |
20777 | fail: | |
20778 | return NULL; | |
20779 | } | |
20780 | ||
20781 | ||
d14a1e28 RD |
20782 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
20783 | PyObject *obj; | |
20784 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20785 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
20786 | Py_INCREF(obj); | |
20787 | return Py_BuildValue((char *)""); | |
20788 | } | |
20789 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20790 | PyObject *resultobj; | |
20791 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20792 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20793 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
20794 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
20795 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
20796 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
20797 | long arg5 = (long) 0 ; | |
20798 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
20799 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
20800 | wxPreviewCanvas *result; | |
20801 | wxPoint temp3 ; | |
20802 | wxSize temp4 ; | |
423f194a | 20803 | bool temp6 = False ; |
d14a1e28 RD |
20804 | PyObject * obj0 = 0 ; |
20805 | PyObject * obj1 = 0 ; | |
20806 | PyObject * obj2 = 0 ; | |
20807 | PyObject * obj3 = 0 ; | |
8edf1c75 | 20808 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
20809 | PyObject * obj5 = 0 ; |
20810 | char *kwnames[] = { | |
20811 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20812 | }; | |
20813 | ||
8edf1c75 | 20814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
d14a1e28 RD |
20815 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20816 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20817 | if (obj2) { | |
20818 | { | |
20819 | arg3 = &temp3; | |
20820 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20821 | } | |
20822 | } | |
20823 | if (obj3) { | |
20824 | { | |
20825 | arg4 = &temp4; | |
20826 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20827 | } | |
20828 | } | |
8edf1c75 RD |
20829 | if (obj4) { |
20830 | { | |
20831 | arg5 = (long) SWIG_PyObj_AsLong(obj4); | |
20832 | if (PyErr_Occurred()) SWIG_fail; | |
20833 | } | |
20834 | } | |
d14a1e28 RD |
20835 | if (obj5) { |
20836 | { | |
20837 | arg6 = wxString_in_helper(obj5); | |
20838 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 20839 | temp6 = True; |
d14a1e28 RD |
20840 | } |
20841 | } | |
20842 | { | |
20843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20844 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20845 | ||
20846 | wxPyEndAllowThreads(__tstate); | |
20847 | if (PyErr_Occurred()) SWIG_fail; | |
20848 | } | |
20849 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1); | |
20850 | { | |
20851 | if (temp6) | |
20852 | delete arg6; | |
20853 | } | |
20854 | return resultobj; | |
20855 | fail: | |
20856 | { | |
20857 | if (temp6) | |
20858 | delete arg6; | |
20859 | } | |
20860 | return NULL; | |
20861 | } | |
20862 | ||
20863 | ||
20864 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
20865 | PyObject *obj; | |
20866 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20867 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
20868 | Py_INCREF(obj); | |
20869 | return Py_BuildValue((char *)""); | |
20870 | } | |
20871 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20872 | PyObject *resultobj; | |
20873 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20874 | wxFrame *arg2 = (wxFrame *) 0 ; | |
20875 | wxString *arg3 = 0 ; | |
20876 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20877 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20878 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20879 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20880 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
20881 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
20882 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20883 | wxPreviewFrame *result; | |
423f194a | 20884 | bool temp3 = False ; |
d14a1e28 RD |
20885 | wxPoint temp4 ; |
20886 | wxSize temp5 ; | |
423f194a | 20887 | bool temp7 = False ; |
d14a1e28 RD |
20888 | PyObject * obj0 = 0 ; |
20889 | PyObject * obj1 = 0 ; | |
20890 | PyObject * obj2 = 0 ; | |
20891 | PyObject * obj3 = 0 ; | |
20892 | PyObject * obj4 = 0 ; | |
8edf1c75 | 20893 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20894 | PyObject * obj6 = 0 ; |
20895 | char *kwnames[] = { | |
20896 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20897 | }; | |
20898 | ||
8edf1c75 | 20899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
20900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
20901 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20902 | { | |
20903 | arg3 = wxString_in_helper(obj2); | |
20904 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 20905 | temp3 = True; |
d14a1e28 RD |
20906 | } |
20907 | if (obj3) { | |
20908 | { | |
20909 | arg4 = &temp4; | |
20910 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20911 | } | |
20912 | } | |
20913 | if (obj4) { | |
20914 | { | |
20915 | arg5 = &temp5; | |
20916 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20917 | } | |
20918 | } | |
8edf1c75 RD |
20919 | if (obj5) { |
20920 | { | |
20921 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
20922 | if (PyErr_Occurred()) SWIG_fail; | |
20923 | } | |
20924 | } | |
d14a1e28 RD |
20925 | if (obj6) { |
20926 | { | |
20927 | arg7 = wxString_in_helper(obj6); | |
20928 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 20929 | temp7 = True; |
d14a1e28 RD |
20930 | } |
20931 | } | |
20932 | { | |
20933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20934 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20935 | ||
20936 | wxPyEndAllowThreads(__tstate); | |
20937 | if (PyErr_Occurred()) SWIG_fail; | |
20938 | } | |
20939 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1); | |
20940 | { | |
20941 | if (temp3) | |
20942 | delete arg3; | |
20943 | } | |
20944 | { | |
20945 | if (temp7) | |
20946 | delete arg7; | |
20947 | } | |
20948 | return resultobj; | |
20949 | fail: | |
20950 | { | |
20951 | if (temp3) | |
20952 | delete arg3; | |
20953 | } | |
20954 | { | |
20955 | if (temp7) | |
20956 | delete arg7; | |
20957 | } | |
20958 | return NULL; | |
20959 | } | |
20960 | ||
20961 | ||
20962 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20963 | PyObject *resultobj; | |
20964 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20965 | PyObject * obj0 = 0 ; | |
20966 | char *kwnames[] = { | |
20967 | (char *) "self", NULL | |
20968 | }; | |
20969 | ||
20970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
20971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20972 | { | |
20973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20974 | (arg1)->Initialize(); | |
20975 | ||
20976 | wxPyEndAllowThreads(__tstate); | |
20977 | if (PyErr_Occurred()) SWIG_fail; | |
20978 | } | |
20979 | Py_INCREF(Py_None); resultobj = Py_None; | |
20980 | return resultobj; | |
20981 | fail: | |
20982 | return NULL; | |
20983 | } | |
20984 | ||
20985 | ||
20986 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20987 | PyObject *resultobj; | |
20988 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20989 | PyObject * obj0 = 0 ; | |
20990 | char *kwnames[] = { | |
20991 | (char *) "self", NULL | |
20992 | }; | |
20993 | ||
20994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
20995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20996 | { | |
20997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20998 | (arg1)->CreateControlBar(); | |
20999 | ||
21000 | wxPyEndAllowThreads(__tstate); | |
21001 | if (PyErr_Occurred()) SWIG_fail; | |
21002 | } | |
21003 | Py_INCREF(Py_None); resultobj = Py_None; | |
21004 | return resultobj; | |
21005 | fail: | |
21006 | return NULL; | |
21007 | } | |
21008 | ||
21009 | ||
21010 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21011 | PyObject *resultobj; | |
21012 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21013 | PyObject * obj0 = 0 ; | |
21014 | char *kwnames[] = { | |
21015 | (char *) "self", NULL | |
21016 | }; | |
21017 | ||
21018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
21019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21020 | { | |
21021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21022 | (arg1)->CreateCanvas(); | |
21023 | ||
21024 | wxPyEndAllowThreads(__tstate); | |
21025 | if (PyErr_Occurred()) SWIG_fail; | |
21026 | } | |
21027 | Py_INCREF(Py_None); resultobj = Py_None; | |
21028 | return resultobj; | |
21029 | fail: | |
21030 | return NULL; | |
21031 | } | |
21032 | ||
21033 | ||
21034 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21035 | PyObject *resultobj; | |
21036 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21037 | wxPreviewControlBar *result; | |
21038 | PyObject * obj0 = 0 ; | |
21039 | char *kwnames[] = { | |
21040 | (char *) "self", NULL | |
21041 | }; | |
21042 | ||
21043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
21044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21045 | { | |
21046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21047 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
21048 | ||
21049 | wxPyEndAllowThreads(__tstate); | |
21050 | if (PyErr_Occurred()) SWIG_fail; | |
21051 | } | |
21052 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0); | |
21053 | return resultobj; | |
21054 | fail: | |
21055 | return NULL; | |
21056 | } | |
21057 | ||
21058 | ||
21059 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
21060 | PyObject *obj; | |
21061 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21062 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
21063 | Py_INCREF(obj); | |
21064 | return Py_BuildValue((char *)""); | |
21065 | } | |
21066 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21067 | PyObject *resultobj; | |
21068 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21069 | long arg2 ; | |
21070 | wxWindow *arg3 = (wxWindow *) 0 ; | |
21071 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21072 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21073 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21074 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21075 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
21076 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
21077 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21078 | wxPreviewControlBar *result; | |
21079 | wxPoint temp4 ; | |
21080 | wxSize temp5 ; | |
423f194a | 21081 | bool temp7 = False ; |
d14a1e28 | 21082 | PyObject * obj0 = 0 ; |
8edf1c75 | 21083 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21084 | PyObject * obj2 = 0 ; |
21085 | PyObject * obj3 = 0 ; | |
21086 | PyObject * obj4 = 0 ; | |
8edf1c75 | 21087 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21088 | PyObject * obj6 = 0 ; |
21089 | char *kwnames[] = { | |
21090 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21091 | }; | |
21092 | ||
8edf1c75 | 21093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 21094 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
21095 | { |
21096 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
21097 | if (PyErr_Occurred()) SWIG_fail; | |
21098 | } | |
d14a1e28 RD |
21099 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
21100 | if (obj3) { | |
21101 | { | |
21102 | arg4 = &temp4; | |
21103 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21104 | } | |
21105 | } | |
21106 | if (obj4) { | |
21107 | { | |
21108 | arg5 = &temp5; | |
21109 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21110 | } | |
21111 | } | |
8edf1c75 RD |
21112 | if (obj5) { |
21113 | { | |
21114 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
21115 | if (PyErr_Occurred()) SWIG_fail; | |
21116 | } | |
21117 | } | |
d14a1e28 RD |
21118 | if (obj6) { |
21119 | { | |
21120 | arg7 = wxString_in_helper(obj6); | |
21121 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 21122 | temp7 = True; |
d14a1e28 RD |
21123 | } |
21124 | } | |
21125 | { | |
21126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21127 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21128 | ||
21129 | wxPyEndAllowThreads(__tstate); | |
21130 | if (PyErr_Occurred()) SWIG_fail; | |
21131 | } | |
21132 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1); | |
21133 | { | |
21134 | if (temp7) | |
21135 | delete arg7; | |
21136 | } | |
21137 | return resultobj; | |
21138 | fail: | |
21139 | { | |
21140 | if (temp7) | |
21141 | delete arg7; | |
21142 | } | |
21143 | return NULL; | |
21144 | } | |
21145 | ||
21146 | ||
21147 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21148 | PyObject *resultobj; | |
21149 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21150 | int result; | |
21151 | PyObject * obj0 = 0 ; | |
21152 | char *kwnames[] = { | |
21153 | (char *) "self", NULL | |
21154 | }; | |
21155 | ||
21156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
21157 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21158 | { | |
21159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21160 | result = (int)(arg1)->GetZoomControl(); | |
21161 | ||
21162 | wxPyEndAllowThreads(__tstate); | |
21163 | if (PyErr_Occurred()) SWIG_fail; | |
21164 | } | |
8edf1c75 | 21165 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21166 | return resultobj; |
21167 | fail: | |
21168 | return NULL; | |
21169 | } | |
21170 | ||
21171 | ||
21172 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21173 | PyObject *resultobj; | |
21174 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21175 | int arg2 ; | |
21176 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21177 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21178 | char *kwnames[] = { |
21179 | (char *) "self",(char *) "zoom", NULL | |
21180 | }; | |
21181 | ||
8edf1c75 | 21182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
21184 | { |
21185 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21186 | if (PyErr_Occurred()) SWIG_fail; | |
21187 | } | |
d14a1e28 RD |
21188 | { |
21189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21190 | (arg1)->SetZoomControl(arg2); | |
21191 | ||
21192 | wxPyEndAllowThreads(__tstate); | |
21193 | if (PyErr_Occurred()) SWIG_fail; | |
21194 | } | |
21195 | Py_INCREF(Py_None); resultobj = Py_None; | |
21196 | return resultobj; | |
21197 | fail: | |
21198 | return NULL; | |
21199 | } | |
21200 | ||
21201 | ||
21202 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21203 | PyObject *resultobj; | |
21204 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21205 | wxPrintPreview *result; | |
21206 | PyObject * obj0 = 0 ; | |
21207 | char *kwnames[] = { | |
21208 | (char *) "self", NULL | |
21209 | }; | |
21210 | ||
21211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
21212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21213 | { | |
21214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21215 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
21216 | ||
21217 | wxPyEndAllowThreads(__tstate); | |
21218 | if (PyErr_Occurred()) SWIG_fail; | |
21219 | } | |
21220 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0); | |
21221 | return resultobj; | |
21222 | fail: | |
21223 | return NULL; | |
21224 | } | |
21225 | ||
21226 | ||
21227 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21228 | PyObject *resultobj; | |
21229 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21230 | PyObject * obj0 = 0 ; | |
21231 | char *kwnames[] = { | |
21232 | (char *) "self", NULL | |
21233 | }; | |
21234 | ||
21235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
21236 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21237 | { | |
21238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21239 | (arg1)->OnNext(); | |
21240 | ||
21241 | wxPyEndAllowThreads(__tstate); | |
21242 | if (PyErr_Occurred()) SWIG_fail; | |
21243 | } | |
21244 | Py_INCREF(Py_None); resultobj = Py_None; | |
21245 | return resultobj; | |
21246 | fail: | |
21247 | return NULL; | |
21248 | } | |
21249 | ||
21250 | ||
21251 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21252 | PyObject *resultobj; | |
21253 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21254 | PyObject * obj0 = 0 ; | |
21255 | char *kwnames[] = { | |
21256 | (char *) "self", NULL | |
21257 | }; | |
21258 | ||
21259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
21260 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21261 | { | |
21262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21263 | (arg1)->OnPrevious(); | |
21264 | ||
21265 | wxPyEndAllowThreads(__tstate); | |
21266 | if (PyErr_Occurred()) SWIG_fail; | |
21267 | } | |
21268 | Py_INCREF(Py_None); resultobj = Py_None; | |
21269 | return resultobj; | |
21270 | fail: | |
21271 | return NULL; | |
21272 | } | |
21273 | ||
21274 | ||
21275 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21276 | PyObject *resultobj; | |
21277 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21278 | PyObject * obj0 = 0 ; | |
21279 | char *kwnames[] = { | |
21280 | (char *) "self", NULL | |
21281 | }; | |
21282 | ||
21283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
21284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21285 | { | |
21286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21287 | (arg1)->OnFirst(); | |
21288 | ||
21289 | wxPyEndAllowThreads(__tstate); | |
21290 | if (PyErr_Occurred()) SWIG_fail; | |
21291 | } | |
21292 | Py_INCREF(Py_None); resultobj = Py_None; | |
21293 | return resultobj; | |
21294 | fail: | |
21295 | return NULL; | |
21296 | } | |
21297 | ||
21298 | ||
21299 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21300 | PyObject *resultobj; | |
21301 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21302 | PyObject * obj0 = 0 ; | |
21303 | char *kwnames[] = { | |
21304 | (char *) "self", NULL | |
21305 | }; | |
21306 | ||
21307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
21308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21309 | { | |
21310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21311 | (arg1)->OnLast(); | |
21312 | ||
21313 | wxPyEndAllowThreads(__tstate); | |
21314 | if (PyErr_Occurred()) SWIG_fail; | |
21315 | } | |
21316 | Py_INCREF(Py_None); resultobj = Py_None; | |
21317 | return resultobj; | |
21318 | fail: | |
21319 | return NULL; | |
21320 | } | |
21321 | ||
21322 | ||
21323 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21324 | PyObject *resultobj; | |
21325 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21326 | PyObject * obj0 = 0 ; | |
21327 | char *kwnames[] = { | |
21328 | (char *) "self", NULL | |
21329 | }; | |
21330 | ||
21331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
21332 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21333 | { | |
21334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21335 | (arg1)->OnGoto(); | |
21336 | ||
21337 | wxPyEndAllowThreads(__tstate); | |
21338 | if (PyErr_Occurred()) SWIG_fail; | |
21339 | } | |
21340 | Py_INCREF(Py_None); resultobj = Py_None; | |
21341 | return resultobj; | |
21342 | fail: | |
21343 | return NULL; | |
21344 | } | |
21345 | ||
21346 | ||
21347 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21348 | PyObject *obj; | |
21349 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21350 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21351 | Py_INCREF(obj); | |
21352 | return Py_BuildValue((char *)""); | |
21353 | } | |
21354 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21355 | PyObject *resultobj; | |
21356 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21357 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21358 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
21359 | wxPrintPreview *result; | |
21360 | PyObject * obj0 = 0 ; | |
21361 | PyObject * obj1 = 0 ; | |
21362 | PyObject * obj2 = 0 ; | |
21363 | char *kwnames[] = { | |
21364 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
21365 | }; | |
21366 | ||
21367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21369 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21370 | if (obj2) { | |
21371 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21372 | } | |
21373 | { | |
21374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21375 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21376 | ||
21377 | wxPyEndAllowThreads(__tstate); | |
21378 | if (PyErr_Occurred()) SWIG_fail; | |
21379 | } | |
21380 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1); | |
21381 | return resultobj; | |
21382 | fail: | |
21383 | return NULL; | |
21384 | } | |
21385 | ||
21386 | ||
21387 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21388 | PyObject *resultobj; | |
21389 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21390 | int arg2 ; | |
21391 | bool result; | |
21392 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21393 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21394 | char *kwnames[] = { |
21395 | (char *) "self",(char *) "pageNum", NULL | |
21396 | }; | |
21397 | ||
8edf1c75 | 21398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21399 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
21400 | { |
21401 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21402 | if (PyErr_Occurred()) SWIG_fail; | |
21403 | } | |
d14a1e28 RD |
21404 | { |
21405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21406 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21407 | ||
21408 | wxPyEndAllowThreads(__tstate); | |
21409 | if (PyErr_Occurred()) SWIG_fail; | |
21410 | } | |
4e760a36 | 21411 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21412 | return resultobj; |
21413 | fail: | |
21414 | return NULL; | |
21415 | } | |
21416 | ||
21417 | ||
21418 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21419 | PyObject *resultobj; | |
21420 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21421 | int result; | |
21422 | PyObject * obj0 = 0 ; | |
21423 | char *kwnames[] = { | |
21424 | (char *) "self", NULL | |
21425 | }; | |
21426 | ||
21427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
21428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21429 | { | |
21430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21431 | result = (int)(arg1)->GetCurrentPage(); | |
21432 | ||
21433 | wxPyEndAllowThreads(__tstate); | |
21434 | if (PyErr_Occurred()) SWIG_fail; | |
21435 | } | |
8edf1c75 | 21436 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21437 | return resultobj; |
21438 | fail: | |
21439 | return NULL; | |
21440 | } | |
21441 | ||
21442 | ||
21443 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21444 | PyObject *resultobj; | |
21445 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21446 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21447 | PyObject * obj0 = 0 ; | |
21448 | PyObject * obj1 = 0 ; | |
21449 | char *kwnames[] = { | |
21450 | (char *) "self",(char *) "printout", NULL | |
21451 | }; | |
21452 | ||
21453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
21454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21455 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21456 | { | |
21457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21458 | (arg1)->SetPrintout(arg2); | |
21459 | ||
21460 | wxPyEndAllowThreads(__tstate); | |
21461 | if (PyErr_Occurred()) SWIG_fail; | |
21462 | } | |
21463 | Py_INCREF(Py_None); resultobj = Py_None; | |
21464 | return resultobj; | |
21465 | fail: | |
21466 | return NULL; | |
21467 | } | |
21468 | ||
21469 | ||
21470 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21471 | PyObject *resultobj; | |
21472 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21473 | wxPyPrintout *result; | |
21474 | PyObject * obj0 = 0 ; | |
21475 | char *kwnames[] = { | |
21476 | (char *) "self", NULL | |
21477 | }; | |
21478 | ||
21479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
21480 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21481 | { | |
21482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21483 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21484 | ||
21485 | wxPyEndAllowThreads(__tstate); | |
21486 | if (PyErr_Occurred()) SWIG_fail; | |
21487 | } | |
21488 | { | |
21489 | resultobj = wxPyMake_wxObject(result); | |
21490 | } | |
21491 | return resultobj; | |
21492 | fail: | |
21493 | return NULL; | |
21494 | } | |
21495 | ||
21496 | ||
21497 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21498 | PyObject *resultobj; | |
21499 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21500 | wxPyPrintout *result; | |
21501 | PyObject * obj0 = 0 ; | |
21502 | char *kwnames[] = { | |
21503 | (char *) "self", NULL | |
21504 | }; | |
21505 | ||
21506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
21507 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21508 | { | |
21509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21510 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21511 | ||
21512 | wxPyEndAllowThreads(__tstate); | |
21513 | if (PyErr_Occurred()) SWIG_fail; | |
21514 | } | |
21515 | { | |
21516 | resultobj = wxPyMake_wxObject(result); | |
21517 | } | |
21518 | return resultobj; | |
21519 | fail: | |
21520 | return NULL; | |
21521 | } | |
21522 | ||
21523 | ||
21524 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21525 | PyObject *resultobj; | |
21526 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21527 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21528 | PyObject * obj0 = 0 ; | |
21529 | PyObject * obj1 = 0 ; | |
21530 | char *kwnames[] = { | |
21531 | (char *) "self",(char *) "frame", NULL | |
21532 | }; | |
21533 | ||
21534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
21535 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21536 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21537 | { | |
21538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21539 | (arg1)->SetFrame(arg2); | |
21540 | ||
21541 | wxPyEndAllowThreads(__tstate); | |
21542 | if (PyErr_Occurred()) SWIG_fail; | |
21543 | } | |
21544 | Py_INCREF(Py_None); resultobj = Py_None; | |
21545 | return resultobj; | |
21546 | fail: | |
21547 | return NULL; | |
21548 | } | |
21549 | ||
21550 | ||
21551 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21552 | PyObject *resultobj; | |
21553 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21554 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21555 | PyObject * obj0 = 0 ; | |
21556 | PyObject * obj1 = 0 ; | |
21557 | char *kwnames[] = { | |
21558 | (char *) "self",(char *) "canvas", NULL | |
21559 | }; | |
21560 | ||
21561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
21562 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21563 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21564 | { | |
21565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21566 | (arg1)->SetCanvas(arg2); | |
21567 | ||
21568 | wxPyEndAllowThreads(__tstate); | |
21569 | if (PyErr_Occurred()) SWIG_fail; | |
21570 | } | |
21571 | Py_INCREF(Py_None); resultobj = Py_None; | |
21572 | return resultobj; | |
21573 | fail: | |
21574 | return NULL; | |
21575 | } | |
21576 | ||
21577 | ||
21578 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21579 | PyObject *resultobj; | |
21580 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21581 | wxFrame *result; | |
21582 | PyObject * obj0 = 0 ; | |
21583 | char *kwnames[] = { | |
21584 | (char *) "self", NULL | |
21585 | }; | |
21586 | ||
21587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
21588 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21589 | { | |
21590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21591 | result = (wxFrame *)(arg1)->GetFrame(); | |
21592 | ||
21593 | wxPyEndAllowThreads(__tstate); | |
21594 | if (PyErr_Occurred()) SWIG_fail; | |
21595 | } | |
21596 | { | |
21597 | resultobj = wxPyMake_wxObject(result); | |
21598 | } | |
21599 | return resultobj; | |
21600 | fail: | |
21601 | return NULL; | |
21602 | } | |
21603 | ||
21604 | ||
21605 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21606 | PyObject *resultobj; | |
21607 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21608 | wxPreviewCanvas *result; | |
21609 | PyObject * obj0 = 0 ; | |
21610 | char *kwnames[] = { | |
21611 | (char *) "self", NULL | |
21612 | }; | |
21613 | ||
21614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
21615 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21616 | { | |
21617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21618 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
21619 | ||
21620 | wxPyEndAllowThreads(__tstate); | |
21621 | if (PyErr_Occurred()) SWIG_fail; | |
21622 | } | |
21623 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0); | |
21624 | return resultobj; | |
21625 | fail: | |
21626 | return NULL; | |
21627 | } | |
21628 | ||
21629 | ||
21630 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21631 | PyObject *resultobj; | |
21632 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21633 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21634 | wxDC *arg3 = 0 ; | |
21635 | bool result; | |
21636 | PyObject * obj0 = 0 ; | |
21637 | PyObject * obj1 = 0 ; | |
21638 | PyObject * obj2 = 0 ; | |
21639 | char *kwnames[] = { | |
21640 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21641 | }; | |
21642 | ||
21643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21644 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21645 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21646 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21647 | if (arg3 == NULL) { | |
21648 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21649 | } | |
21650 | { | |
21651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21652 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
21653 | ||
21654 | wxPyEndAllowThreads(__tstate); | |
21655 | if (PyErr_Occurred()) SWIG_fail; | |
21656 | } | |
4e760a36 | 21657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21658 | return resultobj; |
21659 | fail: | |
21660 | return NULL; | |
21661 | } | |
21662 | ||
21663 | ||
21664 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21665 | PyObject *resultobj; | |
21666 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21667 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21668 | wxDC *arg3 = 0 ; | |
21669 | bool result; | |
21670 | PyObject * obj0 = 0 ; | |
21671 | PyObject * obj1 = 0 ; | |
21672 | PyObject * obj2 = 0 ; | |
21673 | char *kwnames[] = { | |
21674 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21675 | }; | |
21676 | ||
21677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
21678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21679 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21680 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21681 | if (arg3 == NULL) { | |
21682 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
21683 | } | |
21684 | { | |
21685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21686 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
21687 | ||
21688 | wxPyEndAllowThreads(__tstate); | |
21689 | if (PyErr_Occurred()) SWIG_fail; | |
21690 | } | |
4e760a36 | 21691 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21692 | return resultobj; |
21693 | fail: | |
21694 | return NULL; | |
21695 | } | |
21696 | ||
21697 | ||
21698 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21699 | PyObject *resultobj; | |
21700 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21701 | int arg2 ; | |
21702 | bool result; | |
21703 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21705 | char *kwnames[] = { |
21706 | (char *) "self",(char *) "pageNum", NULL | |
21707 | }; | |
21708 | ||
8edf1c75 | 21709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
21711 | { |
21712 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21713 | if (PyErr_Occurred()) SWIG_fail; | |
21714 | } | |
d14a1e28 RD |
21715 | { |
21716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21717 | result = (bool)(arg1)->RenderPage(arg2); | |
21718 | ||
21719 | wxPyEndAllowThreads(__tstate); | |
21720 | if (PyErr_Occurred()) SWIG_fail; | |
21721 | } | |
4e760a36 | 21722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21723 | return resultobj; |
21724 | fail: | |
21725 | return NULL; | |
21726 | } | |
21727 | ||
21728 | ||
21729 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21730 | PyObject *resultobj; | |
21731 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21732 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21733 | PyObject * obj0 = 0 ; | |
21734 | PyObject * obj1 = 0 ; | |
21735 | char *kwnames[] = { | |
21736 | (char *) "self",(char *) "canvas", NULL | |
21737 | }; | |
21738 | ||
21739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
21740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21741 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21742 | { | |
21743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21744 | (arg1)->AdjustScrollbars(arg2); | |
21745 | ||
21746 | wxPyEndAllowThreads(__tstate); | |
21747 | if (PyErr_Occurred()) SWIG_fail; | |
21748 | } | |
21749 | Py_INCREF(Py_None); resultobj = Py_None; | |
21750 | return resultobj; | |
21751 | fail: | |
21752 | return NULL; | |
21753 | } | |
21754 | ||
21755 | ||
21756 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21757 | PyObject *resultobj; | |
21758 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21759 | wxPrintDialogData *result; | |
21760 | PyObject * obj0 = 0 ; | |
21761 | char *kwnames[] = { | |
21762 | (char *) "self", NULL | |
21763 | }; | |
21764 | ||
21765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
21766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21767 | { | |
21768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21769 | { | |
21770 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21771 | result = (wxPrintDialogData *) &_result_ref; | |
21772 | } | |
21773 | ||
21774 | wxPyEndAllowThreads(__tstate); | |
21775 | if (PyErr_Occurred()) SWIG_fail; | |
21776 | } | |
21777 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
21778 | return resultobj; | |
21779 | fail: | |
21780 | return NULL; | |
21781 | } | |
21782 | ||
21783 | ||
21784 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21785 | PyObject *resultobj; | |
21786 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21787 | int arg2 ; | |
21788 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21789 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21790 | char *kwnames[] = { |
21791 | (char *) "self",(char *) "percent", NULL | |
21792 | }; | |
21793 | ||
8edf1c75 | 21794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 21795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
21796 | { |
21797 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
21798 | if (PyErr_Occurred()) SWIG_fail; | |
21799 | } | |
d14a1e28 RD |
21800 | { |
21801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21802 | (arg1)->SetZoom(arg2); | |
21803 | ||
21804 | wxPyEndAllowThreads(__tstate); | |
21805 | if (PyErr_Occurred()) SWIG_fail; | |
21806 | } | |
21807 | Py_INCREF(Py_None); resultobj = Py_None; | |
21808 | return resultobj; | |
21809 | fail: | |
21810 | return NULL; | |
21811 | } | |
21812 | ||
21813 | ||
21814 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21815 | PyObject *resultobj; | |
21816 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21817 | int result; | |
21818 | PyObject * obj0 = 0 ; | |
21819 | char *kwnames[] = { | |
21820 | (char *) "self", NULL | |
21821 | }; | |
21822 | ||
21823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
21824 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21825 | { | |
21826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21827 | result = (int)(arg1)->GetZoom(); | |
21828 | ||
21829 | wxPyEndAllowThreads(__tstate); | |
21830 | if (PyErr_Occurred()) SWIG_fail; | |
21831 | } | |
8edf1c75 | 21832 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21833 | return resultobj; |
21834 | fail: | |
21835 | return NULL; | |
21836 | } | |
21837 | ||
21838 | ||
21839 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21840 | PyObject *resultobj; | |
21841 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21842 | int result; | |
21843 | PyObject * obj0 = 0 ; | |
21844 | char *kwnames[] = { | |
21845 | (char *) "self", NULL | |
21846 | }; | |
21847 | ||
21848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
21849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21850 | { | |
21851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21852 | result = (int)(arg1)->GetMaxPage(); | |
21853 | ||
21854 | wxPyEndAllowThreads(__tstate); | |
21855 | if (PyErr_Occurred()) SWIG_fail; | |
21856 | } | |
8edf1c75 | 21857 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21858 | return resultobj; |
21859 | fail: | |
21860 | return NULL; | |
21861 | } | |
21862 | ||
21863 | ||
21864 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21865 | PyObject *resultobj; | |
21866 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21867 | int result; | |
21868 | PyObject * obj0 = 0 ; | |
21869 | char *kwnames[] = { | |
21870 | (char *) "self", NULL | |
21871 | }; | |
21872 | ||
21873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
21874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21875 | { | |
21876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21877 | result = (int)(arg1)->GetMinPage(); | |
21878 | ||
21879 | wxPyEndAllowThreads(__tstate); | |
21880 | if (PyErr_Occurred()) SWIG_fail; | |
21881 | } | |
8edf1c75 | 21882 | resultobj = SWIG_PyObj_FromInt((int)result); |
d14a1e28 RD |
21883 | return resultobj; |
21884 | fail: | |
21885 | return NULL; | |
21886 | } | |
21887 | ||
21888 | ||
21889 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21890 | PyObject *resultobj; | |
21891 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21892 | bool result; | |
21893 | PyObject * obj0 = 0 ; | |
21894 | char *kwnames[] = { | |
21895 | (char *) "self", NULL | |
21896 | }; | |
21897 | ||
21898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
21899 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21900 | { | |
21901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21902 | result = (bool)(arg1)->Ok(); | |
21903 | ||
21904 | wxPyEndAllowThreads(__tstate); | |
21905 | if (PyErr_Occurred()) SWIG_fail; | |
21906 | } | |
4e760a36 | 21907 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21908 | return resultobj; |
21909 | fail: | |
21910 | return NULL; | |
21911 | } | |
21912 | ||
21913 | ||
21914 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21915 | PyObject *resultobj; | |
21916 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21917 | bool arg2 ; | |
21918 | PyObject * obj0 = 0 ; | |
21919 | PyObject * obj1 = 0 ; | |
21920 | char *kwnames[] = { | |
21921 | (char *) "self",(char *) "ok", NULL | |
21922 | }; | |
21923 | ||
21924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
21925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 21926 | { |
8edf1c75 | 21927 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
21928 | if (PyErr_Occurred()) SWIG_fail; |
21929 | } | |
d14a1e28 RD |
21930 | { |
21931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21932 | (arg1)->SetOk(arg2); | |
21933 | ||
21934 | wxPyEndAllowThreads(__tstate); | |
21935 | if (PyErr_Occurred()) SWIG_fail; | |
21936 | } | |
21937 | Py_INCREF(Py_None); resultobj = Py_None; | |
21938 | return resultobj; | |
21939 | fail: | |
21940 | return NULL; | |
21941 | } | |
21942 | ||
21943 | ||
21944 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21945 | PyObject *resultobj; | |
21946 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21947 | bool arg2 ; | |
21948 | bool result; | |
21949 | PyObject * obj0 = 0 ; | |
21950 | PyObject * obj1 = 0 ; | |
21951 | char *kwnames[] = { | |
21952 | (char *) "self",(char *) "interactive", NULL | |
21953 | }; | |
21954 | ||
21955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
21956 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 21957 | { |
8edf1c75 | 21958 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
21959 | if (PyErr_Occurred()) SWIG_fail; |
21960 | } | |
d14a1e28 RD |
21961 | { |
21962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21963 | result = (bool)(arg1)->Print(arg2); | |
21964 | ||
21965 | wxPyEndAllowThreads(__tstate); | |
21966 | if (PyErr_Occurred()) SWIG_fail; | |
21967 | } | |
4e760a36 | 21968 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21969 | return resultobj; |
21970 | fail: | |
21971 | return NULL; | |
21972 | } | |
21973 | ||
21974 | ||
21975 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21976 | PyObject *resultobj; | |
21977 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21978 | PyObject * obj0 = 0 ; | |
21979 | char *kwnames[] = { | |
21980 | (char *) "self", NULL | |
21981 | }; | |
21982 | ||
21983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
21984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21985 | { | |
21986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21987 | (arg1)->DetermineScaling(); | |
21988 | ||
21989 | wxPyEndAllowThreads(__tstate); | |
21990 | if (PyErr_Occurred()) SWIG_fail; | |
21991 | } | |
21992 | Py_INCREF(Py_None); resultobj = Py_None; | |
21993 | return resultobj; | |
21994 | fail: | |
21995 | return NULL; | |
21996 | } | |
21997 | ||
21998 | ||
21999 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22000 | PyObject *obj; | |
22001 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22002 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
22003 | Py_INCREF(obj); | |
22004 | return Py_BuildValue((char *)""); | |
22005 | } | |
22006 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22007 | PyObject *resultobj; | |
22008 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22009 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22010 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
22011 | wxPyPrintPreview *result; | |
22012 | PyObject * obj0 = 0 ; | |
22013 | PyObject * obj1 = 0 ; | |
22014 | PyObject * obj2 = 0 ; | |
22015 | char *kwnames[] = { | |
22016 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
22017 | }; | |
22018 | ||
22019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22020 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22021 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22022 | if (obj2) { | |
22023 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22024 | } | |
22025 | { | |
22026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22027 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22028 | ||
22029 | wxPyEndAllowThreads(__tstate); | |
22030 | if (PyErr_Occurred()) SWIG_fail; | |
22031 | } | |
22032 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1); | |
22033 | return resultobj; | |
22034 | fail: | |
22035 | return NULL; | |
22036 | } | |
22037 | ||
22038 | ||
22039 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22040 | PyObject *resultobj; | |
22041 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22042 | PyObject *arg2 = (PyObject *) 0 ; | |
22043 | PyObject *arg3 = (PyObject *) 0 ; | |
22044 | PyObject * obj0 = 0 ; | |
22045 | PyObject * obj1 = 0 ; | |
22046 | PyObject * obj2 = 0 ; | |
22047 | char *kwnames[] = { | |
22048 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22049 | }; | |
22050 | ||
22051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22053 | arg2 = obj1; | |
22054 | arg3 = obj2; | |
22055 | { | |
22056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22057 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22058 | ||
22059 | wxPyEndAllowThreads(__tstate); | |
22060 | if (PyErr_Occurred()) SWIG_fail; | |
22061 | } | |
22062 | Py_INCREF(Py_None); resultobj = Py_None; | |
22063 | return resultobj; | |
22064 | fail: | |
22065 | return NULL; | |
22066 | } | |
22067 | ||
22068 | ||
22069 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22070 | PyObject *resultobj; | |
22071 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22072 | int arg2 ; | |
22073 | bool result; | |
22074 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22075 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22076 | char *kwnames[] = { |
22077 | (char *) "self",(char *) "pageNum", NULL | |
22078 | }; | |
22079 | ||
8edf1c75 | 22080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22081 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
22082 | { |
22083 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22084 | if (PyErr_Occurred()) SWIG_fail; | |
22085 | } | |
d14a1e28 RD |
22086 | { |
22087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22088 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
22089 | ||
22090 | wxPyEndAllowThreads(__tstate); | |
22091 | if (PyErr_Occurred()) SWIG_fail; | |
22092 | } | |
4e760a36 | 22093 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22094 | return resultobj; |
22095 | fail: | |
22096 | return NULL; | |
22097 | } | |
22098 | ||
22099 | ||
22100 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22101 | PyObject *resultobj; | |
22102 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22103 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22104 | wxDC *arg3 = 0 ; | |
22105 | bool result; | |
22106 | PyObject * obj0 = 0 ; | |
22107 | PyObject * obj1 = 0 ; | |
22108 | PyObject * obj2 = 0 ; | |
22109 | char *kwnames[] = { | |
22110 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22111 | }; | |
22112 | ||
22113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22114 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22115 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22116 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22117 | if (arg3 == NULL) { | |
22118 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
22119 | } | |
22120 | { | |
22121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22122 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
22123 | ||
22124 | wxPyEndAllowThreads(__tstate); | |
22125 | if (PyErr_Occurred()) SWIG_fail; | |
22126 | } | |
4e760a36 | 22127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22128 | return resultobj; |
22129 | fail: | |
22130 | return NULL; | |
22131 | } | |
22132 | ||
22133 | ||
22134 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22135 | PyObject *resultobj; | |
22136 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22137 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22138 | wxDC *arg3 = 0 ; | |
22139 | bool result; | |
22140 | PyObject * obj0 = 0 ; | |
22141 | PyObject * obj1 = 0 ; | |
22142 | PyObject * obj2 = 0 ; | |
22143 | char *kwnames[] = { | |
22144 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22145 | }; | |
22146 | ||
22147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22148 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22149 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22150 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22151 | if (arg3 == NULL) { | |
22152 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
22153 | } | |
22154 | { | |
22155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22156 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
22157 | ||
22158 | wxPyEndAllowThreads(__tstate); | |
22159 | if (PyErr_Occurred()) SWIG_fail; | |
22160 | } | |
4e760a36 | 22161 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22162 | return resultobj; |
22163 | fail: | |
22164 | return NULL; | |
22165 | } | |
22166 | ||
22167 | ||
22168 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22169 | PyObject *resultobj; | |
22170 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22171 | int arg2 ; | |
22172 | bool result; | |
22173 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22174 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22175 | char *kwnames[] = { |
22176 | (char *) "self",(char *) "pageNum", NULL | |
22177 | }; | |
22178 | ||
8edf1c75 | 22179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22180 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
22181 | { |
22182 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22183 | if (PyErr_Occurred()) SWIG_fail; | |
22184 | } | |
d14a1e28 RD |
22185 | { |
22186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22187 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22188 | ||
22189 | wxPyEndAllowThreads(__tstate); | |
22190 | if (PyErr_Occurred()) SWIG_fail; | |
22191 | } | |
4e760a36 | 22192 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22193 | return resultobj; |
22194 | fail: | |
22195 | return NULL; | |
22196 | } | |
22197 | ||
22198 | ||
22199 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22200 | PyObject *resultobj; | |
22201 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22202 | int arg2 ; | |
22203 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22204 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22205 | char *kwnames[] = { |
22206 | (char *) "self",(char *) "percent", NULL | |
22207 | }; | |
22208 | ||
8edf1c75 | 22209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
22211 | { |
22212 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22213 | if (PyErr_Occurred()) SWIG_fail; | |
22214 | } | |
d14a1e28 RD |
22215 | { |
22216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22217 | (arg1)->base_SetZoom(arg2); | |
22218 | ||
22219 | wxPyEndAllowThreads(__tstate); | |
22220 | if (PyErr_Occurred()) SWIG_fail; | |
22221 | } | |
22222 | Py_INCREF(Py_None); resultobj = Py_None; | |
22223 | return resultobj; | |
22224 | fail: | |
22225 | return NULL; | |
22226 | } | |
22227 | ||
22228 | ||
22229 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22230 | PyObject *resultobj; | |
22231 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22232 | bool arg2 ; | |
22233 | bool result; | |
22234 | PyObject * obj0 = 0 ; | |
22235 | PyObject * obj1 = 0 ; | |
22236 | char *kwnames[] = { | |
22237 | (char *) "self",(char *) "interactive", NULL | |
22238 | }; | |
22239 | ||
22240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
22241 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
83448d71 | 22242 | { |
8edf1c75 | 22243 | arg2 = (bool) SWIG_PyObj_AsBool(obj1); |
83448d71 RD |
22244 | if (PyErr_Occurred()) SWIG_fail; |
22245 | } | |
d14a1e28 RD |
22246 | { |
22247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22248 | result = (bool)(arg1)->base_Print(arg2); | |
22249 | ||
22250 | wxPyEndAllowThreads(__tstate); | |
22251 | if (PyErr_Occurred()) SWIG_fail; | |
22252 | } | |
4e760a36 | 22253 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22254 | return resultobj; |
22255 | fail: | |
22256 | return NULL; | |
22257 | } | |
22258 | ||
22259 | ||
22260 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22261 | PyObject *resultobj; | |
22262 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22263 | PyObject * obj0 = 0 ; | |
22264 | char *kwnames[] = { | |
22265 | (char *) "self", NULL | |
22266 | }; | |
22267 | ||
22268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
22269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22270 | { | |
22271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22272 | (arg1)->base_DetermineScaling(); | |
22273 | ||
22274 | wxPyEndAllowThreads(__tstate); | |
22275 | if (PyErr_Occurred()) SWIG_fail; | |
22276 | } | |
22277 | Py_INCREF(Py_None); resultobj = Py_None; | |
22278 | return resultobj; | |
22279 | fail: | |
22280 | return NULL; | |
22281 | } | |
22282 | ||
22283 | ||
22284 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22285 | PyObject *obj; | |
22286 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22287 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22288 | Py_INCREF(obj); | |
22289 | return Py_BuildValue((char *)""); | |
22290 | } | |
22291 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22292 | PyObject *resultobj; | |
22293 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22294 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22295 | wxString *arg3 = 0 ; | |
22296 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22297 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22298 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22299 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22300 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22301 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22302 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22303 | wxPyPreviewFrame *result; | |
423f194a | 22304 | bool temp3 = False ; |
d14a1e28 RD |
22305 | wxPoint temp4 ; |
22306 | wxSize temp5 ; | |
423f194a | 22307 | bool temp7 = False ; |
d14a1e28 RD |
22308 | PyObject * obj0 = 0 ; |
22309 | PyObject * obj1 = 0 ; | |
22310 | PyObject * obj2 = 0 ; | |
22311 | PyObject * obj3 = 0 ; | |
22312 | PyObject * obj4 = 0 ; | |
8edf1c75 | 22313 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22314 | PyObject * obj6 = 0 ; |
22315 | char *kwnames[] = { | |
22316 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22317 | }; | |
22318 | ||
8edf1c75 | 22319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 RD |
22320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
22321 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22322 | { | |
22323 | arg3 = wxString_in_helper(obj2); | |
22324 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 22325 | temp3 = True; |
d14a1e28 RD |
22326 | } |
22327 | if (obj3) { | |
22328 | { | |
22329 | arg4 = &temp4; | |
22330 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22331 | } | |
22332 | } | |
22333 | if (obj4) { | |
22334 | { | |
22335 | arg5 = &temp5; | |
22336 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22337 | } | |
22338 | } | |
8edf1c75 RD |
22339 | if (obj5) { |
22340 | { | |
22341 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
22342 | if (PyErr_Occurred()) SWIG_fail; | |
22343 | } | |
22344 | } | |
d14a1e28 RD |
22345 | if (obj6) { |
22346 | { | |
22347 | arg7 = wxString_in_helper(obj6); | |
22348 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 22349 | temp7 = True; |
d14a1e28 RD |
22350 | } |
22351 | } | |
22352 | { | |
22353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22354 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22355 | ||
22356 | wxPyEndAllowThreads(__tstate); | |
22357 | if (PyErr_Occurred()) SWIG_fail; | |
22358 | } | |
22359 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1); | |
22360 | { | |
22361 | if (temp3) | |
22362 | delete arg3; | |
22363 | } | |
22364 | { | |
22365 | if (temp7) | |
22366 | delete arg7; | |
22367 | } | |
22368 | return resultobj; | |
22369 | fail: | |
22370 | { | |
22371 | if (temp3) | |
22372 | delete arg3; | |
22373 | } | |
22374 | { | |
22375 | if (temp7) | |
22376 | delete arg7; | |
22377 | } | |
22378 | return NULL; | |
22379 | } | |
22380 | ||
22381 | ||
22382 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22383 | PyObject *resultobj; | |
22384 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22385 | PyObject *arg2 = (PyObject *) 0 ; | |
22386 | PyObject *arg3 = (PyObject *) 0 ; | |
22387 | PyObject * obj0 = 0 ; | |
22388 | PyObject * obj1 = 0 ; | |
22389 | PyObject * obj2 = 0 ; | |
22390 | char *kwnames[] = { | |
22391 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22392 | }; | |
22393 | ||
22394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22396 | arg2 = obj1; | |
22397 | arg3 = obj2; | |
22398 | { | |
22399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22400 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22401 | ||
22402 | wxPyEndAllowThreads(__tstate); | |
22403 | if (PyErr_Occurred()) SWIG_fail; | |
22404 | } | |
22405 | Py_INCREF(Py_None); resultobj = Py_None; | |
22406 | return resultobj; | |
22407 | fail: | |
22408 | return NULL; | |
22409 | } | |
22410 | ||
22411 | ||
22412 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22413 | PyObject *resultobj; | |
22414 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22415 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22416 | PyObject * obj0 = 0 ; | |
22417 | PyObject * obj1 = 0 ; | |
22418 | char *kwnames[] = { | |
22419 | (char *) "self",(char *) "canvas", NULL | |
22420 | }; | |
22421 | ||
22422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
22423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22424 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22425 | { | |
22426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22427 | (arg1)->SetPreviewCanvas(arg2); | |
22428 | ||
22429 | wxPyEndAllowThreads(__tstate); | |
22430 | if (PyErr_Occurred()) SWIG_fail; | |
22431 | } | |
22432 | Py_INCREF(Py_None); resultobj = Py_None; | |
22433 | return resultobj; | |
22434 | fail: | |
22435 | return NULL; | |
22436 | } | |
22437 | ||
22438 | ||
22439 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22440 | PyObject *resultobj; | |
22441 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22442 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
22443 | PyObject * obj0 = 0 ; | |
22444 | PyObject * obj1 = 0 ; | |
22445 | char *kwnames[] = { | |
22446 | (char *) "self",(char *) "bar", NULL | |
22447 | }; | |
22448 | ||
22449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
22450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22451 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22452 | { | |
22453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22454 | (arg1)->SetControlBar(arg2); | |
22455 | ||
22456 | wxPyEndAllowThreads(__tstate); | |
22457 | if (PyErr_Occurred()) SWIG_fail; | |
22458 | } | |
22459 | Py_INCREF(Py_None); resultobj = Py_None; | |
22460 | return resultobj; | |
22461 | fail: | |
22462 | return NULL; | |
22463 | } | |
22464 | ||
22465 | ||
22466 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22467 | PyObject *resultobj; | |
22468 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22469 | PyObject * obj0 = 0 ; | |
22470 | char *kwnames[] = { | |
22471 | (char *) "self", NULL | |
22472 | }; | |
22473 | ||
22474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
22475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22476 | { | |
22477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22478 | (arg1)->base_Initialize(); | |
22479 | ||
22480 | wxPyEndAllowThreads(__tstate); | |
22481 | if (PyErr_Occurred()) SWIG_fail; | |
22482 | } | |
22483 | Py_INCREF(Py_None); resultobj = Py_None; | |
22484 | return resultobj; | |
22485 | fail: | |
22486 | return NULL; | |
22487 | } | |
22488 | ||
22489 | ||
22490 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22491 | PyObject *resultobj; | |
22492 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22493 | PyObject * obj0 = 0 ; | |
22494 | char *kwnames[] = { | |
22495 | (char *) "self", NULL | |
22496 | }; | |
22497 | ||
22498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
22499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22500 | { | |
22501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22502 | (arg1)->base_CreateCanvas(); | |
22503 | ||
22504 | wxPyEndAllowThreads(__tstate); | |
22505 | if (PyErr_Occurred()) SWIG_fail; | |
22506 | } | |
22507 | Py_INCREF(Py_None); resultobj = Py_None; | |
22508 | return resultobj; | |
22509 | fail: | |
22510 | return NULL; | |
22511 | } | |
22512 | ||
22513 | ||
22514 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22515 | PyObject *resultobj; | |
22516 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22517 | PyObject * obj0 = 0 ; | |
22518 | char *kwnames[] = { | |
22519 | (char *) "self", NULL | |
22520 | }; | |
22521 | ||
22522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
22523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22524 | { | |
22525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22526 | (arg1)->base_CreateControlBar(); | |
22527 | ||
22528 | wxPyEndAllowThreads(__tstate); | |
22529 | if (PyErr_Occurred()) SWIG_fail; | |
22530 | } | |
22531 | Py_INCREF(Py_None); resultobj = Py_None; | |
22532 | return resultobj; | |
22533 | fail: | |
22534 | return NULL; | |
22535 | } | |
22536 | ||
22537 | ||
22538 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22539 | PyObject *obj; | |
22540 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22541 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
22542 | Py_INCREF(obj); | |
22543 | return Py_BuildValue((char *)""); | |
22544 | } | |
22545 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22546 | PyObject *resultobj; | |
22547 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22548 | long arg2 ; | |
22549 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22550 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22551 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22552 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22553 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22554 | long arg6 = (long) 0 ; | |
22555 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22556 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22557 | wxPyPreviewControlBar *result; | |
22558 | wxPoint temp4 ; | |
22559 | wxSize temp5 ; | |
423f194a | 22560 | bool temp7 = False ; |
d14a1e28 | 22561 | PyObject * obj0 = 0 ; |
8edf1c75 | 22562 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22563 | PyObject * obj2 = 0 ; |
22564 | PyObject * obj3 = 0 ; | |
22565 | PyObject * obj4 = 0 ; | |
8edf1c75 | 22566 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22567 | PyObject * obj6 = 0 ; |
22568 | char *kwnames[] = { | |
22569 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22570 | }; | |
22571 | ||
8edf1c75 | 22572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
d14a1e28 | 22573 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
22574 | { |
22575 | arg2 = (long) SWIG_PyObj_AsLong(obj1); | |
22576 | if (PyErr_Occurred()) SWIG_fail; | |
22577 | } | |
d14a1e28 RD |
22578 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
22579 | if (obj3) { | |
22580 | { | |
22581 | arg4 = &temp4; | |
22582 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22583 | } | |
22584 | } | |
22585 | if (obj4) { | |
22586 | { | |
22587 | arg5 = &temp5; | |
22588 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22589 | } | |
22590 | } | |
8edf1c75 RD |
22591 | if (obj5) { |
22592 | { | |
22593 | arg6 = (long) SWIG_PyObj_AsLong(obj5); | |
22594 | if (PyErr_Occurred()) SWIG_fail; | |
22595 | } | |
22596 | } | |
d14a1e28 RD |
22597 | if (obj6) { |
22598 | { | |
22599 | arg7 = wxString_in_helper(obj6); | |
22600 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 22601 | temp7 = True; |
d14a1e28 RD |
22602 | } |
22603 | } | |
22604 | { | |
22605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22606 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22607 | ||
22608 | wxPyEndAllowThreads(__tstate); | |
22609 | if (PyErr_Occurred()) SWIG_fail; | |
22610 | } | |
22611 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
22612 | { | |
22613 | if (temp7) | |
22614 | delete arg7; | |
22615 | } | |
22616 | return resultobj; | |
22617 | fail: | |
22618 | { | |
22619 | if (temp7) | |
22620 | delete arg7; | |
22621 | } | |
22622 | return NULL; | |
22623 | } | |
22624 | ||
22625 | ||
22626 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22627 | PyObject *resultobj; | |
22628 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22629 | PyObject *arg2 = (PyObject *) 0 ; | |
22630 | PyObject *arg3 = (PyObject *) 0 ; | |
22631 | PyObject * obj0 = 0 ; | |
22632 | PyObject * obj1 = 0 ; | |
22633 | PyObject * obj2 = 0 ; | |
22634 | char *kwnames[] = { | |
22635 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22636 | }; | |
22637 | ||
22638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
22639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22640 | arg2 = obj1; | |
22641 | arg3 = obj2; | |
22642 | { | |
22643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22644 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22645 | ||
22646 | wxPyEndAllowThreads(__tstate); | |
22647 | if (PyErr_Occurred()) SWIG_fail; | |
22648 | } | |
22649 | Py_INCREF(Py_None); resultobj = Py_None; | |
22650 | return resultobj; | |
22651 | fail: | |
22652 | return NULL; | |
22653 | } | |
22654 | ||
22655 | ||
22656 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22657 | PyObject *resultobj; | |
22658 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22659 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
22660 | PyObject * obj0 = 0 ; | |
22661 | PyObject * obj1 = 0 ; | |
22662 | char *kwnames[] = { | |
22663 | (char *) "self",(char *) "preview", NULL | |
22664 | }; | |
22665 | ||
22666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
22667 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22668 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22669 | { | |
22670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22671 | (arg1)->SetPrintPreview(arg2); | |
22672 | ||
22673 | wxPyEndAllowThreads(__tstate); | |
22674 | if (PyErr_Occurred()) SWIG_fail; | |
22675 | } | |
22676 | Py_INCREF(Py_None); resultobj = Py_None; | |
22677 | return resultobj; | |
22678 | fail: | |
22679 | return NULL; | |
22680 | } | |
22681 | ||
22682 | ||
22683 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22684 | PyObject *resultobj; | |
22685 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22686 | PyObject * obj0 = 0 ; | |
22687 | char *kwnames[] = { | |
22688 | (char *) "self", NULL | |
22689 | }; | |
22690 | ||
22691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
22692 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
22693 | { | |
22694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22695 | (arg1)->base_CreateButtons(); | |
22696 | ||
22697 | wxPyEndAllowThreads(__tstate); | |
22698 | if (PyErr_Occurred()) SWIG_fail; | |
22699 | } | |
22700 | Py_INCREF(Py_None); resultobj = Py_None; | |
22701 | return resultobj; | |
22702 | fail: | |
22703 | return NULL; | |
22704 | } | |
22705 | ||
22706 | ||
22707 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22708 | PyObject *resultobj; | |
22709 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22710 | int arg2 ; | |
22711 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22712 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22713 | char *kwnames[] = { |
22714 | (char *) "self",(char *) "zoom", NULL | |
22715 | }; | |
22716 | ||
8edf1c75 | 22717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
d14a1e28 | 22718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
8edf1c75 RD |
22719 | { |
22720 | arg2 = (int) SWIG_PyObj_AsInt(obj1); | |
22721 | if (PyErr_Occurred()) SWIG_fail; | |
22722 | } | |
d14a1e28 RD |
22723 | { |
22724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22725 | (arg1)->base_SetZoomControl(arg2); | |
22726 | ||
22727 | wxPyEndAllowThreads(__tstate); | |
22728 | if (PyErr_Occurred()) SWIG_fail; | |
22729 | } | |
22730 | Py_INCREF(Py_None); resultobj = Py_None; | |
22731 | return resultobj; | |
22732 | fail: | |
22733 | return NULL; | |
22734 | } | |
22735 | ||
22736 | ||
22737 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
22738 | PyObject *obj; | |
22739 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22740 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
22741 | Py_INCREF(obj); | |
22742 | return Py_BuildValue((char *)""); | |
22743 | } | |
22744 | static PyMethodDef SwigMethods[] = { | |
22745 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
22746 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
22747 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
22748 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
22749 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
22750 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22751 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22752 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22753 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22754 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
22755 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22756 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22757 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
22758 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
22759 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
22760 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
22761 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
22762 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
22763 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
22764 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
22765 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
22766 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22767 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
22768 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
22769 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
22770 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
22771 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
22772 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
22773 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
22774 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
22775 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
22776 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
22777 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
22778 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
22779 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
22780 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
22781 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
22782 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
22783 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
22784 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
22785 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
22786 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
22787 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
22788 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
22789 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22790 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
22791 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
22792 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
22793 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
22794 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
22795 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22796 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22797 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22798 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22799 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
22800 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22801 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22802 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
22803 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
22804 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22805 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22806 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
22807 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
22808 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
22809 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
22810 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
22811 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
22812 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
22813 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
22814 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
22815 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
22816 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
22817 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
22818 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
22819 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
22820 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
22821 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
22822 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
22823 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
22824 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
22825 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
22826 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
22827 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
22828 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
22829 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
22830 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
22831 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
22832 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22833 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
22834 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
22835 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22836 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
22837 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
22838 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
22839 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
22840 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22841 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22842 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22843 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
22844 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
22845 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
22846 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
22847 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
22848 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
22849 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
22850 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
22851 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
22852 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22853 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
22854 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
22855 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
22856 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
22857 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
22858 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
22859 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
22860 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
22861 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
22862 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
22863 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
22864 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22865 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
22866 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22867 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22868 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22869 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
22870 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
22871 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
22872 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
22873 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
22874 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
22875 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
22876 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
22877 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22878 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
22879 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
22880 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
22881 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
22882 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
22883 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22884 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
22885 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22886 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
22887 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
22888 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
22889 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
22890 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
22891 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22892 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22893 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22894 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
22895 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22896 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22897 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22898 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22899 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22900 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22901 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
22902 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
22903 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
22904 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
22905 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
22906 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
22907 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
22908 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
22909 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
22910 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
22911 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
22912 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
22913 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
22914 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
22915 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
22916 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
22917 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22918 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22919 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
22920 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
22921 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22922 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22923 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22924 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22925 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
22926 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
22927 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22928 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
22929 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
22930 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
22931 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
22932 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22933 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22934 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22935 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22936 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22937 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
22938 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
22939 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
22940 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
22941 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
22942 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
22943 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
22944 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
22945 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
22946 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
22947 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
22948 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
22949 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22950 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
22951 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
22952 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22953 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
22954 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22955 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
22956 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
22957 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
22958 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
22959 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
22960 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
22961 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
22962 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22963 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22964 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22965 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22966 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
22967 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
22968 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
22969 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
22970 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
22971 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
22972 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
22973 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
22974 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
22975 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
22976 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
22977 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
22978 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
22979 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
22980 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
22981 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
22982 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
22983 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
22984 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
22985 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
22986 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
22987 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
22988 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
22989 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
22990 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
22991 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
22992 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
22993 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
22994 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
22995 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
22996 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
22997 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
22998 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
22999 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
23000 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
23001 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
23002 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23003 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
23004 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23005 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
23006 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23007 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23008 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23009 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23010 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23011 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23012 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
23013 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23014 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23015 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
23016 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
23017 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23018 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
23019 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
23020 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
23021 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
23022 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
23023 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23024 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23025 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23026 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23027 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23028 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23029 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23030 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23031 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
23032 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
23033 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
23034 | { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23035 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, | |
23036 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
23037 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23038 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23039 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23040 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23041 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
23042 | { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23043 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, | |
23044 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
23045 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23046 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
23047 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23048 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23049 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23050 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23051 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23052 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23053 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23054 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23055 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23056 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23057 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23058 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23059 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
23060 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
23061 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
23062 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23063 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23064 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23065 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
23066 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23067 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23068 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
23069 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23070 | { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23071 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, | |
23072 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
23073 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
23074 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
23075 | { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23076 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, | |
23077 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23078 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23079 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23080 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23081 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23082 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23083 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23084 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23085 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23086 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23087 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23088 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23089 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23090 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
23091 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23092 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
23093 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, | |
23094 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, | |
23095 | { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23096 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, | |
23097 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
23098 | { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23099 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, | |
23100 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
23101 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
23102 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
23103 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
23104 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
23105 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23106 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23107 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23108 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
23109 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23110 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23111 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23112 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
23113 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23114 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23115 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23116 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23117 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23118 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23119 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23120 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23121 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
23122 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23123 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23124 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23125 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
23126 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
23127 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
23128 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23129 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23130 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23131 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
23132 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
23133 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
23134 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
23135 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
23136 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23137 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23138 | { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
23139 | { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
23140 | { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23141 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
23142 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
23143 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23144 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23145 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23146 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
23147 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
23148 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23149 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
23150 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23151 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23152 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23153 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
23154 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
23155 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23156 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23157 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23158 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23159 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23160 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23161 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23162 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23163 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23164 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23165 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23166 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23167 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23168 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23169 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23170 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23171 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23172 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23173 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23174 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
23175 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
23176 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23177 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23178 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23179 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23180 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23181 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23182 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23183 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23184 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23185 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23186 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23187 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23188 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23189 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23190 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23191 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23192 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23193 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23194 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23195 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
23196 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23197 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23198 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23199 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23200 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23201 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23202 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23203 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23204 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23205 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23206 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23207 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23208 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23209 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23210 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23211 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23212 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23213 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23214 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23215 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23216 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23217 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23218 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23219 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23220 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23221 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23222 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23223 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23224 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23225 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23226 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23227 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23228 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23229 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23230 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23231 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23232 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23233 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23234 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
23235 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23236 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23237 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
23238 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23239 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, | |
23240 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23241 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23242 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23243 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23244 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23245 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23246 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23247 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23248 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23249 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23250 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23251 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23252 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23253 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23254 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23255 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23256 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23257 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23258 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23259 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23260 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23261 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23262 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23263 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23264 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23265 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23266 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23267 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23268 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23269 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23270 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23271 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
23272 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23273 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
23274 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23275 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
23276 | { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23277 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23278 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23279 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23280 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23281 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23282 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23283 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23284 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23285 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23286 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23287 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23288 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23289 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23290 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23291 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23292 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23293 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23294 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23295 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23296 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23297 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23298 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23299 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23300 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23301 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23302 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23303 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23304 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23305 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23306 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23307 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23308 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23309 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
23310 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23311 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23312 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
23313 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23314 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
23315 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23316 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23317 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
23318 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23319 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
23320 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23321 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
23322 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
23323 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
23324 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
23325 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
23326 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
23327 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23328 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23329 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
23330 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23331 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 23332 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23333 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
23334 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
23335 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23336 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23337 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23338 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23339 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23340 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23341 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
23342 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
23343 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23344 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23345 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23346 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 23347 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23348 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
23349 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23350 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
23351 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23352 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23353 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23354 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23355 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23356 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
23357 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23358 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23359 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23360 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23361 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
23362 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
23363 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
23364 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
23365 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
23366 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
23367 | { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23368 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23369 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23370 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23371 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23372 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23373 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23374 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23375 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23376 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23377 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23378 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23379 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23380 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23381 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23382 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23383 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23384 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23385 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23386 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23387 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
23388 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
23389 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23390 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
23391 | { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23392 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23393 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23394 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23395 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23396 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23397 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23398 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
23399 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23400 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
23401 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23402 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23403 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23404 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23405 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23406 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23407 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23408 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
23409 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23410 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23411 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23412 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
23413 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23414 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
23415 | { NULL, NULL } | |
23416 | }; | |
23417 | ||
23418 | ||
23419 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
23420 | ||
23421 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
23422 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23423 | } | |
23424 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
23425 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23426 | } | |
23427 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
23428 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
23429 | } | |
23430 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
23431 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
23432 | } | |
23433 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
23434 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
23435 | } | |
23436 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
23437 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
23438 | } | |
23439 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
23440 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
23441 | } | |
23442 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
23443 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23444 | } | |
23445 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
23446 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
23447 | } | |
23448 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
23449 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
23450 | } | |
23451 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
23452 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23453 | } | |
23454 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
23455 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
23456 | } | |
23457 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
23458 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23459 | } | |
23460 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
23461 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23462 | } | |
23463 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
23464 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
23465 | } | |
23466 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
23467 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23468 | } | |
23469 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
23470 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23471 | } | |
23472 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
23473 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
23474 | } | |
23475 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
23476 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
23477 | } | |
23478 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
23479 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
23480 | } | |
23481 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
23482 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
23483 | } | |
23484 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
23485 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
23486 | } | |
23487 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
23488 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
23489 | } | |
23490 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
23491 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
23492 | } | |
23493 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
23494 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23495 | } | |
23496 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
23497 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23498 | } | |
23499 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
23500 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23501 | } | |
23502 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
23503 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23504 | } | |
23505 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
23506 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23507 | } | |
23508 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
23509 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
23510 | } | |
23511 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
23512 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
23513 | } | |
23514 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
23515 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23516 | } | |
23517 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
23518 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
23519 | } | |
23520 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
23521 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23522 | } | |
23523 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
23524 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
23525 | } | |
23526 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
23527 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
23528 | } | |
23529 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
23530 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23531 | } | |
23532 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
23533 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23534 | } | |
23535 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
23536 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23537 | } | |
23538 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
23539 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
23540 | } | |
23541 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
23542 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
23543 | } | |
23544 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
23545 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23546 | } | |
23547 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
23548 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23549 | } | |
23550 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
23551 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23552 | } | |
23553 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
23554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23555 | } | |
23556 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
23557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23558 | } | |
23559 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
23560 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
23561 | } | |
23562 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
23563 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
23564 | } | |
23565 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
23566 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
23567 | } | |
23568 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
23569 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
23570 | } | |
23571 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
23572 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23573 | } | |
23574 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23575 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23576 | } | |
23577 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23578 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23579 | } | |
23580 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
23581 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23582 | } | |
23583 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
23584 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23585 | } | |
23586 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
23587 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23588 | } | |
23589 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
23590 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23591 | } | |
23592 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
23593 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
23594 | } | |
23595 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
23596 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
23597 | } | |
23598 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23599 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23600 | } | |
23601 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
23602 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23603 | } | |
23604 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
23605 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23606 | } | |
23607 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
23608 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
23609 | } | |
23610 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
23611 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23612 | } | |
23613 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
23614 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
23615 | } | |
23616 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
23617 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
23618 | } | |
23619 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
23620 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
23621 | } | |
23622 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
23623 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
23624 | } | |
23625 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23626 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23627 | } | |
23628 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
23629 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
23630 | } | |
23631 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
23632 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
23633 | } | |
23634 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
23635 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
23636 | } | |
23637 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23638 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23639 | } | |
23640 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23641 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23642 | } | |
23643 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
23644 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23645 | } | |
23646 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
23647 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
23648 | } | |
23649 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
23650 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
23651 | } | |
23652 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
23653 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
23654 | } | |
23655 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
23656 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23657 | } | |
23658 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
23659 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23660 | } | |
23661 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
23662 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23663 | } | |
23664 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23665 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
23666 | } | |
23667 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23668 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
23669 | } | |
23670 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
23671 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23672 | } | |
23673 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
23674 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23675 | } | |
23676 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
23677 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
23678 | } | |
23679 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
23680 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23681 | } | |
23682 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
23683 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23684 | } | |
23685 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
23686 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23687 | } | |
23688 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
23689 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
23690 | } | |
23691 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
23692 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
23693 | } | |
23694 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
23695 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23696 | } | |
23697 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
23698 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23699 | } | |
23700 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
23701 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
23702 | } | |
23703 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
23704 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
23705 | } | |
23706 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
23707 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
23708 | } | |
23709 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
23710 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23711 | } | |
23712 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
23713 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
23714 | } | |
23715 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
23716 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
23717 | } | |
23718 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
23719 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
23720 | } | |
23721 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
23722 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
23723 | } | |
23724 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
23725 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23726 | } | |
23727 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
23728 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23729 | } | |
23730 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
23731 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23732 | } | |
23733 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
23734 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
23735 | } | |
23736 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
23737 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
23738 | } | |
23739 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
23740 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
23741 | } | |
23742 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
23743 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
23744 | } | |
23745 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
23746 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
23747 | } | |
23748 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
23749 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
23750 | } | |
23751 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
23752 | return (void *)((wxObject *) ((wxSizer *) x)); | |
23753 | } | |
23754 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
23755 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
23756 | } | |
23757 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
23758 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23759 | } | |
23760 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
23761 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23762 | } | |
23763 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
23764 | return (void *)((wxObject *) ((wxEvent *) x)); | |
23765 | } | |
23766 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
23767 | return (void *)((wxObject *) ((wxFontData *) x)); | |
23768 | } | |
23769 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
23770 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
23771 | } | |
23772 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
23773 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
23774 | } | |
23775 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
23776 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
23777 | } | |
23778 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
23779 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
23780 | } | |
23781 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
23782 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
23783 | } | |
23784 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
23785 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23786 | } | |
23787 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
23788 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23789 | } | |
23790 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
23791 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
23792 | } | |
23793 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
23794 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
23795 | } | |
23796 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
23797 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23798 | } | |
23799 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
23800 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23801 | } | |
23802 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
23803 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23804 | } | |
23805 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
23806 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23807 | } | |
23808 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
23809 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23810 | } | |
23811 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
23812 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
23813 | } | |
23814 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
23815 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
23816 | } | |
23817 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
23818 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23819 | } | |
23820 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
23821 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
23822 | } | |
23823 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
23824 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
23825 | } | |
23826 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
23827 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
23828 | } | |
23829 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
23830 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23831 | } | |
23832 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
23833 | return (void *)((wxObject *) ((wxColourData *) x)); | |
23834 | } | |
23835 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
23836 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
23837 | } | |
23838 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
23839 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23840 | } | |
23841 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
23842 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
23843 | } | |
23844 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
23845 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23846 | } | |
23847 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
23848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23849 | } | |
23850 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
23851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23852 | } | |
23853 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
23854 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23855 | } | |
23856 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
23857 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23858 | } | |
23859 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
23860 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23861 | } | |
23862 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
23863 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23864 | } | |
23865 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
23866 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23867 | } | |
23868 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
23869 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
23870 | } | |
23871 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
23872 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
23873 | } | |
23874 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
23875 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
23876 | } | |
23877 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
23878 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
23879 | } | |
23880 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
23881 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23882 | } | |
23883 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
23884 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23885 | } | |
23886 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
23887 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
23888 | } | |
23889 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
23890 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
23891 | } | |
23892 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
23893 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
23894 | } | |
23895 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
23896 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
23897 | } | |
23898 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
23899 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
23900 | } | |
23901 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
23902 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
23903 | } | |
23904 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
23905 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
23906 | } | |
23907 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
23908 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
23909 | } | |
23910 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
23911 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
23912 | } | |
23913 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
23914 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
23915 | } | |
23916 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
23917 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
23918 | } | |
23919 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
23920 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
23921 | } | |
23922 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
23923 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
23924 | } | |
23925 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
23926 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
23927 | } | |
23928 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
23929 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
23930 | } | |
23931 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
23932 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
23933 | } | |
23934 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
23935 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
23936 | } | |
23937 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
23938 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
23939 | } | |
23940 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
23941 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23942 | } | |
23943 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
23944 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23945 | } | |
23946 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
23947 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23948 | } | |
23949 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
23950 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
23951 | } | |
23952 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
23953 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23954 | } | |
23955 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
23956 | return (void *)((wxObject *) ((wxImage *) x)); | |
23957 | } | |
23958 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
23959 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23960 | } | |
23961 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
23962 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
23963 | } | |
23964 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
23965 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
23966 | } | |
23967 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
23968 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23969 | } | |
23970 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
23971 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
23972 | } | |
23973 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
23974 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23975 | } | |
23976 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
23977 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23978 | } | |
23979 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
23980 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23981 | } | |
23982 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
23983 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
23984 | } | |
d14a1e28 RD |
23985 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
23986 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
23987 | } | |
23988 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
23989 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
23990 | } | |
23991 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
23992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
23993 | } | |
41f1cec7 RD |
23994 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
23995 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23996 | } | |
d14a1e28 RD |
23997 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
23998 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
23999 | } | |
24000 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
24001 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
24002 | } | |
24003 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
24004 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
24005 | } | |
24006 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
24007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
24008 | } | |
24009 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
24010 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24011 | } | |
24012 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
24013 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
24014 | } | |
24015 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
24016 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24017 | } | |
24018 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
24019 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24020 | } | |
24021 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
24022 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24023 | } | |
24024 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
24025 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
24026 | } | |
24027 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
24028 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
24029 | } | |
24030 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
24031 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
24032 | } | |
24033 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
24034 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24035 | } | |
24036 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
24037 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
24038 | } | |
24039 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
24040 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24041 | } | |
24042 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
24043 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24044 | } | |
24045 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
24046 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24047 | } | |
24048 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
24049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24050 | } | |
24051 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
24052 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24053 | } | |
24054 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
24055 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24056 | } | |
24057 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
24058 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
24059 | } | |
24060 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
24061 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24062 | } | |
24063 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
24064 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
24065 | } | |
24066 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
24067 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
24068 | } | |
24069 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
24070 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
24071 | } | |
24072 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
24073 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
24074 | } | |
24075 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
24076 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
24077 | } | |
24078 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
24079 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24080 | } | |
24081 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
24082 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
24083 | } | |
24084 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
24085 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24086 | } | |
24087 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
24088 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24089 | } | |
24090 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
24091 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
24092 | } | |
24093 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
24094 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
24095 | } | |
24096 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
24097 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24098 | } | |
24099 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
24100 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24101 | } | |
24102 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
24103 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
24104 | } | |
24105 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
24106 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
24107 | } | |
24108 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
24109 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
24110 | } | |
24111 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
24112 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
24113 | } | |
24114 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24115 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24116 | } | |
24117 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24118 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24119 | } | |
24120 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
24121 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24122 | } | |
24123 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
24124 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24125 | } | |
24126 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
24127 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24128 | } | |
24129 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
24130 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24131 | } | |
24132 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
24133 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
24134 | } | |
24135 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
24136 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
24137 | } | |
24138 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
24139 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
24140 | } | |
24141 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
24142 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
24143 | } | |
24144 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
24145 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
24146 | } | |
24147 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
24148 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
24149 | } | |
24150 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
24151 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
24152 | } | |
24153 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
24154 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
24155 | } | |
24156 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
24157 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
24158 | } | |
24159 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
24160 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
24161 | } | |
24162 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
24163 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
24164 | } | |
24165 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
24166 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
24167 | } | |
24168 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
24169 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24170 | } | |
24171 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24172 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24173 | } | |
24174 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24175 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24176 | } | |
24177 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24178 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24179 | } | |
24180 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24181 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24182 | } | |
24183 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24184 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24185 | } | |
24186 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24187 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24188 | } | |
24189 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24190 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24191 | } | |
24192 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24193 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24194 | } | |
24195 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24196 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24197 | } | |
24198 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24199 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24200 | } | |
24201 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24202 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24203 | } | |
24204 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24205 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24206 | } | |
24207 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24208 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24209 | } | |
24210 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24211 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24212 | } | |
24213 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24214 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24215 | } | |
24216 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24217 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24218 | } | |
24219 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24220 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24221 | } | |
24222 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24223 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24224 | } | |
24225 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24226 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24227 | } | |
24228 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24229 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24230 | } | |
24231 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24232 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24233 | } | |
24234 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24235 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24236 | } | |
24237 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24238 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24239 | } | |
24240 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24241 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24242 | } | |
24243 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24244 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24245 | } | |
24246 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24247 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24248 | } | |
24249 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24250 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24251 | } | |
24252 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24253 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24254 | } | |
24255 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24256 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24257 | } | |
24258 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24259 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24260 | } | |
24261 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24262 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24263 | } | |
24264 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24265 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24266 | } | |
24267 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24268 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24269 | } | |
24270 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24271 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24272 | } | |
24273 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24274 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24275 | } | |
24276 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24277 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24278 | } | |
24279 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24280 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24281 | } | |
24282 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24283 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24284 | } | |
24285 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24286 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24287 | } | |
24288 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24289 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24290 | } | |
24291 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24292 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24293 | } | |
24294 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24295 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24296 | } | |
24297 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24298 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24299 | } | |
24300 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24301 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24302 | } | |
24303 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24304 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24305 | } | |
24306 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24307 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24308 | } | |
24309 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24310 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24311 | } | |
24312 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24313 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24314 | } | |
24315 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24316 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24317 | } | |
24318 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24319 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24320 | } | |
24321 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24322 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24323 | } | |
24324 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24325 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24326 | } | |
24327 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24328 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24329 | } | |
24330 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24331 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24332 | } | |
24333 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24334 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24335 | } | |
24336 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24337 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24338 | } | |
24339 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24340 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24341 | } | |
24342 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24343 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24344 | } | |
24345 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24346 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24347 | } | |
24348 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24349 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24350 | } | |
24351 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24352 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24353 | } | |
24354 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24355 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24356 | } | |
24357 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24358 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24359 | } | |
24360 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24361 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24362 | } | |
24363 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24364 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24365 | } | |
24366 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24367 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24368 | } | |
24369 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24370 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24371 | } | |
24372 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24373 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24374 | } | |
24375 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24376 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24377 | } | |
24378 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24379 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24380 | } | |
24381 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24382 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24383 | } | |
24384 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24385 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24386 | } | |
24387 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24388 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24389 | } | |
24390 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24391 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24392 | } | |
24393 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24394 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24395 | } | |
24396 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24397 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24398 | } | |
24399 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24400 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24401 | } | |
24402 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24403 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24404 | } | |
24405 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24406 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24407 | } | |
24408 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24409 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24410 | } | |
24411 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
24412 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24413 | } | |
24414 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
24415 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
24416 | } | |
24417 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
24418 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24419 | } | |
24420 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; | |
24421 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; | |
24422 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; | |
d14a1e28 RD |
24423 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; |
24424 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; | |
24425 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
24426 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}}; | |
24427 | 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}}; | |
24428 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}}; | |
24429 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}}; | |
24430 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}}; | |
24431 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}}; | |
24432 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}}; | |
24433 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
24434 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}}; | |
24435 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}}; | |
24436 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}}; | |
24437 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
24438 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; | |
24439 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
24440 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; | |
24441 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}}; | |
24442 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}}; | |
24443 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}}; | |
24444 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}}; | |
24445 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}}; | |
24446 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}}; | |
24447 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}}; | |
24448 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}}; | |
24449 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}}; | |
24450 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}}; | |
24451 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; | |
24452 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; | |
24453 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; | |
d14a1e28 RD |
24454 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; |
24455 | 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}}; | |
24456 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; | |
24457 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; | |
24458 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; | |
24459 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; | |
8edf1c75 | 24460 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}}; |
d14a1e28 RD |
24461 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; |
24462 | 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}}; | |
24463 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; | |
24464 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}}; | |
24465 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}}; | |
24466 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}}; | |
24467 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}}; | |
24468 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
24469 | 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}}; | |
24470 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}}; | |
24471 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}}; | |
24472 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}}; | |
24473 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; | |
24474 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; | |
d14a1e28 RD |
24475 | 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}}; |
24476 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}}; | |
24477 | 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}}; | |
24478 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}}; | |
24479 | 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}}; | |
24480 | 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}}; | |
24481 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
4e760a36 | 24482 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; |
d14a1e28 RD |
24483 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; |
24484 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; | |
24485 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; | |
24486 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
24487 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; | |
41f1cec7 | 24488 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; |
d14a1e28 RD |
24489 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; |
24490 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; | |
24491 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; | |
24492 | 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}}; | |
24493 | 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}}; | |
d14a1e28 RD |
24494 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; |
24495 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; | |
24496 | 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 |
24497 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}}; |
24498 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}}; | |
24499 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
24500 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}}; | |
d03fd34d | 24501 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; |
8edf1c75 | 24502 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}}; |
d14a1e28 RD |
24503 | |
24504 | static swig_type_info *swig_types_initial[] = { | |
24505 | _swigt__p_wxQueryLayoutInfoEvent, | |
24506 | _swigt__p_wxPreviewFrame, | |
24507 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
24508 | _swigt__p_wxPyPanel, |
24509 | _swigt__p_wxMenu, | |
24510 | _swigt__p_wxPrintData, | |
24511 | _swigt__p_wxFontData, | |
24512 | _swigt__p_wxEvent, | |
24513 | _swigt__p_wxTaskBarIcon, | |
24514 | _swigt__p_wxIconBundle, | |
24515 | _swigt__p_wxLayoutAlgorithm, | |
24516 | _swigt__p_wxFindDialogEvent, | |
24517 | _swigt__p_wxPreviewCanvas, | |
24518 | _swigt__p_wxFont, | |
24519 | _swigt__p_wxSplitterEvent, | |
24520 | _swigt__p_wxRegion, | |
24521 | _swigt__p_wxFindReplaceData, | |
24522 | _swigt__p_int, | |
24523 | _swigt__p_wxSize, | |
24524 | _swigt__p_wxDC, | |
24525 | _swigt__p_wxIcon, | |
24526 | _swigt__p_wxMDIChildFrame, | |
24527 | _swigt__p_wxColourData, | |
24528 | _swigt__p_wxNotifyEvent, | |
24529 | _swigt__p_wxPyWindow, | |
24530 | _swigt__p_wxSplashScreen, | |
24531 | _swigt__p_wxFindReplaceDialog, | |
24532 | _swigt__p_wxProgressDialog, | |
24533 | _swigt__p_wxMessageDialog, | |
24534 | _swigt__p_wxTextEntryDialog, | |
24535 | _swigt__p_wxSingleChoiceDialog, | |
24536 | _swigt__p_wxMultiChoiceDialog, | |
24537 | _swigt__p_wxFileDialog, | |
24538 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
24539 | _swigt__p_wxArrayInt, |
24540 | _swigt__p_wxEvtHandler, | |
24541 | _swigt__p_wxCalculateLayoutEvent, | |
24542 | _swigt__p_wxPyHtmlListBox, | |
24543 | _swigt__p_wxPyVListBox, | |
24544 | _swigt__p_wxRect, | |
8edf1c75 | 24545 | _swigt__p_char, |
d14a1e28 RD |
24546 | _swigt__p_wxMiniFrame, |
24547 | _swigt__p_wxFrame, | |
24548 | _swigt__p_wxPyPrintout, | |
24549 | _swigt__p_wxTaskBarIconEvent, | |
24550 | _swigt__p_wxScrollWinEvent, | |
24551 | _swigt__p_wxStatusBar, | |
24552 | _swigt__p_wxMDIParentFrame, | |
24553 | _swigt__p_wxPoint, | |
24554 | _swigt__p_wxObject, | |
24555 | _swigt__p_unsigned_long, | |
24556 | _swigt__p_wxMDIClientWindow, | |
24557 | _swigt__p_wxTipWindow, | |
24558 | _swigt__p_wxSashLayoutWindow, | |
24559 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
24560 | _swigt__p_wxPyVScrolledWindow, |
24561 | _swigt__p_wxPyPopupTransientWindow, | |
24562 | _swigt__p_wxPopupWindow, | |
24563 | _swigt__p_wxSashWindow, | |
24564 | _swigt__p_wxTopLevelWindow, | |
24565 | _swigt__p_wxWindow, | |
24566 | _swigt__p_wxScrolledWindow, | |
4e760a36 | 24567 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
24568 | _swigt__p_wxMenuBar, |
24569 | _swigt__p_wxPrintPreview, | |
24570 | _swigt__p_wxSashEvent, | |
24571 | _swigt__p_wxString, | |
24572 | _swigt__p_wxPyPrintPreview, | |
41f1cec7 | 24573 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
24574 | _swigt__p_wxFontDialog, |
24575 | _swigt__p_wxDirDialog, | |
24576 | _swigt__p_wxColourDialog, | |
24577 | _swigt__p_wxDialog, | |
24578 | _swigt__p_wxPanel, | |
d14a1e28 RD |
24579 | _swigt__p_wxPrintDialog, |
24580 | _swigt__p_wxBitmap, | |
24581 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
24582 | _swigt__p_wxPreviewControlBar, |
24583 | _swigt__p_wxPyPreviewControlBar, | |
24584 | _swigt__p_wxColour, | |
24585 | _swigt__p_wxToolBar, | |
d03fd34d | 24586 | _swigt__p_wxPageSetupDialogData, |
8edf1c75 | 24587 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
24588 | 0 |
24589 | }; | |
24590 | ||
24591 | ||
24592 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
24593 | ||
24594 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
24595 | {0}}; |
24596 | ||
24597 | #ifdef __cplusplus | |
24598 | } | |
24599 | #endif | |
24600 | ||
24601 | #ifdef __cplusplus | |
24602 | extern "C" | |
24603 | #endif | |
24604 | SWIGEXPORT(void) SWIG_init(void) { | |
24605 | static PyObject *SWIG_globals = 0; | |
24606 | static int typeinit = 0; | |
24607 | PyObject *m, *d; | |
24608 | int i; | |
24609 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
24610 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
24611 | d = PyModule_GetDict(m); | |
24612 | ||
24613 | if (!typeinit) { | |
24614 | for (i = 0; swig_types_initial[i]; i++) { | |
24615 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
24616 | } | |
24617 | typeinit = 1; | |
24618 | } | |
24619 | SWIG_InstallConstants(d,swig_const_table); | |
24620 | ||
d03fd34d RD |
24621 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
24622 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
24623 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
24624 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
24625 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
8edf1c75 RD |
24626 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
24627 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
24628 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
24629 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
24630 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
24631 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL)); | |
24632 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
24633 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
24634 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
24635 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE)); | |
24636 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT)); | |
24637 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
d03fd34d | 24638 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
8edf1c75 RD |
24639 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER)); |
24640 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH)); | |
24641 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
24642 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE)); | |
24643 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH)); | |
24644 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER)); | |
24645 | PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER)); | |
24646 | PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D)); | |
24647 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL)); | |
24648 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL)); | |
24649 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE)); | |
24650 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
24651 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
24652 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
24653 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
24654 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
24655 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
d03fd34d RD |
24656 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
24657 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
8edf1c75 RD |
24658 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE)); |
24659 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
24660 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
24661 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER)); | |
24662 | PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER)); | |
24663 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH)); | |
24664 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER)); | |
24665 | PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D)); | |
24666 | PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP)); | |
24667 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT)); | |
24668 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM)); | |
24669 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT)); | |
24670 | PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE)); | |
24671 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK)); | |
24672 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 24673 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
8edf1c75 RD |
24674 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL)); |
24675 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL)); | |
24676 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE)); | |
24677 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP)); | |
24678 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT)); | |
24679 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT)); | |
24680 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM)); | |
24681 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
24682 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X)); | |
24683 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
24684 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
24685 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
24686 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
d03fd34d | 24687 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
24688 | |
24689 | // Map renamed classes back to their common name for OOR | |
24690 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
24691 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
24692 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
24693 | ||
24694 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
24695 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
24696 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
24697 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
24698 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
24699 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
24700 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
d03fd34d RD |
24701 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
24702 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
24703 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
24704 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
24705 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
24706 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
8edf1c75 RD |
24707 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE)); |
24708 | PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN)); | |
24709 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD)); | |
24710 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE)); | |
24711 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG)); | |
24712 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN)); | |
24713 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE)); | |
24714 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
24715 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
24716 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
24717 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
24718 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
24719 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
8edf1c75 RD |
24720 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001)); |
24721 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001)); | |
24722 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002)); | |
24723 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003)); | |
24724 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004)); | |
24725 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005)); | |
24726 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100)); | |
24727 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600)); | |
d03fd34d RD |
24728 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
24729 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
8edf1c75 RD |
24730 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE)); |
24731 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
24732 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE)); | |
24733 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER)); | |
24734 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR)); | |
24735 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED)); | |
24736 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR)); | |
24737 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT)); | |
24738 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS)); | |
24739 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT)); | |
24740 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM)); | |
24741 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST)); | |
24742 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST)); | |
24743 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO)); | |
24744 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT)); | |
24745 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE)); | |
24746 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT)); | |
24747 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
24748 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT)); | |
24749 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM)); | |
24750 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST)); | |
24751 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST)); | |
24752 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
24753 | |
24754 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
24755 | ||
24756 | } | |
24757 |