]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
51 | |
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
cc6dd355 RD |
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
d14a1e28 | 82 | #else |
cc6dd355 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
cc6dd355 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
93 | #ifdef __cplusplus |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
cc6dd355 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
cc6dd355 | 104 | void *clientdata; |
d14a1e28 RD |
105 | swig_dycast_func dcast; |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
120 | |
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
126 | /*********************************************************************** | |
127 | * pyrun.swg for wxPython | |
128 | * | |
129 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
130 | * but not the runtime functions themselves. This helps keep the | |
131 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
132 | * anyway. | |
133 | * | |
134 | ************************************************************************/ | |
135 | ||
d14a1e28 RD |
136 | #include "Python.h" |
137 | ||
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | ||
142 | #define SWIG_PY_INT 1 | |
143 | #define SWIG_PY_FLOAT 2 | |
144 | #define SWIG_PY_STRING 3 | |
145 | #define SWIG_PY_POINTER 4 | |
146 | #define SWIG_PY_BINARY 5 | |
147 | ||
148 | /* Flags for pointer conversion */ | |
149 | ||
150 | #define SWIG_POINTER_EXCEPTION 0x1 | |
151 | #define SWIG_POINTER_DISOWN 0x2 | |
152 | ||
153 | /* Exception handling in wrappers */ | |
154 | #define SWIG_fail goto fail | |
155 | ||
156 | /* Constant information structure */ | |
157 | typedef struct swig_const_info { | |
158 | int type; | |
159 | char *name; | |
160 | long lvalue; | |
161 | double dvalue; | |
162 | void *pvalue; | |
163 | swig_type_info **ptype; | |
164 | } swig_const_info; | |
165 | ||
d14a1e28 RD |
166 | /* Common SWIG API */ |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 173 | |
d14a1e28 RD |
174 | /* Python-specific SWIG API */ |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
181 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
182 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
183 | #define SWIG_InstallConstants(d, constants) \ | |
184 | SWIG_Python_InstallConstants(d, constants) | |
185 | ||
994141e6 | 186 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 187 | |
cc6dd355 RD |
188 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
189 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
190 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
191 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
192 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
193 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
194 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
195 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 196 | |
d14a1e28 RD |
197 | |
198 | /* Contract support */ | |
199 | ||
9d1d5697 | 200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 201 | |
d14a1e28 RD |
202 | #ifdef __cplusplus |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
d14a1e28 RD |
207 | /* -------- TYPES TABLE (BEGIN) -------- */ |
208 | ||
209 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
210 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
211 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
1e0c8722 RD |
212 | #define SWIGTYPE_p_wxPyPanel swig_types[3] |
213 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
09c21d3b RD |
214 | #define SWIGTYPE_p_wxPrintData swig_types[5] |
215 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
216 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
1e0c8722 RD |
217 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] |
218 | #define SWIGTYPE_p_wxIconBundle swig_types[9] | |
219 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] | |
220 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[11] | |
221 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[12] | |
222 | #define SWIGTYPE_p_wxFont swig_types[13] | |
223 | #define SWIGTYPE_p_wxSplitterEvent swig_types[14] | |
224 | #define SWIGTYPE_p_wxRegion swig_types[15] | |
225 | #define SWIGTYPE_p_wxFindReplaceData swig_types[16] | |
226 | #define SWIGTYPE_p_int swig_types[17] | |
227 | #define SWIGTYPE_p_wxSize swig_types[18] | |
228 | #define SWIGTYPE_p_wxDC swig_types[19] | |
229 | #define SWIGTYPE_p_wxIcon swig_types[20] | |
22bfe96c RD |
230 | #define SWIGTYPE_p_wxVisualAttributes swig_types[21] |
231 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[22] | |
232 | #define SWIGTYPE_p_wxColourData swig_types[23] | |
233 | #define SWIGTYPE_p_wxNotifyEvent swig_types[24] | |
234 | #define SWIGTYPE_p_wxPyWindow swig_types[25] | |
235 | #define SWIGTYPE_p_wxSplashScreen swig_types[26] | |
236 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27] | |
237 | #define SWIGTYPE_p_wxProgressDialog swig_types[28] | |
238 | #define SWIGTYPE_p_wxMessageDialog swig_types[29] | |
239 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[30] | |
240 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31] | |
241 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32] | |
242 | #define SWIGTYPE_p_wxFileDialog swig_types[33] | |
243 | #define SWIGTYPE_p_wxPrinter swig_types[34] | |
244 | #define SWIGTYPE_p_wxArrayInt swig_types[35] | |
245 | #define SWIGTYPE_p_wxEvtHandler swig_types[36] | |
246 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37] | |
247 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38] | |
248 | #define SWIGTYPE_p_wxPyVListBox swig_types[39] | |
249 | #define SWIGTYPE_p_wxRect swig_types[40] | |
250 | #define SWIGTYPE_p_char swig_types[41] | |
251 | #define SWIGTYPE_p_wxMiniFrame swig_types[42] | |
252 | #define SWIGTYPE_p_wxFrame swig_types[43] | |
253 | #define SWIGTYPE_p_wxPyPrintout swig_types[44] | |
254 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45] | |
255 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[46] | |
256 | #define SWIGTYPE_p_wxStatusBar swig_types[47] | |
257 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[48] | |
258 | #define SWIGTYPE_p_wxPoint swig_types[49] | |
259 | #define SWIGTYPE_p_wxObject swig_types[50] | |
260 | #define SWIGTYPE_p_wxOutputStream swig_types[51] | |
09c21d3b RD |
261 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52] |
262 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] | |
263 | #define SWIGTYPE_p_wxTipWindow swig_types[54] | |
264 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] | |
265 | #define SWIGTYPE_p_wxSplitterWindow swig_types[56] | |
266 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57] | |
267 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58] | |
268 | #define SWIGTYPE_p_wxPopupWindow swig_types[59] | |
269 | #define SWIGTYPE_p_wxSashWindow swig_types[60] | |
270 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[61] | |
271 | #define SWIGTYPE_p_wxWindow swig_types[62] | |
272 | #define SWIGTYPE_p_wxScrolledWindow swig_types[63] | |
273 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64] | |
274 | #define SWIGTYPE_p_wxMenuBar swig_types[65] | |
275 | #define SWIGTYPE_p_wxPrintPreview swig_types[66] | |
276 | #define SWIGTYPE_p_wxSashEvent swig_types[67] | |
277 | #define SWIGTYPE_p_wxString swig_types[68] | |
278 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[69] | |
279 | #define SWIGTYPE_p_wxFontDialog swig_types[70] | |
280 | #define SWIGTYPE_p_wxDirDialog swig_types[71] | |
281 | #define SWIGTYPE_p_wxColourDialog swig_types[72] | |
282 | #define SWIGTYPE_p_wxDialog swig_types[73] | |
283 | #define SWIGTYPE_p_wxPanel swig_types[74] | |
284 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[75] | |
285 | #define SWIGTYPE_p_wxPrintDialog swig_types[76] | |
286 | #define SWIGTYPE_p_wxFileSystem swig_types[77] | |
287 | #define SWIGTYPE_p_wxBitmap swig_types[78] | |
288 | #define SWIGTYPE_p_wxCommandEvent swig_types[79] | |
289 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[80] | |
290 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81] | |
291 | #define SWIGTYPE_p_wxColour swig_types[82] | |
292 | #define SWIGTYPE_p_wxToolBar swig_types[83] | |
293 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] | |
294 | #define SWIGTYPE_p_wxPrintDialogData swig_types[85] | |
295 | static swig_type_info *swig_types[87]; | |
d14a1e28 RD |
296 | |
297 | /* -------- TYPES TABLE (END) -------- */ | |
298 | ||
299 | ||
300 | /*----------------------------------------------- | |
54f9ee45 | 301 | @(target):= _windows_.so |
d14a1e28 | 302 | ------------------------------------------------*/ |
54f9ee45 | 303 | #define SWIG_init init_windows_ |
d14a1e28 | 304 | |
54f9ee45 | 305 | #define SWIG_name "_windows_" |
d14a1e28 | 306 | |
15afbcd0 | 307 | /* Auxiliar swig macros */ |
994141e6 | 308 | |
994141e6 | 309 | #ifdef __cplusplus |
15afbcd0 | 310 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 311 | #define SWIGSTATIC(a) static a |
15afbcd0 RD |
312 | #define swig_new_array(type, size) (new type[(size)]) |
313 | #define swig_delete_array(cptr) delete[] cptr | |
314 | #define swig_const_cast(type,a) const_cast<type>(a) | |
315 | #define swig_static_cast(type,a) static_cast<type>(a) | |
316 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
994141e6 | 317 | |
994141e6 | 318 | #ifdef HAVE_NUMERIC_CAST |
15afbcd0 | 319 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
994141e6 | 320 | #else |
15afbcd0 | 321 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
994141e6 RD |
322 | #endif |
323 | ||
15afbcd0 RD |
324 | #else /* C case */ |
325 | ||
326 | #define SWIGSTATICINLINE(a) static a | |
327 | #define SWIGSTATIC(a) static a | |
328 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
329 | #define swig_delete_array(cptr) free((char*)cptr) | |
330 | #define swig_const_cast(type,a) (type)(a) | |
331 | #define swig_static_cast(type,a) (type)(a) | |
332 | #define swig_reinterpret_cast(type,a) (type)(a) | |
333 | #define swig_numeric_cast(type,a) (type)(a) | |
334 | ||
335 | #endif /* __cplusplus */ | |
994141e6 RD |
336 | |
337 | ||
15afbcd0 RD |
338 | #define SWIG_FromSignedChar PyInt_FromLong |
339 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
340 | #define SWIG_FromShort PyInt_FromLong | |
341 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
342 | #define SWIG_FromInt PyInt_FromLong | |
343 | #define SWIG_FromLong PyInt_FromLong | |
344 | #define SWIG_FromFloat PyFloat_FromDouble | |
345 | #define SWIG_FromDouble PyFloat_FromDouble | |
346 | #define SWIG_FromFloat PyFloat_FromDouble | |
347 | #define SWIG_FromDouble PyFloat_FromDouble | |
994141e6 RD |
348 | |
349 | ||
d14a1e28 RD |
350 | #include "wx/wxPython/wxPython.h" |
351 | #include "wx/wxPython/pyclasses.h" | |
352 | ||
d14a1e28 | 353 | |
b2dc1044 RD |
354 | static const wxString wxPyEmptyString(wxEmptyString); |
355 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
356 | |
357 | ||
358 | ||
15afbcd0 RD |
359 | #include <limits.h> |
360 | ||
361 | ||
362 | SWIGSTATICINLINE(long) | |
363 | SWIG_CheckLongInRange(long value, const char* type, | |
364 | long min_value, long max_value) | |
365 | { | |
366 | if (!PyErr_Occurred()) { | |
367 | if (value < min_value) { | |
368 | PyObject *err = | |
369 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
370 | value, type, min_value); | |
371 | ||
372 | PyErr_SetObject(PyExc_OverflowError, err); | |
373 | Py_DECREF(err); | |
374 | } else if (value > max_value) { | |
375 | PyObject *err = | |
376 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
377 | value, type, max_value); | |
378 | PyErr_SetObject(PyExc_OverflowError, err); | |
379 | Py_DECREF(err); | |
380 | } | |
381 | } | |
382 | return value; | |
994141e6 RD |
383 | } |
384 | ||
385 | ||
15afbcd0 RD |
386 | SWIGSTATICINLINE(long) |
387 | SWIG_AsLong(PyObject * obj) | |
994141e6 | 388 | { |
69223c70 RD |
389 | if (PyNumber_Check(obj)) |
390 | return PyInt_AsLong(obj); | |
391 | else { | |
392 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
393 | obj->ob_type->tp_name); | |
394 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
395 | Py_DECREF(errmsg); | |
396 | return 0; | |
397 | } | |
994141e6 RD |
398 | } |
399 | ||
400 | ||
15afbcd0 RD |
401 | #if INT_MAX != LONG_MAX |
402 | SWIGSTATICINLINE(int) | |
403 | SWIG_AsInt(PyObject *obj) | |
404 | { | |
405 | return swig_numeric_cast(int, | |
406 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
407 | "int", INT_MIN, INT_MAX)); | |
408 | } | |
409 | #else | |
410 | #define SWIG_AsInt SWIG_AsLong | |
411 | #endif | |
412 | ||
413 | ||
414 | SWIGSTATICINLINE(int) | |
415 | SWIG_CheckInt(PyObject* obj) | |
416 | { | |
417 | SWIG_AsInt(obj); | |
418 | if (PyErr_Occurred()) { | |
419 | PyErr_Clear(); | |
420 | return 0; | |
421 | } else { | |
422 | return 1; | |
423 | } | |
424 | } | |
425 | ||
426 | ||
427 | SWIGSTATICINLINE(int) | |
428 | SWIG_CheckLong(PyObject* obj) | |
429 | { | |
430 | SWIG_AsLong(obj); | |
431 | if (PyErr_Occurred()) { | |
432 | PyErr_Clear(); | |
433 | return 0; | |
434 | } else { | |
435 | return 1; | |
436 | } | |
437 | } | |
438 | ||
439 | ||
440 | SWIGSTATICINLINE(bool) | |
441 | SWIG_AsBool(PyObject *obj) | |
994141e6 RD |
442 | { |
443 | return PyObject_IsTrue(obj) ? true : false; | |
444 | } | |
445 | ||
446 | ||
15afbcd0 RD |
447 | SWIGSTATICINLINE(int) |
448 | SWIG_CheckBool(PyObject* obj) | |
449 | { | |
450 | SWIG_AsBool(obj); | |
451 | if (PyErr_Occurred()) { | |
452 | PyErr_Clear(); | |
453 | return 0; | |
454 | } else { | |
455 | return 1; | |
456 | } | |
457 | } | |
458 | ||
459 | ||
d14a1e28 RD |
460 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
461 | PyObject* o2; | |
462 | PyObject* o3; | |
463 | ||
464 | if (!target) { | |
465 | target = o; | |
466 | } else if (target == Py_None) { | |
467 | Py_DECREF(Py_None); | |
468 | target = o; | |
469 | } else { | |
470 | if (!PyTuple_Check(target)) { | |
471 | o2 = target; | |
472 | target = PyTuple_New(1); | |
473 | PyTuple_SetItem(target, 0, o2); | |
474 | } | |
475 | o3 = PyTuple_New(1); | |
476 | PyTuple_SetItem(o3, 0, o); | |
477 | ||
478 | o2 = target; | |
479 | target = PySequence_Concat(o2, o3); | |
480 | Py_DECREF(o2); | |
481 | Py_DECREF(o3); | |
482 | } | |
483 | return target; | |
484 | } | |
485 | ||
994141e6 | 486 | |
15afbcd0 RD |
487 | SWIGSTATICINLINE(double) |
488 | SWIG_AsDouble(PyObject *obj) | |
994141e6 | 489 | { |
69223c70 RD |
490 | if (PyNumber_Check(obj)) |
491 | return PyFloat_AsDouble(obj); | |
492 | else { | |
493 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
494 | obj->ob_type->tp_name); | |
495 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
496 | Py_DECREF(errmsg); | |
497 | return 0; | |
498 | } | |
15afbcd0 RD |
499 | } |
500 | ||
501 | ||
502 | SWIGSTATICINLINE(int) | |
503 | SWIG_CheckDouble(PyObject* obj) | |
504 | { | |
505 | SWIG_AsDouble(obj); | |
506 | if (PyErr_Occurred()) { | |
507 | PyErr_Clear(); | |
508 | return 0; | |
509 | } else { | |
510 | return 1; | |
511 | } | |
994141e6 RD |
512 | } |
513 | ||
b2dc1044 RD |
514 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
515 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
516 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
517 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
518 | |
519 | ||
7722248d RD |
520 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
521 | wxRect r; | |
522 | self->GetFieldRect(i, r); | |
523 | return r; | |
524 | } | |
33b885b9 RD |
525 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
526 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
527 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
528 | |
529 | #include <wx/popupwin.h> | |
530 | ||
531 | ||
532 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
533 | { | |
534 | public: | |
535 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
536 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
537 | : wxPopupTransientWindow(parent, style) {} | |
538 | ||
539 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
540 | DEC_PYCALLBACK__(OnDismiss); | |
541 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
542 | PYPRIVATE; | |
543 | }; | |
544 | ||
545 | ||
546 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
547 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
548 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
549 | ||
550 | ||
551 | #include <wx/tipwin.h> | |
552 | ||
fd3f2efe RD |
553 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
554 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
555 | } |
556 | ||
557 | #include <wx/tipwin.h> | |
558 | ||
559 | ||
560 | #include <wx/vscroll.h> | |
561 | ||
562 | ||
563 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
564 | { | |
565 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
566 | public: | |
567 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
568 | ||
569 | wxPyVScrolledWindow(wxWindow *parent, | |
570 | wxWindowID id = wxID_ANY, | |
571 | const wxPoint& pos = wxDefaultPosition, | |
572 | const wxSize& size = wxDefaultSize, | |
573 | long style = 0, | |
574 | const wxString& name = wxPyPanelNameStr) | |
575 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
576 | {} | |
577 | ||
578 | // Overridable virtuals | |
579 | ||
580 | // this function must be overridden in the derived class and it should | |
581 | // return the height of the given line in pixels | |
582 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
583 | ||
584 | ||
585 | // this function doesn't have to be overridden but it may be useful to do | |
586 | // it if calculating the lines heights is a relatively expensive operation | |
587 | // as it gives the user code a possibility to calculate several of them at | |
588 | // once | |
589 | // | |
590 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
591 | // shouldn't rely on the latter being called for all lines in the interval | |
592 | // specified here. It is also possible that OnGetLineHeight() will be | |
593 | // called for the lines outside of this interval, so this is really just a | |
594 | // hint, not a promise. | |
595 | // | |
596 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
597 | // usual | |
598 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
599 | ||
600 | ||
601 | // when the number of lines changes, we try to estimate the total height | |
602 | // of all lines which is a rather expensive operation in terms of lines | |
603 | // access, so if the user code may estimate the average height | |
604 | // better/faster than we do, it should override this function to implement | |
605 | // its own logic | |
606 | // | |
607 | // this function should return the best guess for the total height it may | |
608 | // make | |
609 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
610 | ||
611 | ||
612 | // Also expose some other interesting protected methods | |
613 | ||
614 | ||
615 | // find the index of the line we need to show at the top of the window such | |
616 | // that the last (fully or partially) visible line is the given one | |
e811c8ce | 617 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
618 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
619 | ||
620 | // get the total height of the lines between lineMin (inclusive) and | |
621 | // lineMax (exclusive) | |
622 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
623 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
624 | ||
625 | ||
626 | PYPRIVATE; | |
627 | }; | |
628 | ||
629 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
630 | ||
631 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
632 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
633 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
634 | ||
635 | ||
15afbcd0 RD |
636 | SWIGSTATICINLINE(unsigned long) |
637 | SWIG_AsUnsignedLong(PyObject * obj) | |
638 | { | |
639 | if (PyLong_Check(obj)) { | |
640 | return PyLong_AsUnsignedLong(obj); | |
641 | } else { | |
69223c70 | 642 | long i = SWIG_AsLong(obj); |
15afbcd0 | 643 | if ( !PyErr_Occurred() && (i < 0)) { |
69223c70 | 644 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); |
15afbcd0 RD |
645 | } |
646 | return i; | |
647 | } | |
648 | } | |
649 | ||
650 | ||
651 | SWIGSTATICINLINE(int) | |
652 | SWIG_CheckUnsignedLong(PyObject* obj) | |
653 | { | |
654 | SWIG_AsUnsignedLong(obj); | |
655 | if (PyErr_Occurred()) { | |
656 | PyErr_Clear(); | |
657 | return 0; | |
658 | } else { | |
659 | return 1; | |
660 | } | |
661 | } | |
662 | ||
663 | ||
664 | SWIGSTATICINLINE(PyObject* ) | |
665 | SWIG_FromUnsignedLong(unsigned long value) | |
994141e6 | 666 | { |
15afbcd0 RD |
667 | return (value > LONG_MAX) ? |
668 | PyLong_FromUnsignedLong(value) | |
669 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
994141e6 RD |
670 | } |
671 | ||
672 | ||
d14a1e28 | 673 | #include <wx/vlbox.h> |
d14a1e28 | 674 | |
b2dc1044 | 675 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
676 | |
677 | class wxPyVListBox : public wxVListBox | |
678 | { | |
679 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
680 | public: | |
681 | wxPyVListBox() : wxVListBox() {} | |
682 | ||
683 | wxPyVListBox(wxWindow *parent, | |
684 | wxWindowID id = wxID_ANY, | |
685 | const wxPoint& pos = wxDefaultPosition, | |
686 | const wxSize& size = wxDefaultSize, | |
687 | long style = 0, | |
688 | const wxString& name = wxPyVListBoxNameStr) | |
689 | : wxVListBox(parent, id, pos, size, style, name) | |
690 | {} | |
691 | ||
692 | // Overridable virtuals | |
693 | ||
694 | // the derived class must implement this function to actually draw the item | |
695 | // with the given index on the provided DC | |
696 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
697 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
698 | ||
699 | ||
700 | // the derived class must implement this method to return the height of the | |
701 | // specified item | |
702 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
703 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
704 | ||
705 | ||
706 | // this method may be used to draw separators between the lines; note that | |
707 | // the rectangle may be modified, typically to deflate it a bit before | |
708 | // passing to OnDrawItem() | |
709 | // | |
710 | // the base class version doesn't do anything | |
711 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
712 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
713 | ||
714 | ||
715 | // this method is used to draw the items background and, maybe, a border | |
716 | // around it | |
717 | // | |
718 | // the base class version implements a reasonable default behaviour which | |
719 | // consists in drawing the selected item with the standard background | |
720 | // colour and drawing a border around the item if it is either selected or | |
721 | // current | |
722 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
723 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
724 | ||
725 | ||
726 | PYPRIVATE; | |
727 | }; | |
728 | ||
729 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
730 | ||
731 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
732 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
733 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
734 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
735 | ||
736 | ||
09c21d3b RD |
737 | PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
738 | unsigned long cookie = 0; | |
739 | int selected = self->GetFirstSelected(cookie); | |
740 | bool blocked = wxPyBeginBlockThreads(); | |
741 | PyObject* tup = PyTuple_New(2); | |
742 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
743 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
744 | wxPyEndBlockThreads(blocked); | |
745 | return tup; | |
746 | } | |
747 | PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ | |
748 | int selected = self->GetNextSelected(cookie); | |
749 | bool blocked = wxPyBeginBlockThreads(); | |
750 | PyObject* tup = PyTuple_New(2); | |
751 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
752 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
753 | wxPyEndBlockThreads(blocked); | |
754 | return tup; | |
755 | } | |
d14a1e28 RD |
756 | |
757 | #include <wx/htmllbox.h> | |
758 | ||
759 | ||
760 | class wxPyHtmlListBox : public wxHtmlListBox | |
761 | { | |
762 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
763 | public: | |
764 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
765 | ||
766 | wxPyHtmlListBox(wxWindow *parent, | |
767 | wxWindowID id = wxID_ANY, | |
768 | const wxPoint& pos = wxDefaultPosition, | |
769 | const wxSize& size = wxDefaultSize, | |
770 | long style = 0, | |
771 | const wxString& name = wxPyVListBoxNameStr) | |
772 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
773 | {} | |
774 | ||
775 | // Overridable virtuals | |
776 | ||
777 | // this method must be implemented in the derived class and should return | |
778 | // the body (i.e. without <html>) of the HTML for the given item | |
779 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
780 | ||
781 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
782 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
783 | ||
784 | // TODO: | |
785 | // // this method allows to customize the selection appearance: it may be used | |
786 | // // to specify the colour of the text which normally has the given colour | |
787 | // // colFg when it is inside the selection | |
788 | // // | |
789 | // // by default, the original colour is not used at all and all text has the | |
790 | // // same (default for this system) colour inside selection | |
791 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
792 | ||
793 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
794 | // // background colour -- this is even more rarely used as you can change it | |
795 | // // globally using SetSelectionBackground() | |
796 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
797 | ||
798 | ||
799 | PYPRIVATE; | |
800 | }; | |
801 | ||
802 | ||
803 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
804 | ||
805 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
806 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
807 | ||
808 | ||
809 | ||
810 | ||
811 | ||
812 | #ifdef __WXMAC__ | |
813 | // implement dummy classes and such for wxMac | |
814 | ||
815 | class wxTaskBarIcon : public wxEvtHandler | |
816 | { | |
817 | public: | |
39f61e25 | 818 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 | 819 | }; |
09c21d3b | 820 | |
d14a1e28 RD |
821 | |
822 | class wxTaskBarIconEvent : public wxEvent | |
823 | { | |
824 | public: | |
825 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 826 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
827 | virtual wxEvent* Clone() const { return NULL; } |
828 | }; | |
829 | ||
830 | enum { | |
831 | wxEVT_TASKBAR_MOVE = 0, | |
832 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
833 | wxEVT_TASKBAR_LEFT_UP = 0, | |
834 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
835 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
836 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
837 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
838 | }; | |
09c21d3b RD |
839 | |
840 | ||
841 | #else | |
842 | // // Otherwise make a class that can virtualize CreatePopupMenu | |
843 | // class wxPyTaskBarIcon : public wxTaskBarIcon | |
844 | // { | |
845 | // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
846 | // public: | |
847 | // wxPyTaskBarIcon() : wxTaskBarIcon() | |
848 | // {} | |
849 | ||
850 | // wxMenu* CreatePopupMenu() { | |
851 | // wxMenu *rval = NULL; | |
852 | // bool found; | |
853 | // bool blocked = wxPyBeginBlockThreads(); | |
854 | // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
855 | // PyObject* ro; | |
856 | // wxMenu* ptr; | |
857 | // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
858 | // if (ro) { | |
859 | // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
860 | // rval = ptr; | |
861 | // Py_DECREF(ro); | |
862 | // } | |
863 | // } | |
864 | // wxPyEndBlockThreads(blocked); | |
865 | // if (! found) | |
866 | // rval = wxTaskBarIcon::CreatePopupMenu(); | |
867 | // return rval; | |
868 | // } | |
869 | ||
870 | // PYPRIVATE; | |
871 | // }; | |
872 | ||
873 | // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
874 | ||
d14a1e28 RD |
875 | #endif |
876 | ||
74a57fcd RD |
877 | void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){ |
878 | ||
879 | self->RemoveIcon(); | |
880 | ||
881 | } | |
b2dc1044 RD |
882 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
883 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
884 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
885 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
886 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
887 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
888 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
889 | wxArrayString arr; | |
890 | self->GetFilenames(arr); | |
891 | return wxArrayString2PyList_helper(arr); | |
892 | } | |
893 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
894 | wxArrayString arr; | |
895 | self->GetPaths(arr); | |
896 | return wxArrayString2PyList_helper(arr); | |
897 | } | |
898 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
899 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
900 | } | |
901 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
902 | return new wxSingleChoiceDialog(parent, message, caption, | |
903 | choices, choices_array, NULL, style, pos); | |
904 | } | |
905 | ||
906 | #include <wx/mdi.h> | |
907 | ||
908 | // C++ version of Python aware wxWindow | |
909 | class wxPyWindow : public wxWindow | |
910 | { | |
911 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
912 | public: | |
913 | wxPyWindow() : wxWindow() {} | |
914 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
915 | const wxPoint& pos = wxDefaultPosition, | |
916 | const wxSize& size = wxDefaultSize, | |
917 | long style = 0, | |
918 | const wxString& name = wxPyPanelNameStr) | |
919 | : wxWindow(parent, id, pos, size, style, name) {} | |
920 | ||
db3e571a | 921 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d14a1e28 RD |
922 | |
923 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
924 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
925 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
926 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
927 | ||
928 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
929 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
930 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
931 | ||
932 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
933 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
934 | ||
935 | DEC_PYCALLBACK__(InitDialog); | |
936 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
937 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
938 | DEC_PYCALLBACK_BOOL_(Validate); | |
939 | ||
940 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
941 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
942 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
943 | ||
944 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
945 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
946 | ||
db3e571a | 947 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 948 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 949 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 950 | |
d14a1e28 RD |
951 | PYPRIVATE; |
952 | }; | |
953 | ||
954 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
955 | ||
956 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
957 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
958 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
959 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
960 | ||
961 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
962 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
963 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
964 | ||
965 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
966 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
967 | ||
968 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
969 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
970 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
971 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
972 | ||
973 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
974 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
975 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
976 | ||
977 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
978 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
979 | ||
db3e571a | 980 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
1cb4a8aa | 981 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
db3e571a | 982 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
1cb4a8aa | 983 | |
d14a1e28 RD |
984 | |
985 | // C++ version of Python aware wxPanel | |
986 | class wxPyPanel : public wxPanel | |
987 | { | |
988 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
989 | public: | |
990 | wxPyPanel() : wxPanel() {} | |
991 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
992 | const wxPoint& pos = wxDefaultPosition, | |
993 | const wxSize& size = wxDefaultSize, | |
994 | long style = 0, | |
995 | const wxString& name = wxPyPanelNameStr) | |
996 | : wxPanel(parent, id, pos, size, style, name) {} | |
997 | ||
db3e571a RD |
998 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
999 | ||
d14a1e28 RD |
1000 | |
1001 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1002 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1003 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1004 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1005 | ||
1006 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1007 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1008 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1009 | ||
1010 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1011 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1012 | ||
1013 | DEC_PYCALLBACK__(InitDialog); | |
1014 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1015 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1016 | DEC_PYCALLBACK_BOOL_(Validate); | |
1017 | ||
1018 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1019 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1020 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1021 | ||
1022 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1023 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1024 | ||
db3e571a | 1025 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1026 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1027 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 1028 | |
d14a1e28 RD |
1029 | PYPRIVATE; |
1030 | }; | |
1031 | ||
1032 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
1033 | ||
1034 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
1035 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
1036 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
1037 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
1038 | ||
1039 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
1040 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
1041 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
1042 | ||
1043 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
1044 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
1045 | ||
1046 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
1047 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
1048 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
1049 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
1050 | ||
1051 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
1052 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
1053 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
1054 | ||
1055 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1056 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1057 | ||
db3e571a | 1058 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
1cb4a8aa | 1059 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
db3e571a | 1060 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
1cb4a8aa | 1061 | |
db3e571a | 1062 | |
1cb4a8aa RD |
1063 | // C++ version of Python aware wxScrolledWindow |
1064 | class wxPyScrolledWindow : public wxScrolledWindow | |
1065 | { | |
1066 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1067 | public: | |
1068 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1069 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1070 | const wxPoint& pos = wxDefaultPosition, | |
1071 | const wxSize& size = wxDefaultSize, | |
1072 | long style = 0, | |
1073 | const wxString& name = wxPyPanelNameStr) | |
1074 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1075 | ||
db3e571a | 1076 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
1cb4a8aa RD |
1077 | |
1078 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1079 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1080 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1081 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1082 | ||
1083 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1084 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1085 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1086 | ||
1087 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1088 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1089 | ||
1090 | DEC_PYCALLBACK__(InitDialog); | |
1091 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1092 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1093 | DEC_PYCALLBACK_BOOL_(Validate); | |
1094 | ||
1095 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1096 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1097 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1098 | ||
1099 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1100 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1101 | ||
db3e571a | 1102 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1103 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1104 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
1cb4a8aa RD |
1105 | |
1106 | PYPRIVATE; | |
1107 | }; | |
1108 | ||
1109 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1110 | ||
1111 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1112 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1113 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1114 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1115 | ||
1116 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1117 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1118 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1119 | ||
1120 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1121 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1122 | ||
1123 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1124 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1125 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1126 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1127 | ||
1128 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1129 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1130 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1131 | ||
1132 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1133 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1134 | ||
db3e571a | 1135 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
1cb4a8aa | 1136 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
db3e571a RD |
1137 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
1138 | ||
d14a1e28 RD |
1139 | |
1140 | ||
1141 | #include "wx/wxPython/printfw.h" | |
1142 | ||
d14a1e28 | 1143 | |
33b885b9 RD |
1144 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
1145 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
1146 | |
1147 | ||
1148 | ||
1149 | // Since this one would be tough and ugly to do with the Macros... | |
1150 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 1151 | bool hadErr = False; |
d14a1e28 RD |
1152 | bool found; |
1153 | ||
4f89f6a3 | 1154 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1155 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1156 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1157 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1158 | PyObject* val; | |
1159 | ||
1160 | val = PyTuple_GetItem(result, 0); | |
1161 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 1162 | else hadErr = True; |
d14a1e28 RD |
1163 | |
1164 | val = PyTuple_GetItem(result, 1); | |
1165 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 1166 | else hadErr = True; |
d14a1e28 RD |
1167 | |
1168 | val = PyTuple_GetItem(result, 2); | |
1169 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 1170 | else hadErr = True; |
d14a1e28 RD |
1171 | |
1172 | val = PyTuple_GetItem(result, 3); | |
1173 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 1174 | else hadErr = True; |
d14a1e28 RD |
1175 | } |
1176 | else | |
e811c8ce | 1177 | hadErr = True; |
d14a1e28 RD |
1178 | |
1179 | if (hadErr) { | |
1180 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1181 | PyErr_Print(); | |
1182 | } | |
1183 | Py_DECREF(result); | |
1184 | } | |
4f89f6a3 | 1185 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1186 | if (! found) |
1187 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1188 | } | |
1189 | ||
1190 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1191 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1192 | } | |
1193 | ||
1194 | ||
1195 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1196 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1197 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1198 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1199 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1200 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1201 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1202 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1208 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1209 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1210 | ||
1211 | ||
1212 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1213 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 1214 | bool rval=False; \ |
d14a1e28 | 1215 | bool found; \ |
4f89f6a3 | 1216 | bool blocked = wxPyBeginBlockThreads(); \ |
d14a1e28 RD |
1217 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
1218 | PyObject* win = wxPyMake_wxObject(a); \ | |
1219 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1220 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1221 | Py_DECREF(win); \ | |
1222 | Py_DECREF(dc); \ | |
1223 | } \ | |
4f89f6a3 | 1224 | wxPyEndBlockThreads(blocked); \ |
d14a1e28 RD |
1225 | if (! found) \ |
1226 | rval = PCLASS::CBNAME(a, b); \ | |
1227 | return rval; \ | |
1228 | } \ | |
1229 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1230 | return PCLASS::CBNAME(a, b); \ | |
1231 | } | |
1232 | ||
1233 | ||
1234 | ||
1235 | ||
1236 | class wxPyPrintPreview : public wxPrintPreview | |
1237 | { | |
1238 | DECLARE_CLASS(wxPyPrintPreview) | |
1239 | public: | |
4276dc52 RD |
1240 | wxPyPrintPreview(wxPyPrintout* printout, |
1241 | wxPyPrintout* printoutForPrinting, | |
1242 | wxPrintDialogData* data=NULL) | |
1243 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1244 | {} | |
d14a1e28 RD |
1245 | wxPyPrintPreview(wxPyPrintout* printout, |
1246 | wxPyPrintout* printoutForPrinting, | |
1247 | wxPrintData* data=NULL) | |
1248 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1249 | {} | |
1250 | ||
1251 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1252 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1253 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1254 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1255 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1256 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1257 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1258 | ||
1259 | PYPRIVATE; | |
1260 | }; | |
1261 | ||
1262 | // Stupid renamed classes... Fix this in 2.5... | |
1263 | #if defined(__WXMSW__) | |
1264 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1265 | #elif defined(__WXMAC__) | |
1266 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1267 | #else | |
1268 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1269 | #endif | |
1270 | ||
1271 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1272 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1273 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1274 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1275 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1276 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1277 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1278 | ||
1279 | ||
1280 | class wxPyPreviewFrame : public wxPreviewFrame | |
1281 | { | |
1282 | DECLARE_CLASS(wxPyPreviewFrame); | |
1283 | public: | |
1284 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1285 | const wxString& title, | |
1286 | const wxPoint& pos = wxDefaultPosition, | |
1287 | const wxSize& size = wxDefaultSize, | |
1288 | long style = wxDEFAULT_FRAME_STYLE, | |
1289 | const wxString& name = wxPyFrameNameStr) | |
1290 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1291 | {} | |
1292 | ||
1293 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1294 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1295 | ||
1296 | DEC_PYCALLBACK_VOID_(Initialize); | |
1297 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1298 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1299 | ||
1300 | PYPRIVATE; | |
1301 | }; | |
1302 | ||
1303 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1304 | ||
1305 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1306 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1307 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1308 | ||
1309 | ||
1310 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1311 | { | |
1312 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1313 | public: | |
1314 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1315 | long buttons, | |
1316 | wxWindow *parent, | |
1317 | const wxPoint& pos = wxDefaultPosition, | |
1318 | const wxSize& size = wxDefaultSize, | |
1319 | long style = 0, | |
1320 | const wxString& name = wxPyPanelNameStr) | |
1321 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1322 | {} | |
1323 | ||
1324 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1325 | ||
1326 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1327 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1328 | ||
1329 | PYPRIVATE; | |
1330 | }; | |
1331 | ||
1332 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1333 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1334 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1335 | ||
1336 | #ifdef __cplusplus | |
1337 | extern "C" { | |
1338 | #endif | |
1339 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject *resultobj; | |
1341 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1342 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1343 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1344 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1345 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1346 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1347 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1348 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1349 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1350 | wxPanel *result; | |
1351 | wxPoint temp3 ; | |
1352 | wxSize temp4 ; | |
e811c8ce | 1353 | bool temp6 = False ; |
d14a1e28 | 1354 | PyObject * obj0 = 0 ; |
994141e6 | 1355 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1356 | PyObject * obj2 = 0 ; |
1357 | PyObject * obj3 = 0 ; | |
994141e6 | 1358 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1359 | PyObject * obj5 = 0 ; |
1360 | char *kwnames[] = { | |
1361 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1362 | }; | |
1363 | ||
994141e6 | 1364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1367 | if (obj1) { |
15afbcd0 RD |
1368 | arg2 = (int const) SWIG_AsInt(obj1); |
1369 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1370 | } |
d14a1e28 RD |
1371 | if (obj2) { |
1372 | { | |
1373 | arg3 = &temp3; | |
1374 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1375 | } | |
1376 | } | |
1377 | if (obj3) { | |
1378 | { | |
1379 | arg4 = &temp4; | |
1380 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1381 | } | |
1382 | } | |
994141e6 | 1383 | if (obj4) { |
15afbcd0 RD |
1384 | arg5 = (long) SWIG_AsLong(obj4); |
1385 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1386 | } |
d14a1e28 RD |
1387 | if (obj5) { |
1388 | { | |
1389 | arg6 = wxString_in_helper(obj5); | |
1390 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1391 | temp6 = True; |
d14a1e28 RD |
1392 | } |
1393 | } | |
1394 | { | |
e3b71cb8 | 1395 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1397 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1398 | ||
1399 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 1400 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1401 | } |
e058867b RD |
1402 | { |
1403 | resultobj = wxPyMake_wxObject(result); | |
1404 | } | |
d14a1e28 RD |
1405 | { |
1406 | if (temp6) | |
1407 | delete arg6; | |
1408 | } | |
1409 | return resultobj; | |
1410 | fail: | |
1411 | { | |
1412 | if (temp6) | |
1413 | delete arg6; | |
1414 | } | |
1415 | return NULL; | |
1416 | } | |
1417 | ||
1418 | ||
1419 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1420 | PyObject *resultobj; | |
1421 | wxPanel *result; | |
1422 | char *kwnames[] = { | |
1423 | NULL | |
1424 | }; | |
1425 | ||
1426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1427 | { | |
e3b71cb8 | 1428 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1430 | result = (wxPanel *)new wxPanel(); | |
1431 | ||
1432 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 1433 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1434 | } |
e058867b RD |
1435 | { |
1436 | resultobj = wxPyMake_wxObject(result); | |
1437 | } | |
d14a1e28 RD |
1438 | return resultobj; |
1439 | fail: | |
1440 | return NULL; | |
1441 | } | |
1442 | ||
1443 | ||
1444 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1445 | PyObject *resultobj; | |
1446 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1447 | wxWindow *arg2 = (wxWindow *) 0 ; | |
cfe5e918 | 1448 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1449 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1450 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1451 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1452 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1453 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1454 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1455 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1456 | bool result; | |
1457 | wxPoint temp4 ; | |
1458 | wxSize temp5 ; | |
e811c8ce | 1459 | bool temp7 = False ; |
d14a1e28 RD |
1460 | PyObject * obj0 = 0 ; |
1461 | PyObject * obj1 = 0 ; | |
994141e6 | 1462 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1463 | PyObject * obj3 = 0 ; |
1464 | PyObject * obj4 = 0 ; | |
994141e6 | 1465 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1466 | PyObject * obj6 = 0 ; |
1467 | char *kwnames[] = { | |
1468 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1469 | }; | |
1470 | ||
cfe5e918 | 1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1474 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cfe5e918 RD |
1476 | if (obj2) { |
1477 | arg3 = (int const) SWIG_AsInt(obj2); | |
1478 | if (PyErr_Occurred()) SWIG_fail; | |
1479 | } | |
d14a1e28 RD |
1480 | if (obj3) { |
1481 | { | |
1482 | arg4 = &temp4; | |
1483 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1484 | } | |
1485 | } | |
1486 | if (obj4) { | |
1487 | { | |
1488 | arg5 = &temp5; | |
1489 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1490 | } | |
1491 | } | |
994141e6 | 1492 | if (obj5) { |
15afbcd0 RD |
1493 | arg6 = (long) SWIG_AsLong(obj5); |
1494 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1495 | } |
d14a1e28 RD |
1496 | if (obj6) { |
1497 | { | |
1498 | arg7 = wxString_in_helper(obj6); | |
1499 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1500 | temp7 = True; |
d14a1e28 RD |
1501 | } |
1502 | } | |
1503 | { | |
1504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1505 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1506 | ||
1507 | wxPyEndAllowThreads(__tstate); | |
1508 | if (PyErr_Occurred()) SWIG_fail; | |
1509 | } | |
4f89f6a3 RD |
1510 | { |
1511 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1512 | } | |
d14a1e28 RD |
1513 | { |
1514 | if (temp7) | |
1515 | delete arg7; | |
1516 | } | |
1517 | return resultobj; | |
1518 | fail: | |
1519 | { | |
1520 | if (temp7) | |
1521 | delete arg7; | |
1522 | } | |
1523 | return NULL; | |
1524 | } | |
1525 | ||
1526 | ||
1527 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1528 | PyObject *resultobj; | |
1529 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1530 | PyObject * obj0 = 0 ; | |
1531 | char *kwnames[] = { | |
1532 | (char *) "self", NULL | |
1533 | }; | |
1534 | ||
1535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1538 | { |
1539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1540 | (arg1)->InitDialog(); | |
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 | ||
22bfe96c RD |
1552 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
1553 | PyObject *resultobj; | |
1554 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
1555 | wxVisualAttributes result; | |
1556 | PyObject * obj0 = 0 ; | |
1557 | char *kwnames[] = { | |
1558 | (char *) "variant", NULL | |
1559 | }; | |
1560 | ||
1561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
1562 | if (obj0) { | |
1563 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
1564 | if (PyErr_Occurred()) SWIG_fail; | |
1565 | } | |
1566 | { | |
e3b71cb8 | 1567 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
1568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1569 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
1570 | ||
1571 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 1572 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
1573 | } |
1574 | { | |
1575 | wxVisualAttributes * resultptr; | |
1576 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
1577 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
1578 | } | |
1579 | return resultobj; | |
1580 | fail: | |
1581 | return NULL; | |
1582 | } | |
1583 | ||
1584 | ||
d14a1e28 RD |
1585 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { |
1586 | PyObject *obj; | |
1587 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1588 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1589 | Py_INCREF(obj); | |
1590 | return Py_BuildValue((char *)""); | |
1591 | } | |
1592 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1593 | PyObject *resultobj; | |
1594 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1595 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1596 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1597 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1598 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1599 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1600 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1601 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1602 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1603 | wxScrolledWindow *result; | |
1604 | wxPoint temp3 ; | |
1605 | wxSize temp4 ; | |
e811c8ce | 1606 | bool temp6 = False ; |
d14a1e28 | 1607 | PyObject * obj0 = 0 ; |
994141e6 | 1608 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1609 | PyObject * obj2 = 0 ; |
1610 | PyObject * obj3 = 0 ; | |
994141e6 | 1611 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1612 | PyObject * obj5 = 0 ; |
1613 | char *kwnames[] = { | |
1614 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1615 | }; | |
1616 | ||
994141e6 | 1617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1620 | if (obj1) { |
15afbcd0 RD |
1621 | arg2 = (int const) SWIG_AsInt(obj1); |
1622 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1623 | } |
d14a1e28 RD |
1624 | if (obj2) { |
1625 | { | |
1626 | arg3 = &temp3; | |
1627 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1628 | } | |
1629 | } | |
1630 | if (obj3) { | |
1631 | { | |
1632 | arg4 = &temp4; | |
1633 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1634 | } | |
1635 | } | |
994141e6 | 1636 | if (obj4) { |
15afbcd0 RD |
1637 | arg5 = (long) SWIG_AsLong(obj4); |
1638 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1639 | } |
d14a1e28 RD |
1640 | if (obj5) { |
1641 | { | |
1642 | arg6 = wxString_in_helper(obj5); | |
1643 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1644 | temp6 = True; |
d14a1e28 RD |
1645 | } |
1646 | } | |
1647 | { | |
e3b71cb8 | 1648 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1650 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1651 | ||
1652 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 1653 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1654 | } |
15afbcd0 | 1655 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1656 | { |
1657 | if (temp6) | |
1658 | delete arg6; | |
1659 | } | |
1660 | return resultobj; | |
1661 | fail: | |
1662 | { | |
1663 | if (temp6) | |
1664 | delete arg6; | |
1665 | } | |
1666 | return NULL; | |
1667 | } | |
1668 | ||
1669 | ||
1670 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1671 | PyObject *resultobj; | |
1672 | wxScrolledWindow *result; | |
1673 | char *kwnames[] = { | |
1674 | NULL | |
1675 | }; | |
1676 | ||
1677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1678 | { | |
e3b71cb8 | 1679 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1681 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1682 | ||
1683 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 1684 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1685 | } |
15afbcd0 | 1686 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1687 | return resultobj; |
1688 | fail: | |
1689 | return NULL; | |
1690 | } | |
1691 | ||
1692 | ||
1693 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1694 | PyObject *resultobj; | |
1695 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1696 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1697 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1698 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1699 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1700 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1701 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1702 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1703 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1704 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1705 | bool result; | |
1706 | wxPoint temp4 ; | |
1707 | wxSize temp5 ; | |
e811c8ce | 1708 | bool temp7 = False ; |
d14a1e28 RD |
1709 | PyObject * obj0 = 0 ; |
1710 | PyObject * obj1 = 0 ; | |
994141e6 | 1711 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1712 | PyObject * obj3 = 0 ; |
1713 | PyObject * obj4 = 0 ; | |
994141e6 | 1714 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1715 | PyObject * obj6 = 0 ; |
1716 | char *kwnames[] = { | |
1717 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1718 | }; | |
1719 | ||
994141e6 | 1720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1723 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1725 | if (obj2) { |
15afbcd0 RD |
1726 | arg3 = (int const) SWIG_AsInt(obj2); |
1727 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1728 | } |
d14a1e28 RD |
1729 | if (obj3) { |
1730 | { | |
1731 | arg4 = &temp4; | |
1732 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1733 | } | |
1734 | } | |
1735 | if (obj4) { | |
1736 | { | |
1737 | arg5 = &temp5; | |
1738 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1739 | } | |
1740 | } | |
994141e6 | 1741 | if (obj5) { |
15afbcd0 RD |
1742 | arg6 = (long) SWIG_AsLong(obj5); |
1743 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1744 | } |
d14a1e28 RD |
1745 | if (obj6) { |
1746 | { | |
1747 | arg7 = wxString_in_helper(obj6); | |
1748 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1749 | temp7 = True; |
d14a1e28 RD |
1750 | } |
1751 | } | |
1752 | { | |
1753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1754 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1755 | ||
1756 | wxPyEndAllowThreads(__tstate); | |
1757 | if (PyErr_Occurred()) SWIG_fail; | |
1758 | } | |
4f89f6a3 RD |
1759 | { |
1760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1761 | } | |
d14a1e28 RD |
1762 | { |
1763 | if (temp7) | |
1764 | delete arg7; | |
1765 | } | |
1766 | return resultobj; | |
1767 | fail: | |
1768 | { | |
1769 | if (temp7) | |
1770 | delete arg7; | |
1771 | } | |
1772 | return NULL; | |
1773 | } | |
1774 | ||
1775 | ||
1776 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1777 | PyObject *resultobj; | |
1778 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1779 | int arg2 ; | |
1780 | int arg3 ; | |
1781 | int arg4 ; | |
1782 | int arg5 ; | |
1783 | int arg6 = (int) 0 ; | |
1784 | int arg7 = (int) 0 ; | |
e811c8ce | 1785 | bool arg8 = (bool) False ; |
d14a1e28 | 1786 | PyObject * obj0 = 0 ; |
994141e6 RD |
1787 | PyObject * obj1 = 0 ; |
1788 | PyObject * obj2 = 0 ; | |
1789 | PyObject * obj3 = 0 ; | |
1790 | PyObject * obj4 = 0 ; | |
1791 | PyObject * obj5 = 0 ; | |
1792 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1793 | PyObject * obj7 = 0 ; |
1794 | char *kwnames[] = { | |
1795 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1796 | }; | |
1797 | ||
994141e6 | 1798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1801 | arg2 = (int) SWIG_AsInt(obj1); | |
1802 | if (PyErr_Occurred()) SWIG_fail; | |
1803 | arg3 = (int) SWIG_AsInt(obj2); | |
1804 | if (PyErr_Occurred()) SWIG_fail; | |
1805 | arg4 = (int) SWIG_AsInt(obj3); | |
1806 | if (PyErr_Occurred()) SWIG_fail; | |
1807 | arg5 = (int) SWIG_AsInt(obj4); | |
1808 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1809 | if (obj5) { |
15afbcd0 RD |
1810 | arg6 = (int) SWIG_AsInt(obj5); |
1811 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
1812 | } |
1813 | if (obj6) { | |
15afbcd0 RD |
1814 | arg7 = (int) SWIG_AsInt(obj6); |
1815 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1816 | } |
d14a1e28 | 1817 | if (obj7) { |
15afbcd0 RD |
1818 | arg8 = (bool) SWIG_AsBool(obj7); |
1819 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1820 | } |
1821 | { | |
1822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1823 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1824 | ||
1825 | wxPyEndAllowThreads(__tstate); | |
1826 | if (PyErr_Occurred()) SWIG_fail; | |
1827 | } | |
1828 | Py_INCREF(Py_None); resultobj = Py_None; | |
1829 | return resultobj; | |
1830 | fail: | |
1831 | return NULL; | |
1832 | } | |
1833 | ||
1834 | ||
1835 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1836 | PyObject *resultobj; | |
1837 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1838 | int arg2 ; | |
1839 | int arg3 ; | |
1840 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1841 | PyObject * obj1 = 0 ; |
1842 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1843 | char *kwnames[] = { |
1844 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1845 | }; | |
1846 | ||
994141e6 | 1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1848 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1850 | arg2 = (int) SWIG_AsInt(obj1); | |
1851 | if (PyErr_Occurred()) SWIG_fail; | |
1852 | arg3 = (int) SWIG_AsInt(obj2); | |
1853 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1854 | { |
1855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1856 | (arg1)->Scroll(arg2,arg3); | |
1857 | ||
1858 | wxPyEndAllowThreads(__tstate); | |
1859 | if (PyErr_Occurred()) SWIG_fail; | |
1860 | } | |
1861 | Py_INCREF(Py_None); resultobj = Py_None; | |
1862 | return resultobj; | |
1863 | fail: | |
1864 | return NULL; | |
1865 | } | |
1866 | ||
1867 | ||
1868 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1869 | PyObject *resultobj; | |
1870 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1871 | int arg2 ; | |
1872 | int result; | |
1873 | PyObject * obj0 = 0 ; | |
994141e6 | 1874 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1875 | char *kwnames[] = { |
1876 | (char *) "self",(char *) "orient", NULL | |
1877 | }; | |
1878 | ||
994141e6 | 1879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1882 | arg2 = (int) SWIG_AsInt(obj1); | |
1883 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1884 | { |
1885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1886 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1887 | ||
1888 | wxPyEndAllowThreads(__tstate); | |
1889 | if (PyErr_Occurred()) SWIG_fail; | |
1890 | } | |
15afbcd0 | 1891 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1892 | return resultobj; |
1893 | fail: | |
1894 | return NULL; | |
1895 | } | |
1896 | ||
1897 | ||
1898 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1899 | PyObject *resultobj; | |
1900 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1901 | int arg2 ; | |
1902 | int arg3 ; | |
1903 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1904 | PyObject * obj1 = 0 ; |
1905 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1906 | char *kwnames[] = { |
1907 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1908 | }; | |
1909 | ||
994141e6 | 1910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1913 | arg2 = (int) SWIG_AsInt(obj1); | |
1914 | if (PyErr_Occurred()) SWIG_fail; | |
1915 | arg3 = (int) SWIG_AsInt(obj2); | |
1916 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1917 | { |
1918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1919 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1920 | ||
1921 | wxPyEndAllowThreads(__tstate); | |
1922 | if (PyErr_Occurred()) SWIG_fail; | |
1923 | } | |
1924 | Py_INCREF(Py_None); resultobj = Py_None; | |
1925 | return resultobj; | |
1926 | fail: | |
1927 | return NULL; | |
1928 | } | |
1929 | ||
1930 | ||
1931 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1932 | PyObject *resultobj; | |
1933 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1934 | int arg2 ; | |
1935 | int arg3 ; | |
1936 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1937 | PyObject * obj1 = 0 ; |
1938 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1939 | char *kwnames[] = { |
1940 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1941 | }; | |
1942 | ||
994141e6 | 1943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1946 | arg2 = (int) SWIG_AsInt(obj1); | |
1947 | if (PyErr_Occurred()) SWIG_fail; | |
1948 | arg3 = (int) SWIG_AsInt(obj2); | |
1949 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1950 | { |
1951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1952 | (arg1)->SetScrollRate(arg2,arg3); | |
1953 | ||
1954 | wxPyEndAllowThreads(__tstate); | |
1955 | if (PyErr_Occurred()) SWIG_fail; | |
1956 | } | |
1957 | Py_INCREF(Py_None); resultobj = Py_None; | |
1958 | return resultobj; | |
1959 | fail: | |
1960 | return NULL; | |
1961 | } | |
1962 | ||
1963 | ||
1964 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1965 | PyObject *resultobj; | |
1966 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1967 | int *arg2 = (int *) 0 ; | |
1968 | int *arg3 = (int *) 0 ; | |
1969 | int temp2 ; | |
1970 | int temp3 ; | |
1971 | PyObject * obj0 = 0 ; | |
1972 | char *kwnames[] = { | |
1973 | (char *) "self", NULL | |
1974 | }; | |
1975 | ||
1976 | arg2 = &temp2; | |
1977 | arg3 = &temp3; | |
1978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1981 | { |
1982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1983 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1984 | ||
1985 | wxPyEndAllowThreads(__tstate); | |
1986 | if (PyErr_Occurred()) SWIG_fail; | |
1987 | } | |
1988 | Py_INCREF(Py_None); resultobj = Py_None; | |
1989 | { | |
1990 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1991 | resultobj = t_output_helper(resultobj,o); | |
1992 | } | |
1993 | { | |
1994 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1995 | resultobj = t_output_helper(resultobj,o); | |
1996 | } | |
1997 | return resultobj; | |
1998 | fail: | |
1999 | return NULL; | |
2000 | } | |
2001 | ||
2002 | ||
2003 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2004 | PyObject *resultobj; | |
2005 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2006 | bool arg2 ; | |
2007 | bool arg3 ; | |
2008 | PyObject * obj0 = 0 ; | |
2009 | PyObject * obj1 = 0 ; | |
2010 | PyObject * obj2 = 0 ; | |
2011 | char *kwnames[] = { | |
2012 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
2013 | }; | |
2014 | ||
2015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2018 | arg2 = (bool) SWIG_AsBool(obj1); | |
2019 | if (PyErr_Occurred()) SWIG_fail; | |
2020 | arg3 = (bool) SWIG_AsBool(obj2); | |
2021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2022 | { |
2023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2024 | (arg1)->EnableScrolling(arg2,arg3); | |
2025 | ||
2026 | wxPyEndAllowThreads(__tstate); | |
2027 | if (PyErr_Occurred()) SWIG_fail; | |
2028 | } | |
2029 | Py_INCREF(Py_None); resultobj = Py_None; | |
2030 | return resultobj; | |
2031 | fail: | |
2032 | return NULL; | |
2033 | } | |
2034 | ||
2035 | ||
2036 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2037 | PyObject *resultobj; | |
2038 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2039 | int *arg2 = (int *) 0 ; | |
2040 | int *arg3 = (int *) 0 ; | |
2041 | int temp2 ; | |
2042 | int temp3 ; | |
2043 | PyObject * obj0 = 0 ; | |
2044 | char *kwnames[] = { | |
2045 | (char *) "self", NULL | |
2046 | }; | |
2047 | ||
2048 | arg2 = &temp2; | |
2049 | arg3 = &temp3; | |
2050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2053 | { |
2054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2055 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
2056 | ||
2057 | wxPyEndAllowThreads(__tstate); | |
2058 | if (PyErr_Occurred()) SWIG_fail; | |
2059 | } | |
2060 | Py_INCREF(Py_None); resultobj = Py_None; | |
2061 | { | |
2062 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
2063 | resultobj = t_output_helper(resultobj,o); | |
2064 | } | |
2065 | { | |
2066 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
2067 | resultobj = t_output_helper(resultobj,o); | |
2068 | } | |
2069 | return resultobj; | |
2070 | fail: | |
2071 | return NULL; | |
2072 | } | |
2073 | ||
2074 | ||
2075 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2076 | PyObject *resultobj; | |
2077 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2078 | double arg2 ; | |
2079 | double arg3 ; | |
2080 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2081 | PyObject * obj1 = 0 ; |
2082 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2083 | char *kwnames[] = { |
2084 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
2085 | }; | |
2086 | ||
994141e6 | 2087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2090 | arg2 = (double) SWIG_AsDouble(obj1); | |
2091 | if (PyErr_Occurred()) SWIG_fail; | |
2092 | arg3 = (double) SWIG_AsDouble(obj2); | |
2093 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2094 | { |
2095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2096 | (arg1)->SetScale(arg2,arg3); | |
2097 | ||
2098 | wxPyEndAllowThreads(__tstate); | |
2099 | if (PyErr_Occurred()) SWIG_fail; | |
2100 | } | |
2101 | Py_INCREF(Py_None); resultobj = Py_None; | |
2102 | return resultobj; | |
2103 | fail: | |
2104 | return NULL; | |
2105 | } | |
2106 | ||
2107 | ||
2108 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2109 | PyObject *resultobj; | |
2110 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2111 | double result; | |
2112 | PyObject * obj0 = 0 ; | |
2113 | char *kwnames[] = { | |
2114 | (char *) "self", NULL | |
2115 | }; | |
2116 | ||
2117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2120 | { |
2121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2122 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2123 | ||
2124 | wxPyEndAllowThreads(__tstate); | |
2125 | if (PyErr_Occurred()) SWIG_fail; | |
2126 | } | |
15afbcd0 | 2127 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2128 | return resultobj; |
2129 | fail: | |
2130 | return NULL; | |
2131 | } | |
2132 | ||
2133 | ||
2134 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2135 | PyObject *resultobj; | |
2136 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2137 | double result; | |
2138 | PyObject * obj0 = 0 ; | |
2139 | char *kwnames[] = { | |
2140 | (char *) "self", NULL | |
2141 | }; | |
2142 | ||
2143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2146 | { |
2147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2148 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2149 | ||
2150 | wxPyEndAllowThreads(__tstate); | |
2151 | if (PyErr_Occurred()) SWIG_fail; | |
2152 | } | |
15afbcd0 | 2153 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
2154 | return resultobj; |
2155 | fail: | |
2156 | return NULL; | |
2157 | } | |
2158 | ||
2159 | ||
2160 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2161 | PyObject *resultobj; | |
2162 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2163 | wxPoint *arg2 = 0 ; |
2164 | wxPoint result; | |
2165 | wxPoint temp2 ; | |
d14a1e28 | 2166 | PyObject * obj0 = 0 ; |
322913ce | 2167 | PyObject * obj1 = 0 ; |
d14a1e28 | 2168 | |
322913ce | 2169 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2172 | { |
2173 | arg2 = &temp2; | |
2174 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2175 | } | |
d14a1e28 RD |
2176 | { |
2177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2178 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2179 | |
2180 | wxPyEndAllowThreads(__tstate); | |
2181 | if (PyErr_Occurred()) SWIG_fail; | |
2182 | } | |
d14a1e28 | 2183 | { |
322913ce RD |
2184 | wxPoint * resultptr; |
2185 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2186 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2187 | } |
2188 | return resultobj; | |
2189 | fail: | |
2190 | return NULL; | |
2191 | } | |
2192 | ||
2193 | ||
2194 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2195 | PyObject *resultobj; | |
2196 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2197 | int arg2 ; |
2198 | int arg3 ; | |
2199 | int *arg4 = (int *) 0 ; | |
2200 | int *arg5 = (int *) 0 ; | |
2201 | int temp4 ; | |
2202 | int temp5 ; | |
d14a1e28 | 2203 | PyObject * obj0 = 0 ; |
994141e6 RD |
2204 | PyObject * obj1 = 0 ; |
2205 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2206 | |
322913ce RD |
2207 | arg4 = &temp4; |
2208 | arg5 = &temp5; | |
994141e6 | 2209 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2212 | arg2 = (int) SWIG_AsInt(obj1); | |
2213 | if (PyErr_Occurred()) SWIG_fail; | |
2214 | arg3 = (int) SWIG_AsInt(obj2); | |
2215 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2216 | { |
2217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2218 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2219 | |
2220 | wxPyEndAllowThreads(__tstate); | |
2221 | if (PyErr_Occurred()) SWIG_fail; | |
2222 | } | |
322913ce | 2223 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2224 | { |
322913ce RD |
2225 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2226 | resultobj = t_output_helper(resultobj,o); | |
2227 | } | |
2228 | { | |
2229 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2230 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2231 | } |
2232 | return resultobj; | |
2233 | fail: | |
2234 | return NULL; | |
2235 | } | |
2236 | ||
2237 | ||
2238 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2239 | int argc; | |
2240 | PyObject *argv[4]; | |
2241 | int ii; | |
2242 | ||
2243 | argc = PyObject_Length(args); | |
2244 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2245 | argv[ii] = PyTuple_GetItem(args,ii); | |
2246 | } | |
2247 | if (argc == 2) { | |
2248 | int _v; | |
2249 | { | |
2250 | void *ptr; | |
15afbcd0 | 2251 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2252 | _v = 0; |
2253 | PyErr_Clear(); | |
2254 | } else { | |
2255 | _v = 1; | |
2256 | } | |
2257 | } | |
2258 | if (_v) { | |
2259 | { | |
2260 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2261 | } | |
2262 | if (_v) { | |
322913ce | 2263 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2264 | } |
2265 | } | |
2266 | } | |
2267 | if (argc == 3) { | |
2268 | int _v; | |
2269 | { | |
2270 | void *ptr; | |
15afbcd0 | 2271 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2272 | _v = 0; |
2273 | PyErr_Clear(); | |
2274 | } else { | |
2275 | _v = 1; | |
2276 | } | |
2277 | } | |
2278 | if (_v) { | |
15afbcd0 | 2279 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2280 | if (_v) { |
15afbcd0 | 2281 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2282 | if (_v) { |
322913ce | 2283 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2284 | } |
2285 | } | |
2286 | } | |
2287 | } | |
2288 | ||
2289 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2290 | return NULL; | |
2291 | } | |
2292 | ||
2293 | ||
2294 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2295 | PyObject *resultobj; | |
2296 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2297 | wxPoint *arg2 = 0 ; |
2298 | wxPoint result; | |
2299 | wxPoint temp2 ; | |
d14a1e28 | 2300 | PyObject * obj0 = 0 ; |
322913ce | 2301 | PyObject * obj1 = 0 ; |
d14a1e28 | 2302 | |
322913ce | 2303 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2306 | { |
2307 | arg2 = &temp2; | |
2308 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2309 | } | |
d14a1e28 RD |
2310 | { |
2311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2312 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2313 | |
2314 | wxPyEndAllowThreads(__tstate); | |
2315 | if (PyErr_Occurred()) SWIG_fail; | |
2316 | } | |
d14a1e28 | 2317 | { |
322913ce RD |
2318 | wxPoint * resultptr; |
2319 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2320 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2321 | } |
2322 | return resultobj; | |
2323 | fail: | |
2324 | return NULL; | |
2325 | } | |
2326 | ||
2327 | ||
2328 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2329 | PyObject *resultobj; | |
2330 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2331 | int arg2 ; |
2332 | int arg3 ; | |
2333 | int *arg4 = (int *) 0 ; | |
2334 | int *arg5 = (int *) 0 ; | |
2335 | int temp4 ; | |
2336 | int temp5 ; | |
d14a1e28 | 2337 | PyObject * obj0 = 0 ; |
994141e6 RD |
2338 | PyObject * obj1 = 0 ; |
2339 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2340 | |
322913ce RD |
2341 | arg4 = &temp4; |
2342 | arg5 = &temp5; | |
994141e6 | 2343 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2346 | arg2 = (int) SWIG_AsInt(obj1); | |
2347 | if (PyErr_Occurred()) SWIG_fail; | |
2348 | arg3 = (int) SWIG_AsInt(obj2); | |
2349 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2350 | { |
2351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2352 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2353 | |
2354 | wxPyEndAllowThreads(__tstate); | |
2355 | if (PyErr_Occurred()) SWIG_fail; | |
2356 | } | |
322913ce | 2357 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2358 | { |
322913ce RD |
2359 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2360 | resultobj = t_output_helper(resultobj,o); | |
2361 | } | |
2362 | { | |
2363 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2364 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2365 | } |
2366 | return resultobj; | |
2367 | fail: | |
2368 | return NULL; | |
2369 | } | |
2370 | ||
2371 | ||
2372 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2373 | int argc; | |
2374 | PyObject *argv[4]; | |
2375 | int ii; | |
2376 | ||
2377 | argc = PyObject_Length(args); | |
2378 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2379 | argv[ii] = PyTuple_GetItem(args,ii); | |
2380 | } | |
2381 | if (argc == 2) { | |
2382 | int _v; | |
2383 | { | |
2384 | void *ptr; | |
15afbcd0 | 2385 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2386 | _v = 0; |
2387 | PyErr_Clear(); | |
2388 | } else { | |
2389 | _v = 1; | |
2390 | } | |
2391 | } | |
2392 | if (_v) { | |
2393 | { | |
2394 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2395 | } | |
2396 | if (_v) { | |
322913ce | 2397 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2398 | } |
2399 | } | |
2400 | } | |
2401 | if (argc == 3) { | |
2402 | int _v; | |
2403 | { | |
2404 | void *ptr; | |
15afbcd0 | 2405 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2406 | _v = 0; |
2407 | PyErr_Clear(); | |
2408 | } else { | |
2409 | _v = 1; | |
2410 | } | |
2411 | } | |
2412 | if (_v) { | |
15afbcd0 | 2413 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2414 | if (_v) { |
15afbcd0 | 2415 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2416 | if (_v) { |
322913ce | 2417 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2418 | } |
2419 | } | |
2420 | } | |
2421 | } | |
2422 | ||
2423 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2424 | return NULL; | |
2425 | } | |
2426 | ||
2427 | ||
2428 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2429 | PyObject *resultobj; | |
2430 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2431 | PyObject * obj0 = 0 ; | |
2432 | char *kwnames[] = { | |
2433 | (char *) "self", NULL | |
2434 | }; | |
2435 | ||
2436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2439 | { |
2440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2441 | (arg1)->AdjustScrollbars(); | |
2442 | ||
2443 | wxPyEndAllowThreads(__tstate); | |
2444 | if (PyErr_Occurred()) SWIG_fail; | |
2445 | } | |
2446 | Py_INCREF(Py_None); resultobj = Py_None; | |
2447 | return resultobj; | |
2448 | fail: | |
2449 | return NULL; | |
2450 | } | |
2451 | ||
2452 | ||
2453 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2454 | PyObject *resultobj; | |
2455 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2456 | wxScrollWinEvent *arg2 = 0 ; | |
2457 | int result; | |
2458 | PyObject * obj0 = 0 ; | |
2459 | PyObject * obj1 = 0 ; | |
2460 | char *kwnames[] = { | |
2461 | (char *) "self",(char *) "event", NULL | |
2462 | }; | |
2463 | ||
2464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2467 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2468 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2469 | SWIG_fail; | |
d14a1e28 | 2470 | if (arg2 == NULL) { |
15afbcd0 RD |
2471 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2472 | SWIG_fail; | |
d14a1e28 RD |
2473 | } |
2474 | { | |
2475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2476 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2477 | ||
2478 | wxPyEndAllowThreads(__tstate); | |
2479 | if (PyErr_Occurred()) SWIG_fail; | |
2480 | } | |
15afbcd0 | 2481 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2482 | return resultobj; |
2483 | fail: | |
2484 | return NULL; | |
2485 | } | |
2486 | ||
2487 | ||
2488 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2489 | PyObject *resultobj; | |
2490 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2491 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2492 | PyObject * obj0 = 0 ; | |
2493 | PyObject * obj1 = 0 ; | |
2494 | char *kwnames[] = { | |
2495 | (char *) "self",(char *) "target", NULL | |
2496 | }; | |
2497 | ||
2498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2501 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2503 | { |
2504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2505 | (arg1)->SetTargetWindow(arg2); | |
2506 | ||
2507 | wxPyEndAllowThreads(__tstate); | |
2508 | if (PyErr_Occurred()) SWIG_fail; | |
2509 | } | |
2510 | Py_INCREF(Py_None); resultobj = Py_None; | |
2511 | return resultobj; | |
2512 | fail: | |
2513 | return NULL; | |
2514 | } | |
2515 | ||
2516 | ||
2517 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2518 | PyObject *resultobj; | |
2519 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2520 | wxWindow *result; | |
2521 | PyObject * obj0 = 0 ; | |
2522 | char *kwnames[] = { | |
2523 | (char *) "self", NULL | |
2524 | }; | |
2525 | ||
2526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2529 | { |
2530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2531 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2532 | ||
2533 | wxPyEndAllowThreads(__tstate); | |
2534 | if (PyErr_Occurred()) SWIG_fail; | |
2535 | } | |
2536 | { | |
2537 | resultobj = wxPyMake_wxObject(result); | |
2538 | } | |
2539 | return resultobj; | |
2540 | fail: | |
2541 | return NULL; | |
2542 | } | |
2543 | ||
2544 | ||
22bfe96c RD |
2545 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
2546 | PyObject *resultobj; | |
2547 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
2548 | wxVisualAttributes result; | |
2549 | PyObject * obj0 = 0 ; | |
2550 | char *kwnames[] = { | |
2551 | (char *) "variant", NULL | |
2552 | }; | |
2553 | ||
2554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2555 | if (obj0) { | |
2556 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
2557 | if (PyErr_Occurred()) SWIG_fail; | |
2558 | } | |
2559 | { | |
e3b71cb8 | 2560 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
2561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2562 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2563 | ||
2564 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 2565 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
2566 | } |
2567 | { | |
2568 | wxVisualAttributes * resultptr; | |
2569 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
2570 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
2571 | } | |
2572 | return resultobj; | |
2573 | fail: | |
2574 | return NULL; | |
2575 | } | |
2576 | ||
2577 | ||
d14a1e28 RD |
2578 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { |
2579 | PyObject *obj; | |
2580 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2581 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2582 | Py_INCREF(obj); | |
2583 | return Py_BuildValue((char *)""); | |
2584 | } | |
b2dc1044 RD |
2585 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2586 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2587 | return 1; | |
2588 | } | |
2589 | ||
2590 | ||
2591 | static PyObject *_wrap_FrameNameStr_get() { | |
2592 | PyObject *pyobj; | |
2593 | ||
2594 | { | |
2595 | #if wxUSE_UNICODE | |
2596 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2597 | #else | |
2598 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2599 | #endif | |
2600 | } | |
2601 | return pyobj; | |
2602 | } | |
2603 | ||
2604 | ||
2605 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2606 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2607 | return 1; | |
2608 | } | |
2609 | ||
2610 | ||
2611 | static PyObject *_wrap_DialogNameStr_get() { | |
2612 | PyObject *pyobj; | |
2613 | ||
2614 | { | |
2615 | #if wxUSE_UNICODE | |
2616 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2617 | #else | |
2618 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2619 | #endif | |
2620 | } | |
2621 | return pyobj; | |
2622 | } | |
2623 | ||
2624 | ||
2625 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2626 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2627 | return 1; | |
2628 | } | |
2629 | ||
2630 | ||
2631 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2632 | PyObject *pyobj; | |
2633 | ||
2634 | { | |
2635 | #if wxUSE_UNICODE | |
2636 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2637 | #else | |
2638 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2639 | #endif | |
2640 | } | |
2641 | return pyobj; | |
2642 | } | |
2643 | ||
2644 | ||
2645 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2646 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2647 | return 1; | |
2648 | } | |
2649 | ||
2650 | ||
2651 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2652 | PyObject *pyobj; | |
2653 | ||
2654 | { | |
2655 | #if wxUSE_UNICODE | |
2656 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2657 | #else | |
2658 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2659 | #endif | |
2660 | } | |
2661 | return pyobj; | |
2662 | } | |
2663 | ||
2664 | ||
d14a1e28 RD |
2665 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2666 | PyObject *resultobj; | |
2667 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2668 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2669 | PyObject * obj0 = 0 ; |
2670 | PyObject * obj1 = 0 ; | |
2671 | char *kwnames[] = { | |
2672 | (char *) "self",(char *) "maximize", NULL | |
2673 | }; | |
2674 | ||
2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2678 | if (obj1) { |
15afbcd0 RD |
2679 | arg2 = (bool) SWIG_AsBool(obj1); |
2680 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2681 | } |
2682 | { | |
2683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2684 | (arg1)->Maximize(arg2); | |
2685 | ||
2686 | wxPyEndAllowThreads(__tstate); | |
2687 | if (PyErr_Occurred()) SWIG_fail; | |
2688 | } | |
2689 | Py_INCREF(Py_None); resultobj = Py_None; | |
2690 | return resultobj; | |
2691 | fail: | |
2692 | return NULL; | |
2693 | } | |
2694 | ||
2695 | ||
2696 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2697 | PyObject *resultobj; | |
2698 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2699 | PyObject * obj0 = 0 ; | |
2700 | char *kwnames[] = { | |
2701 | (char *) "self", NULL | |
2702 | }; | |
2703 | ||
2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2707 | { |
2708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2709 | (arg1)->Restore(); | |
2710 | ||
2711 | wxPyEndAllowThreads(__tstate); | |
2712 | if (PyErr_Occurred()) SWIG_fail; | |
2713 | } | |
2714 | Py_INCREF(Py_None); resultobj = Py_None; | |
2715 | return resultobj; | |
2716 | fail: | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
2721 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2722 | PyObject *resultobj; | |
2723 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2724 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2725 | PyObject * obj0 = 0 ; |
2726 | PyObject * obj1 = 0 ; | |
2727 | char *kwnames[] = { | |
2728 | (char *) "self",(char *) "iconize", NULL | |
2729 | }; | |
2730 | ||
2731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2734 | if (obj1) { |
15afbcd0 RD |
2735 | arg2 = (bool) SWIG_AsBool(obj1); |
2736 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2737 | } |
2738 | { | |
2739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2740 | (arg1)->Iconize(arg2); | |
2741 | ||
2742 | wxPyEndAllowThreads(__tstate); | |
2743 | if (PyErr_Occurred()) SWIG_fail; | |
2744 | } | |
2745 | Py_INCREF(Py_None); resultobj = Py_None; | |
2746 | return resultobj; | |
2747 | fail: | |
2748 | return NULL; | |
2749 | } | |
2750 | ||
2751 | ||
2752 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2753 | PyObject *resultobj; | |
2754 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2755 | bool result; | |
2756 | PyObject * obj0 = 0 ; | |
2757 | char *kwnames[] = { | |
2758 | (char *) "self", NULL | |
2759 | }; | |
2760 | ||
2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2764 | { |
2765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2766 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2767 | ||
2768 | wxPyEndAllowThreads(__tstate); | |
2769 | if (PyErr_Occurred()) SWIG_fail; | |
2770 | } | |
4f89f6a3 RD |
2771 | { |
2772 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2773 | } | |
d14a1e28 RD |
2774 | return resultobj; |
2775 | fail: | |
2776 | return NULL; | |
2777 | } | |
2778 | ||
2779 | ||
2780 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2781 | PyObject *resultobj; | |
2782 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2783 | bool result; | |
2784 | PyObject * obj0 = 0 ; | |
2785 | char *kwnames[] = { | |
2786 | (char *) "self", NULL | |
2787 | }; | |
2788 | ||
2789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2792 | { |
2793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2794 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2795 | ||
2796 | wxPyEndAllowThreads(__tstate); | |
2797 | if (PyErr_Occurred()) SWIG_fail; | |
2798 | } | |
4f89f6a3 RD |
2799 | { |
2800 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2801 | } | |
d14a1e28 RD |
2802 | return resultobj; |
2803 | fail: | |
2804 | return NULL; | |
2805 | } | |
2806 | ||
2807 | ||
2808 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2809 | PyObject *resultobj; | |
2810 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2811 | wxIcon result; | |
2812 | PyObject * obj0 = 0 ; | |
2813 | char *kwnames[] = { | |
2814 | (char *) "self", NULL | |
2815 | }; | |
2816 | ||
2817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2820 | { |
2821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2822 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2823 | ||
2824 | wxPyEndAllowThreads(__tstate); | |
2825 | if (PyErr_Occurred()) SWIG_fail; | |
2826 | } | |
2827 | { | |
2828 | wxIcon * resultptr; | |
2829 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2830 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2831 | } |
2832 | return resultobj; | |
2833 | fail: | |
2834 | return NULL; | |
2835 | } | |
2836 | ||
2837 | ||
2838 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2839 | PyObject *resultobj; | |
2840 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2841 | wxIcon *arg2 = 0 ; | |
2842 | PyObject * obj0 = 0 ; | |
2843 | PyObject * obj1 = 0 ; | |
2844 | char *kwnames[] = { | |
2845 | (char *) "self",(char *) "icon", NULL | |
2846 | }; | |
2847 | ||
2848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2851 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2852 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2853 | SWIG_fail; | |
d14a1e28 | 2854 | if (arg2 == NULL) { |
15afbcd0 RD |
2855 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2856 | SWIG_fail; | |
d14a1e28 RD |
2857 | } |
2858 | { | |
2859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2860 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2861 | ||
2862 | wxPyEndAllowThreads(__tstate); | |
2863 | if (PyErr_Occurred()) SWIG_fail; | |
2864 | } | |
2865 | Py_INCREF(Py_None); resultobj = Py_None; | |
2866 | return resultobj; | |
2867 | fail: | |
2868 | return NULL; | |
2869 | } | |
2870 | ||
2871 | ||
2872 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2873 | PyObject *resultobj; | |
2874 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2875 | wxIconBundle *arg2 = 0 ; | |
2876 | PyObject * obj0 = 0 ; | |
2877 | PyObject * obj1 = 0 ; | |
2878 | char *kwnames[] = { | |
2879 | (char *) "self",(char *) "icons", NULL | |
2880 | }; | |
2881 | ||
2882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2885 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2886 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2887 | SWIG_fail; | |
d14a1e28 | 2888 | if (arg2 == NULL) { |
15afbcd0 RD |
2889 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2890 | SWIG_fail; | |
d14a1e28 RD |
2891 | } |
2892 | { | |
2893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2894 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2895 | ||
2896 | wxPyEndAllowThreads(__tstate); | |
2897 | if (PyErr_Occurred()) SWIG_fail; | |
2898 | } | |
2899 | Py_INCREF(Py_None); resultobj = Py_None; | |
2900 | return resultobj; | |
2901 | fail: | |
2902 | return NULL; | |
2903 | } | |
2904 | ||
2905 | ||
2906 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2907 | PyObject *resultobj; | |
2908 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2909 | bool arg2 ; | |
2910 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2911 | bool result; | |
2912 | PyObject * obj0 = 0 ; | |
2913 | PyObject * obj1 = 0 ; | |
994141e6 | 2914 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2915 | char *kwnames[] = { |
2916 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2917 | }; | |
2918 | ||
994141e6 | 2919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2922 | arg2 = (bool) SWIG_AsBool(obj1); | |
2923 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2924 | if (obj2) { |
15afbcd0 RD |
2925 | arg3 = (long) SWIG_AsLong(obj2); |
2926 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2927 | } |
d14a1e28 RD |
2928 | { |
2929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2930 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2931 | ||
2932 | wxPyEndAllowThreads(__tstate); | |
2933 | if (PyErr_Occurred()) SWIG_fail; | |
2934 | } | |
4f89f6a3 RD |
2935 | { |
2936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2937 | } | |
d14a1e28 RD |
2938 | return resultobj; |
2939 | fail: | |
2940 | return NULL; | |
2941 | } | |
2942 | ||
2943 | ||
2944 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2945 | PyObject *resultobj; | |
2946 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2947 | bool result; | |
2948 | PyObject * obj0 = 0 ; | |
2949 | char *kwnames[] = { | |
2950 | (char *) "self", NULL | |
2951 | }; | |
2952 | ||
2953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2956 | { |
2957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2958 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2959 | ||
2960 | wxPyEndAllowThreads(__tstate); | |
2961 | if (PyErr_Occurred()) SWIG_fail; | |
2962 | } | |
4f89f6a3 RD |
2963 | { |
2964 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2965 | } | |
d14a1e28 RD |
2966 | return resultobj; |
2967 | fail: | |
2968 | return NULL; | |
2969 | } | |
2970 | ||
2971 | ||
2972 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2973 | PyObject *resultobj; | |
2974 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2975 | wxString *arg2 = 0 ; | |
e811c8ce | 2976 | bool temp2 = False ; |
d14a1e28 RD |
2977 | PyObject * obj0 = 0 ; |
2978 | PyObject * obj1 = 0 ; | |
2979 | char *kwnames[] = { | |
2980 | (char *) "self",(char *) "title", NULL | |
2981 | }; | |
2982 | ||
2983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2986 | { |
2987 | arg2 = wxString_in_helper(obj1); | |
2988 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2989 | temp2 = True; |
d14a1e28 RD |
2990 | } |
2991 | { | |
2992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2993 | (arg1)->SetTitle((wxString const &)*arg2); | |
2994 | ||
2995 | wxPyEndAllowThreads(__tstate); | |
2996 | if (PyErr_Occurred()) SWIG_fail; | |
2997 | } | |
2998 | Py_INCREF(Py_None); resultobj = Py_None; | |
2999 | { | |
3000 | if (temp2) | |
3001 | delete arg2; | |
3002 | } | |
3003 | return resultobj; | |
3004 | fail: | |
3005 | { | |
3006 | if (temp2) | |
3007 | delete arg2; | |
3008 | } | |
3009 | return NULL; | |
3010 | } | |
3011 | ||
3012 | ||
3013 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3014 | PyObject *resultobj; | |
3015 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3016 | wxString result; | |
3017 | PyObject * obj0 = 0 ; | |
3018 | char *kwnames[] = { | |
3019 | (char *) "self", NULL | |
3020 | }; | |
3021 | ||
3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3025 | { |
3026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3027 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
3028 | ||
3029 | wxPyEndAllowThreads(__tstate); | |
3030 | if (PyErr_Occurred()) SWIG_fail; | |
3031 | } | |
3032 | { | |
3033 | #if wxUSE_UNICODE | |
3034 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3035 | #else | |
3036 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3037 | #endif | |
3038 | } | |
3039 | return resultobj; | |
3040 | fail: | |
3041 | return NULL; | |
3042 | } | |
3043 | ||
3044 | ||
3045 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3046 | PyObject *resultobj; | |
3047 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3048 | wxRegion *arg2 = 0 ; | |
3049 | bool result; | |
3050 | PyObject * obj0 = 0 ; | |
3051 | PyObject * obj1 = 0 ; | |
3052 | char *kwnames[] = { | |
3053 | (char *) "self",(char *) "region", NULL | |
3054 | }; | |
3055 | ||
3056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3059 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
3060 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3061 | SWIG_fail; | |
d14a1e28 | 3062 | if (arg2 == NULL) { |
15afbcd0 RD |
3063 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3064 | SWIG_fail; | |
d14a1e28 RD |
3065 | } |
3066 | { | |
3067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3068 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
3069 | ||
3070 | wxPyEndAllowThreads(__tstate); | |
3071 | if (PyErr_Occurred()) SWIG_fail; | |
3072 | } | |
4f89f6a3 RD |
3073 | { |
3074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3075 | } | |
d14a1e28 RD |
3076 | return resultobj; |
3077 | fail: | |
3078 | return NULL; | |
3079 | } | |
3080 | ||
3081 | ||
3082 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
3083 | PyObject *obj; | |
3084 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3085 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
3086 | Py_INCREF(obj); | |
3087 | return Py_BuildValue((char *)""); | |
3088 | } | |
3089 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3090 | PyObject *resultobj; | |
3091 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
3092 | int arg2 = (int) (int)-1 ; |
3093 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3094 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
3095 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3096 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3097 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3098 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3099 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3100 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3101 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3102 | wxFrame *result; | |
e811c8ce | 3103 | bool temp3 = False ; |
d14a1e28 RD |
3104 | wxPoint temp4 ; |
3105 | wxSize temp5 ; | |
e811c8ce | 3106 | bool temp7 = False ; |
d14a1e28 | 3107 | PyObject * obj0 = 0 ; |
994141e6 | 3108 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3109 | PyObject * obj2 = 0 ; |
3110 | PyObject * obj3 = 0 ; | |
3111 | PyObject * obj4 = 0 ; | |
994141e6 | 3112 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3113 | PyObject * obj6 = 0 ; |
3114 | char *kwnames[] = { | |
3115 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3116 | }; | |
3117 | ||
248ed943 | 3118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
3121 | if (obj1) { |
3122 | arg2 = (int const) SWIG_AsInt(obj1); | |
3123 | if (PyErr_Occurred()) SWIG_fail; | |
3124 | } | |
3125 | if (obj2) { | |
3126 | { | |
3127 | arg3 = wxString_in_helper(obj2); | |
3128 | if (arg3 == NULL) SWIG_fail; | |
3129 | temp3 = True; | |
3130 | } | |
d14a1e28 RD |
3131 | } |
3132 | if (obj3) { | |
3133 | { | |
3134 | arg4 = &temp4; | |
3135 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3136 | } | |
3137 | } | |
3138 | if (obj4) { | |
3139 | { | |
3140 | arg5 = &temp5; | |
3141 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3142 | } | |
3143 | } | |
994141e6 | 3144 | if (obj5) { |
15afbcd0 RD |
3145 | arg6 = (long) SWIG_AsLong(obj5); |
3146 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3147 | } |
d14a1e28 RD |
3148 | if (obj6) { |
3149 | { | |
3150 | arg7 = wxString_in_helper(obj6); | |
3151 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3152 | temp7 = True; |
d14a1e28 RD |
3153 | } |
3154 | } | |
3155 | { | |
e3b71cb8 | 3156 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3158 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3159 | ||
3160 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 3161 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3162 | } |
3163 | { | |
3164 | resultobj = wxPyMake_wxObject(result); | |
3165 | } | |
3166 | { | |
3167 | if (temp3) | |
3168 | delete arg3; | |
3169 | } | |
3170 | { | |
3171 | if (temp7) | |
3172 | delete arg7; | |
3173 | } | |
3174 | return resultobj; | |
3175 | fail: | |
3176 | { | |
3177 | if (temp3) | |
3178 | delete arg3; | |
3179 | } | |
3180 | { | |
3181 | if (temp7) | |
3182 | delete arg7; | |
3183 | } | |
3184 | return NULL; | |
3185 | } | |
3186 | ||
3187 | ||
3188 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3189 | PyObject *resultobj; | |
3190 | wxFrame *result; | |
3191 | char *kwnames[] = { | |
3192 | NULL | |
3193 | }; | |
3194 | ||
3195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3196 | { | |
e3b71cb8 | 3197 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3199 | result = (wxFrame *)new wxFrame(); | |
3200 | ||
3201 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 3202 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3203 | } |
3204 | { | |
3205 | resultobj = wxPyMake_wxObject(result); | |
3206 | } | |
3207 | return resultobj; | |
3208 | fail: | |
3209 | return NULL; | |
3210 | } | |
3211 | ||
3212 | ||
3213 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3214 | PyObject *resultobj; | |
3215 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3216 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
3217 | int arg3 = (int) (int)-1 ; |
3218 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3219 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
3220 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
3221 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3222 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3223 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3224 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3225 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3226 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3227 | bool result; | |
e811c8ce | 3228 | bool temp4 = False ; |
d14a1e28 RD |
3229 | wxPoint temp5 ; |
3230 | wxSize temp6 ; | |
e811c8ce | 3231 | bool temp8 = False ; |
d14a1e28 RD |
3232 | PyObject * obj0 = 0 ; |
3233 | PyObject * obj1 = 0 ; | |
994141e6 | 3234 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3235 | PyObject * obj3 = 0 ; |
3236 | PyObject * obj4 = 0 ; | |
3237 | PyObject * obj5 = 0 ; | |
994141e6 | 3238 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3239 | PyObject * obj7 = 0 ; |
3240 | char *kwnames[] = { | |
3241 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3242 | }; | |
3243 | ||
248ed943 | 3244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3247 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
3249 | if (obj2) { |
3250 | arg3 = (int const) SWIG_AsInt(obj2); | |
3251 | if (PyErr_Occurred()) SWIG_fail; | |
3252 | } | |
3253 | if (obj3) { | |
3254 | { | |
3255 | arg4 = wxString_in_helper(obj3); | |
3256 | if (arg4 == NULL) SWIG_fail; | |
3257 | temp4 = True; | |
3258 | } | |
d14a1e28 RD |
3259 | } |
3260 | if (obj4) { | |
3261 | { | |
3262 | arg5 = &temp5; | |
3263 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3264 | } | |
3265 | } | |
3266 | if (obj5) { | |
3267 | { | |
3268 | arg6 = &temp6; | |
3269 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3270 | } | |
3271 | } | |
994141e6 | 3272 | if (obj6) { |
15afbcd0 RD |
3273 | arg7 = (long) SWIG_AsLong(obj6); |
3274 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3275 | } |
d14a1e28 RD |
3276 | if (obj7) { |
3277 | { | |
3278 | arg8 = wxString_in_helper(obj7); | |
3279 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3280 | temp8 = True; |
d14a1e28 RD |
3281 | } |
3282 | } | |
3283 | { | |
3284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3285 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3286 | ||
3287 | wxPyEndAllowThreads(__tstate); | |
3288 | if (PyErr_Occurred()) SWIG_fail; | |
3289 | } | |
4f89f6a3 RD |
3290 | { |
3291 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3292 | } | |
d14a1e28 RD |
3293 | { |
3294 | if (temp4) | |
3295 | delete arg4; | |
3296 | } | |
3297 | { | |
3298 | if (temp8) | |
3299 | delete arg8; | |
3300 | } | |
3301 | return resultobj; | |
3302 | fail: | |
3303 | { | |
3304 | if (temp4) | |
3305 | delete arg4; | |
3306 | } | |
3307 | { | |
3308 | if (temp8) | |
3309 | delete arg8; | |
3310 | } | |
3311 | return NULL; | |
3312 | } | |
3313 | ||
3314 | ||
3315 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3316 | PyObject *resultobj; | |
3317 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3318 | wxPoint result; | |
3319 | PyObject * obj0 = 0 ; | |
3320 | char *kwnames[] = { | |
3321 | (char *) "self", NULL | |
3322 | }; | |
3323 | ||
3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3327 | { |
3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3329 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3330 | ||
3331 | wxPyEndAllowThreads(__tstate); | |
3332 | if (PyErr_Occurred()) SWIG_fail; | |
3333 | } | |
3334 | { | |
3335 | wxPoint * resultptr; | |
3336 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3337 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3338 | } |
3339 | return resultobj; | |
3340 | fail: | |
3341 | return NULL; | |
3342 | } | |
3343 | ||
3344 | ||
3345 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3346 | PyObject *resultobj; | |
3347 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3348 | PyObject * obj0 = 0 ; | |
3349 | char *kwnames[] = { | |
3350 | (char *) "self", NULL | |
3351 | }; | |
3352 | ||
3353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3356 | { |
3357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3358 | (arg1)->SendSizeEvent(); | |
3359 | ||
3360 | wxPyEndAllowThreads(__tstate); | |
3361 | if (PyErr_Occurred()) SWIG_fail; | |
3362 | } | |
3363 | Py_INCREF(Py_None); resultobj = Py_None; | |
3364 | return resultobj; | |
3365 | fail: | |
3366 | return NULL; | |
3367 | } | |
3368 | ||
3369 | ||
3370 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3371 | PyObject *resultobj; | |
3372 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3373 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3374 | PyObject * obj0 = 0 ; | |
3375 | PyObject * obj1 = 0 ; | |
3376 | char *kwnames[] = { | |
3377 | (char *) "self",(char *) "menubar", NULL | |
3378 | }; | |
3379 | ||
3380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3383 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3385 | { |
3386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3387 | (arg1)->SetMenuBar(arg2); | |
3388 | ||
3389 | wxPyEndAllowThreads(__tstate); | |
3390 | if (PyErr_Occurred()) SWIG_fail; | |
3391 | } | |
3392 | Py_INCREF(Py_None); resultobj = Py_None; | |
3393 | return resultobj; | |
3394 | fail: | |
3395 | return NULL; | |
3396 | } | |
3397 | ||
3398 | ||
3399 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3400 | PyObject *resultobj; | |
3401 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3402 | wxMenuBar *result; | |
3403 | PyObject * obj0 = 0 ; | |
3404 | char *kwnames[] = { | |
3405 | (char *) "self", NULL | |
3406 | }; | |
3407 | ||
3408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3411 | { |
3412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3413 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3414 | ||
3415 | wxPyEndAllowThreads(__tstate); | |
3416 | if (PyErr_Occurred()) SWIG_fail; | |
3417 | } | |
3418 | { | |
3419 | resultobj = wxPyMake_wxObject(result); | |
3420 | } | |
3421 | return resultobj; | |
3422 | fail: | |
3423 | return NULL; | |
3424 | } | |
3425 | ||
3426 | ||
3427 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3428 | PyObject *resultobj; | |
3429 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3430 | int arg2 ; | |
3431 | bool result; | |
3432 | PyObject * obj0 = 0 ; | |
994141e6 | 3433 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3434 | char *kwnames[] = { |
3435 | (char *) "self",(char *) "winid", NULL | |
3436 | }; | |
3437 | ||
994141e6 | 3438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3441 | arg2 = (int) SWIG_AsInt(obj1); | |
3442 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3443 | { |
3444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3445 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3446 | ||
3447 | wxPyEndAllowThreads(__tstate); | |
3448 | if (PyErr_Occurred()) SWIG_fail; | |
3449 | } | |
4f89f6a3 RD |
3450 | { |
3451 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3452 | } | |
d14a1e28 RD |
3453 | return resultobj; |
3454 | fail: | |
3455 | return NULL; | |
3456 | } | |
3457 | ||
3458 | ||
3459 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3460 | PyObject *resultobj; | |
3461 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3462 | int arg2 = (int) 1 ; | |
4276dc52 | 3463 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3464 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3465 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3466 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3467 | wxStatusBar *result; | |
e811c8ce | 3468 | bool temp5 = False ; |
d14a1e28 | 3469 | PyObject * obj0 = 0 ; |
994141e6 RD |
3470 | PyObject * obj1 = 0 ; |
3471 | PyObject * obj2 = 0 ; | |
3472 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3473 | PyObject * obj4 = 0 ; |
3474 | char *kwnames[] = { | |
3475 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3476 | }; | |
3477 | ||
994141e6 | 3478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3479 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3481 | if (obj1) { |
15afbcd0 RD |
3482 | arg2 = (int) SWIG_AsInt(obj1); |
3483 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3484 | } |
3485 | if (obj2) { | |
15afbcd0 RD |
3486 | arg3 = (long) SWIG_AsLong(obj2); |
3487 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3488 | } |
3489 | if (obj3) { | |
15afbcd0 RD |
3490 | arg4 = (int) SWIG_AsInt(obj3); |
3491 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3492 | } |
d14a1e28 RD |
3493 | if (obj4) { |
3494 | { | |
3495 | arg5 = wxString_in_helper(obj4); | |
3496 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3497 | temp5 = True; |
d14a1e28 RD |
3498 | } |
3499 | } | |
3500 | { | |
3501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3502 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3503 | ||
3504 | wxPyEndAllowThreads(__tstate); | |
3505 | if (PyErr_Occurred()) SWIG_fail; | |
3506 | } | |
3507 | { | |
3508 | resultobj = wxPyMake_wxObject(result); | |
3509 | } | |
3510 | { | |
3511 | if (temp5) | |
3512 | delete arg5; | |
3513 | } | |
3514 | return resultobj; | |
3515 | fail: | |
3516 | { | |
3517 | if (temp5) | |
3518 | delete arg5; | |
3519 | } | |
3520 | return NULL; | |
3521 | } | |
3522 | ||
3523 | ||
3524 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3525 | PyObject *resultobj; | |
3526 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3527 | wxStatusBar *result; | |
3528 | PyObject * obj0 = 0 ; | |
3529 | char *kwnames[] = { | |
3530 | (char *) "self", NULL | |
3531 | }; | |
3532 | ||
3533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3536 | { |
3537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3538 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3539 | ||
3540 | wxPyEndAllowThreads(__tstate); | |
3541 | if (PyErr_Occurred()) SWIG_fail; | |
3542 | } | |
3543 | { | |
3544 | resultobj = wxPyMake_wxObject(result); | |
3545 | } | |
3546 | return resultobj; | |
3547 | fail: | |
3548 | return NULL; | |
3549 | } | |
3550 | ||
3551 | ||
3552 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3553 | PyObject *resultobj; | |
3554 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3555 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3556 | PyObject * obj0 = 0 ; | |
3557 | PyObject * obj1 = 0 ; | |
3558 | char *kwnames[] = { | |
3559 | (char *) "self",(char *) "statBar", NULL | |
3560 | }; | |
3561 | ||
3562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3565 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3567 | { |
3568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3569 | (arg1)->SetStatusBar(arg2); | |
3570 | ||
3571 | wxPyEndAllowThreads(__tstate); | |
3572 | if (PyErr_Occurred()) SWIG_fail; | |
3573 | } | |
3574 | Py_INCREF(Py_None); resultobj = Py_None; | |
3575 | return resultobj; | |
3576 | fail: | |
3577 | return NULL; | |
3578 | } | |
3579 | ||
3580 | ||
3581 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3582 | PyObject *resultobj; | |
3583 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3584 | wxString *arg2 = 0 ; | |
3585 | int arg3 = (int) 0 ; | |
e811c8ce | 3586 | bool temp2 = False ; |
d14a1e28 RD |
3587 | PyObject * obj0 = 0 ; |
3588 | PyObject * obj1 = 0 ; | |
994141e6 | 3589 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3590 | char *kwnames[] = { |
3591 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3592 | }; | |
3593 | ||
994141e6 | 3594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3597 | { |
3598 | arg2 = wxString_in_helper(obj1); | |
3599 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3600 | temp2 = True; |
d14a1e28 | 3601 | } |
994141e6 | 3602 | if (obj2) { |
15afbcd0 RD |
3603 | arg3 = (int) SWIG_AsInt(obj2); |
3604 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3605 | } |
d14a1e28 RD |
3606 | { |
3607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3608 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3609 | ||
3610 | wxPyEndAllowThreads(__tstate); | |
3611 | if (PyErr_Occurred()) SWIG_fail; | |
3612 | } | |
3613 | Py_INCREF(Py_None); resultobj = Py_None; | |
3614 | { | |
3615 | if (temp2) | |
3616 | delete arg2; | |
3617 | } | |
3618 | return resultobj; | |
3619 | fail: | |
3620 | { | |
3621 | if (temp2) | |
3622 | delete arg2; | |
3623 | } | |
3624 | return NULL; | |
3625 | } | |
3626 | ||
3627 | ||
3628 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject *resultobj; | |
3630 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3631 | int arg2 ; | |
3632 | int *arg3 = (int *) 0 ; | |
3633 | PyObject * obj0 = 0 ; | |
3634 | PyObject * obj1 = 0 ; | |
3635 | char *kwnames[] = { | |
3636 | (char *) "self",(char *) "widths", NULL | |
3637 | }; | |
3638 | ||
3639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3642 | { |
3643 | arg2 = PyList_Size(obj1); | |
3644 | arg3 = int_LIST_helper(obj1); | |
3645 | if (arg3 == NULL) SWIG_fail; | |
3646 | } | |
3647 | { | |
3648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3649 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3650 | ||
3651 | wxPyEndAllowThreads(__tstate); | |
3652 | if (PyErr_Occurred()) SWIG_fail; | |
3653 | } | |
3654 | Py_INCREF(Py_None); resultobj = Py_None; | |
3655 | { | |
3656 | if (arg3) delete [] arg3; | |
3657 | } | |
3658 | return resultobj; | |
3659 | fail: | |
3660 | { | |
3661 | if (arg3) delete [] arg3; | |
3662 | } | |
3663 | return NULL; | |
3664 | } | |
3665 | ||
3666 | ||
3667 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3668 | PyObject *resultobj; | |
3669 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3670 | wxString *arg2 = 0 ; | |
3671 | int arg3 = (int) 0 ; | |
e811c8ce | 3672 | bool temp2 = False ; |
d14a1e28 RD |
3673 | PyObject * obj0 = 0 ; |
3674 | PyObject * obj1 = 0 ; | |
994141e6 | 3675 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3676 | char *kwnames[] = { |
3677 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3678 | }; | |
3679 | ||
994141e6 | 3680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3683 | { |
3684 | arg2 = wxString_in_helper(obj1); | |
3685 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3686 | temp2 = True; |
d14a1e28 | 3687 | } |
994141e6 | 3688 | if (obj2) { |
15afbcd0 RD |
3689 | arg3 = (int) SWIG_AsInt(obj2); |
3690 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3691 | } |
d14a1e28 RD |
3692 | { |
3693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3694 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3695 | ||
3696 | wxPyEndAllowThreads(__tstate); | |
3697 | if (PyErr_Occurred()) SWIG_fail; | |
3698 | } | |
3699 | Py_INCREF(Py_None); resultobj = Py_None; | |
3700 | { | |
3701 | if (temp2) | |
3702 | delete arg2; | |
3703 | } | |
3704 | return resultobj; | |
3705 | fail: | |
3706 | { | |
3707 | if (temp2) | |
3708 | delete arg2; | |
3709 | } | |
3710 | return NULL; | |
3711 | } | |
3712 | ||
3713 | ||
3714 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3715 | PyObject *resultobj; | |
3716 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3717 | int arg2 = (int) 0 ; | |
3718 | PyObject * obj0 = 0 ; | |
994141e6 | 3719 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3720 | char *kwnames[] = { |
3721 | (char *) "self",(char *) "number", NULL | |
3722 | }; | |
3723 | ||
994141e6 | 3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3727 | if (obj1) { |
15afbcd0 RD |
3728 | arg2 = (int) SWIG_AsInt(obj1); |
3729 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3730 | } |
d14a1e28 RD |
3731 | { |
3732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3733 | (arg1)->PopStatusText(arg2); | |
3734 | ||
3735 | wxPyEndAllowThreads(__tstate); | |
3736 | if (PyErr_Occurred()) SWIG_fail; | |
3737 | } | |
3738 | Py_INCREF(Py_None); resultobj = Py_None; | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
3742 | } | |
3743 | ||
3744 | ||
3745 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3746 | PyObject *resultobj; | |
3747 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3748 | int arg2 ; | |
3749 | PyObject * obj0 = 0 ; | |
994141e6 | 3750 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3751 | char *kwnames[] = { |
3752 | (char *) "self",(char *) "n", NULL | |
3753 | }; | |
3754 | ||
994141e6 | 3755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3758 | arg2 = (int) SWIG_AsInt(obj1); | |
3759 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3760 | { |
3761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3762 | (arg1)->SetStatusBarPane(arg2); | |
3763 | ||
3764 | wxPyEndAllowThreads(__tstate); | |
3765 | if (PyErr_Occurred()) SWIG_fail; | |
3766 | } | |
3767 | Py_INCREF(Py_None); resultobj = Py_None; | |
3768 | return resultobj; | |
3769 | fail: | |
3770 | return NULL; | |
3771 | } | |
3772 | ||
3773 | ||
3774 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3775 | PyObject *resultobj; | |
3776 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3777 | int result; | |
3778 | PyObject * obj0 = 0 ; | |
3779 | char *kwnames[] = { | |
3780 | (char *) "self", NULL | |
3781 | }; | |
3782 | ||
3783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3786 | { |
3787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3788 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3789 | ||
3790 | wxPyEndAllowThreads(__tstate); | |
3791 | if (PyErr_Occurred()) SWIG_fail; | |
3792 | } | |
15afbcd0 | 3793 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3794 | return resultobj; |
3795 | fail: | |
3796 | return NULL; | |
3797 | } | |
3798 | ||
3799 | ||
3800 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3801 | PyObject *resultobj; | |
3802 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3803 | long arg2 = (long) -1 ; | |
e811c8ce | 3804 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3805 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3806 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3807 | wxToolBar *result; | |
e811c8ce | 3808 | bool temp4 = False ; |
d14a1e28 | 3809 | PyObject * obj0 = 0 ; |
994141e6 RD |
3810 | PyObject * obj1 = 0 ; |
3811 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3812 | PyObject * obj3 = 0 ; |
3813 | char *kwnames[] = { | |
3814 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3815 | }; | |
3816 | ||
994141e6 | 3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3820 | if (obj1) { |
15afbcd0 RD |
3821 | arg2 = (long) SWIG_AsLong(obj1); |
3822 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3823 | } |
3824 | if (obj2) { | |
15afbcd0 RD |
3825 | arg3 = (int) SWIG_AsInt(obj2); |
3826 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3827 | } |
d14a1e28 RD |
3828 | if (obj3) { |
3829 | { | |
3830 | arg4 = wxString_in_helper(obj3); | |
3831 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3832 | temp4 = True; |
d14a1e28 RD |
3833 | } |
3834 | } | |
3835 | { | |
3836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3837 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3838 | ||
3839 | wxPyEndAllowThreads(__tstate); | |
3840 | if (PyErr_Occurred()) SWIG_fail; | |
3841 | } | |
3842 | { | |
3843 | resultobj = wxPyMake_wxObject(result); | |
3844 | } | |
3845 | { | |
3846 | if (temp4) | |
3847 | delete arg4; | |
3848 | } | |
3849 | return resultobj; | |
3850 | fail: | |
3851 | { | |
3852 | if (temp4) | |
3853 | delete arg4; | |
3854 | } | |
3855 | return NULL; | |
3856 | } | |
3857 | ||
3858 | ||
3859 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3860 | PyObject *resultobj; | |
3861 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3862 | wxToolBar *result; | |
3863 | PyObject * obj0 = 0 ; | |
3864 | char *kwnames[] = { | |
3865 | (char *) "self", NULL | |
3866 | }; | |
3867 | ||
3868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3871 | { |
3872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3873 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3874 | ||
3875 | wxPyEndAllowThreads(__tstate); | |
3876 | if (PyErr_Occurred()) SWIG_fail; | |
3877 | } | |
3878 | { | |
3879 | resultobj = wxPyMake_wxObject(result); | |
3880 | } | |
3881 | return resultobj; | |
3882 | fail: | |
3883 | return NULL; | |
3884 | } | |
3885 | ||
3886 | ||
3887 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3888 | PyObject *resultobj; | |
3889 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3890 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3891 | PyObject * obj0 = 0 ; | |
3892 | PyObject * obj1 = 0 ; | |
3893 | char *kwnames[] = { | |
3894 | (char *) "self",(char *) "toolbar", NULL | |
3895 | }; | |
3896 | ||
3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3900 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3902 | { |
3903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3904 | (arg1)->SetToolBar(arg2); | |
3905 | ||
3906 | wxPyEndAllowThreads(__tstate); | |
3907 | if (PyErr_Occurred()) SWIG_fail; | |
3908 | } | |
3909 | Py_INCREF(Py_None); resultobj = Py_None; | |
3910 | return resultobj; | |
3911 | fail: | |
3912 | return NULL; | |
3913 | } | |
3914 | ||
3915 | ||
3916 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3917 | PyObject *resultobj; | |
3918 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3919 | wxString *arg2 = 0 ; | |
3920 | bool arg3 ; | |
e811c8ce | 3921 | bool temp2 = False ; |
d14a1e28 RD |
3922 | PyObject * obj0 = 0 ; |
3923 | PyObject * obj1 = 0 ; | |
3924 | PyObject * obj2 = 0 ; | |
3925 | char *kwnames[] = { | |
3926 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3927 | }; | |
3928 | ||
3929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3932 | { |
3933 | arg2 = wxString_in_helper(obj1); | |
3934 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3935 | temp2 = True; |
d14a1e28 | 3936 | } |
15afbcd0 RD |
3937 | arg3 = (bool) SWIG_AsBool(obj2); |
3938 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3939 | { |
3940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3941 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3942 | ||
3943 | wxPyEndAllowThreads(__tstate); | |
3944 | if (PyErr_Occurred()) SWIG_fail; | |
3945 | } | |
3946 | Py_INCREF(Py_None); resultobj = Py_None; | |
3947 | { | |
3948 | if (temp2) | |
3949 | delete arg2; | |
3950 | } | |
3951 | return resultobj; | |
3952 | fail: | |
3953 | { | |
3954 | if (temp2) | |
3955 | delete arg2; | |
3956 | } | |
3957 | return NULL; | |
3958 | } | |
3959 | ||
3960 | ||
3961 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3962 | PyObject *resultobj; | |
3963 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3964 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3965 | PyObject * obj0 = 0 ; | |
3966 | PyObject * obj1 = 0 ; | |
3967 | char *kwnames[] = { | |
3968 | (char *) "self",(char *) "menu", NULL | |
3969 | }; | |
3970 | ||
3971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3974 | if (obj1) { |
15afbcd0 RD |
3975 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3977 | } |
3978 | { | |
3979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3980 | (arg1)->DoMenuUpdates(arg2); | |
3981 | ||
3982 | wxPyEndAllowThreads(__tstate); | |
3983 | if (PyErr_Occurred()) SWIG_fail; | |
3984 | } | |
3985 | Py_INCREF(Py_None); resultobj = Py_None; | |
3986 | return resultobj; | |
3987 | fail: | |
3988 | return NULL; | |
3989 | } | |
3990 | ||
3991 | ||
22bfe96c RD |
3992 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
3993 | PyObject *resultobj; | |
3994 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
3995 | wxVisualAttributes result; | |
3996 | PyObject * obj0 = 0 ; | |
3997 | char *kwnames[] = { | |
3998 | (char *) "variant", NULL | |
3999 | }; | |
4000 | ||
4001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4002 | if (obj0) { | |
4003 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
4004 | if (PyErr_Occurred()) SWIG_fail; | |
4005 | } | |
4006 | { | |
e3b71cb8 | 4007 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4009 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4010 | ||
4011 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4012 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4013 | } |
4014 | { | |
4015 | wxVisualAttributes * resultptr; | |
4016 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4017 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4018 | } | |
4019 | return resultobj; | |
4020 | fail: | |
4021 | return NULL; | |
4022 | } | |
4023 | ||
4024 | ||
d14a1e28 RD |
4025 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { |
4026 | PyObject *obj; | |
4027 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4028 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
4029 | Py_INCREF(obj); | |
4030 | return Py_BuildValue((char *)""); | |
4031 | } | |
4032 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4033 | PyObject *resultobj; | |
4034 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4035 | int arg2 = (int) (int)-1 ; |
4036 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4037 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4038 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4039 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4040 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4041 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4042 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4043 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
4044 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4045 | wxDialog *result; | |
e811c8ce | 4046 | bool temp3 = False ; |
d14a1e28 RD |
4047 | wxPoint temp4 ; |
4048 | wxSize temp5 ; | |
e811c8ce | 4049 | bool temp7 = False ; |
d14a1e28 | 4050 | PyObject * obj0 = 0 ; |
994141e6 | 4051 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4052 | PyObject * obj2 = 0 ; |
4053 | PyObject * obj3 = 0 ; | |
4054 | PyObject * obj4 = 0 ; | |
994141e6 | 4055 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4056 | PyObject * obj6 = 0 ; |
4057 | char *kwnames[] = { | |
4058 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4059 | }; | |
4060 | ||
248ed943 | 4061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4064 | if (obj1) { |
4065 | arg2 = (int const) SWIG_AsInt(obj1); | |
4066 | if (PyErr_Occurred()) SWIG_fail; | |
4067 | } | |
4068 | if (obj2) { | |
4069 | { | |
4070 | arg3 = wxString_in_helper(obj2); | |
4071 | if (arg3 == NULL) SWIG_fail; | |
4072 | temp3 = True; | |
4073 | } | |
d14a1e28 RD |
4074 | } |
4075 | if (obj3) { | |
4076 | { | |
4077 | arg4 = &temp4; | |
4078 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4079 | } | |
4080 | } | |
4081 | if (obj4) { | |
4082 | { | |
4083 | arg5 = &temp5; | |
4084 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4085 | } | |
4086 | } | |
994141e6 | 4087 | if (obj5) { |
15afbcd0 RD |
4088 | arg6 = (long) SWIG_AsLong(obj5); |
4089 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4090 | } |
d14a1e28 RD |
4091 | if (obj6) { |
4092 | { | |
4093 | arg7 = wxString_in_helper(obj6); | |
4094 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4095 | temp7 = True; |
d14a1e28 RD |
4096 | } |
4097 | } | |
4098 | { | |
e3b71cb8 | 4099 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4101 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4102 | ||
4103 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4104 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4105 | } |
e058867b RD |
4106 | { |
4107 | resultobj = wxPyMake_wxObject(result); | |
4108 | } | |
d14a1e28 RD |
4109 | { |
4110 | if (temp3) | |
4111 | delete arg3; | |
4112 | } | |
4113 | { | |
4114 | if (temp7) | |
4115 | delete arg7; | |
4116 | } | |
4117 | return resultobj; | |
4118 | fail: | |
4119 | { | |
4120 | if (temp3) | |
4121 | delete arg3; | |
4122 | } | |
4123 | { | |
4124 | if (temp7) | |
4125 | delete arg7; | |
4126 | } | |
4127 | return NULL; | |
4128 | } | |
4129 | ||
4130 | ||
4131 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4132 | PyObject *resultobj; | |
4133 | wxDialog *result; | |
4134 | char *kwnames[] = { | |
4135 | NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
4139 | { | |
e3b71cb8 | 4140 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4142 | result = (wxDialog *)new wxDialog(); | |
4143 | ||
4144 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4145 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4146 | } |
e058867b RD |
4147 | { |
4148 | resultobj = wxPyMake_wxObject(result); | |
4149 | } | |
d14a1e28 RD |
4150 | return resultobj; |
4151 | fail: | |
4152 | return NULL; | |
4153 | } | |
4154 | ||
4155 | ||
4156 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4157 | PyObject *resultobj; | |
4158 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4159 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4160 | int arg3 = (int) (int)-1 ; |
4161 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4162 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4163 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4164 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4165 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4166 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4167 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4168 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
4169 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4170 | bool result; | |
e811c8ce | 4171 | bool temp4 = False ; |
d14a1e28 RD |
4172 | wxPoint temp5 ; |
4173 | wxSize temp6 ; | |
e811c8ce | 4174 | bool temp8 = False ; |
d14a1e28 RD |
4175 | PyObject * obj0 = 0 ; |
4176 | PyObject * obj1 = 0 ; | |
994141e6 | 4177 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4178 | PyObject * obj3 = 0 ; |
4179 | PyObject * obj4 = 0 ; | |
4180 | PyObject * obj5 = 0 ; | |
994141e6 | 4181 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4182 | PyObject * obj7 = 0 ; |
4183 | char *kwnames[] = { | |
4184 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4185 | }; | |
4186 | ||
248ed943 | 4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4190 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4192 | if (obj2) { |
4193 | arg3 = (int const) SWIG_AsInt(obj2); | |
4194 | if (PyErr_Occurred()) SWIG_fail; | |
4195 | } | |
4196 | if (obj3) { | |
4197 | { | |
4198 | arg4 = wxString_in_helper(obj3); | |
4199 | if (arg4 == NULL) SWIG_fail; | |
4200 | temp4 = True; | |
4201 | } | |
d14a1e28 RD |
4202 | } |
4203 | if (obj4) { | |
4204 | { | |
4205 | arg5 = &temp5; | |
4206 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4207 | } | |
4208 | } | |
4209 | if (obj5) { | |
4210 | { | |
4211 | arg6 = &temp6; | |
4212 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4213 | } | |
4214 | } | |
994141e6 | 4215 | if (obj6) { |
15afbcd0 RD |
4216 | arg7 = (long) SWIG_AsLong(obj6); |
4217 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4218 | } |
d14a1e28 RD |
4219 | if (obj7) { |
4220 | { | |
4221 | arg8 = wxString_in_helper(obj7); | |
4222 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4223 | temp8 = True; |
d14a1e28 RD |
4224 | } |
4225 | } | |
4226 | { | |
4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4228 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4229 | ||
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
4f89f6a3 RD |
4233 | { |
4234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4235 | } | |
d14a1e28 RD |
4236 | { |
4237 | if (temp4) | |
4238 | delete arg4; | |
4239 | } | |
4240 | { | |
4241 | if (temp8) | |
4242 | delete arg8; | |
4243 | } | |
4244 | return resultobj; | |
4245 | fail: | |
4246 | { | |
4247 | if (temp4) | |
4248 | delete arg4; | |
4249 | } | |
4250 | { | |
4251 | if (temp8) | |
4252 | delete arg8; | |
4253 | } | |
4254 | return NULL; | |
4255 | } | |
4256 | ||
4257 | ||
4258 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4259 | PyObject *resultobj; | |
4260 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4261 | int arg2 ; | |
4262 | PyObject * obj0 = 0 ; | |
994141e6 | 4263 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4264 | char *kwnames[] = { |
4265 | (char *) "self",(char *) "returnCode", NULL | |
4266 | }; | |
4267 | ||
994141e6 | 4268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4271 | arg2 = (int) SWIG_AsInt(obj1); | |
4272 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4273 | { |
4274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4275 | (arg1)->SetReturnCode(arg2); | |
4276 | ||
4277 | wxPyEndAllowThreads(__tstate); | |
4278 | if (PyErr_Occurred()) SWIG_fail; | |
4279 | } | |
4280 | Py_INCREF(Py_None); resultobj = Py_None; | |
4281 | return resultobj; | |
4282 | fail: | |
4283 | return NULL; | |
4284 | } | |
4285 | ||
4286 | ||
4287 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4288 | PyObject *resultobj; | |
4289 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4290 | int result; | |
4291 | PyObject * obj0 = 0 ; | |
4292 | char *kwnames[] = { | |
4293 | (char *) "self", NULL | |
4294 | }; | |
4295 | ||
4296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4299 | { |
4300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4301 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4302 | ||
4303 | wxPyEndAllowThreads(__tstate); | |
4304 | if (PyErr_Occurred()) SWIG_fail; | |
4305 | } | |
15afbcd0 | 4306 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4307 | return resultobj; |
4308 | fail: | |
4309 | return NULL; | |
4310 | } | |
4311 | ||
4312 | ||
4313 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4314 | PyObject *resultobj; | |
4315 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4316 | wxString *arg2 = 0 ; | |
4317 | wxSizer *result; | |
e811c8ce | 4318 | bool temp2 = False ; |
d14a1e28 RD |
4319 | PyObject * obj0 = 0 ; |
4320 | PyObject * obj1 = 0 ; | |
4321 | char *kwnames[] = { | |
4322 | (char *) "self",(char *) "message", NULL | |
4323 | }; | |
4324 | ||
4325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4328 | { |
4329 | arg2 = wxString_in_helper(obj1); | |
4330 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4331 | temp2 = True; |
d14a1e28 RD |
4332 | } |
4333 | { | |
4334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4335 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4336 | ||
4337 | wxPyEndAllowThreads(__tstate); | |
4338 | if (PyErr_Occurred()) SWIG_fail; | |
4339 | } | |
4340 | { | |
4341 | resultobj = wxPyMake_wxSizer(result); | |
4342 | } | |
4343 | { | |
4344 | if (temp2) | |
4345 | delete arg2; | |
4346 | } | |
4347 | return resultobj; | |
4348 | fail: | |
4349 | { | |
4350 | if (temp2) | |
4351 | delete arg2; | |
4352 | } | |
4353 | return NULL; | |
4354 | } | |
4355 | ||
4356 | ||
4357 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4358 | PyObject *resultobj; | |
4359 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4360 | long arg2 ; | |
4361 | wxSizer *result; | |
4362 | PyObject * obj0 = 0 ; | |
994141e6 | 4363 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4364 | char *kwnames[] = { |
4365 | (char *) "self",(char *) "flags", NULL | |
4366 | }; | |
4367 | ||
994141e6 | 4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4371 | arg2 = (long) SWIG_AsLong(obj1); | |
4372 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4373 | { |
4374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4375 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4376 | ||
4377 | wxPyEndAllowThreads(__tstate); | |
4378 | if (PyErr_Occurred()) SWIG_fail; | |
4379 | } | |
4380 | { | |
4381 | resultobj = wxPyMake_wxSizer(result); | |
4382 | } | |
4383 | return resultobj; | |
4384 | fail: | |
4385 | return NULL; | |
4386 | } | |
4387 | ||
4388 | ||
d14a1e28 RD |
4389 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4390 | PyObject *resultobj; | |
4391 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4392 | bool result; | |
4393 | PyObject * obj0 = 0 ; | |
4394 | char *kwnames[] = { | |
4395 | (char *) "self", NULL | |
4396 | }; | |
4397 | ||
4398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4401 | { |
4402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4403 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4404 | ||
4405 | wxPyEndAllowThreads(__tstate); | |
4406 | if (PyErr_Occurred()) SWIG_fail; | |
4407 | } | |
4f89f6a3 RD |
4408 | { |
4409 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4410 | } | |
d14a1e28 RD |
4411 | return resultobj; |
4412 | fail: | |
4413 | return NULL; | |
4414 | } | |
4415 | ||
4416 | ||
4417 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4418 | PyObject *resultobj; | |
4419 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4420 | int result; | |
4421 | PyObject * obj0 = 0 ; | |
4422 | char *kwnames[] = { | |
4423 | (char *) "self", NULL | |
4424 | }; | |
4425 | ||
4426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4429 | { |
4430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4431 | result = (int)(arg1)->ShowModal(); | |
4432 | ||
4433 | wxPyEndAllowThreads(__tstate); | |
4434 | if (PyErr_Occurred()) SWIG_fail; | |
4435 | } | |
15afbcd0 | 4436 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4437 | return resultobj; |
4438 | fail: | |
4439 | return NULL; | |
4440 | } | |
4441 | ||
4442 | ||
4443 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4444 | PyObject *resultobj; | |
4445 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4446 | int arg2 ; | |
4447 | PyObject * obj0 = 0 ; | |
994141e6 | 4448 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4449 | char *kwnames[] = { |
4450 | (char *) "self",(char *) "retCode", NULL | |
4451 | }; | |
4452 | ||
994141e6 | 4453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4456 | arg2 = (int) SWIG_AsInt(obj1); | |
4457 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4458 | { |
4459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4460 | (arg1)->EndModal(arg2); | |
4461 | ||
4462 | wxPyEndAllowThreads(__tstate); | |
4463 | if (PyErr_Occurred()) SWIG_fail; | |
4464 | } | |
4465 | Py_INCREF(Py_None); resultobj = Py_None; | |
4466 | return resultobj; | |
4467 | fail: | |
4468 | return NULL; | |
4469 | } | |
4470 | ||
4471 | ||
22bfe96c RD |
4472 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
4473 | PyObject *resultobj; | |
4474 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4475 | wxVisualAttributes result; | |
4476 | PyObject * obj0 = 0 ; | |
4477 | char *kwnames[] = { | |
4478 | (char *) "variant", NULL | |
4479 | }; | |
4480 | ||
4481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4482 | if (obj0) { | |
4483 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
4484 | if (PyErr_Occurred()) SWIG_fail; | |
4485 | } | |
4486 | { | |
e3b71cb8 | 4487 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4489 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4492 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4493 | } |
4494 | { | |
4495 | wxVisualAttributes * resultptr; | |
4496 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4497 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4498 | } | |
4499 | return resultobj; | |
4500 | fail: | |
4501 | return NULL; | |
4502 | } | |
4503 | ||
4504 | ||
d14a1e28 RD |
4505 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { |
4506 | PyObject *obj; | |
4507 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4508 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4509 | Py_INCREF(obj); | |
4510 | return Py_BuildValue((char *)""); | |
4511 | } | |
4512 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4513 | PyObject *resultobj; | |
4514 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4515 | int arg2 = (int) (int)-1 ; |
4516 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4517 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4518 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4519 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4520 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4521 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4522 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4523 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4524 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4525 | wxMiniFrame *result; | |
e811c8ce | 4526 | bool temp3 = False ; |
d14a1e28 RD |
4527 | wxPoint temp4 ; |
4528 | wxSize temp5 ; | |
e811c8ce | 4529 | bool temp7 = False ; |
d14a1e28 | 4530 | PyObject * obj0 = 0 ; |
994141e6 | 4531 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4532 | PyObject * obj2 = 0 ; |
4533 | PyObject * obj3 = 0 ; | |
4534 | PyObject * obj4 = 0 ; | |
994141e6 | 4535 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4536 | PyObject * obj6 = 0 ; |
4537 | char *kwnames[] = { | |
4538 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4539 | }; | |
4540 | ||
248ed943 | 4541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4544 | if (obj1) { |
4545 | arg2 = (int const) SWIG_AsInt(obj1); | |
4546 | if (PyErr_Occurred()) SWIG_fail; | |
4547 | } | |
4548 | if (obj2) { | |
4549 | { | |
4550 | arg3 = wxString_in_helper(obj2); | |
4551 | if (arg3 == NULL) SWIG_fail; | |
4552 | temp3 = True; | |
4553 | } | |
d14a1e28 RD |
4554 | } |
4555 | if (obj3) { | |
4556 | { | |
4557 | arg4 = &temp4; | |
4558 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4559 | } | |
4560 | } | |
4561 | if (obj4) { | |
4562 | { | |
4563 | arg5 = &temp5; | |
4564 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4565 | } | |
4566 | } | |
994141e6 | 4567 | if (obj5) { |
15afbcd0 RD |
4568 | arg6 = (long) SWIG_AsLong(obj5); |
4569 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4570 | } |
d14a1e28 RD |
4571 | if (obj6) { |
4572 | { | |
4573 | arg7 = wxString_in_helper(obj6); | |
4574 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4575 | temp7 = True; |
d14a1e28 RD |
4576 | } |
4577 | } | |
4578 | { | |
e3b71cb8 | 4579 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4581 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4582 | ||
4583 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4584 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4585 | } |
15afbcd0 | 4586 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4587 | { |
4588 | if (temp3) | |
4589 | delete arg3; | |
4590 | } | |
4591 | { | |
4592 | if (temp7) | |
4593 | delete arg7; | |
4594 | } | |
4595 | return resultobj; | |
4596 | fail: | |
4597 | { | |
4598 | if (temp3) | |
4599 | delete arg3; | |
4600 | } | |
4601 | { | |
4602 | if (temp7) | |
4603 | delete arg7; | |
4604 | } | |
4605 | return NULL; | |
4606 | } | |
4607 | ||
4608 | ||
4609 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4610 | PyObject *resultobj; | |
4611 | wxMiniFrame *result; | |
4612 | char *kwnames[] = { | |
4613 | NULL | |
4614 | }; | |
4615 | ||
4616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4617 | { | |
e3b71cb8 | 4618 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4620 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4621 | ||
4622 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4623 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4624 | } |
15afbcd0 | 4625 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4626 | return resultobj; |
4627 | fail: | |
4628 | return NULL; | |
4629 | } | |
4630 | ||
4631 | ||
4632 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4633 | PyObject *resultobj; | |
4634 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4635 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4636 | int arg3 = (int) (int)-1 ; |
4637 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4638 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4639 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4640 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4641 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4642 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4643 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4644 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4645 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4646 | bool result; | |
e811c8ce | 4647 | bool temp4 = False ; |
d14a1e28 RD |
4648 | wxPoint temp5 ; |
4649 | wxSize temp6 ; | |
e811c8ce | 4650 | bool temp8 = False ; |
d14a1e28 RD |
4651 | PyObject * obj0 = 0 ; |
4652 | PyObject * obj1 = 0 ; | |
994141e6 | 4653 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4654 | PyObject * obj3 = 0 ; |
4655 | PyObject * obj4 = 0 ; | |
4656 | PyObject * obj5 = 0 ; | |
994141e6 | 4657 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4658 | PyObject * obj7 = 0 ; |
4659 | char *kwnames[] = { | |
4660 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4661 | }; | |
4662 | ||
248ed943 | 4663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4666 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4668 | if (obj2) { |
4669 | arg3 = (int const) SWIG_AsInt(obj2); | |
4670 | if (PyErr_Occurred()) SWIG_fail; | |
4671 | } | |
4672 | if (obj3) { | |
4673 | { | |
4674 | arg4 = wxString_in_helper(obj3); | |
4675 | if (arg4 == NULL) SWIG_fail; | |
4676 | temp4 = True; | |
4677 | } | |
d14a1e28 RD |
4678 | } |
4679 | if (obj4) { | |
4680 | { | |
4681 | arg5 = &temp5; | |
4682 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4683 | } | |
4684 | } | |
4685 | if (obj5) { | |
4686 | { | |
4687 | arg6 = &temp6; | |
4688 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4689 | } | |
4690 | } | |
994141e6 | 4691 | if (obj6) { |
15afbcd0 RD |
4692 | arg7 = (long) SWIG_AsLong(obj6); |
4693 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4694 | } |
d14a1e28 RD |
4695 | if (obj7) { |
4696 | { | |
4697 | arg8 = wxString_in_helper(obj7); | |
4698 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4699 | temp8 = True; |
d14a1e28 RD |
4700 | } |
4701 | } | |
4702 | { | |
4703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4704 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4705 | ||
4706 | wxPyEndAllowThreads(__tstate); | |
4707 | if (PyErr_Occurred()) SWIG_fail; | |
4708 | } | |
4f89f6a3 RD |
4709 | { |
4710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4711 | } | |
d14a1e28 RD |
4712 | { |
4713 | if (temp4) | |
4714 | delete arg4; | |
4715 | } | |
4716 | { | |
4717 | if (temp8) | |
4718 | delete arg8; | |
4719 | } | |
4720 | return resultobj; | |
4721 | fail: | |
4722 | { | |
4723 | if (temp4) | |
4724 | delete arg4; | |
4725 | } | |
4726 | { | |
4727 | if (temp8) | |
4728 | delete arg8; | |
4729 | } | |
4730 | return NULL; | |
4731 | } | |
4732 | ||
4733 | ||
4734 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4735 | PyObject *obj; | |
4736 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4737 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4738 | Py_INCREF(obj); | |
4739 | return Py_BuildValue((char *)""); | |
4740 | } | |
4741 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4742 | PyObject *resultobj; | |
4743 | wxBitmap *arg1 = 0 ; | |
4744 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4745 | int arg3 ; |
d14a1e28 RD |
4746 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4747 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4748 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4749 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4750 | long arg6 = (long) wxNO_BORDER ; | |
4751 | wxSplashScreenWindow *result; | |
4752 | wxPoint temp4 ; | |
4753 | wxSize temp5 ; | |
4754 | PyObject * obj0 = 0 ; | |
4755 | PyObject * obj1 = 0 ; | |
994141e6 | 4756 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4757 | PyObject * obj3 = 0 ; |
4758 | PyObject * obj4 = 0 ; | |
994141e6 | 4759 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4760 | char *kwnames[] = { |
4761 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4762 | }; | |
4763 | ||
994141e6 | 4764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4766 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4767 | SWIG_fail; | |
d14a1e28 | 4768 | if (arg1 == NULL) { |
15afbcd0 RD |
4769 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4770 | SWIG_fail; | |
994141e6 | 4771 | } |
15afbcd0 RD |
4772 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4774 | arg3 = (int) SWIG_AsInt(obj2); | |
4775 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4776 | if (obj3) { |
4777 | { | |
4778 | arg4 = &temp4; | |
4779 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4780 | } | |
4781 | } | |
4782 | if (obj4) { | |
4783 | { | |
4784 | arg5 = &temp5; | |
4785 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4786 | } | |
4787 | } | |
994141e6 | 4788 | if (obj5) { |
15afbcd0 RD |
4789 | arg6 = (long) SWIG_AsLong(obj5); |
4790 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4791 | } |
d14a1e28 | 4792 | { |
e3b71cb8 | 4793 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4795 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4796 | ||
4797 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4798 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4799 | } |
15afbcd0 | 4800 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4801 | return resultobj; |
4802 | fail: | |
4803 | return NULL; | |
4804 | } | |
4805 | ||
4806 | ||
4807 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4808 | PyObject *resultobj; | |
4809 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4810 | wxBitmap *arg2 = 0 ; | |
4811 | PyObject * obj0 = 0 ; | |
4812 | PyObject * obj1 = 0 ; | |
4813 | char *kwnames[] = { | |
4814 | (char *) "self",(char *) "bitmap", NULL | |
4815 | }; | |
4816 | ||
4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4820 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4821 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4822 | SWIG_fail; | |
d14a1e28 | 4823 | if (arg2 == NULL) { |
15afbcd0 RD |
4824 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4825 | SWIG_fail; | |
d14a1e28 RD |
4826 | } |
4827 | { | |
4828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4829 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4830 | ||
4831 | wxPyEndAllowThreads(__tstate); | |
4832 | if (PyErr_Occurred()) SWIG_fail; | |
4833 | } | |
4834 | Py_INCREF(Py_None); resultobj = Py_None; | |
4835 | return resultobj; | |
4836 | fail: | |
4837 | return NULL; | |
4838 | } | |
4839 | ||
4840 | ||
4841 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4842 | PyObject *resultobj; | |
4843 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4844 | wxBitmap *result; | |
4845 | PyObject * obj0 = 0 ; | |
4846 | char *kwnames[] = { | |
4847 | (char *) "self", NULL | |
4848 | }; | |
4849 | ||
4850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4853 | { |
4854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4855 | { | |
4856 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4857 | result = (wxBitmap *) &_result_ref; | |
4858 | } | |
4859 | ||
4860 | wxPyEndAllowThreads(__tstate); | |
4861 | if (PyErr_Occurred()) SWIG_fail; | |
4862 | } | |
4276dc52 RD |
4863 | { |
4864 | wxBitmap* resultptr = new wxBitmap(*result); | |
4865 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4866 | } | |
d14a1e28 RD |
4867 | return resultobj; |
4868 | fail: | |
4869 | return NULL; | |
4870 | } | |
4871 | ||
4872 | ||
4873 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4874 | PyObject *obj; | |
4875 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4876 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4877 | Py_INCREF(obj); | |
4878 | return Py_BuildValue((char *)""); | |
4879 | } | |
4880 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4881 | PyObject *resultobj; | |
4882 | wxBitmap *arg1 = 0 ; | |
4883 | long arg2 ; | |
4884 | int arg3 ; | |
4885 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 4886 | int arg5 = (int) -1 ; |
d14a1e28 RD |
4887 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4888 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4889 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4890 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4891 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4892 | wxSplashScreen *result; | |
4893 | wxPoint temp6 ; | |
4894 | wxSize temp7 ; | |
4895 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4896 | PyObject * obj1 = 0 ; |
4897 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4898 | PyObject * obj3 = 0 ; |
994141e6 | 4899 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4900 | PyObject * obj5 = 0 ; |
4901 | PyObject * obj6 = 0 ; | |
994141e6 | 4902 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4903 | char *kwnames[] = { |
4904 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4905 | }; | |
4906 | ||
248ed943 | 4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4909 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4910 | SWIG_fail; | |
d14a1e28 | 4911 | if (arg1 == NULL) { |
15afbcd0 RD |
4912 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4913 | SWIG_fail; | |
4914 | } | |
4915 | arg2 = (long) SWIG_AsLong(obj1); | |
4916 | if (PyErr_Occurred()) SWIG_fail; | |
4917 | arg3 = (int) SWIG_AsInt(obj2); | |
4918 | if (PyErr_Occurred()) SWIG_fail; | |
4919 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
4921 | if (obj4) { |
4922 | arg5 = (int) SWIG_AsInt(obj4); | |
4923 | if (PyErr_Occurred()) SWIG_fail; | |
4924 | } | |
d14a1e28 RD |
4925 | if (obj5) { |
4926 | { | |
4927 | arg6 = &temp6; | |
4928 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4929 | } | |
4930 | } | |
4931 | if (obj6) { | |
4932 | { | |
4933 | arg7 = &temp7; | |
4934 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4935 | } | |
4936 | } | |
994141e6 | 4937 | if (obj7) { |
15afbcd0 RD |
4938 | arg8 = (long) SWIG_AsLong(obj7); |
4939 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4940 | } |
d14a1e28 | 4941 | { |
e3b71cb8 | 4942 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4944 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4945 | ||
4946 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 4947 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4948 | } |
15afbcd0 | 4949 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4950 | return resultobj; |
4951 | fail: | |
4952 | return NULL; | |
4953 | } | |
4954 | ||
4955 | ||
4956 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4957 | PyObject *resultobj; | |
4958 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4959 | long result; | |
4960 | PyObject * obj0 = 0 ; | |
4961 | char *kwnames[] = { | |
4962 | (char *) "self", NULL | |
4963 | }; | |
4964 | ||
4965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4968 | { |
4969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4970 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4971 | ||
4972 | wxPyEndAllowThreads(__tstate); | |
4973 | if (PyErr_Occurred()) SWIG_fail; | |
4974 | } | |
15afbcd0 | 4975 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4976 | return resultobj; |
4977 | fail: | |
4978 | return NULL; | |
4979 | } | |
4980 | ||
4981 | ||
4982 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4983 | PyObject *resultobj; | |
4984 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4985 | wxSplashScreenWindow *result; | |
4986 | PyObject * obj0 = 0 ; | |
4987 | char *kwnames[] = { | |
4988 | (char *) "self", NULL | |
4989 | }; | |
4990 | ||
4991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4994 | { |
4995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4996 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4997 | ||
4998 | wxPyEndAllowThreads(__tstate); | |
4999 | if (PyErr_Occurred()) SWIG_fail; | |
5000 | } | |
15afbcd0 | 5001 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
5002 | return resultobj; |
5003 | fail: | |
5004 | return NULL; | |
5005 | } | |
5006 | ||
5007 | ||
5008 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5009 | PyObject *resultobj; | |
5010 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5011 | int result; | |
5012 | PyObject * obj0 = 0 ; | |
5013 | char *kwnames[] = { | |
5014 | (char *) "self", NULL | |
5015 | }; | |
5016 | ||
5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5020 | { |
5021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5022 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
5023 | ||
5024 | wxPyEndAllowThreads(__tstate); | |
5025 | if (PyErr_Occurred()) SWIG_fail; | |
5026 | } | |
15afbcd0 | 5027 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5028 | return resultobj; |
5029 | fail: | |
5030 | return NULL; | |
5031 | } | |
5032 | ||
5033 | ||
5034 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
5035 | PyObject *obj; | |
5036 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5037 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
5038 | Py_INCREF(obj); | |
5039 | return Py_BuildValue((char *)""); | |
5040 | } | |
5041 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5042 | PyObject *resultobj; | |
5043 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5044 | int arg2 = (int) -1 ; |
4276dc52 | 5045 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
5046 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
5047 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5048 | wxStatusBar *result; | |
e811c8ce | 5049 | bool temp4 = False ; |
d14a1e28 | 5050 | PyObject * obj0 = 0 ; |
994141e6 RD |
5051 | PyObject * obj1 = 0 ; |
5052 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5053 | PyObject * obj3 = 0 ; |
5054 | char *kwnames[] = { | |
5055 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5056 | }; | |
5057 | ||
994141e6 | 5058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5061 | if (obj1) { |
15afbcd0 RD |
5062 | arg2 = (int) SWIG_AsInt(obj1); |
5063 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
5064 | } |
5065 | if (obj2) { | |
15afbcd0 RD |
5066 | arg3 = (long) SWIG_AsLong(obj2); |
5067 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5068 | } |
d14a1e28 RD |
5069 | if (obj3) { |
5070 | { | |
5071 | arg4 = wxString_in_helper(obj3); | |
5072 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 5073 | temp4 = True; |
d14a1e28 RD |
5074 | } |
5075 | } | |
5076 | { | |
e3b71cb8 | 5077 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5079 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
5080 | ||
5081 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 5082 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5083 | } |
5084 | { | |
5085 | resultobj = wxPyMake_wxObject(result); | |
5086 | } | |
5087 | { | |
5088 | if (temp4) | |
5089 | delete arg4; | |
5090 | } | |
5091 | return resultobj; | |
5092 | fail: | |
5093 | { | |
5094 | if (temp4) | |
5095 | delete arg4; | |
5096 | } | |
5097 | return NULL; | |
5098 | } | |
5099 | ||
5100 | ||
5101 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5102 | PyObject *resultobj; | |
5103 | wxStatusBar *result; | |
5104 | char *kwnames[] = { | |
5105 | NULL | |
5106 | }; | |
5107 | ||
5108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
5109 | { | |
e3b71cb8 | 5110 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5112 | result = (wxStatusBar *)new wxStatusBar(); | |
5113 | ||
5114 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 5115 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5116 | } |
5117 | { | |
5118 | resultobj = wxPyMake_wxObject(result); | |
5119 | } | |
5120 | return resultobj; | |
5121 | fail: | |
5122 | return NULL; | |
5123 | } | |
5124 | ||
5125 | ||
5126 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5127 | PyObject *resultobj; | |
5128 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5129 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 5130 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5131 | long arg4 = (long) wxST_SIZEGRIP ; |
5132 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5133 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5134 | bool result; | |
e811c8ce | 5135 | bool temp5 = False ; |
d14a1e28 RD |
5136 | PyObject * obj0 = 0 ; |
5137 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5138 | PyObject * obj2 = 0 ; |
5139 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5140 | PyObject * obj4 = 0 ; |
5141 | char *kwnames[] = { | |
5142 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5143 | }; | |
5144 | ||
248ed943 | 5145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5148 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
5150 | if (obj2) { |
5151 | arg3 = (int) SWIG_AsInt(obj2); | |
5152 | if (PyErr_Occurred()) SWIG_fail; | |
5153 | } | |
994141e6 | 5154 | if (obj3) { |
15afbcd0 RD |
5155 | arg4 = (long) SWIG_AsLong(obj3); |
5156 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5157 | } |
d14a1e28 RD |
5158 | if (obj4) { |
5159 | { | |
5160 | arg5 = wxString_in_helper(obj4); | |
5161 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 5162 | temp5 = True; |
d14a1e28 RD |
5163 | } |
5164 | } | |
5165 | { | |
5166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5167 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
5168 | ||
5169 | wxPyEndAllowThreads(__tstate); | |
5170 | if (PyErr_Occurred()) SWIG_fail; | |
5171 | } | |
4f89f6a3 RD |
5172 | { |
5173 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5174 | } | |
d14a1e28 RD |
5175 | { |
5176 | if (temp5) | |
5177 | delete arg5; | |
5178 | } | |
5179 | return resultobj; | |
5180 | fail: | |
5181 | { | |
5182 | if (temp5) | |
5183 | delete arg5; | |
5184 | } | |
5185 | return NULL; | |
5186 | } | |
5187 | ||
5188 | ||
5189 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5190 | PyObject *resultobj; | |
5191 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5192 | int arg2 = (int) 1 ; | |
5193 | PyObject * obj0 = 0 ; | |
994141e6 | 5194 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5195 | char *kwnames[] = { |
5196 | (char *) "self",(char *) "number", NULL | |
5197 | }; | |
5198 | ||
994141e6 | 5199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5202 | if (obj1) { |
15afbcd0 RD |
5203 | arg2 = (int) SWIG_AsInt(obj1); |
5204 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5205 | } |
d14a1e28 RD |
5206 | { |
5207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5208 | (arg1)->SetFieldsCount(arg2); | |
5209 | ||
5210 | wxPyEndAllowThreads(__tstate); | |
5211 | if (PyErr_Occurred()) SWIG_fail; | |
5212 | } | |
5213 | Py_INCREF(Py_None); resultobj = Py_None; | |
5214 | return resultobj; | |
5215 | fail: | |
5216 | return NULL; | |
5217 | } | |
5218 | ||
5219 | ||
5220 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5221 | PyObject *resultobj; | |
5222 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5223 | int result; | |
5224 | PyObject * obj0 = 0 ; | |
5225 | char *kwnames[] = { | |
5226 | (char *) "self", NULL | |
5227 | }; | |
5228 | ||
5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5232 | { |
5233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5234 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5235 | ||
5236 | wxPyEndAllowThreads(__tstate); | |
5237 | if (PyErr_Occurred()) SWIG_fail; | |
5238 | } | |
15afbcd0 | 5239 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5240 | return resultobj; |
5241 | fail: | |
5242 | return NULL; | |
5243 | } | |
5244 | ||
5245 | ||
5246 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5247 | PyObject *resultobj; | |
5248 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5249 | wxString *arg2 = 0 ; | |
5250 | int arg3 = (int) 0 ; | |
e811c8ce | 5251 | bool temp2 = False ; |
d14a1e28 RD |
5252 | PyObject * obj0 = 0 ; |
5253 | PyObject * obj1 = 0 ; | |
994141e6 | 5254 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5255 | char *kwnames[] = { |
5256 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5257 | }; | |
5258 | ||
994141e6 | 5259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5262 | { |
5263 | arg2 = wxString_in_helper(obj1); | |
5264 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5265 | temp2 = True; |
d14a1e28 | 5266 | } |
994141e6 | 5267 | if (obj2) { |
15afbcd0 RD |
5268 | arg3 = (int) SWIG_AsInt(obj2); |
5269 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5270 | } |
d14a1e28 RD |
5271 | { |
5272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5273 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5274 | ||
5275 | wxPyEndAllowThreads(__tstate); | |
5276 | if (PyErr_Occurred()) SWIG_fail; | |
5277 | } | |
5278 | Py_INCREF(Py_None); resultobj = Py_None; | |
5279 | { | |
5280 | if (temp2) | |
5281 | delete arg2; | |
5282 | } | |
5283 | return resultobj; | |
5284 | fail: | |
5285 | { | |
5286 | if (temp2) | |
5287 | delete arg2; | |
5288 | } | |
5289 | return NULL; | |
5290 | } | |
5291 | ||
5292 | ||
5293 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5294 | PyObject *resultobj; | |
5295 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5296 | int arg2 = (int) 0 ; | |
5297 | wxString result; | |
5298 | PyObject * obj0 = 0 ; | |
994141e6 | 5299 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5300 | char *kwnames[] = { |
5301 | (char *) "self",(char *) "number", NULL | |
5302 | }; | |
5303 | ||
994141e6 | 5304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5307 | if (obj1) { |
15afbcd0 RD |
5308 | arg2 = (int) SWIG_AsInt(obj1); |
5309 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5310 | } |
d14a1e28 RD |
5311 | { |
5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5313 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5314 | ||
5315 | wxPyEndAllowThreads(__tstate); | |
5316 | if (PyErr_Occurred()) SWIG_fail; | |
5317 | } | |
5318 | { | |
5319 | #if wxUSE_UNICODE | |
5320 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5321 | #else | |
5322 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5323 | #endif | |
5324 | } | |
5325 | return resultobj; | |
5326 | fail: | |
5327 | return NULL; | |
5328 | } | |
5329 | ||
5330 | ||
5331 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5332 | PyObject *resultobj; | |
5333 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5334 | wxString *arg2 = 0 ; | |
5335 | int arg3 = (int) 0 ; | |
e811c8ce | 5336 | bool temp2 = False ; |
d14a1e28 RD |
5337 | PyObject * obj0 = 0 ; |
5338 | PyObject * obj1 = 0 ; | |
994141e6 | 5339 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5340 | char *kwnames[] = { |
5341 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5342 | }; | |
5343 | ||
994141e6 | 5344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5345 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5347 | { |
5348 | arg2 = wxString_in_helper(obj1); | |
5349 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5350 | temp2 = True; |
d14a1e28 | 5351 | } |
994141e6 | 5352 | if (obj2) { |
15afbcd0 RD |
5353 | arg3 = (int) SWIG_AsInt(obj2); |
5354 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5355 | } |
d14a1e28 RD |
5356 | { |
5357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5358 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5359 | ||
5360 | wxPyEndAllowThreads(__tstate); | |
5361 | if (PyErr_Occurred()) SWIG_fail; | |
5362 | } | |
5363 | Py_INCREF(Py_None); resultobj = Py_None; | |
5364 | { | |
5365 | if (temp2) | |
5366 | delete arg2; | |
5367 | } | |
5368 | return resultobj; | |
5369 | fail: | |
5370 | { | |
5371 | if (temp2) | |
5372 | delete arg2; | |
5373 | } | |
5374 | return NULL; | |
5375 | } | |
5376 | ||
5377 | ||
5378 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5379 | PyObject *resultobj; | |
5380 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5381 | int arg2 = (int) 0 ; | |
5382 | PyObject * obj0 = 0 ; | |
994141e6 | 5383 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5384 | char *kwnames[] = { |
5385 | (char *) "self",(char *) "number", NULL | |
5386 | }; | |
5387 | ||
994141e6 | 5388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5391 | if (obj1) { |
15afbcd0 RD |
5392 | arg2 = (int) SWIG_AsInt(obj1); |
5393 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5394 | } |
d14a1e28 RD |
5395 | { |
5396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5397 | (arg1)->PopStatusText(arg2); | |
5398 | ||
5399 | wxPyEndAllowThreads(__tstate); | |
5400 | if (PyErr_Occurred()) SWIG_fail; | |
5401 | } | |
5402 | Py_INCREF(Py_None); resultobj = Py_None; | |
5403 | return resultobj; | |
5404 | fail: | |
5405 | return NULL; | |
5406 | } | |
5407 | ||
5408 | ||
5409 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5410 | PyObject *resultobj; | |
5411 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5412 | int arg2 ; | |
5413 | int *arg3 = (int *) 0 ; | |
5414 | PyObject * obj0 = 0 ; | |
5415 | PyObject * obj1 = 0 ; | |
5416 | char *kwnames[] = { | |
5417 | (char *) "self",(char *) "widths", NULL | |
5418 | }; | |
5419 | ||
5420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5421 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5423 | { |
5424 | arg2 = PyList_Size(obj1); | |
5425 | arg3 = int_LIST_helper(obj1); | |
5426 | if (arg3 == NULL) SWIG_fail; | |
5427 | } | |
5428 | { | |
5429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5430 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5431 | ||
5432 | wxPyEndAllowThreads(__tstate); | |
5433 | if (PyErr_Occurred()) SWIG_fail; | |
5434 | } | |
5435 | Py_INCREF(Py_None); resultobj = Py_None; | |
5436 | { | |
5437 | if (arg3) delete [] arg3; | |
5438 | } | |
5439 | return resultobj; | |
5440 | fail: | |
5441 | { | |
5442 | if (arg3) delete [] arg3; | |
5443 | } | |
5444 | return NULL; | |
5445 | } | |
5446 | ||
5447 | ||
5448 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5449 | PyObject *resultobj; | |
5450 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5451 | int arg2 ; | |
7722248d | 5452 | wxRect result; |
d14a1e28 | 5453 | PyObject * obj0 = 0 ; |
994141e6 | 5454 | PyObject * obj1 = 0 ; |
d14a1e28 | 5455 | char *kwnames[] = { |
7722248d | 5456 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5457 | }; |
5458 | ||
994141e6 | 5459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5462 | arg2 = (int) SWIG_AsInt(obj1); | |
5463 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5464 | { |
5465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5466 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5467 | |
5468 | wxPyEndAllowThreads(__tstate); | |
5469 | if (PyErr_Occurred()) SWIG_fail; | |
5470 | } | |
7722248d RD |
5471 | { |
5472 | wxRect * resultptr; | |
5473 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5474 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5475 | } |
d14a1e28 RD |
5476 | return resultobj; |
5477 | fail: | |
5478 | return NULL; | |
5479 | } | |
5480 | ||
5481 | ||
5482 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5483 | PyObject *resultobj; | |
5484 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5485 | int arg2 ; | |
5486 | PyObject * obj0 = 0 ; | |
994141e6 | 5487 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5488 | char *kwnames[] = { |
5489 | (char *) "self",(char *) "height", NULL | |
5490 | }; | |
5491 | ||
994141e6 | 5492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5495 | arg2 = (int) SWIG_AsInt(obj1); | |
5496 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5497 | { |
5498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5499 | (arg1)->SetMinHeight(arg2); | |
5500 | ||
5501 | wxPyEndAllowThreads(__tstate); | |
5502 | if (PyErr_Occurred()) SWIG_fail; | |
5503 | } | |
5504 | Py_INCREF(Py_None); resultobj = Py_None; | |
5505 | return resultobj; | |
5506 | fail: | |
5507 | return NULL; | |
5508 | } | |
5509 | ||
5510 | ||
5511 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5512 | PyObject *resultobj; | |
5513 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5514 | int result; | |
5515 | PyObject * obj0 = 0 ; | |
5516 | char *kwnames[] = { | |
5517 | (char *) "self", NULL | |
5518 | }; | |
5519 | ||
5520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5521 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5522 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5523 | { |
5524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5525 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5526 | ||
5527 | wxPyEndAllowThreads(__tstate); | |
5528 | if (PyErr_Occurred()) SWIG_fail; | |
5529 | } | |
15afbcd0 | 5530 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5531 | return resultobj; |
5532 | fail: | |
5533 | return NULL; | |
5534 | } | |
5535 | ||
5536 | ||
5537 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5538 | PyObject *resultobj; | |
5539 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5540 | int result; | |
5541 | PyObject * obj0 = 0 ; | |
5542 | char *kwnames[] = { | |
5543 | (char *) "self", NULL | |
5544 | }; | |
5545 | ||
5546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5549 | { |
5550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5551 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5552 | ||
5553 | wxPyEndAllowThreads(__tstate); | |
5554 | if (PyErr_Occurred()) SWIG_fail; | |
5555 | } | |
15afbcd0 | 5556 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5557 | return resultobj; |
5558 | fail: | |
5559 | return NULL; | |
5560 | } | |
5561 | ||
5562 | ||
22bfe96c RD |
5563 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
5564 | PyObject *resultobj; | |
5565 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
5566 | wxVisualAttributes result; | |
5567 | PyObject * obj0 = 0 ; | |
5568 | char *kwnames[] = { | |
5569 | (char *) "variant", NULL | |
5570 | }; | |
5571 | ||
5572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5573 | if (obj0) { | |
5574 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
5575 | if (PyErr_Occurred()) SWIG_fail; | |
5576 | } | |
5577 | { | |
e3b71cb8 | 5578 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
5579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5580 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5581 | ||
5582 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 5583 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
5584 | } |
5585 | { | |
5586 | wxVisualAttributes * resultptr; | |
5587 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
5588 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
5589 | } | |
5590 | return resultobj; | |
5591 | fail: | |
5592 | return NULL; | |
5593 | } | |
5594 | ||
5595 | ||
d14a1e28 RD |
5596 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { |
5597 | PyObject *obj; | |
5598 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5599 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5600 | Py_INCREF(obj); | |
5601 | return Py_BuildValue((char *)""); | |
5602 | } | |
b2dc1044 RD |
5603 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5604 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5605 | return 1; | |
5606 | } | |
5607 | ||
5608 | ||
5609 | static PyObject *_wrap_SplitterNameStr_get() { | |
5610 | PyObject *pyobj; | |
5611 | ||
5612 | { | |
5613 | #if wxUSE_UNICODE | |
5614 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5615 | #else | |
5616 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5617 | #endif | |
5618 | } | |
5619 | return pyobj; | |
5620 | } | |
5621 | ||
5622 | ||
d14a1e28 RD |
5623 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5624 | PyObject *resultobj; | |
5625 | wxWindow *arg1 = (wxWindow *) 0 ; | |
74a57fcd | 5626 | int arg2 = (int) -1 ; |
d14a1e28 RD |
5627 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5628 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5629 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5630 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5631 | long arg5 = (long) wxSP_3D ; | |
5632 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5633 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5634 | wxSplitterWindow *result; | |
5635 | wxPoint temp3 ; | |
5636 | wxSize temp4 ; | |
e811c8ce | 5637 | bool temp6 = False ; |
d14a1e28 | 5638 | PyObject * obj0 = 0 ; |
994141e6 | 5639 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5640 | PyObject * obj2 = 0 ; |
5641 | PyObject * obj3 = 0 ; | |
994141e6 | 5642 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5643 | PyObject * obj5 = 0 ; |
5644 | char *kwnames[] = { | |
994141e6 | 5645 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5646 | }; |
5647 | ||
74a57fcd | 5648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd RD |
5651 | if (obj1) { |
5652 | arg2 = (int) SWIG_AsInt(obj1); | |
5653 | if (PyErr_Occurred()) SWIG_fail; | |
5654 | } | |
d14a1e28 RD |
5655 | if (obj2) { |
5656 | { | |
5657 | arg3 = &temp3; | |
5658 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5659 | } | |
5660 | } | |
5661 | if (obj3) { | |
5662 | { | |
5663 | arg4 = &temp4; | |
5664 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5665 | } | |
5666 | } | |
15afbcd0 RD |
5667 | if (obj4) { |
5668 | arg5 = (long) SWIG_AsLong(obj4); | |
5669 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5670 | } |
d14a1e28 RD |
5671 | if (obj5) { |
5672 | { | |
5673 | arg6 = wxString_in_helper(obj5); | |
5674 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5675 | temp6 = True; |
d14a1e28 RD |
5676 | } |
5677 | } | |
5678 | { | |
e3b71cb8 | 5679 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5681 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5682 | ||
5683 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 5684 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5685 | } |
15afbcd0 | 5686 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5687 | { |
5688 | if (temp6) | |
5689 | delete arg6; | |
5690 | } | |
5691 | return resultobj; | |
5692 | fail: | |
5693 | { | |
5694 | if (temp6) | |
5695 | delete arg6; | |
5696 | } | |
5697 | return NULL; | |
5698 | } | |
5699 | ||
5700 | ||
5701 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5702 | PyObject *resultobj; | |
5703 | wxSplitterWindow *result; | |
5704 | char *kwnames[] = { | |
5705 | NULL | |
5706 | }; | |
5707 | ||
5708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5709 | { | |
e3b71cb8 | 5710 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5712 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5713 | ||
5714 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 5715 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5716 | } |
15afbcd0 | 5717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5718 | return resultobj; |
5719 | fail: | |
5720 | return NULL; | |
5721 | } | |
5722 | ||
5723 | ||
5724 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5725 | PyObject *resultobj; | |
5726 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5727 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 5728 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5729 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5730 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5731 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5732 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5733 | long arg6 = (long) wxSP_3D ; | |
5734 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5735 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5736 | bool result; | |
5737 | wxPoint temp4 ; | |
5738 | wxSize temp5 ; | |
e811c8ce | 5739 | bool temp7 = False ; |
d14a1e28 RD |
5740 | PyObject * obj0 = 0 ; |
5741 | PyObject * obj1 = 0 ; | |
994141e6 | 5742 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5743 | PyObject * obj3 = 0 ; |
5744 | PyObject * obj4 = 0 ; | |
994141e6 | 5745 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5746 | PyObject * obj6 = 0 ; |
5747 | char *kwnames[] = { | |
994141e6 | 5748 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5749 | }; |
5750 | ||
74a57fcd | 5751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5754 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd RD |
5756 | if (obj2) { |
5757 | arg3 = (int) SWIG_AsInt(obj2); | |
5758 | if (PyErr_Occurred()) SWIG_fail; | |
5759 | } | |
d14a1e28 RD |
5760 | if (obj3) { |
5761 | { | |
5762 | arg4 = &temp4; | |
5763 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5764 | } | |
5765 | } | |
5766 | if (obj4) { | |
5767 | { | |
5768 | arg5 = &temp5; | |
5769 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5770 | } | |
5771 | } | |
994141e6 | 5772 | if (obj5) { |
15afbcd0 RD |
5773 | arg6 = (long) SWIG_AsLong(obj5); |
5774 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5775 | } |
d14a1e28 RD |
5776 | if (obj6) { |
5777 | { | |
5778 | arg7 = wxString_in_helper(obj6); | |
5779 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5780 | temp7 = True; |
d14a1e28 RD |
5781 | } |
5782 | } | |
5783 | { | |
5784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5785 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5786 | ||
5787 | wxPyEndAllowThreads(__tstate); | |
5788 | if (PyErr_Occurred()) SWIG_fail; | |
5789 | } | |
4f89f6a3 RD |
5790 | { |
5791 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5792 | } | |
d14a1e28 RD |
5793 | { |
5794 | if (temp7) | |
5795 | delete arg7; | |
5796 | } | |
5797 | return resultobj; | |
5798 | fail: | |
5799 | { | |
5800 | if (temp7) | |
5801 | delete arg7; | |
5802 | } | |
5803 | return NULL; | |
5804 | } | |
5805 | ||
5806 | ||
5807 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5808 | PyObject *resultobj; | |
5809 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5810 | wxWindow *result; | |
5811 | PyObject * obj0 = 0 ; | |
5812 | char *kwnames[] = { | |
5813 | (char *) "self", NULL | |
5814 | }; | |
5815 | ||
5816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5819 | { |
5820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5821 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5822 | ||
5823 | wxPyEndAllowThreads(__tstate); | |
5824 | if (PyErr_Occurred()) SWIG_fail; | |
5825 | } | |
5826 | { | |
5827 | resultobj = wxPyMake_wxObject(result); | |
5828 | } | |
5829 | return resultobj; | |
5830 | fail: | |
5831 | return NULL; | |
5832 | } | |
5833 | ||
5834 | ||
5835 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5836 | PyObject *resultobj; | |
5837 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5838 | wxWindow *result; | |
5839 | PyObject * obj0 = 0 ; | |
5840 | char *kwnames[] = { | |
5841 | (char *) "self", NULL | |
5842 | }; | |
5843 | ||
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5847 | { |
5848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5849 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5850 | ||
5851 | wxPyEndAllowThreads(__tstate); | |
5852 | if (PyErr_Occurred()) SWIG_fail; | |
5853 | } | |
5854 | { | |
5855 | resultobj = wxPyMake_wxObject(result); | |
5856 | } | |
5857 | return resultobj; | |
5858 | fail: | |
5859 | return NULL; | |
5860 | } | |
5861 | ||
5862 | ||
5863 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5864 | PyObject *resultobj; | |
5865 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5866 | int arg2 ; | |
5867 | PyObject * obj0 = 0 ; | |
994141e6 | 5868 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5869 | char *kwnames[] = { |
5870 | (char *) "self",(char *) "mode", NULL | |
5871 | }; | |
5872 | ||
994141e6 | 5873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5876 | arg2 = (int) SWIG_AsInt(obj1); | |
5877 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5878 | { |
5879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5880 | (arg1)->SetSplitMode(arg2); | |
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_GetSplitMode(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_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5904 | { |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5906 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5907 | ||
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
15afbcd0 | 5911 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5912 | return resultobj; |
5913 | fail: | |
5914 | return NULL; | |
5915 | } | |
5916 | ||
5917 | ||
5918 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5919 | PyObject *resultobj; | |
5920 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5921 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5922 | PyObject * obj0 = 0 ; | |
5923 | PyObject * obj1 = 0 ; | |
5924 | char *kwnames[] = { | |
5925 | (char *) "self",(char *) "window", NULL | |
5926 | }; | |
5927 | ||
5928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5929 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5930 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5931 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5933 | { |
5934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5935 | (arg1)->Initialize(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_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5948 | PyObject *resultobj; | |
5949 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5950 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5951 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5952 | int arg4 = (int) 0 ; | |
5953 | bool result; | |
5954 | PyObject * obj0 = 0 ; | |
5955 | PyObject * obj1 = 0 ; | |
5956 | PyObject * obj2 = 0 ; | |
994141e6 | 5957 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5958 | char *kwnames[] = { |
5959 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5960 | }; | |
5961 | ||
994141e6 | 5962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5965 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5967 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5969 | if (obj3) { |
15afbcd0 RD |
5970 | arg4 = (int) SWIG_AsInt(obj3); |
5971 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5972 | } |
d14a1e28 RD |
5973 | { |
5974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5975 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5976 | ||
5977 | wxPyEndAllowThreads(__tstate); | |
5978 | if (PyErr_Occurred()) SWIG_fail; | |
5979 | } | |
4f89f6a3 RD |
5980 | { |
5981 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5982 | } | |
d14a1e28 RD |
5983 | return resultobj; |
5984 | fail: | |
5985 | return NULL; | |
5986 | } | |
5987 | ||
5988 | ||
5989 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5990 | PyObject *resultobj; | |
5991 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5992 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5993 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5994 | int arg4 = (int) 0 ; | |
5995 | bool result; | |
5996 | PyObject * obj0 = 0 ; | |
5997 | PyObject * obj1 = 0 ; | |
5998 | PyObject * obj2 = 0 ; | |
994141e6 | 5999 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
6000 | char *kwnames[] = { |
6001 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6002 | }; | |
6003 | ||
994141e6 | 6004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6007 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6009 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 6011 | if (obj3) { |
15afbcd0 RD |
6012 | arg4 = (int) SWIG_AsInt(obj3); |
6013 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6014 | } |
d14a1e28 RD |
6015 | { |
6016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6017 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
6018 | ||
6019 | wxPyEndAllowThreads(__tstate); | |
6020 | if (PyErr_Occurred()) SWIG_fail; | |
6021 | } | |
4f89f6a3 RD |
6022 | { |
6023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6024 | } | |
d14a1e28 RD |
6025 | return resultobj; |
6026 | fail: | |
6027 | return NULL; | |
6028 | } | |
6029 | ||
6030 | ||
6031 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6032 | PyObject *resultobj; | |
6033 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6034 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6035 | bool result; | |
6036 | PyObject * obj0 = 0 ; | |
6037 | PyObject * obj1 = 0 ; | |
6038 | char *kwnames[] = { | |
6039 | (char *) "self",(char *) "toRemove", NULL | |
6040 | }; | |
6041 | ||
6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6045 | if (obj1) { |
15afbcd0 RD |
6046 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
6047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6048 | } |
6049 | { | |
6050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6051 | result = (bool)(arg1)->Unsplit(arg2); | |
6052 | ||
6053 | wxPyEndAllowThreads(__tstate); | |
6054 | if (PyErr_Occurred()) SWIG_fail; | |
6055 | } | |
4f89f6a3 RD |
6056 | { |
6057 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6058 | } | |
d14a1e28 RD |
6059 | return resultobj; |
6060 | fail: | |
6061 | return NULL; | |
6062 | } | |
6063 | ||
6064 | ||
6065 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6066 | PyObject *resultobj; | |
6067 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6068 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6069 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6070 | bool result; | |
6071 | PyObject * obj0 = 0 ; | |
6072 | PyObject * obj1 = 0 ; | |
6073 | PyObject * obj2 = 0 ; | |
6074 | char *kwnames[] = { | |
6075 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
6076 | }; | |
6077 | ||
6078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
6079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6081 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6083 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6085 | { |
6086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6087 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
6088 | ||
6089 | wxPyEndAllowThreads(__tstate); | |
6090 | if (PyErr_Occurred()) SWIG_fail; | |
6091 | } | |
4f89f6a3 RD |
6092 | { |
6093 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6094 | } | |
d14a1e28 RD |
6095 | return resultobj; |
6096 | fail: | |
6097 | return NULL; | |
6098 | } | |
6099 | ||
6100 | ||
d00d1b88 RD |
6101 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
6102 | PyObject *resultobj; | |
6103 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6104 | PyObject * obj0 = 0 ; | |
6105 | char *kwnames[] = { | |
6106 | (char *) "self", NULL | |
6107 | }; | |
6108 | ||
6109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
6110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6112 | { | |
6113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6114 | (arg1)->UpdateSize(); | |
6115 | ||
6116 | wxPyEndAllowThreads(__tstate); | |
6117 | if (PyErr_Occurred()) SWIG_fail; | |
6118 | } | |
6119 | Py_INCREF(Py_None); resultobj = Py_None; | |
6120 | return resultobj; | |
6121 | fail: | |
6122 | return NULL; | |
6123 | } | |
6124 | ||
6125 | ||
d14a1e28 RD |
6126 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { |
6127 | PyObject *resultobj; | |
6128 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6129 | bool result; | |
6130 | PyObject * obj0 = 0 ; | |
6131 | char *kwnames[] = { | |
6132 | (char *) "self", NULL | |
6133 | }; | |
6134 | ||
6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6138 | { |
6139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6140 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
6141 | ||
6142 | wxPyEndAllowThreads(__tstate); | |
6143 | if (PyErr_Occurred()) SWIG_fail; | |
6144 | } | |
4f89f6a3 RD |
6145 | { |
6146 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6147 | } | |
d14a1e28 RD |
6148 | return resultobj; |
6149 | fail: | |
6150 | return NULL; | |
6151 | } | |
6152 | ||
6153 | ||
6154 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6155 | PyObject *resultobj; | |
6156 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6157 | int arg2 ; | |
6158 | PyObject * obj0 = 0 ; | |
994141e6 | 6159 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6160 | char *kwnames[] = { |
6161 | (char *) "self",(char *) "width", NULL | |
6162 | }; | |
6163 | ||
994141e6 | 6164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6167 | arg2 = (int) SWIG_AsInt(obj1); | |
6168 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6169 | { |
6170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6171 | (arg1)->SetSashSize(arg2); | |
6172 | ||
6173 | wxPyEndAllowThreads(__tstate); | |
6174 | if (PyErr_Occurred()) SWIG_fail; | |
6175 | } | |
6176 | Py_INCREF(Py_None); resultobj = Py_None; | |
6177 | return resultobj; | |
6178 | fail: | |
6179 | return NULL; | |
6180 | } | |
6181 | ||
6182 | ||
6183 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6184 | PyObject *resultobj; | |
6185 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6186 | int arg2 ; | |
6187 | PyObject * obj0 = 0 ; | |
994141e6 | 6188 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6189 | char *kwnames[] = { |
6190 | (char *) "self",(char *) "width", NULL | |
6191 | }; | |
6192 | ||
994141e6 | 6193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6196 | arg2 = (int) SWIG_AsInt(obj1); | |
6197 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6198 | { |
6199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6200 | (arg1)->SetBorderSize(arg2); | |
6201 | ||
6202 | wxPyEndAllowThreads(__tstate); | |
6203 | if (PyErr_Occurred()) SWIG_fail; | |
6204 | } | |
6205 | Py_INCREF(Py_None); resultobj = Py_None; | |
6206 | return resultobj; | |
6207 | fail: | |
6208 | return NULL; | |
6209 | } | |
6210 | ||
6211 | ||
6212 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6213 | PyObject *resultobj; | |
6214 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6215 | int result; | |
6216 | PyObject * obj0 = 0 ; | |
6217 | char *kwnames[] = { | |
6218 | (char *) "self", NULL | |
6219 | }; | |
6220 | ||
6221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6224 | { |
6225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6226 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
6227 | ||
6228 | wxPyEndAllowThreads(__tstate); | |
6229 | if (PyErr_Occurred()) SWIG_fail; | |
6230 | } | |
15afbcd0 | 6231 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6232 | return resultobj; |
6233 | fail: | |
6234 | return NULL; | |
6235 | } | |
6236 | ||
6237 | ||
6238 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6239 | PyObject *resultobj; | |
6240 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6241 | int result; | |
6242 | PyObject * obj0 = 0 ; | |
6243 | char *kwnames[] = { | |
6244 | (char *) "self", NULL | |
6245 | }; | |
6246 | ||
6247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6250 | { |
6251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6252 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
6253 | ||
6254 | wxPyEndAllowThreads(__tstate); | |
6255 | if (PyErr_Occurred()) SWIG_fail; | |
6256 | } | |
15afbcd0 | 6257 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6258 | return resultobj; |
6259 | fail: | |
6260 | return NULL; | |
6261 | } | |
6262 | ||
6263 | ||
6264 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6265 | PyObject *resultobj; | |
6266 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6267 | int arg2 ; | |
e811c8ce | 6268 | bool arg3 = (bool) True ; |
d14a1e28 | 6269 | PyObject * obj0 = 0 ; |
994141e6 | 6270 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6271 | PyObject * obj2 = 0 ; |
6272 | char *kwnames[] = { | |
6273 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6274 | }; | |
6275 | ||
994141e6 | 6276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6279 | arg2 = (int) SWIG_AsInt(obj1); | |
6280 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 6281 | if (obj2) { |
15afbcd0 RD |
6282 | arg3 = (bool) SWIG_AsBool(obj2); |
6283 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6284 | } |
6285 | { | |
6286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6287 | (arg1)->SetSashPosition(arg2,arg3); | |
6288 | ||
6289 | wxPyEndAllowThreads(__tstate); | |
6290 | if (PyErr_Occurred()) SWIG_fail; | |
6291 | } | |
6292 | Py_INCREF(Py_None); resultobj = Py_None; | |
6293 | return resultobj; | |
6294 | fail: | |
6295 | return NULL; | |
6296 | } | |
6297 | ||
6298 | ||
6299 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6300 | PyObject *resultobj; | |
6301 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6302 | int result; | |
6303 | PyObject * obj0 = 0 ; | |
6304 | char *kwnames[] = { | |
6305 | (char *) "self", NULL | |
6306 | }; | |
6307 | ||
6308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6311 | { |
6312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6313 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6314 | ||
6315 | wxPyEndAllowThreads(__tstate); | |
6316 | if (PyErr_Occurred()) SWIG_fail; | |
6317 | } | |
15afbcd0 | 6318 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6319 | return resultobj; |
6320 | fail: | |
6321 | return NULL; | |
6322 | } | |
6323 | ||
6324 | ||
6325 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6326 | PyObject *resultobj; | |
6327 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6328 | int arg2 ; | |
6329 | PyObject * obj0 = 0 ; | |
994141e6 | 6330 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6331 | char *kwnames[] = { |
6332 | (char *) "self",(char *) "min", NULL | |
6333 | }; | |
6334 | ||
994141e6 | 6335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6338 | arg2 = (int) SWIG_AsInt(obj1); | |
6339 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6340 | { |
6341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6342 | (arg1)->SetMinimumPaneSize(arg2); | |
6343 | ||
6344 | wxPyEndAllowThreads(__tstate); | |
6345 | if (PyErr_Occurred()) SWIG_fail; | |
6346 | } | |
6347 | Py_INCREF(Py_None); resultobj = Py_None; | |
6348 | return resultobj; | |
6349 | fail: | |
6350 | return NULL; | |
6351 | } | |
6352 | ||
6353 | ||
6354 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6355 | PyObject *resultobj; | |
6356 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6357 | int result; | |
6358 | PyObject * obj0 = 0 ; | |
6359 | char *kwnames[] = { | |
6360 | (char *) "self", NULL | |
6361 | }; | |
6362 | ||
6363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6366 | { |
6367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6368 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6369 | ||
6370 | wxPyEndAllowThreads(__tstate); | |
6371 | if (PyErr_Occurred()) SWIG_fail; | |
6372 | } | |
15afbcd0 | 6373 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6374 | return resultobj; |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
6380 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6381 | PyObject *resultobj; | |
6382 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6383 | int arg2 ; | |
6384 | int arg3 ; | |
6385 | int arg4 = (int) 5 ; | |
6386 | bool result; | |
6387 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6388 | PyObject * obj1 = 0 ; |
6389 | PyObject * obj2 = 0 ; | |
6390 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6391 | char *kwnames[] = { |
6392 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6393 | }; | |
6394 | ||
994141e6 | 6395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6398 | arg2 = (int) SWIG_AsInt(obj1); | |
6399 | if (PyErr_Occurred()) SWIG_fail; | |
6400 | arg3 = (int) SWIG_AsInt(obj2); | |
6401 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6402 | if (obj3) { |
15afbcd0 RD |
6403 | arg4 = (int) SWIG_AsInt(obj3); |
6404 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6405 | } |
d14a1e28 RD |
6406 | { |
6407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6408 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6409 | ||
6410 | wxPyEndAllowThreads(__tstate); | |
6411 | if (PyErr_Occurred()) SWIG_fail; | |
6412 | } | |
4f89f6a3 RD |
6413 | { |
6414 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6415 | } | |
d14a1e28 RD |
6416 | return resultobj; |
6417 | fail: | |
6418 | return NULL; | |
6419 | } | |
6420 | ||
6421 | ||
6422 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6423 | PyObject *resultobj; | |
6424 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6425 | PyObject * obj0 = 0 ; | |
6426 | char *kwnames[] = { | |
6427 | (char *) "self", NULL | |
6428 | }; | |
6429 | ||
6430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6433 | { |
6434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6435 | (arg1)->SizeWindows(); | |
6436 | ||
6437 | wxPyEndAllowThreads(__tstate); | |
6438 | if (PyErr_Occurred()) SWIG_fail; | |
6439 | } | |
6440 | Py_INCREF(Py_None); resultobj = Py_None; | |
6441 | return resultobj; | |
6442 | fail: | |
6443 | return NULL; | |
6444 | } | |
6445 | ||
6446 | ||
6447 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6448 | PyObject *resultobj; | |
6449 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6450 | bool arg2 ; | |
6451 | PyObject * obj0 = 0 ; | |
6452 | PyObject * obj1 = 0 ; | |
6453 | char *kwnames[] = { | |
6454 | (char *) "self",(char *) "needUpdating", NULL | |
6455 | }; | |
6456 | ||
6457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6460 | arg2 = (bool) SWIG_AsBool(obj1); | |
6461 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6462 | { |
6463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6464 | (arg1)->SetNeedUpdating(arg2); | |
6465 | ||
6466 | wxPyEndAllowThreads(__tstate); | |
6467 | if (PyErr_Occurred()) SWIG_fail; | |
6468 | } | |
6469 | Py_INCREF(Py_None); resultobj = Py_None; | |
6470 | return resultobj; | |
6471 | fail: | |
6472 | return NULL; | |
6473 | } | |
6474 | ||
6475 | ||
6476 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6477 | PyObject *resultobj; | |
6478 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6479 | bool result; | |
6480 | PyObject * obj0 = 0 ; | |
6481 | char *kwnames[] = { | |
6482 | (char *) "self", NULL | |
6483 | }; | |
6484 | ||
6485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6488 | { |
6489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6490 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6491 | ||
6492 | wxPyEndAllowThreads(__tstate); | |
6493 | if (PyErr_Occurred()) SWIG_fail; | |
6494 | } | |
4f89f6a3 RD |
6495 | { |
6496 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6497 | } | |
d14a1e28 RD |
6498 | return resultobj; |
6499 | fail: | |
6500 | return NULL; | |
6501 | } | |
6502 | ||
6503 | ||
22bfe96c RD |
6504 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
6505 | PyObject *resultobj; | |
6506 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
6507 | wxVisualAttributes result; | |
6508 | PyObject * obj0 = 0 ; | |
6509 | char *kwnames[] = { | |
6510 | (char *) "variant", NULL | |
6511 | }; | |
6512 | ||
6513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6514 | if (obj0) { | |
6515 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
6516 | if (PyErr_Occurred()) SWIG_fail; | |
6517 | } | |
6518 | { | |
e3b71cb8 | 6519 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6521 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6522 | ||
6523 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 6524 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
6525 | } |
6526 | { | |
6527 | wxVisualAttributes * resultptr; | |
6528 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
6529 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
6530 | } | |
6531 | return resultobj; | |
6532 | fail: | |
6533 | return NULL; | |
6534 | } | |
6535 | ||
6536 | ||
d14a1e28 RD |
6537 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { |
6538 | PyObject *obj; | |
6539 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6540 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6541 | Py_INCREF(obj); | |
6542 | return Py_BuildValue((char *)""); | |
6543 | } | |
6544 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6545 | PyObject *resultobj; | |
6546 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6547 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6548 | wxSplitterEvent *result; | |
994141e6 | 6549 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6550 | PyObject * obj1 = 0 ; |
6551 | char *kwnames[] = { | |
6552 | (char *) "type",(char *) "splitter", NULL | |
6553 | }; | |
6554 | ||
994141e6 RD |
6555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6556 | if (obj0) { | |
15afbcd0 RD |
6557 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6558 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6559 | } |
d14a1e28 | 6560 | if (obj1) { |
15afbcd0 RD |
6561 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6563 | } |
6564 | { | |
6565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6566 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6567 | ||
6568 | wxPyEndAllowThreads(__tstate); | |
6569 | if (PyErr_Occurred()) SWIG_fail; | |
6570 | } | |
15afbcd0 | 6571 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6572 | return resultobj; |
6573 | fail: | |
6574 | return NULL; | |
6575 | } | |
6576 | ||
6577 | ||
6578 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6579 | PyObject *resultobj; | |
6580 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6581 | int arg2 ; | |
6582 | PyObject * obj0 = 0 ; | |
994141e6 | 6583 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6584 | char *kwnames[] = { |
6585 | (char *) "self",(char *) "pos", NULL | |
6586 | }; | |
6587 | ||
994141e6 | 6588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6591 | arg2 = (int) SWIG_AsInt(obj1); | |
6592 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6593 | { |
6594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6595 | (arg1)->SetSashPosition(arg2); | |
6596 | ||
6597 | wxPyEndAllowThreads(__tstate); | |
6598 | if (PyErr_Occurred()) SWIG_fail; | |
6599 | } | |
6600 | Py_INCREF(Py_None); resultobj = Py_None; | |
6601 | return resultobj; | |
6602 | fail: | |
6603 | return NULL; | |
6604 | } | |
6605 | ||
6606 | ||
6607 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6608 | PyObject *resultobj; | |
6609 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6610 | int result; | |
6611 | PyObject * obj0 = 0 ; | |
6612 | char *kwnames[] = { | |
6613 | (char *) "self", NULL | |
6614 | }; | |
6615 | ||
6616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6619 | { |
6620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6621 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6622 | ||
6623 | wxPyEndAllowThreads(__tstate); | |
6624 | if (PyErr_Occurred()) SWIG_fail; | |
6625 | } | |
15afbcd0 | 6626 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6627 | return resultobj; |
6628 | fail: | |
6629 | return NULL; | |
6630 | } | |
6631 | ||
6632 | ||
6633 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6634 | PyObject *resultobj; | |
6635 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6636 | wxWindow *result; | |
6637 | PyObject * obj0 = 0 ; | |
6638 | char *kwnames[] = { | |
6639 | (char *) "self", NULL | |
6640 | }; | |
6641 | ||
6642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6645 | { |
6646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6647 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6648 | ||
6649 | wxPyEndAllowThreads(__tstate); | |
6650 | if (PyErr_Occurred()) SWIG_fail; | |
6651 | } | |
6652 | { | |
6653 | resultobj = wxPyMake_wxObject(result); | |
6654 | } | |
6655 | return resultobj; | |
6656 | fail: | |
6657 | return NULL; | |
6658 | } | |
6659 | ||
6660 | ||
6661 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6662 | PyObject *resultobj; | |
6663 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6664 | int result; | |
6665 | PyObject * obj0 = 0 ; | |
6666 | char *kwnames[] = { | |
6667 | (char *) "self", NULL | |
6668 | }; | |
6669 | ||
6670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6673 | { |
6674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6675 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6676 | ||
6677 | wxPyEndAllowThreads(__tstate); | |
6678 | if (PyErr_Occurred()) SWIG_fail; | |
6679 | } | |
15afbcd0 | 6680 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6681 | return resultobj; |
6682 | fail: | |
6683 | return NULL; | |
6684 | } | |
6685 | ||
6686 | ||
6687 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6688 | PyObject *resultobj; | |
6689 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6690 | int result; | |
6691 | PyObject * obj0 = 0 ; | |
6692 | char *kwnames[] = { | |
6693 | (char *) "self", NULL | |
6694 | }; | |
6695 | ||
6696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6699 | { |
6700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6701 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6702 | ||
6703 | wxPyEndAllowThreads(__tstate); | |
6704 | if (PyErr_Occurred()) SWIG_fail; | |
6705 | } | |
15afbcd0 | 6706 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6707 | return resultobj; |
6708 | fail: | |
6709 | return NULL; | |
6710 | } | |
6711 | ||
6712 | ||
6713 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6714 | PyObject *obj; | |
6715 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6716 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6717 | Py_INCREF(obj); | |
6718 | return Py_BuildValue((char *)""); | |
6719 | } | |
b2dc1044 RD |
6720 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6721 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6722 | return 1; | |
6723 | } | |
6724 | ||
6725 | ||
6726 | static PyObject *_wrap_SashNameStr_get() { | |
6727 | PyObject *pyobj; | |
6728 | ||
6729 | { | |
6730 | #if wxUSE_UNICODE | |
6731 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6732 | #else | |
6733 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6734 | #endif | |
6735 | } | |
6736 | return pyobj; | |
6737 | } | |
6738 | ||
6739 | ||
6740 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6741 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6742 | return 1; | |
6743 | } | |
6744 | ||
6745 | ||
6746 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6747 | PyObject *pyobj; | |
6748 | ||
6749 | { | |
6750 | #if wxUSE_UNICODE | |
6751 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6752 | #else | |
6753 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6754 | #endif | |
6755 | } | |
6756 | return pyobj; | |
6757 | } | |
6758 | ||
6759 | ||
d14a1e28 RD |
6760 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6761 | PyObject *resultobj; | |
6762 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 6763 | int arg2 = (int) -1 ; |
d14a1e28 RD |
6764 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6765 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6766 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6767 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6768 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6769 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6770 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6771 | wxSashWindow *result; | |
6772 | wxPoint temp3 ; | |
6773 | wxSize temp4 ; | |
e811c8ce | 6774 | bool temp6 = False ; |
d14a1e28 | 6775 | PyObject * obj0 = 0 ; |
994141e6 | 6776 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6777 | PyObject * obj2 = 0 ; |
6778 | PyObject * obj3 = 0 ; | |
994141e6 | 6779 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6780 | PyObject * obj5 = 0 ; |
6781 | char *kwnames[] = { | |
6782 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6783 | }; | |
6784 | ||
248ed943 | 6785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
6786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
6788 | if (obj1) { |
6789 | arg2 = (int) SWIG_AsInt(obj1); | |
6790 | if (PyErr_Occurred()) SWIG_fail; | |
6791 | } | |
d14a1e28 RD |
6792 | if (obj2) { |
6793 | { | |
6794 | arg3 = &temp3; | |
6795 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6796 | } | |
6797 | } | |
6798 | if (obj3) { | |
6799 | { | |
6800 | arg4 = &temp4; | |
6801 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6802 | } | |
6803 | } | |
994141e6 | 6804 | if (obj4) { |
15afbcd0 RD |
6805 | arg5 = (long) SWIG_AsLong(obj4); |
6806 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6807 | } |
d14a1e28 RD |
6808 | if (obj5) { |
6809 | { | |
6810 | arg6 = wxString_in_helper(obj5); | |
6811 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6812 | temp6 = True; |
d14a1e28 RD |
6813 | } |
6814 | } | |
6815 | { | |
e3b71cb8 | 6816 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6818 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6819 | ||
6820 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 6821 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6822 | } |
15afbcd0 | 6823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6824 | { |
6825 | if (temp6) | |
6826 | delete arg6; | |
6827 | } | |
6828 | return resultobj; | |
6829 | fail: | |
6830 | { | |
6831 | if (temp6) | |
6832 | delete arg6; | |
6833 | } | |
6834 | return NULL; | |
6835 | } | |
6836 | ||
6837 | ||
6838 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6839 | PyObject *resultobj; | |
6840 | wxSashWindow *result; | |
6841 | char *kwnames[] = { | |
6842 | NULL | |
6843 | }; | |
6844 | ||
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6846 | { | |
e3b71cb8 | 6847 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6849 | result = (wxSashWindow *)new wxSashWindow(); | |
6850 | ||
6851 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 6852 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6853 | } |
15afbcd0 | 6854 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6855 | return resultobj; |
6856 | fail: | |
6857 | return NULL; | |
6858 | } | |
6859 | ||
6860 | ||
6861 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6862 | PyObject *resultobj; | |
6863 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6864 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 6865 | int arg3 = (int) -1 ; |
d14a1e28 RD |
6866 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6867 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6868 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6869 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6870 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6871 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6872 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6873 | bool result; | |
6874 | wxPoint temp4 ; | |
6875 | wxSize temp5 ; | |
e811c8ce | 6876 | bool temp7 = False ; |
d14a1e28 RD |
6877 | PyObject * obj0 = 0 ; |
6878 | PyObject * obj1 = 0 ; | |
994141e6 | 6879 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6880 | PyObject * obj3 = 0 ; |
6881 | PyObject * obj4 = 0 ; | |
994141e6 | 6882 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6883 | PyObject * obj6 = 0 ; |
6884 | char *kwnames[] = { | |
6885 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6886 | }; | |
6887 | ||
248ed943 | 6888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6891 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
6893 | if (obj2) { |
6894 | arg3 = (int) SWIG_AsInt(obj2); | |
6895 | if (PyErr_Occurred()) SWIG_fail; | |
6896 | } | |
d14a1e28 RD |
6897 | if (obj3) { |
6898 | { | |
6899 | arg4 = &temp4; | |
6900 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6901 | } | |
6902 | } | |
6903 | if (obj4) { | |
6904 | { | |
6905 | arg5 = &temp5; | |
6906 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6907 | } | |
6908 | } | |
994141e6 | 6909 | if (obj5) { |
15afbcd0 RD |
6910 | arg6 = (long) SWIG_AsLong(obj5); |
6911 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6912 | } |
d14a1e28 RD |
6913 | if (obj6) { |
6914 | { | |
6915 | arg7 = wxString_in_helper(obj6); | |
6916 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6917 | temp7 = True; |
d14a1e28 RD |
6918 | } |
6919 | } | |
6920 | { | |
6921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6922 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6923 | ||
6924 | wxPyEndAllowThreads(__tstate); | |
6925 | if (PyErr_Occurred()) SWIG_fail; | |
6926 | } | |
4f89f6a3 RD |
6927 | { |
6928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6929 | } | |
d14a1e28 RD |
6930 | { |
6931 | if (temp7) | |
6932 | delete arg7; | |
6933 | } | |
6934 | return resultobj; | |
6935 | fail: | |
6936 | { | |
6937 | if (temp7) | |
6938 | delete arg7; | |
6939 | } | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
6944 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6945 | PyObject *resultobj; | |
6946 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6947 | int arg2 ; | |
6948 | bool arg3 ; | |
6949 | PyObject * obj0 = 0 ; | |
994141e6 | 6950 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6951 | PyObject * obj2 = 0 ; |
6952 | char *kwnames[] = { | |
6953 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6954 | }; | |
6955 | ||
994141e6 | 6956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6959 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6960 | if (PyErr_Occurred()) SWIG_fail; | |
6961 | arg3 = (bool) SWIG_AsBool(obj2); | |
6962 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6963 | { |
6964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6965 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6966 | ||
6967 | wxPyEndAllowThreads(__tstate); | |
6968 | if (PyErr_Occurred()) SWIG_fail; | |
6969 | } | |
6970 | Py_INCREF(Py_None); resultobj = Py_None; | |
6971 | return resultobj; | |
6972 | fail: | |
6973 | return NULL; | |
6974 | } | |
6975 | ||
6976 | ||
6977 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6978 | PyObject *resultobj; | |
6979 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6980 | int arg2 ; | |
6981 | bool result; | |
6982 | PyObject * obj0 = 0 ; | |
994141e6 | 6983 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6984 | char *kwnames[] = { |
6985 | (char *) "self",(char *) "edge", NULL | |
6986 | }; | |
6987 | ||
994141e6 | 6988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6991 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6992 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6993 | { |
6994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6995 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6996 | ||
6997 | wxPyEndAllowThreads(__tstate); | |
6998 | if (PyErr_Occurred()) SWIG_fail; | |
6999 | } | |
4f89f6a3 RD |
7000 | { |
7001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7002 | } | |
d14a1e28 RD |
7003 | return resultobj; |
7004 | fail: | |
7005 | return NULL; | |
7006 | } | |
7007 | ||
7008 | ||
7009 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7010 | PyObject *resultobj; | |
7011 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7012 | int arg2 ; | |
7013 | bool arg3 ; | |
7014 | PyObject * obj0 = 0 ; | |
994141e6 | 7015 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7016 | PyObject * obj2 = 0 ; |
7017 | char *kwnames[] = { | |
7018 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
7019 | }; | |
7020 | ||
994141e6 | 7021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7024 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7025 | if (PyErr_Occurred()) SWIG_fail; | |
7026 | arg3 = (bool) SWIG_AsBool(obj2); | |
7027 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7028 | { |
7029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7030 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
7031 | ||
7032 | wxPyEndAllowThreads(__tstate); | |
7033 | if (PyErr_Occurred()) SWIG_fail; | |
7034 | } | |
7035 | Py_INCREF(Py_None); resultobj = Py_None; | |
7036 | return resultobj; | |
7037 | fail: | |
7038 | return NULL; | |
7039 | } | |
7040 | ||
7041 | ||
7042 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7043 | PyObject *resultobj; | |
7044 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7045 | int arg2 ; | |
7046 | bool result; | |
7047 | PyObject * obj0 = 0 ; | |
994141e6 | 7048 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7049 | char *kwnames[] = { |
7050 | (char *) "self",(char *) "edge", NULL | |
7051 | }; | |
7052 | ||
994141e6 | 7053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7056 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7057 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7058 | { |
7059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7060 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
7061 | ||
7062 | wxPyEndAllowThreads(__tstate); | |
7063 | if (PyErr_Occurred()) SWIG_fail; | |
7064 | } | |
4f89f6a3 RD |
7065 | { |
7066 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7067 | } | |
d14a1e28 RD |
7068 | return resultobj; |
7069 | fail: | |
7070 | return NULL; | |
7071 | } | |
7072 | ||
7073 | ||
7074 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7075 | PyObject *resultobj; | |
7076 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7077 | int arg2 ; | |
7078 | int result; | |
7079 | PyObject * obj0 = 0 ; | |
994141e6 | 7080 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7081 | char *kwnames[] = { |
7082 | (char *) "self",(char *) "edge", NULL | |
7083 | }; | |
7084 | ||
994141e6 | 7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7088 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7089 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7090 | { |
7091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7092 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
7093 | ||
7094 | wxPyEndAllowThreads(__tstate); | |
7095 | if (PyErr_Occurred()) SWIG_fail; | |
7096 | } | |
15afbcd0 | 7097 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7098 | return resultobj; |
7099 | fail: | |
7100 | return NULL; | |
7101 | } | |
7102 | ||
7103 | ||
7104 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7105 | PyObject *resultobj; | |
7106 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7107 | int arg2 ; | |
7108 | PyObject * obj0 = 0 ; | |
994141e6 | 7109 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7110 | char *kwnames[] = { |
7111 | (char *) "self",(char *) "width", NULL | |
7112 | }; | |
7113 | ||
994141e6 | 7114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7117 | arg2 = (int) SWIG_AsInt(obj1); | |
7118 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7119 | { |
7120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7121 | (arg1)->SetDefaultBorderSize(arg2); | |
7122 | ||
7123 | wxPyEndAllowThreads(__tstate); | |
7124 | if (PyErr_Occurred()) SWIG_fail; | |
7125 | } | |
7126 | Py_INCREF(Py_None); resultobj = Py_None; | |
7127 | return resultobj; | |
7128 | fail: | |
7129 | return NULL; | |
7130 | } | |
7131 | ||
7132 | ||
7133 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7134 | PyObject *resultobj; | |
7135 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7136 | int result; | |
7137 | PyObject * obj0 = 0 ; | |
7138 | char *kwnames[] = { | |
7139 | (char *) "self", NULL | |
7140 | }; | |
7141 | ||
7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7145 | { |
7146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7147 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
7148 | ||
7149 | wxPyEndAllowThreads(__tstate); | |
7150 | if (PyErr_Occurred()) SWIG_fail; | |
7151 | } | |
15afbcd0 | 7152 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7153 | return resultobj; |
7154 | fail: | |
7155 | return NULL; | |
7156 | } | |
7157 | ||
7158 | ||
7159 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7160 | PyObject *resultobj; | |
7161 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7162 | int arg2 ; | |
7163 | PyObject * obj0 = 0 ; | |
994141e6 | 7164 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7165 | char *kwnames[] = { |
7166 | (char *) "self",(char *) "width", NULL | |
7167 | }; | |
7168 | ||
994141e6 | 7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7172 | arg2 = (int) SWIG_AsInt(obj1); | |
7173 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7174 | { |
7175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7176 | (arg1)->SetExtraBorderSize(arg2); | |
7177 | ||
7178 | wxPyEndAllowThreads(__tstate); | |
7179 | if (PyErr_Occurred()) SWIG_fail; | |
7180 | } | |
7181 | Py_INCREF(Py_None); resultobj = Py_None; | |
7182 | return resultobj; | |
7183 | fail: | |
7184 | return NULL; | |
7185 | } | |
7186 | ||
7187 | ||
7188 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7189 | PyObject *resultobj; | |
7190 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7191 | int result; | |
7192 | PyObject * obj0 = 0 ; | |
7193 | char *kwnames[] = { | |
7194 | (char *) "self", NULL | |
7195 | }; | |
7196 | ||
7197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7200 | { |
7201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7202 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
7203 | ||
7204 | wxPyEndAllowThreads(__tstate); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
7206 | } | |
15afbcd0 | 7207 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7208 | return resultobj; |
7209 | fail: | |
7210 | return NULL; | |
7211 | } | |
7212 | ||
7213 | ||
7214 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7215 | PyObject *resultobj; | |
7216 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7217 | int arg2 ; | |
7218 | PyObject * obj0 = 0 ; | |
994141e6 | 7219 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7220 | char *kwnames[] = { |
7221 | (char *) "self",(char *) "min", NULL | |
7222 | }; | |
7223 | ||
994141e6 | 7224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7227 | arg2 = (int) SWIG_AsInt(obj1); | |
7228 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7229 | { |
7230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7231 | (arg1)->SetMinimumSizeX(arg2); | |
7232 | ||
7233 | wxPyEndAllowThreads(__tstate); | |
7234 | if (PyErr_Occurred()) SWIG_fail; | |
7235 | } | |
7236 | Py_INCREF(Py_None); resultobj = Py_None; | |
7237 | return resultobj; | |
7238 | fail: | |
7239 | return NULL; | |
7240 | } | |
7241 | ||
7242 | ||
7243 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7244 | PyObject *resultobj; | |
7245 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7246 | int arg2 ; | |
7247 | PyObject * obj0 = 0 ; | |
994141e6 | 7248 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7249 | char *kwnames[] = { |
7250 | (char *) "self",(char *) "min", NULL | |
7251 | }; | |
7252 | ||
994141e6 | 7253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7256 | arg2 = (int) SWIG_AsInt(obj1); | |
7257 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7258 | { |
7259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7260 | (arg1)->SetMinimumSizeY(arg2); | |
7261 | ||
7262 | wxPyEndAllowThreads(__tstate); | |
7263 | if (PyErr_Occurred()) SWIG_fail; | |
7264 | } | |
7265 | Py_INCREF(Py_None); resultobj = Py_None; | |
7266 | return resultobj; | |
7267 | fail: | |
7268 | return NULL; | |
7269 | } | |
7270 | ||
7271 | ||
7272 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7273 | PyObject *resultobj; | |
7274 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7275 | int result; | |
7276 | PyObject * obj0 = 0 ; | |
7277 | char *kwnames[] = { | |
7278 | (char *) "self", NULL | |
7279 | }; | |
7280 | ||
7281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7284 | { |
7285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7286 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
7287 | ||
7288 | wxPyEndAllowThreads(__tstate); | |
7289 | if (PyErr_Occurred()) SWIG_fail; | |
7290 | } | |
15afbcd0 | 7291 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7292 | return resultobj; |
7293 | fail: | |
7294 | return NULL; | |
7295 | } | |
7296 | ||
7297 | ||
7298 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7299 | PyObject *resultobj; | |
7300 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7301 | int result; | |
7302 | PyObject * obj0 = 0 ; | |
7303 | char *kwnames[] = { | |
7304 | (char *) "self", NULL | |
7305 | }; | |
7306 | ||
7307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7310 | { |
7311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7312 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7313 | ||
7314 | wxPyEndAllowThreads(__tstate); | |
7315 | if (PyErr_Occurred()) SWIG_fail; | |
7316 | } | |
15afbcd0 | 7317 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7318 | return resultobj; |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
7324 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7325 | PyObject *resultobj; | |
7326 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7327 | int arg2 ; | |
7328 | PyObject * obj0 = 0 ; | |
994141e6 | 7329 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7330 | char *kwnames[] = { |
7331 | (char *) "self",(char *) "max", NULL | |
7332 | }; | |
7333 | ||
994141e6 | 7334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7337 | arg2 = (int) SWIG_AsInt(obj1); | |
7338 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7339 | { |
7340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7341 | (arg1)->SetMaximumSizeX(arg2); | |
7342 | ||
7343 | wxPyEndAllowThreads(__tstate); | |
7344 | if (PyErr_Occurred()) SWIG_fail; | |
7345 | } | |
7346 | Py_INCREF(Py_None); resultobj = Py_None; | |
7347 | return resultobj; | |
7348 | fail: | |
7349 | return NULL; | |
7350 | } | |
7351 | ||
7352 | ||
7353 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7354 | PyObject *resultobj; | |
7355 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7356 | int arg2 ; | |
7357 | PyObject * obj0 = 0 ; | |
994141e6 | 7358 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7359 | char *kwnames[] = { |
7360 | (char *) "self",(char *) "max", NULL | |
7361 | }; | |
7362 | ||
994141e6 | 7363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7366 | arg2 = (int) SWIG_AsInt(obj1); | |
7367 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7368 | { |
7369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7370 | (arg1)->SetMaximumSizeY(arg2); | |
7371 | ||
7372 | wxPyEndAllowThreads(__tstate); | |
7373 | if (PyErr_Occurred()) SWIG_fail; | |
7374 | } | |
7375 | Py_INCREF(Py_None); resultobj = Py_None; | |
7376 | return resultobj; | |
7377 | fail: | |
7378 | return NULL; | |
7379 | } | |
7380 | ||
7381 | ||
7382 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7383 | PyObject *resultobj; | |
7384 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7385 | int result; | |
7386 | PyObject * obj0 = 0 ; | |
7387 | char *kwnames[] = { | |
7388 | (char *) "self", NULL | |
7389 | }; | |
7390 | ||
7391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7394 | { |
7395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7396 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7397 | ||
7398 | wxPyEndAllowThreads(__tstate); | |
7399 | if (PyErr_Occurred()) SWIG_fail; | |
7400 | } | |
15afbcd0 | 7401 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7402 | return resultobj; |
7403 | fail: | |
7404 | return NULL; | |
7405 | } | |
7406 | ||
7407 | ||
7408 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7409 | PyObject *resultobj; | |
7410 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7411 | int result; | |
7412 | PyObject * obj0 = 0 ; | |
7413 | char *kwnames[] = { | |
7414 | (char *) "self", NULL | |
7415 | }; | |
7416 | ||
7417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7420 | { |
7421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7422 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7423 | ||
7424 | wxPyEndAllowThreads(__tstate); | |
7425 | if (PyErr_Occurred()) SWIG_fail; | |
7426 | } | |
15afbcd0 | 7427 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7428 | return resultobj; |
7429 | fail: | |
7430 | return NULL; | |
7431 | } | |
7432 | ||
7433 | ||
7434 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7435 | PyObject *resultobj; | |
7436 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7437 | int arg2 ; | |
7438 | int arg3 ; | |
7439 | int arg4 = (int) 2 ; | |
7440 | int result; | |
7441 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7442 | PyObject * obj1 = 0 ; |
7443 | PyObject * obj2 = 0 ; | |
7444 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7445 | char *kwnames[] = { |
7446 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7447 | }; | |
7448 | ||
994141e6 | 7449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7452 | arg2 = (int) SWIG_AsInt(obj1); | |
7453 | if (PyErr_Occurred()) SWIG_fail; | |
7454 | arg3 = (int) SWIG_AsInt(obj2); | |
7455 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7456 | if (obj3) { |
15afbcd0 RD |
7457 | arg4 = (int) SWIG_AsInt(obj3); |
7458 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7459 | } |
d14a1e28 RD |
7460 | { |
7461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7462 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7463 | ||
7464 | wxPyEndAllowThreads(__tstate); | |
7465 | if (PyErr_Occurred()) SWIG_fail; | |
7466 | } | |
15afbcd0 | 7467 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7468 | return resultobj; |
7469 | fail: | |
7470 | return NULL; | |
7471 | } | |
7472 | ||
7473 | ||
7474 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7475 | PyObject *resultobj; | |
7476 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7477 | PyObject * obj0 = 0 ; | |
7478 | char *kwnames[] = { | |
7479 | (char *) "self", NULL | |
7480 | }; | |
7481 | ||
7482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7485 | { |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | (arg1)->SizeWindows(); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | Py_INCREF(Py_None); resultobj = Py_None; | |
7493 | return resultobj; | |
7494 | fail: | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
7499 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7500 | PyObject *obj; | |
7501 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7502 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7503 | Py_INCREF(obj); | |
7504 | return Py_BuildValue((char *)""); | |
7505 | } | |
7506 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7507 | PyObject *resultobj; | |
7508 | int arg1 = (int) 0 ; | |
7509 | int arg2 = (int) wxSASH_NONE ; | |
7510 | wxSashEvent *result; | |
994141e6 RD |
7511 | PyObject * obj0 = 0 ; |
7512 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7513 | char *kwnames[] = { |
7514 | (char *) "id",(char *) "edge", NULL | |
7515 | }; | |
7516 | ||
994141e6 RD |
7517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7518 | if (obj0) { | |
15afbcd0 RD |
7519 | arg1 = (int) SWIG_AsInt(obj0); |
7520 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
7521 | } |
7522 | if (obj1) { | |
15afbcd0 RD |
7523 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7524 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7525 | } |
d14a1e28 RD |
7526 | { |
7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7528 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7529 | ||
7530 | wxPyEndAllowThreads(__tstate); | |
7531 | if (PyErr_Occurred()) SWIG_fail; | |
7532 | } | |
15afbcd0 | 7533 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7534 | return resultobj; |
7535 | fail: | |
7536 | return NULL; | |
7537 | } | |
7538 | ||
7539 | ||
7540 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7541 | PyObject *resultobj; | |
7542 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7543 | int arg2 ; | |
7544 | PyObject * obj0 = 0 ; | |
994141e6 | 7545 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7546 | char *kwnames[] = { |
7547 | (char *) "self",(char *) "edge", NULL | |
7548 | }; | |
7549 | ||
994141e6 | 7550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7553 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7554 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7555 | { |
7556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7557 | (arg1)->SetEdge((wxSashEdgePosition )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_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7570 | PyObject *resultobj; | |
7571 | wxSashEvent *arg1 = (wxSashEvent *) 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:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7581 | { |
7582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7583 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7584 | ||
7585 | wxPyEndAllowThreads(__tstate); | |
7586 | if (PyErr_Occurred()) SWIG_fail; | |
7587 | } | |
15afbcd0 | 7588 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7589 | return resultobj; |
7590 | fail: | |
7591 | return NULL; | |
7592 | } | |
7593 | ||
7594 | ||
7595 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7596 | PyObject *resultobj; | |
7597 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7598 | wxRect *arg2 = 0 ; | |
7599 | wxRect temp2 ; | |
7600 | PyObject * obj0 = 0 ; | |
7601 | PyObject * obj1 = 0 ; | |
7602 | char *kwnames[] = { | |
7603 | (char *) "self",(char *) "rect", NULL | |
7604 | }; | |
7605 | ||
7606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7609 | { |
7610 | arg2 = &temp2; | |
7611 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7612 | } | |
7613 | { | |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7616 | ||
7617 | wxPyEndAllowThreads(__tstate); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
7620 | Py_INCREF(Py_None); resultobj = Py_None; | |
7621 | return resultobj; | |
7622 | fail: | |
7623 | return NULL; | |
7624 | } | |
7625 | ||
7626 | ||
7627 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7628 | PyObject *resultobj; | |
7629 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7630 | wxRect result; | |
7631 | PyObject * obj0 = 0 ; | |
7632 | char *kwnames[] = { | |
7633 | (char *) "self", NULL | |
7634 | }; | |
7635 | ||
7636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7639 | { |
7640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7641 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7642 | ||
7643 | wxPyEndAllowThreads(__tstate); | |
7644 | if (PyErr_Occurred()) SWIG_fail; | |
7645 | } | |
7646 | { | |
7647 | wxRect * resultptr; | |
7648 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7649 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7650 | } |
7651 | return resultobj; | |
7652 | fail: | |
7653 | return NULL; | |
7654 | } | |
7655 | ||
7656 | ||
7657 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7658 | PyObject *resultobj; | |
7659 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7660 | int arg2 ; | |
7661 | PyObject * obj0 = 0 ; | |
994141e6 | 7662 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7663 | char *kwnames[] = { |
7664 | (char *) "self",(char *) "status", NULL | |
7665 | }; | |
7666 | ||
994141e6 | 7667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7670 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7671 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7672 | { |
7673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7674 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7675 | ||
7676 | wxPyEndAllowThreads(__tstate); | |
7677 | if (PyErr_Occurred()) SWIG_fail; | |
7678 | } | |
7679 | Py_INCREF(Py_None); resultobj = Py_None; | |
7680 | return resultobj; | |
7681 | fail: | |
7682 | return NULL; | |
7683 | } | |
7684 | ||
7685 | ||
7686 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7687 | PyObject *resultobj; | |
7688 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7689 | int result; | |
7690 | PyObject * obj0 = 0 ; | |
7691 | char *kwnames[] = { | |
7692 | (char *) "self", NULL | |
7693 | }; | |
7694 | ||
7695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7698 | { |
7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7700 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7701 | ||
7702 | wxPyEndAllowThreads(__tstate); | |
7703 | if (PyErr_Occurred()) SWIG_fail; | |
7704 | } | |
15afbcd0 | 7705 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7706 | return resultobj; |
7707 | fail: | |
7708 | return NULL; | |
7709 | } | |
7710 | ||
7711 | ||
7712 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7713 | PyObject *obj; | |
7714 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7715 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7716 | Py_INCREF(obj); | |
7717 | return Py_BuildValue((char *)""); | |
7718 | } | |
7719 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7720 | PyObject *resultobj; | |
e811c8ce | 7721 | int arg1 = (int) 0 ; |
d14a1e28 | 7722 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7723 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7724 | char *kwnames[] = { |
7725 | (char *) "id", NULL | |
7726 | }; | |
7727 | ||
994141e6 RD |
7728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7729 | if (obj0) { | |
15afbcd0 RD |
7730 | arg1 = (int) SWIG_AsInt(obj0); |
7731 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7732 | } |
d14a1e28 RD |
7733 | { |
7734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7735 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7736 | ||
7737 | wxPyEndAllowThreads(__tstate); | |
7738 | if (PyErr_Occurred()) SWIG_fail; | |
7739 | } | |
15afbcd0 | 7740 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7741 | return resultobj; |
7742 | fail: | |
7743 | return NULL; | |
7744 | } | |
7745 | ||
7746 | ||
7747 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7748 | PyObject *resultobj; | |
7749 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7750 | int arg2 ; | |
7751 | PyObject * obj0 = 0 ; | |
994141e6 | 7752 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7753 | char *kwnames[] = { |
7754 | (char *) "self",(char *) "length", NULL | |
7755 | }; | |
7756 | ||
994141e6 | 7757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7760 | arg2 = (int) SWIG_AsInt(obj1); | |
7761 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7762 | { |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7764 | (arg1)->SetRequestedLength(arg2); | |
7765 | ||
7766 | wxPyEndAllowThreads(__tstate); | |
7767 | if (PyErr_Occurred()) SWIG_fail; | |
7768 | } | |
7769 | Py_INCREF(Py_None); resultobj = Py_None; | |
7770 | return resultobj; | |
7771 | fail: | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
7776 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7777 | PyObject *resultobj; | |
7778 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7779 | int result; | |
7780 | PyObject * obj0 = 0 ; | |
7781 | char *kwnames[] = { | |
7782 | (char *) "self", NULL | |
7783 | }; | |
7784 | ||
7785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7788 | { |
7789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7790 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7791 | ||
7792 | wxPyEndAllowThreads(__tstate); | |
7793 | if (PyErr_Occurred()) SWIG_fail; | |
7794 | } | |
15afbcd0 | 7795 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7796 | return resultobj; |
7797 | fail: | |
7798 | return NULL; | |
7799 | } | |
7800 | ||
7801 | ||
7802 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7803 | PyObject *resultobj; | |
7804 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7805 | int arg2 ; | |
7806 | PyObject * obj0 = 0 ; | |
994141e6 | 7807 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7808 | char *kwnames[] = { |
7809 | (char *) "self",(char *) "flags", NULL | |
7810 | }; | |
7811 | ||
994141e6 | 7812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7815 | arg2 = (int) SWIG_AsInt(obj1); | |
7816 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7817 | { |
7818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7819 | (arg1)->SetFlags(arg2); | |
7820 | ||
7821 | wxPyEndAllowThreads(__tstate); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | Py_INCREF(Py_None); resultobj = Py_None; | |
7825 | return resultobj; | |
7826 | fail: | |
7827 | return NULL; | |
7828 | } | |
7829 | ||
7830 | ||
7831 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7832 | PyObject *resultobj; | |
7833 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7834 | int result; | |
7835 | PyObject * obj0 = 0 ; | |
7836 | char *kwnames[] = { | |
7837 | (char *) "self", NULL | |
7838 | }; | |
7839 | ||
7840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7843 | { |
7844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7845 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7846 | ||
7847 | wxPyEndAllowThreads(__tstate); | |
7848 | if (PyErr_Occurred()) SWIG_fail; | |
7849 | } | |
15afbcd0 | 7850 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7851 | return resultobj; |
7852 | fail: | |
7853 | return NULL; | |
7854 | } | |
7855 | ||
7856 | ||
7857 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7858 | PyObject *resultobj; | |
7859 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7860 | wxSize *arg2 = 0 ; | |
7861 | wxSize temp2 ; | |
7862 | PyObject * obj0 = 0 ; | |
7863 | PyObject * obj1 = 0 ; | |
7864 | char *kwnames[] = { | |
7865 | (char *) "self",(char *) "size", NULL | |
7866 | }; | |
7867 | ||
7868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7871 | { |
7872 | arg2 = &temp2; | |
7873 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7874 | } | |
7875 | { | |
7876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7877 | (arg1)->SetSize((wxSize const &)*arg2); | |
7878 | ||
7879 | wxPyEndAllowThreads(__tstate); | |
7880 | if (PyErr_Occurred()) SWIG_fail; | |
7881 | } | |
7882 | Py_INCREF(Py_None); resultobj = Py_None; | |
7883 | return resultobj; | |
7884 | fail: | |
7885 | return NULL; | |
7886 | } | |
7887 | ||
7888 | ||
7889 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7890 | PyObject *resultobj; | |
7891 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7892 | wxSize result; | |
7893 | PyObject * obj0 = 0 ; | |
7894 | char *kwnames[] = { | |
7895 | (char *) "self", NULL | |
7896 | }; | |
7897 | ||
7898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7901 | { |
7902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7903 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7904 | ||
7905 | wxPyEndAllowThreads(__tstate); | |
7906 | if (PyErr_Occurred()) SWIG_fail; | |
7907 | } | |
7908 | { | |
7909 | wxSize * resultptr; | |
7910 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 7911 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7912 | } |
7913 | return resultobj; | |
7914 | fail: | |
7915 | return NULL; | |
7916 | } | |
7917 | ||
7918 | ||
7919 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7920 | PyObject *resultobj; | |
7921 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7922 | int arg2 ; | |
7923 | PyObject * obj0 = 0 ; | |
994141e6 | 7924 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7925 | char *kwnames[] = { |
7926 | (char *) "self",(char *) "orient", NULL | |
7927 | }; | |
7928 | ||
994141e6 | 7929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7932 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7933 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7934 | { |
7935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7936 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7937 | ||
7938 | wxPyEndAllowThreads(__tstate); | |
7939 | if (PyErr_Occurred()) SWIG_fail; | |
7940 | } | |
7941 | Py_INCREF(Py_None); resultobj = Py_None; | |
7942 | return resultobj; | |
7943 | fail: | |
7944 | return NULL; | |
7945 | } | |
7946 | ||
7947 | ||
7948 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7949 | PyObject *resultobj; | |
7950 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7951 | int result; | |
7952 | PyObject * obj0 = 0 ; | |
7953 | char *kwnames[] = { | |
7954 | (char *) "self", NULL | |
7955 | }; | |
7956 | ||
7957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7960 | { |
7961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7962 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7963 | ||
7964 | wxPyEndAllowThreads(__tstate); | |
7965 | if (PyErr_Occurred()) SWIG_fail; | |
7966 | } | |
15afbcd0 | 7967 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7968 | return resultobj; |
7969 | fail: | |
7970 | return NULL; | |
7971 | } | |
7972 | ||
7973 | ||
7974 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7975 | PyObject *resultobj; | |
7976 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7977 | int arg2 ; | |
7978 | PyObject * obj0 = 0 ; | |
994141e6 | 7979 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7980 | char *kwnames[] = { |
7981 | (char *) "self",(char *) "align", NULL | |
7982 | }; | |
7983 | ||
994141e6 | 7984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7987 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7988 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7989 | { |
7990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7991 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7992 | ||
7993 | wxPyEndAllowThreads(__tstate); | |
7994 | if (PyErr_Occurred()) SWIG_fail; | |
7995 | } | |
7996 | Py_INCREF(Py_None); resultobj = Py_None; | |
7997 | return resultobj; | |
7998 | fail: | |
7999 | return NULL; | |
8000 | } | |
8001 | ||
8002 | ||
8003 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8004 | PyObject *resultobj; | |
8005 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8006 | int result; | |
8007 | PyObject * obj0 = 0 ; | |
8008 | char *kwnames[] = { | |
8009 | (char *) "self", NULL | |
8010 | }; | |
8011 | ||
8012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8015 | { |
8016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8017 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
8018 | ||
8019 | wxPyEndAllowThreads(__tstate); | |
8020 | if (PyErr_Occurred()) SWIG_fail; | |
8021 | } | |
15afbcd0 | 8022 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8023 | return resultobj; |
8024 | fail: | |
8025 | return NULL; | |
8026 | } | |
8027 | ||
8028 | ||
8029 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
8030 | PyObject *obj; | |
8031 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8032 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
8033 | Py_INCREF(obj); | |
8034 | return Py_BuildValue((char *)""); | |
8035 | } | |
8036 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8037 | PyObject *resultobj; | |
e811c8ce | 8038 | int arg1 = (int) 0 ; |
d14a1e28 | 8039 | wxCalculateLayoutEvent *result; |
994141e6 | 8040 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8041 | char *kwnames[] = { |
8042 | (char *) "id", NULL | |
8043 | }; | |
8044 | ||
994141e6 RD |
8045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
8046 | if (obj0) { | |
15afbcd0 RD |
8047 | arg1 = (int) SWIG_AsInt(obj0); |
8048 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8049 | } |
d14a1e28 RD |
8050 | { |
8051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8052 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
8053 | ||
8054 | wxPyEndAllowThreads(__tstate); | |
8055 | if (PyErr_Occurred()) SWIG_fail; | |
8056 | } | |
15afbcd0 | 8057 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
8058 | return resultobj; |
8059 | fail: | |
8060 | return NULL; | |
8061 | } | |
8062 | ||
8063 | ||
8064 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8065 | PyObject *resultobj; | |
8066 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8067 | int arg2 ; | |
8068 | PyObject * obj0 = 0 ; | |
994141e6 | 8069 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8070 | char *kwnames[] = { |
8071 | (char *) "self",(char *) "flags", NULL | |
8072 | }; | |
8073 | ||
994141e6 | 8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8077 | arg2 = (int) SWIG_AsInt(obj1); | |
8078 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8079 | { |
8080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8081 | (arg1)->SetFlags(arg2); | |
8082 | ||
8083 | wxPyEndAllowThreads(__tstate); | |
8084 | if (PyErr_Occurred()) SWIG_fail; | |
8085 | } | |
8086 | Py_INCREF(Py_None); resultobj = Py_None; | |
8087 | return resultobj; | |
8088 | fail: | |
8089 | return NULL; | |
8090 | } | |
8091 | ||
8092 | ||
8093 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8094 | PyObject *resultobj; | |
8095 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8096 | int result; | |
8097 | PyObject * obj0 = 0 ; | |
8098 | char *kwnames[] = { | |
8099 | (char *) "self", NULL | |
8100 | }; | |
8101 | ||
8102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8105 | { |
8106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8107 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
8108 | ||
8109 | wxPyEndAllowThreads(__tstate); | |
8110 | if (PyErr_Occurred()) SWIG_fail; | |
8111 | } | |
15afbcd0 | 8112 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8113 | return resultobj; |
8114 | fail: | |
8115 | return NULL; | |
8116 | } | |
8117 | ||
8118 | ||
8119 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8120 | PyObject *resultobj; | |
8121 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8122 | wxRect *arg2 = 0 ; | |
8123 | wxRect temp2 ; | |
8124 | PyObject * obj0 = 0 ; | |
8125 | PyObject * obj1 = 0 ; | |
8126 | char *kwnames[] = { | |
8127 | (char *) "self",(char *) "rect", NULL | |
8128 | }; | |
8129 | ||
8130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8131 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8133 | { |
8134 | arg2 = &temp2; | |
8135 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8136 | } | |
8137 | { | |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8139 | (arg1)->SetRect((wxRect const &)*arg2); | |
8140 | ||
8141 | wxPyEndAllowThreads(__tstate); | |
8142 | if (PyErr_Occurred()) SWIG_fail; | |
8143 | } | |
8144 | Py_INCREF(Py_None); resultobj = Py_None; | |
8145 | return resultobj; | |
8146 | fail: | |
8147 | return NULL; | |
8148 | } | |
8149 | ||
8150 | ||
8151 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8152 | PyObject *resultobj; | |
8153 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8154 | wxRect result; | |
8155 | PyObject * obj0 = 0 ; | |
8156 | char *kwnames[] = { | |
8157 | (char *) "self", NULL | |
8158 | }; | |
8159 | ||
8160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8163 | { |
8164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8165 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
8166 | ||
8167 | wxPyEndAllowThreads(__tstate); | |
8168 | if (PyErr_Occurred()) SWIG_fail; | |
8169 | } | |
8170 | { | |
8171 | wxRect * resultptr; | |
8172 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 8173 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
8174 | } |
8175 | return resultobj; | |
8176 | fail: | |
8177 | return NULL; | |
8178 | } | |
8179 | ||
8180 | ||
8181 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
8182 | PyObject *obj; | |
8183 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8184 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
8185 | Py_INCREF(obj); | |
8186 | return Py_BuildValue((char *)""); | |
8187 | } | |
8188 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8189 | PyObject *resultobj; | |
8190 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 8191 | int arg2 = (int) -1 ; |
d14a1e28 RD |
8192 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8193 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8194 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8195 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8196 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8197 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
8198 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8199 | wxSashLayoutWindow *result; | |
8200 | wxPoint temp3 ; | |
8201 | wxSize temp4 ; | |
e811c8ce | 8202 | bool temp6 = False ; |
d14a1e28 | 8203 | PyObject * obj0 = 0 ; |
994141e6 | 8204 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8205 | PyObject * obj2 = 0 ; |
8206 | PyObject * obj3 = 0 ; | |
994141e6 | 8207 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8208 | PyObject * obj5 = 0 ; |
8209 | char *kwnames[] = { | |
8210 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8211 | }; | |
8212 | ||
248ed943 | 8213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
8216 | if (obj1) { |
8217 | arg2 = (int) SWIG_AsInt(obj1); | |
8218 | if (PyErr_Occurred()) SWIG_fail; | |
8219 | } | |
d14a1e28 RD |
8220 | if (obj2) { |
8221 | { | |
8222 | arg3 = &temp3; | |
8223 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8224 | } | |
8225 | } | |
8226 | if (obj3) { | |
8227 | { | |
8228 | arg4 = &temp4; | |
8229 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8230 | } | |
8231 | } | |
994141e6 | 8232 | if (obj4) { |
15afbcd0 RD |
8233 | arg5 = (long) SWIG_AsLong(obj4); |
8234 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8235 | } |
d14a1e28 RD |
8236 | if (obj5) { |
8237 | { | |
8238 | arg6 = wxString_in_helper(obj5); | |
8239 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8240 | temp6 = True; |
d14a1e28 RD |
8241 | } |
8242 | } | |
8243 | { | |
e3b71cb8 | 8244 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8246 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8247 | ||
8248 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8249 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8250 | } |
15afbcd0 | 8251 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8252 | { |
8253 | if (temp6) | |
8254 | delete arg6; | |
8255 | } | |
8256 | return resultobj; | |
8257 | fail: | |
8258 | { | |
8259 | if (temp6) | |
8260 | delete arg6; | |
8261 | } | |
8262 | return NULL; | |
8263 | } | |
8264 | ||
8265 | ||
8266 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8267 | PyObject *resultobj; | |
8268 | wxSashLayoutWindow *result; | |
8269 | char *kwnames[] = { | |
8270 | NULL | |
8271 | }; | |
8272 | ||
8273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
8274 | { | |
e3b71cb8 | 8275 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8277 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
8278 | ||
8279 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8280 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8281 | } |
15afbcd0 | 8282 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8283 | return resultobj; |
8284 | fail: | |
8285 | return NULL; | |
8286 | } | |
8287 | ||
8288 | ||
8289 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8290 | PyObject *resultobj; | |
8291 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8292 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8293 | int arg3 = (int) -1 ; |
d14a1e28 RD |
8294 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8295 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8296 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8297 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8298 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8299 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
8300 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8301 | bool result; | |
8302 | wxPoint temp4 ; | |
8303 | wxSize temp5 ; | |
e811c8ce | 8304 | bool temp7 = False ; |
d14a1e28 RD |
8305 | PyObject * obj0 = 0 ; |
8306 | PyObject * obj1 = 0 ; | |
994141e6 | 8307 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8308 | PyObject * obj3 = 0 ; |
8309 | PyObject * obj4 = 0 ; | |
994141e6 | 8310 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8311 | PyObject * obj6 = 0 ; |
8312 | char *kwnames[] = { | |
8313 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8314 | }; | |
8315 | ||
248ed943 | 8316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8319 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
8321 | if (obj2) { |
8322 | arg3 = (int) SWIG_AsInt(obj2); | |
8323 | if (PyErr_Occurred()) SWIG_fail; | |
8324 | } | |
d14a1e28 RD |
8325 | if (obj3) { |
8326 | { | |
8327 | arg4 = &temp4; | |
8328 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8329 | } | |
8330 | } | |
8331 | if (obj4) { | |
8332 | { | |
8333 | arg5 = &temp5; | |
8334 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8335 | } | |
8336 | } | |
994141e6 | 8337 | if (obj5) { |
15afbcd0 RD |
8338 | arg6 = (long) SWIG_AsLong(obj5); |
8339 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8340 | } |
d14a1e28 RD |
8341 | if (obj6) { |
8342 | { | |
8343 | arg7 = wxString_in_helper(obj6); | |
8344 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8345 | temp7 = True; |
d14a1e28 RD |
8346 | } |
8347 | } | |
8348 | { | |
8349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8350 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8351 | ||
8352 | wxPyEndAllowThreads(__tstate); | |
8353 | if (PyErr_Occurred()) SWIG_fail; | |
8354 | } | |
4f89f6a3 RD |
8355 | { |
8356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8357 | } | |
d14a1e28 RD |
8358 | { |
8359 | if (temp7) | |
8360 | delete arg7; | |
8361 | } | |
8362 | return resultobj; | |
8363 | fail: | |
8364 | { | |
8365 | if (temp7) | |
8366 | delete arg7; | |
8367 | } | |
8368 | return NULL; | |
8369 | } | |
8370 | ||
8371 | ||
8372 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8373 | PyObject *resultobj; | |
8374 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8375 | int result; | |
8376 | PyObject * obj0 = 0 ; | |
8377 | char *kwnames[] = { | |
8378 | (char *) "self", NULL | |
8379 | }; | |
8380 | ||
8381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8384 | { |
8385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8386 | result = (int)(arg1)->GetAlignment(); | |
8387 | ||
8388 | wxPyEndAllowThreads(__tstate); | |
8389 | if (PyErr_Occurred()) SWIG_fail; | |
8390 | } | |
15afbcd0 | 8391 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8392 | return resultobj; |
8393 | fail: | |
8394 | return NULL; | |
8395 | } | |
8396 | ||
8397 | ||
8398 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8399 | PyObject *resultobj; | |
8400 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8401 | int result; | |
8402 | PyObject * obj0 = 0 ; | |
8403 | char *kwnames[] = { | |
8404 | (char *) "self", NULL | |
8405 | }; | |
8406 | ||
8407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8410 | { |
8411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8412 | result = (int)(arg1)->GetOrientation(); | |
8413 | ||
8414 | wxPyEndAllowThreads(__tstate); | |
8415 | if (PyErr_Occurred()) SWIG_fail; | |
8416 | } | |
15afbcd0 | 8417 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8418 | return resultobj; |
8419 | fail: | |
8420 | return NULL; | |
8421 | } | |
8422 | ||
8423 | ||
8424 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8425 | PyObject *resultobj; | |
8426 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8427 | int arg2 ; | |
8428 | PyObject * obj0 = 0 ; | |
994141e6 | 8429 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8430 | char *kwnames[] = { |
8431 | (char *) "self",(char *) "alignment", NULL | |
8432 | }; | |
8433 | ||
994141e6 | 8434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8437 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8438 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8439 | { |
8440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8441 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8442 | ||
8443 | wxPyEndAllowThreads(__tstate); | |
8444 | if (PyErr_Occurred()) SWIG_fail; | |
8445 | } | |
8446 | Py_INCREF(Py_None); resultobj = Py_None; | |
8447 | return resultobj; | |
8448 | fail: | |
8449 | return NULL; | |
8450 | } | |
8451 | ||
8452 | ||
8453 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8454 | PyObject *resultobj; | |
8455 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8456 | wxSize *arg2 = 0 ; | |
8457 | wxSize temp2 ; | |
8458 | PyObject * obj0 = 0 ; | |
8459 | PyObject * obj1 = 0 ; | |
8460 | char *kwnames[] = { | |
8461 | (char *) "self",(char *) "size", NULL | |
8462 | }; | |
8463 | ||
8464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8467 | { |
8468 | arg2 = &temp2; | |
8469 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8470 | } | |
8471 | { | |
8472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8473 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8474 | ||
8475 | wxPyEndAllowThreads(__tstate); | |
8476 | if (PyErr_Occurred()) SWIG_fail; | |
8477 | } | |
8478 | Py_INCREF(Py_None); resultobj = Py_None; | |
8479 | return resultobj; | |
8480 | fail: | |
8481 | return NULL; | |
8482 | } | |
8483 | ||
8484 | ||
8485 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8486 | PyObject *resultobj; | |
8487 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8488 | int arg2 ; | |
8489 | PyObject * obj0 = 0 ; | |
994141e6 | 8490 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8491 | char *kwnames[] = { |
8492 | (char *) "self",(char *) "orientation", NULL | |
8493 | }; | |
8494 | ||
994141e6 | 8495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8498 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8499 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8500 | { |
8501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8502 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8503 | ||
8504 | wxPyEndAllowThreads(__tstate); | |
8505 | if (PyErr_Occurred()) SWIG_fail; | |
8506 | } | |
8507 | Py_INCREF(Py_None); resultobj = Py_None; | |
8508 | return resultobj; | |
8509 | fail: | |
8510 | return NULL; | |
8511 | } | |
8512 | ||
8513 | ||
8514 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8515 | PyObject *obj; | |
8516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8517 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8518 | Py_INCREF(obj); | |
8519 | return Py_BuildValue((char *)""); | |
8520 | } | |
8521 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8522 | PyObject *resultobj; | |
8523 | wxLayoutAlgorithm *result; | |
8524 | char *kwnames[] = { | |
8525 | NULL | |
8526 | }; | |
8527 | ||
8528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8529 | { | |
8530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8531 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8532 | ||
8533 | wxPyEndAllowThreads(__tstate); | |
8534 | if (PyErr_Occurred()) SWIG_fail; | |
8535 | } | |
15afbcd0 | 8536 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8537 | return resultobj; |
8538 | fail: | |
8539 | return NULL; | |
8540 | } | |
8541 | ||
8542 | ||
8543 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8544 | PyObject *resultobj; | |
8545 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8546 | PyObject * obj0 = 0 ; | |
8547 | char *kwnames[] = { | |
8548 | (char *) "self", NULL | |
8549 | }; | |
8550 | ||
8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8554 | { |
8555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8556 | delete arg1; | |
8557 | ||
8558 | wxPyEndAllowThreads(__tstate); | |
8559 | if (PyErr_Occurred()) SWIG_fail; | |
8560 | } | |
8561 | Py_INCREF(Py_None); resultobj = Py_None; | |
8562 | return resultobj; | |
8563 | fail: | |
8564 | return NULL; | |
8565 | } | |
8566 | ||
8567 | ||
8568 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8569 | PyObject *resultobj; | |
8570 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8571 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8572 | wxRect *arg3 = (wxRect *) NULL ; | |
8573 | bool result; | |
8574 | PyObject * obj0 = 0 ; | |
8575 | PyObject * obj1 = 0 ; | |
8576 | PyObject * obj2 = 0 ; | |
8577 | char *kwnames[] = { | |
8578 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8579 | }; | |
8580 | ||
8581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8584 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8586 | if (obj2) { |
15afbcd0 RD |
8587 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8589 | } |
8590 | { | |
8591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8592 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8593 | ||
8594 | wxPyEndAllowThreads(__tstate); | |
8595 | if (PyErr_Occurred()) SWIG_fail; | |
8596 | } | |
4f89f6a3 RD |
8597 | { |
8598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8599 | } | |
d14a1e28 RD |
8600 | return resultobj; |
8601 | fail: | |
8602 | return NULL; | |
8603 | } | |
8604 | ||
8605 | ||
8606 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8607 | PyObject *resultobj; | |
8608 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8609 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8610 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8611 | bool result; | |
8612 | PyObject * obj0 = 0 ; | |
8613 | PyObject * obj1 = 0 ; | |
8614 | PyObject * obj2 = 0 ; | |
8615 | char *kwnames[] = { | |
8616 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8617 | }; | |
8618 | ||
8619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8622 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8624 | if (obj2) { |
15afbcd0 RD |
8625 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8627 | } |
8628 | { | |
8629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8630 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8631 | ||
8632 | wxPyEndAllowThreads(__tstate); | |
8633 | if (PyErr_Occurred()) SWIG_fail; | |
8634 | } | |
4f89f6a3 RD |
8635 | { |
8636 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8637 | } | |
d14a1e28 RD |
8638 | return resultobj; |
8639 | fail: | |
8640 | return NULL; | |
8641 | } | |
8642 | ||
8643 | ||
8644 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8645 | PyObject *resultobj; | |
8646 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8647 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8648 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8649 | bool result; | |
8650 | PyObject * obj0 = 0 ; | |
8651 | PyObject * obj1 = 0 ; | |
8652 | PyObject * obj2 = 0 ; | |
8653 | char *kwnames[] = { | |
8654 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8655 | }; | |
8656 | ||
8657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8660 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8662 | if (obj2) { |
15afbcd0 RD |
8663 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8665 | } |
8666 | { | |
8667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8668 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8669 | ||
8670 | wxPyEndAllowThreads(__tstate); | |
8671 | if (PyErr_Occurred()) SWIG_fail; | |
8672 | } | |
4f89f6a3 RD |
8673 | { |
8674 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8675 | } | |
d14a1e28 RD |
8676 | return resultobj; |
8677 | fail: | |
8678 | return NULL; | |
8679 | } | |
8680 | ||
8681 | ||
8682 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8683 | PyObject *obj; | |
8684 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8685 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8686 | Py_INCREF(obj); | |
8687 | return Py_BuildValue((char *)""); | |
8688 | } | |
8689 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8690 | PyObject *resultobj; | |
8691 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8692 | int arg2 = (int) wxBORDER_NONE ; | |
8693 | wxPopupWindow *result; | |
8694 | PyObject * obj0 = 0 ; | |
994141e6 | 8695 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8696 | char *kwnames[] = { |
8697 | (char *) "parent",(char *) "flags", NULL | |
8698 | }; | |
8699 | ||
994141e6 | 8700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8703 | if (obj1) { |
15afbcd0 RD |
8704 | arg2 = (int) SWIG_AsInt(obj1); |
8705 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8706 | } |
d14a1e28 | 8707 | { |
e3b71cb8 | 8708 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8710 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8711 | ||
8712 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8713 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8714 | } |
15afbcd0 | 8715 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8716 | return resultobj; |
8717 | fail: | |
8718 | return NULL; | |
8719 | } | |
8720 | ||
8721 | ||
8722 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8723 | PyObject *resultobj; | |
8724 | wxPopupWindow *result; | |
8725 | char *kwnames[] = { | |
8726 | NULL | |
8727 | }; | |
8728 | ||
8729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8730 | { | |
e3b71cb8 | 8731 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8733 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8734 | ||
8735 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8736 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8737 | } |
15afbcd0 | 8738 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8739 | return resultobj; |
8740 | fail: | |
8741 | return NULL; | |
8742 | } | |
8743 | ||
8744 | ||
8745 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8746 | PyObject *resultobj; | |
8747 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8748 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8749 | int arg3 = (int) wxBORDER_NONE ; | |
8750 | bool result; | |
8751 | PyObject * obj0 = 0 ; | |
8752 | PyObject * obj1 = 0 ; | |
994141e6 | 8753 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8754 | char *kwnames[] = { |
8755 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8756 | }; | |
8757 | ||
994141e6 | 8758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8761 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8763 | if (obj2) { |
15afbcd0 RD |
8764 | arg3 = (int) SWIG_AsInt(obj2); |
8765 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8766 | } |
d14a1e28 RD |
8767 | { |
8768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8769 | result = (bool)(arg1)->Create(arg2,arg3); | |
8770 | ||
8771 | wxPyEndAllowThreads(__tstate); | |
8772 | if (PyErr_Occurred()) SWIG_fail; | |
8773 | } | |
4f89f6a3 RD |
8774 | { |
8775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8776 | } | |
d14a1e28 RD |
8777 | return resultobj; |
8778 | fail: | |
8779 | return NULL; | |
8780 | } | |
8781 | ||
8782 | ||
8783 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8784 | PyObject *resultobj; | |
8785 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8786 | wxPoint *arg2 = 0 ; | |
8787 | wxSize *arg3 = 0 ; | |
8788 | wxPoint temp2 ; | |
8789 | wxSize temp3 ; | |
8790 | PyObject * obj0 = 0 ; | |
8791 | PyObject * obj1 = 0 ; | |
8792 | PyObject * obj2 = 0 ; | |
8793 | char *kwnames[] = { | |
8794 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8795 | }; | |
8796 | ||
8797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8800 | { |
8801 | arg2 = &temp2; | |
8802 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8803 | } | |
8804 | { | |
8805 | arg3 = &temp3; | |
8806 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8807 | } | |
8808 | { | |
8809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8810 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8811 | ||
8812 | wxPyEndAllowThreads(__tstate); | |
8813 | if (PyErr_Occurred()) SWIG_fail; | |
8814 | } | |
8815 | Py_INCREF(Py_None); resultobj = Py_None; | |
8816 | return resultobj; | |
8817 | fail: | |
8818 | return NULL; | |
8819 | } | |
8820 | ||
8821 | ||
8822 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8823 | PyObject *obj; | |
8824 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8825 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8826 | Py_INCREF(obj); | |
8827 | return Py_BuildValue((char *)""); | |
8828 | } | |
8829 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8830 | PyObject *resultobj; | |
8831 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8832 | int arg2 = (int) wxBORDER_NONE ; | |
8833 | wxPyPopupTransientWindow *result; | |
8834 | PyObject * obj0 = 0 ; | |
994141e6 | 8835 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8836 | char *kwnames[] = { |
8837 | (char *) "parent",(char *) "style", NULL | |
8838 | }; | |
8839 | ||
994141e6 | 8840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8843 | if (obj1) { |
15afbcd0 RD |
8844 | arg2 = (int) SWIG_AsInt(obj1); |
8845 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8846 | } |
d14a1e28 | 8847 | { |
e3b71cb8 | 8848 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8850 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8851 | ||
8852 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8853 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8854 | } |
15afbcd0 | 8855 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8856 | return resultobj; |
8857 | fail: | |
8858 | return NULL; | |
8859 | } | |
8860 | ||
8861 | ||
8862 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8863 | PyObject *resultobj; | |
8864 | wxPyPopupTransientWindow *result; | |
8865 | char *kwnames[] = { | |
8866 | NULL | |
8867 | }; | |
8868 | ||
8869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8870 | { | |
e3b71cb8 | 8871 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8873 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8874 | ||
8875 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 8876 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8877 | } |
15afbcd0 | 8878 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8879 | return resultobj; |
8880 | fail: | |
8881 | return NULL; | |
8882 | } | |
8883 | ||
8884 | ||
8885 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8886 | PyObject *resultobj; | |
8887 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8888 | PyObject *arg2 = (PyObject *) 0 ; | |
8889 | PyObject *arg3 = (PyObject *) 0 ; | |
8890 | PyObject * obj0 = 0 ; | |
8891 | PyObject * obj1 = 0 ; | |
8892 | PyObject * obj2 = 0 ; | |
8893 | char *kwnames[] = { | |
8894 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8895 | }; | |
8896 | ||
8897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8900 | arg2 = obj1; |
8901 | arg3 = obj2; | |
8902 | { | |
8903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8904 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8905 | ||
8906 | wxPyEndAllowThreads(__tstate); | |
8907 | if (PyErr_Occurred()) SWIG_fail; | |
8908 | } | |
8909 | Py_INCREF(Py_None); resultobj = Py_None; | |
8910 | return resultobj; | |
8911 | fail: | |
8912 | return NULL; | |
8913 | } | |
8914 | ||
8915 | ||
8916 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8917 | PyObject *resultobj; | |
8918 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8919 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8920 | PyObject * obj0 = 0 ; | |
8921 | PyObject * obj1 = 0 ; | |
8922 | char *kwnames[] = { | |
8923 | (char *) "self",(char *) "focus", NULL | |
8924 | }; | |
8925 | ||
8926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8929 | if (obj1) { |
15afbcd0 RD |
8930 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8932 | } |
8933 | { | |
8934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8935 | (arg1)->Popup(arg2); | |
8936 | ||
8937 | wxPyEndAllowThreads(__tstate); | |
8938 | if (PyErr_Occurred()) SWIG_fail; | |
8939 | } | |
8940 | Py_INCREF(Py_None); resultobj = Py_None; | |
8941 | return resultobj; | |
8942 | fail: | |
8943 | return NULL; | |
8944 | } | |
8945 | ||
8946 | ||
8947 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8948 | PyObject *resultobj; | |
8949 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8950 | PyObject * obj0 = 0 ; | |
8951 | char *kwnames[] = { | |
8952 | (char *) "self", NULL | |
8953 | }; | |
8954 | ||
8955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8958 | { |
8959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8960 | (arg1)->Dismiss(); | |
8961 | ||
8962 | wxPyEndAllowThreads(__tstate); | |
8963 | if (PyErr_Occurred()) SWIG_fail; | |
8964 | } | |
8965 | Py_INCREF(Py_None); resultobj = Py_None; | |
8966 | return resultobj; | |
8967 | fail: | |
8968 | return NULL; | |
8969 | } | |
8970 | ||
8971 | ||
8972 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8973 | PyObject *obj; | |
8974 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8975 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8976 | Py_INCREF(obj); | |
8977 | return Py_BuildValue((char *)""); | |
8978 | } | |
8979 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8980 | PyObject *resultobj; | |
8981 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8982 | wxString *arg2 = 0 ; |
e811c8ce | 8983 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8984 | wxRect *arg4 = (wxRect *) NULL ; |
8985 | wxTipWindow *result; | |
fd3f2efe | 8986 | bool temp2 = False ; |
d14a1e28 RD |
8987 | PyObject * obj0 = 0 ; |
8988 | PyObject * obj1 = 0 ; | |
994141e6 | 8989 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8990 | PyObject * obj3 = 0 ; |
8991 | char *kwnames[] = { | |
8992 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8993 | }; | |
8994 | ||
994141e6 | 8995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
8996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
8998 | { |
8999 | arg2 = wxString_in_helper(obj1); | |
9000 | if (arg2 == NULL) SWIG_fail; | |
9001 | temp2 = True; | |
9002 | } | |
994141e6 | 9003 | if (obj2) { |
15afbcd0 RD |
9004 | arg3 = (int) SWIG_AsInt(obj2); |
9005 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9006 | } |
d14a1e28 | 9007 | if (obj3) { |
15afbcd0 RD |
9008 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
9009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9010 | } |
9011 | { | |
e3b71cb8 | 9012 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 9013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
fd3f2efe | 9014 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
9015 | |
9016 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 9017 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9018 | } |
15afbcd0 | 9019 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
9020 | { |
9021 | if (temp2) | |
9022 | delete arg2; | |
9023 | } | |
d14a1e28 RD |
9024 | return resultobj; |
9025 | fail: | |
fd3f2efe RD |
9026 | { |
9027 | if (temp2) | |
9028 | delete arg2; | |
9029 | } | |
d14a1e28 RD |
9030 | return NULL; |
9031 | } | |
9032 | ||
9033 | ||
9034 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9035 | PyObject *resultobj; | |
9036 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9037 | wxRect *arg2 = 0 ; | |
9038 | wxRect temp2 ; | |
9039 | PyObject * obj0 = 0 ; | |
9040 | PyObject * obj1 = 0 ; | |
9041 | char *kwnames[] = { | |
9042 | (char *) "self",(char *) "rectBound", NULL | |
9043 | }; | |
9044 | ||
9045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9048 | { |
9049 | arg2 = &temp2; | |
9050 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9051 | } | |
9052 | { | |
9053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9054 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
9055 | ||
9056 | wxPyEndAllowThreads(__tstate); | |
9057 | if (PyErr_Occurred()) SWIG_fail; | |
9058 | } | |
9059 | Py_INCREF(Py_None); resultobj = Py_None; | |
9060 | return resultobj; | |
9061 | fail: | |
9062 | return NULL; | |
9063 | } | |
9064 | ||
9065 | ||
9066 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9067 | PyObject *resultobj; | |
9068 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9069 | PyObject * obj0 = 0 ; | |
9070 | char *kwnames[] = { | |
9071 | (char *) "self", NULL | |
9072 | }; | |
9073 | ||
9074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9077 | { |
9078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9079 | (arg1)->Close(); | |
9080 | ||
9081 | wxPyEndAllowThreads(__tstate); | |
9082 | if (PyErr_Occurred()) SWIG_fail; | |
9083 | } | |
9084 | Py_INCREF(Py_None); resultobj = Py_None; | |
9085 | return resultobj; | |
9086 | fail: | |
9087 | return NULL; | |
9088 | } | |
9089 | ||
9090 | ||
9091 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
9092 | PyObject *obj; | |
9093 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9094 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
9095 | Py_INCREF(obj); | |
9096 | return Py_BuildValue((char *)""); | |
9097 | } | |
9098 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9099 | PyObject *resultobj; | |
9100 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9101 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9102 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9103 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9104 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9105 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9106 | long arg5 = (long) 0 ; | |
9107 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
9108 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9109 | wxPyVScrolledWindow *result; | |
9110 | wxPoint temp3 ; | |
9111 | wxSize temp4 ; | |
e811c8ce | 9112 | bool temp6 = False ; |
d14a1e28 | 9113 | PyObject * obj0 = 0 ; |
994141e6 | 9114 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9115 | PyObject * obj2 = 0 ; |
9116 | PyObject * obj3 = 0 ; | |
994141e6 | 9117 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9118 | PyObject * obj5 = 0 ; |
9119 | char *kwnames[] = { | |
9120 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9121 | }; | |
9122 | ||
994141e6 | 9123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9126 | if (obj1) { |
15afbcd0 RD |
9127 | arg2 = (int) SWIG_AsInt(obj1); |
9128 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9129 | } |
d14a1e28 RD |
9130 | if (obj2) { |
9131 | { | |
9132 | arg3 = &temp3; | |
9133 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9134 | } | |
9135 | } | |
9136 | if (obj3) { | |
9137 | { | |
9138 | arg4 = &temp4; | |
9139 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9140 | } | |
9141 | } | |
994141e6 | 9142 | if (obj4) { |
15afbcd0 RD |
9143 | arg5 = (long) SWIG_AsLong(obj4); |
9144 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9145 | } |
d14a1e28 RD |
9146 | if (obj5) { |
9147 | { | |
9148 | arg6 = wxString_in_helper(obj5); | |
9149 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9150 | temp6 = True; |
d14a1e28 RD |
9151 | } |
9152 | } | |
9153 | { | |
e3b71cb8 | 9154 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9156 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9157 | ||
9158 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 9159 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9160 | } |
15afbcd0 | 9161 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9162 | { |
9163 | if (temp6) | |
9164 | delete arg6; | |
9165 | } | |
9166 | return resultobj; | |
9167 | fail: | |
9168 | { | |
9169 | if (temp6) | |
9170 | delete arg6; | |
9171 | } | |
9172 | return NULL; | |
9173 | } | |
9174 | ||
9175 | ||
9176 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9177 | PyObject *resultobj; | |
9178 | wxPyVScrolledWindow *result; | |
9179 | char *kwnames[] = { | |
9180 | NULL | |
9181 | }; | |
9182 | ||
9183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
9184 | { | |
e3b71cb8 | 9185 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9187 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
9188 | ||
9189 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 9190 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9191 | } |
15afbcd0 | 9192 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9193 | return resultobj; |
9194 | fail: | |
9195 | return NULL; | |
9196 | } | |
9197 | ||
9198 | ||
9199 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9200 | PyObject *resultobj; | |
9201 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9202 | PyObject *arg2 = (PyObject *) 0 ; | |
9203 | PyObject *arg3 = (PyObject *) 0 ; | |
9204 | PyObject * obj0 = 0 ; | |
9205 | PyObject * obj1 = 0 ; | |
9206 | PyObject * obj2 = 0 ; | |
9207 | char *kwnames[] = { | |
9208 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9209 | }; | |
9210 | ||
9211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9214 | arg2 = obj1; |
9215 | arg3 = obj2; | |
9216 | { | |
9217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9218 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9219 | ||
9220 | wxPyEndAllowThreads(__tstate); | |
9221 | if (PyErr_Occurred()) SWIG_fail; | |
9222 | } | |
9223 | Py_INCREF(Py_None); resultobj = Py_None; | |
9224 | return resultobj; | |
9225 | fail: | |
9226 | return NULL; | |
9227 | } | |
9228 | ||
9229 | ||
9230 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9231 | PyObject *resultobj; | |
9232 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9233 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9234 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9235 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9236 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9237 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9238 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9239 | long arg6 = (long) 0 ; | |
9240 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
9241 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9242 | bool result; | |
9243 | wxPoint temp4 ; | |
9244 | wxSize temp5 ; | |
e811c8ce | 9245 | bool temp7 = False ; |
d14a1e28 RD |
9246 | PyObject * obj0 = 0 ; |
9247 | PyObject * obj1 = 0 ; | |
994141e6 | 9248 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9249 | PyObject * obj3 = 0 ; |
9250 | PyObject * obj4 = 0 ; | |
994141e6 | 9251 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9252 | PyObject * obj6 = 0 ; |
9253 | char *kwnames[] = { | |
9254 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9255 | }; | |
9256 | ||
994141e6 | 9257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9260 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9262 | if (obj2) { |
15afbcd0 RD |
9263 | arg3 = (int) SWIG_AsInt(obj2); |
9264 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9265 | } |
d14a1e28 RD |
9266 | if (obj3) { |
9267 | { | |
9268 | arg4 = &temp4; | |
9269 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9270 | } | |
9271 | } | |
9272 | if (obj4) { | |
9273 | { | |
9274 | arg5 = &temp5; | |
9275 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9276 | } | |
9277 | } | |
994141e6 | 9278 | if (obj5) { |
15afbcd0 RD |
9279 | arg6 = (long) SWIG_AsLong(obj5); |
9280 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9281 | } |
d14a1e28 RD |
9282 | if (obj6) { |
9283 | { | |
9284 | arg7 = wxString_in_helper(obj6); | |
9285 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9286 | temp7 = True; |
d14a1e28 RD |
9287 | } |
9288 | } | |
9289 | { | |
9290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9291 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9292 | ||
9293 | wxPyEndAllowThreads(__tstate); | |
9294 | if (PyErr_Occurred()) SWIG_fail; | |
9295 | } | |
4f89f6a3 RD |
9296 | { |
9297 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9298 | } | |
d14a1e28 RD |
9299 | { |
9300 | if (temp7) | |
9301 | delete arg7; | |
9302 | } | |
9303 | return resultobj; | |
9304 | fail: | |
9305 | { | |
9306 | if (temp7) | |
9307 | delete arg7; | |
9308 | } | |
9309 | return NULL; | |
9310 | } | |
9311 | ||
9312 | ||
9313 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9314 | PyObject *resultobj; | |
9315 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9316 | size_t arg2 ; | |
9317 | PyObject * obj0 = 0 ; | |
9318 | PyObject * obj1 = 0 ; | |
9319 | char *kwnames[] = { | |
9320 | (char *) "self",(char *) "count", NULL | |
9321 | }; | |
9322 | ||
9323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9326 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9327 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9328 | { |
9329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9330 | (arg1)->SetLineCount(arg2); | |
9331 | ||
9332 | wxPyEndAllowThreads(__tstate); | |
9333 | if (PyErr_Occurred()) SWIG_fail; | |
9334 | } | |
9335 | Py_INCREF(Py_None); resultobj = Py_None; | |
9336 | return resultobj; | |
9337 | fail: | |
9338 | return NULL; | |
9339 | } | |
9340 | ||
9341 | ||
9342 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9343 | PyObject *resultobj; | |
9344 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9345 | size_t arg2 ; | |
9346 | bool result; | |
9347 | PyObject * obj0 = 0 ; | |
9348 | PyObject * obj1 = 0 ; | |
9349 | char *kwnames[] = { | |
9350 | (char *) "self",(char *) "line", NULL | |
9351 | }; | |
9352 | ||
9353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9356 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9357 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9358 | { |
9359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9360 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9361 | ||
9362 | wxPyEndAllowThreads(__tstate); | |
9363 | if (PyErr_Occurred()) SWIG_fail; | |
9364 | } | |
4f89f6a3 RD |
9365 | { |
9366 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9367 | } | |
d14a1e28 RD |
9368 | return resultobj; |
9369 | fail: | |
9370 | return NULL; | |
9371 | } | |
9372 | ||
9373 | ||
9374 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9375 | PyObject *resultobj; | |
9376 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9377 | int arg2 ; | |
9378 | bool result; | |
9379 | PyObject * obj0 = 0 ; | |
994141e6 | 9380 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9381 | char *kwnames[] = { |
9382 | (char *) "self",(char *) "lines", NULL | |
9383 | }; | |
9384 | ||
994141e6 | 9385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9388 | arg2 = (int) SWIG_AsInt(obj1); | |
9389 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9390 | { |
9391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9392 | result = (bool)(arg1)->ScrollLines(arg2); | |
9393 | ||
9394 | wxPyEndAllowThreads(__tstate); | |
9395 | if (PyErr_Occurred()) SWIG_fail; | |
9396 | } | |
4f89f6a3 RD |
9397 | { |
9398 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9399 | } | |
d14a1e28 RD |
9400 | return resultobj; |
9401 | fail: | |
9402 | return NULL; | |
9403 | } | |
9404 | ||
9405 | ||
9406 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9407 | PyObject *resultobj; | |
9408 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9409 | int arg2 ; | |
9410 | bool result; | |
9411 | PyObject * obj0 = 0 ; | |
994141e6 | 9412 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9413 | char *kwnames[] = { |
9414 | (char *) "self",(char *) "pages", NULL | |
9415 | }; | |
9416 | ||
994141e6 | 9417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9420 | arg2 = (int) SWIG_AsInt(obj1); | |
9421 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9422 | { |
9423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9424 | result = (bool)(arg1)->ScrollPages(arg2); | |
9425 | ||
9426 | wxPyEndAllowThreads(__tstate); | |
9427 | if (PyErr_Occurred()) SWIG_fail; | |
9428 | } | |
4f89f6a3 RD |
9429 | { |
9430 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9431 | } | |
d14a1e28 RD |
9432 | return resultobj; |
9433 | fail: | |
9434 | return NULL; | |
9435 | } | |
9436 | ||
9437 | ||
9438 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9439 | PyObject *resultobj; | |
9440 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9441 | size_t arg2 ; | |
9442 | PyObject * obj0 = 0 ; | |
9443 | PyObject * obj1 = 0 ; | |
9444 | char *kwnames[] = { | |
9445 | (char *) "self",(char *) "line", NULL | |
9446 | }; | |
9447 | ||
9448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9449 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9451 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9452 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9453 | { |
9454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9455 | (arg1)->RefreshLine(arg2); | |
9456 | ||
9457 | wxPyEndAllowThreads(__tstate); | |
9458 | if (PyErr_Occurred()) SWIG_fail; | |
9459 | } | |
9460 | Py_INCREF(Py_None); resultobj = Py_None; | |
9461 | return resultobj; | |
9462 | fail: | |
9463 | return NULL; | |
9464 | } | |
9465 | ||
9466 | ||
9467 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9468 | PyObject *resultobj; | |
9469 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9470 | size_t arg2 ; | |
9471 | size_t arg3 ; | |
9472 | PyObject * obj0 = 0 ; | |
9473 | PyObject * obj1 = 0 ; | |
9474 | PyObject * obj2 = 0 ; | |
9475 | char *kwnames[] = { | |
9476 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9477 | }; | |
9478 | ||
9479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9482 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9483 | if (PyErr_Occurred()) SWIG_fail; | |
9484 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9485 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9486 | { |
9487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9488 | (arg1)->RefreshLines(arg2,arg3); | |
9489 | ||
9490 | wxPyEndAllowThreads(__tstate); | |
9491 | if (PyErr_Occurred()) SWIG_fail; | |
9492 | } | |
9493 | Py_INCREF(Py_None); resultobj = Py_None; | |
9494 | return resultobj; | |
9495 | fail: | |
9496 | return NULL; | |
9497 | } | |
9498 | ||
9499 | ||
9500 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9501 | PyObject *resultobj; | |
9502 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9503 | int arg2 ; |
9504 | int arg3 ; | |
d14a1e28 RD |
9505 | int result; |
9506 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9507 | PyObject * obj1 = 0 ; |
9508 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9509 | char *kwnames[] = { |
9510 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9511 | }; | |
9512 | ||
994141e6 | 9513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9516 | arg2 = (int) SWIG_AsInt(obj1); | |
9517 | if (PyErr_Occurred()) SWIG_fail; | |
9518 | arg3 = (int) SWIG_AsInt(obj2); | |
9519 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9520 | { |
9521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9522 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9523 | ||
9524 | wxPyEndAllowThreads(__tstate); | |
9525 | if (PyErr_Occurred()) SWIG_fail; | |
9526 | } | |
15afbcd0 | 9527 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9528 | return resultobj; |
9529 | fail: | |
9530 | return NULL; | |
9531 | } | |
9532 | ||
9533 | ||
9534 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9535 | PyObject *resultobj; | |
9536 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9537 | wxPoint *arg2 = 0 ; | |
9538 | int result; | |
9539 | wxPoint temp2 ; | |
9540 | PyObject * obj0 = 0 ; | |
9541 | PyObject * obj1 = 0 ; | |
9542 | char *kwnames[] = { | |
9543 | (char *) "self",(char *) "pt", NULL | |
9544 | }; | |
9545 | ||
9546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9549 | { |
9550 | arg2 = &temp2; | |
9551 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9552 | } | |
9553 | { | |
9554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9555 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9556 | ||
9557 | wxPyEndAllowThreads(__tstate); | |
9558 | if (PyErr_Occurred()) SWIG_fail; | |
9559 | } | |
15afbcd0 | 9560 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9561 | return resultobj; |
9562 | fail: | |
9563 | return NULL; | |
9564 | } | |
9565 | ||
9566 | ||
9567 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9568 | PyObject *resultobj; | |
9569 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9570 | PyObject * obj0 = 0 ; | |
9571 | char *kwnames[] = { | |
9572 | (char *) "self", NULL | |
9573 | }; | |
9574 | ||
9575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9578 | { |
9579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9580 | (arg1)->RefreshAll(); | |
9581 | ||
9582 | wxPyEndAllowThreads(__tstate); | |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
9584 | } | |
9585 | Py_INCREF(Py_None); resultobj = Py_None; | |
9586 | return resultobj; | |
9587 | fail: | |
9588 | return NULL; | |
9589 | } | |
9590 | ||
9591 | ||
9592 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9593 | PyObject *resultobj; | |
9594 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9595 | size_t result; | |
9596 | PyObject * obj0 = 0 ; | |
9597 | char *kwnames[] = { | |
9598 | (char *) "self", NULL | |
9599 | }; | |
9600 | ||
9601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9604 | { |
9605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9606 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9607 | ||
9608 | wxPyEndAllowThreads(__tstate); | |
9609 | if (PyErr_Occurred()) SWIG_fail; | |
9610 | } | |
15afbcd0 | 9611 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9612 | return resultobj; |
9613 | fail: | |
9614 | return NULL; | |
9615 | } | |
9616 | ||
9617 | ||
9618 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9619 | PyObject *resultobj; | |
9620 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9621 | size_t result; | |
9622 | PyObject * obj0 = 0 ; | |
9623 | char *kwnames[] = { | |
9624 | (char *) "self", NULL | |
9625 | }; | |
9626 | ||
9627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9630 | { |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9632 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9633 | ||
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
15afbcd0 | 9637 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9638 | return resultobj; |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
9644 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9645 | PyObject *resultobj; | |
9646 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9647 | size_t result; | |
9648 | PyObject * obj0 = 0 ; | |
9649 | char *kwnames[] = { | |
9650 | (char *) "self", NULL | |
9651 | }; | |
9652 | ||
9653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9656 | { |
9657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9658 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9659 | ||
9660 | wxPyEndAllowThreads(__tstate); | |
9661 | if (PyErr_Occurred()) SWIG_fail; | |
9662 | } | |
15afbcd0 | 9663 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9664 | return resultobj; |
9665 | fail: | |
9666 | return NULL; | |
9667 | } | |
9668 | ||
9669 | ||
9670 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9671 | PyObject *resultobj; | |
9672 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9673 | size_t arg2 ; | |
9674 | bool result; | |
9675 | PyObject * obj0 = 0 ; | |
9676 | PyObject * obj1 = 0 ; | |
9677 | char *kwnames[] = { | |
9678 | (char *) "self",(char *) "line", NULL | |
9679 | }; | |
9680 | ||
9681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9684 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9685 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9686 | { |
9687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9688 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9689 | ||
9690 | wxPyEndAllowThreads(__tstate); | |
9691 | if (PyErr_Occurred()) SWIG_fail; | |
9692 | } | |
4f89f6a3 RD |
9693 | { |
9694 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9695 | } | |
d14a1e28 RD |
9696 | return resultobj; |
9697 | fail: | |
9698 | return NULL; | |
9699 | } | |
9700 | ||
9701 | ||
9702 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9703 | PyObject *obj; | |
9704 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9705 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9706 | Py_INCREF(obj); | |
9707 | return Py_BuildValue((char *)""); | |
9708 | } | |
b2dc1044 RD |
9709 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9710 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9711 | return 1; | |
9712 | } | |
9713 | ||
9714 | ||
9715 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9716 | PyObject *pyobj; | |
9717 | ||
9718 | { | |
9719 | #if wxUSE_UNICODE | |
9720 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9721 | #else | |
9722 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9723 | #endif | |
9724 | } | |
9725 | return pyobj; | |
9726 | } | |
9727 | ||
9728 | ||
d14a1e28 RD |
9729 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9730 | PyObject *resultobj; | |
9731 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9732 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9733 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9734 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9735 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9736 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9737 | long arg5 = (long) 0 ; | |
9738 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9739 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9740 | wxPyVListBox *result; | |
9741 | wxPoint temp3 ; | |
9742 | wxSize temp4 ; | |
e811c8ce | 9743 | bool temp6 = False ; |
d14a1e28 | 9744 | PyObject * obj0 = 0 ; |
994141e6 | 9745 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9746 | PyObject * obj2 = 0 ; |
9747 | PyObject * obj3 = 0 ; | |
994141e6 | 9748 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9749 | PyObject * obj5 = 0 ; |
9750 | char *kwnames[] = { | |
9751 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9752 | }; | |
9753 | ||
994141e6 | 9754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9757 | if (obj1) { |
15afbcd0 RD |
9758 | arg2 = (int) SWIG_AsInt(obj1); |
9759 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9760 | } |
d14a1e28 RD |
9761 | if (obj2) { |
9762 | { | |
9763 | arg3 = &temp3; | |
9764 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9765 | } | |
9766 | } | |
9767 | if (obj3) { | |
9768 | { | |
9769 | arg4 = &temp4; | |
9770 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9771 | } | |
9772 | } | |
994141e6 | 9773 | if (obj4) { |
15afbcd0 RD |
9774 | arg5 = (long) SWIG_AsLong(obj4); |
9775 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9776 | } |
d14a1e28 RD |
9777 | if (obj5) { |
9778 | { | |
9779 | arg6 = wxString_in_helper(obj5); | |
9780 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9781 | temp6 = True; |
d14a1e28 RD |
9782 | } |
9783 | } | |
9784 | { | |
e3b71cb8 | 9785 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9787 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9788 | ||
9789 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 9790 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9791 | } |
15afbcd0 | 9792 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9793 | { |
9794 | if (temp6) | |
9795 | delete arg6; | |
9796 | } | |
9797 | return resultobj; | |
9798 | fail: | |
9799 | { | |
9800 | if (temp6) | |
9801 | delete arg6; | |
9802 | } | |
9803 | return NULL; | |
9804 | } | |
9805 | ||
9806 | ||
9807 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9808 | PyObject *resultobj; | |
9809 | wxPyVListBox *result; | |
9810 | char *kwnames[] = { | |
9811 | NULL | |
9812 | }; | |
9813 | ||
9814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9815 | { | |
e3b71cb8 | 9816 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9818 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9819 | ||
9820 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 9821 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9822 | } |
15afbcd0 | 9823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9824 | return resultobj; |
9825 | fail: | |
9826 | return NULL; | |
9827 | } | |
9828 | ||
9829 | ||
9830 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9831 | PyObject *resultobj; | |
9832 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9833 | PyObject *arg2 = (PyObject *) 0 ; | |
9834 | PyObject *arg3 = (PyObject *) 0 ; | |
9835 | PyObject * obj0 = 0 ; | |
9836 | PyObject * obj1 = 0 ; | |
9837 | PyObject * obj2 = 0 ; | |
9838 | char *kwnames[] = { | |
9839 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9840 | }; | |
9841 | ||
9842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9845 | arg2 = obj1; |
9846 | arg3 = obj2; | |
9847 | { | |
9848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9849 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9850 | ||
9851 | wxPyEndAllowThreads(__tstate); | |
9852 | if (PyErr_Occurred()) SWIG_fail; | |
9853 | } | |
9854 | Py_INCREF(Py_None); resultobj = Py_None; | |
9855 | return resultobj; | |
9856 | fail: | |
9857 | return NULL; | |
9858 | } | |
9859 | ||
9860 | ||
9861 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9862 | PyObject *resultobj; | |
9863 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9864 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9865 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9866 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9867 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9868 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9869 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9870 | long arg6 = (long) 0 ; | |
9871 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9872 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9873 | bool result; | |
9874 | wxPoint temp4 ; | |
9875 | wxSize temp5 ; | |
e811c8ce | 9876 | bool temp7 = False ; |
d14a1e28 RD |
9877 | PyObject * obj0 = 0 ; |
9878 | PyObject * obj1 = 0 ; | |
994141e6 | 9879 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9880 | PyObject * obj3 = 0 ; |
9881 | PyObject * obj4 = 0 ; | |
994141e6 | 9882 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9883 | PyObject * obj6 = 0 ; |
9884 | char *kwnames[] = { | |
9885 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9886 | }; | |
9887 | ||
994141e6 | 9888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9891 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9893 | if (obj2) { |
15afbcd0 RD |
9894 | arg3 = (int) SWIG_AsInt(obj2); |
9895 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9896 | } |
d14a1e28 RD |
9897 | if (obj3) { |
9898 | { | |
9899 | arg4 = &temp4; | |
9900 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9901 | } | |
9902 | } | |
9903 | if (obj4) { | |
9904 | { | |
9905 | arg5 = &temp5; | |
9906 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9907 | } | |
9908 | } | |
994141e6 | 9909 | if (obj5) { |
15afbcd0 RD |
9910 | arg6 = (long) SWIG_AsLong(obj5); |
9911 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9912 | } |
d14a1e28 RD |
9913 | if (obj6) { |
9914 | { | |
9915 | arg7 = wxString_in_helper(obj6); | |
9916 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9917 | temp7 = True; |
d14a1e28 RD |
9918 | } |
9919 | } | |
9920 | { | |
9921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9922 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9923 | ||
9924 | wxPyEndAllowThreads(__tstate); | |
9925 | if (PyErr_Occurred()) SWIG_fail; | |
9926 | } | |
4f89f6a3 RD |
9927 | { |
9928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9929 | } | |
d14a1e28 RD |
9930 | { |
9931 | if (temp7) | |
9932 | delete arg7; | |
9933 | } | |
9934 | return resultobj; | |
9935 | fail: | |
9936 | { | |
9937 | if (temp7) | |
9938 | delete arg7; | |
9939 | } | |
9940 | return NULL; | |
9941 | } | |
9942 | ||
9943 | ||
9944 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9945 | PyObject *resultobj; | |
9946 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9947 | size_t result; | |
9948 | PyObject * obj0 = 0 ; | |
9949 | char *kwnames[] = { | |
9950 | (char *) "self", NULL | |
9951 | }; | |
9952 | ||
9953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9956 | { |
9957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9958 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9959 | ||
9960 | wxPyEndAllowThreads(__tstate); | |
9961 | if (PyErr_Occurred()) SWIG_fail; | |
9962 | } | |
15afbcd0 | 9963 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9964 | return resultobj; |
9965 | fail: | |
9966 | return NULL; | |
9967 | } | |
9968 | ||
9969 | ||
9970 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9971 | PyObject *resultobj; | |
9972 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9973 | bool result; | |
9974 | PyObject * obj0 = 0 ; | |
9975 | char *kwnames[] = { | |
9976 | (char *) "self", NULL | |
9977 | }; | |
9978 | ||
9979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9982 | { |
9983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9984 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9985 | ||
9986 | wxPyEndAllowThreads(__tstate); | |
9987 | if (PyErr_Occurred()) SWIG_fail; | |
9988 | } | |
4f89f6a3 RD |
9989 | { |
9990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9991 | } | |
d14a1e28 RD |
9992 | return resultobj; |
9993 | fail: | |
9994 | return NULL; | |
9995 | } | |
9996 | ||
9997 | ||
9998 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9999 | PyObject *resultobj; | |
10000 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10001 | int result; | |
10002 | PyObject * obj0 = 0 ; | |
10003 | char *kwnames[] = { | |
10004 | (char *) "self", NULL | |
10005 | }; | |
10006 | ||
10007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10010 | { |
10011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10012 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
10013 | ||
10014 | wxPyEndAllowThreads(__tstate); | |
10015 | if (PyErr_Occurred()) SWIG_fail; | |
10016 | } | |
15afbcd0 | 10017 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
10018 | return resultobj; |
10019 | fail: | |
10020 | return NULL; | |
10021 | } | |
10022 | ||
10023 | ||
10024 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10025 | PyObject *resultobj; | |
10026 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10027 | size_t arg2 ; | |
10028 | bool result; | |
10029 | PyObject * obj0 = 0 ; | |
10030 | PyObject * obj1 = 0 ; | |
10031 | char *kwnames[] = { | |
10032 | (char *) "self",(char *) "item", NULL | |
10033 | }; | |
10034 | ||
10035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10038 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10039 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10040 | { |
10041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10042 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
10043 | ||
10044 | wxPyEndAllowThreads(__tstate); | |
10045 | if (PyErr_Occurred()) SWIG_fail; | |
10046 | } | |
4f89f6a3 RD |
10047 | { |
10048 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10049 | } | |
d14a1e28 RD |
10050 | return resultobj; |
10051 | fail: | |
10052 | return NULL; | |
10053 | } | |
10054 | ||
10055 | ||
10056 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10057 | PyObject *resultobj; | |
10058 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10059 | size_t arg2 ; | |
10060 | bool result; | |
10061 | PyObject * obj0 = 0 ; | |
10062 | PyObject * obj1 = 0 ; | |
10063 | char *kwnames[] = { | |
10064 | (char *) "self",(char *) "item", NULL | |
10065 | }; | |
10066 | ||
10067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10070 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10071 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10072 | { |
10073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10074 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
10075 | ||
10076 | wxPyEndAllowThreads(__tstate); | |
10077 | if (PyErr_Occurred()) SWIG_fail; | |
10078 | } | |
4f89f6a3 RD |
10079 | { |
10080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10081 | } | |
d14a1e28 RD |
10082 | return resultobj; |
10083 | fail: | |
10084 | return NULL; | |
10085 | } | |
10086 | ||
10087 | ||
10088 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10089 | PyObject *resultobj; | |
10090 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10091 | size_t result; | |
10092 | PyObject * obj0 = 0 ; | |
10093 | char *kwnames[] = { | |
10094 | (char *) "self", NULL | |
10095 | }; | |
10096 | ||
10097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10100 | { |
10101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10102 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
10103 | ||
10104 | wxPyEndAllowThreads(__tstate); | |
10105 | if (PyErr_Occurred()) SWIG_fail; | |
10106 | } | |
15afbcd0 | 10107 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
10108 | return resultobj; |
10109 | fail: | |
10110 | return NULL; | |
10111 | } | |
10112 | ||
10113 | ||
10114 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10115 | PyObject *resultobj; | |
10116 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 10117 | PyObject *result; |
d14a1e28 | 10118 | PyObject * obj0 = 0 ; |
d14a1e28 | 10119 | char *kwnames[] = { |
09c21d3b | 10120 | (char *) "self", NULL |
d14a1e28 RD |
10121 | }; |
10122 | ||
09c21d3b | 10123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10126 | { |
10127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10128 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d14a1e28 RD |
10129 | |
10130 | wxPyEndAllowThreads(__tstate); | |
10131 | if (PyErr_Occurred()) SWIG_fail; | |
10132 | } | |
09c21d3b | 10133 | resultobj = result; |
d14a1e28 RD |
10134 | return resultobj; |
10135 | fail: | |
10136 | return NULL; | |
10137 | } | |
10138 | ||
10139 | ||
10140 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10141 | PyObject *resultobj; | |
10142 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
10143 | unsigned long arg2 ; |
10144 | PyObject *result; | |
d14a1e28 RD |
10145 | PyObject * obj0 = 0 ; |
10146 | PyObject * obj1 = 0 ; | |
10147 | char *kwnames[] = { | |
10148 | (char *) "self",(char *) "cookie", NULL | |
10149 | }; | |
10150 | ||
10151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
09c21d3b RD |
10154 | arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1); |
10155 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10156 | { |
10157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10158 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d14a1e28 RD |
10159 | |
10160 | wxPyEndAllowThreads(__tstate); | |
10161 | if (PyErr_Occurred()) SWIG_fail; | |
10162 | } | |
09c21d3b | 10163 | resultobj = result; |
d14a1e28 RD |
10164 | return resultobj; |
10165 | fail: | |
10166 | return NULL; | |
10167 | } | |
10168 | ||
10169 | ||
10170 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10171 | PyObject *resultobj; | |
10172 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10173 | wxPoint result; | |
10174 | PyObject * obj0 = 0 ; | |
10175 | char *kwnames[] = { | |
10176 | (char *) "self", NULL | |
10177 | }; | |
10178 | ||
10179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10182 | { |
10183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10184 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
10185 | ||
10186 | wxPyEndAllowThreads(__tstate); | |
10187 | if (PyErr_Occurred()) SWIG_fail; | |
10188 | } | |
10189 | { | |
10190 | wxPoint * resultptr; | |
10191 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 10192 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
10193 | } |
10194 | return resultobj; | |
10195 | fail: | |
10196 | return NULL; | |
10197 | } | |
10198 | ||
10199 | ||
10200 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10201 | PyObject *resultobj; | |
10202 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10203 | wxColour *result; | |
10204 | PyObject * obj0 = 0 ; | |
10205 | char *kwnames[] = { | |
10206 | (char *) "self", NULL | |
10207 | }; | |
10208 | ||
10209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10212 | { |
10213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10214 | { | |
10215 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
10216 | result = (wxColour *) &_result_ref; | |
10217 | } | |
10218 | ||
10219 | wxPyEndAllowThreads(__tstate); | |
10220 | if (PyErr_Occurred()) SWIG_fail; | |
10221 | } | |
15afbcd0 | 10222 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
10223 | return resultobj; |
10224 | fail: | |
10225 | return NULL; | |
10226 | } | |
10227 | ||
10228 | ||
10229 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10230 | PyObject *resultobj; | |
10231 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10232 | size_t arg2 ; | |
10233 | PyObject * obj0 = 0 ; | |
10234 | PyObject * obj1 = 0 ; | |
10235 | char *kwnames[] = { | |
10236 | (char *) "self",(char *) "count", NULL | |
10237 | }; | |
10238 | ||
10239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10242 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10243 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10244 | { |
10245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10246 | (arg1)->SetItemCount(arg2); | |
10247 | ||
10248 | wxPyEndAllowThreads(__tstate); | |
10249 | if (PyErr_Occurred()) SWIG_fail; | |
10250 | } | |
10251 | Py_INCREF(Py_None); resultobj = Py_None; | |
10252 | return resultobj; | |
10253 | fail: | |
10254 | return NULL; | |
10255 | } | |
10256 | ||
10257 | ||
10258 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10259 | PyObject *resultobj; | |
10260 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10261 | PyObject * obj0 = 0 ; | |
10262 | char *kwnames[] = { | |
10263 | (char *) "self", NULL | |
10264 | }; | |
10265 | ||
10266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10269 | { |
10270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10271 | (arg1)->Clear(); | |
10272 | ||
10273 | wxPyEndAllowThreads(__tstate); | |
10274 | if (PyErr_Occurred()) SWIG_fail; | |
10275 | } | |
10276 | Py_INCREF(Py_None); resultobj = Py_None; | |
10277 | return resultobj; | |
10278 | fail: | |
10279 | return NULL; | |
10280 | } | |
10281 | ||
10282 | ||
10283 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10284 | PyObject *resultobj; | |
10285 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10286 | int arg2 ; | |
10287 | PyObject * obj0 = 0 ; | |
994141e6 | 10288 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10289 | char *kwnames[] = { |
10290 | (char *) "self",(char *) "selection", NULL | |
10291 | }; | |
10292 | ||
994141e6 | 10293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10296 | arg2 = (int) SWIG_AsInt(obj1); | |
10297 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10298 | { |
10299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10300 | (arg1)->SetSelection(arg2); | |
10301 | ||
10302 | wxPyEndAllowThreads(__tstate); | |
10303 | if (PyErr_Occurred()) SWIG_fail; | |
10304 | } | |
10305 | Py_INCREF(Py_None); resultobj = Py_None; | |
10306 | return resultobj; | |
10307 | fail: | |
10308 | return NULL; | |
10309 | } | |
10310 | ||
10311 | ||
10312 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10313 | PyObject *resultobj; | |
10314 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10315 | size_t arg2 ; | |
e811c8ce | 10316 | bool arg3 = (bool) True ; |
d14a1e28 RD |
10317 | bool result; |
10318 | PyObject * obj0 = 0 ; | |
10319 | PyObject * obj1 = 0 ; | |
10320 | PyObject * obj2 = 0 ; | |
10321 | char *kwnames[] = { | |
10322 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10323 | }; | |
10324 | ||
10325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10328 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10329 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10330 | if (obj2) { |
15afbcd0 RD |
10331 | arg3 = (bool) SWIG_AsBool(obj2); |
10332 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 10333 | } |
d14a1e28 RD |
10334 | { |
10335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10336 | result = (bool)(arg1)->Select(arg2,arg3); | |
10337 | ||
10338 | wxPyEndAllowThreads(__tstate); | |
10339 | if (PyErr_Occurred()) SWIG_fail; | |
10340 | } | |
4f89f6a3 RD |
10341 | { |
10342 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10343 | } | |
d14a1e28 RD |
10344 | return resultobj; |
10345 | fail: | |
10346 | return NULL; | |
10347 | } | |
10348 | ||
10349 | ||
10350 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10351 | PyObject *resultobj; | |
10352 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10353 | size_t arg2 ; | |
10354 | size_t arg3 ; | |
10355 | bool result; | |
10356 | PyObject * obj0 = 0 ; | |
10357 | PyObject * obj1 = 0 ; | |
10358 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
10359 | char *kwnames[] = { |
10360 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10361 | }; | |
10362 | ||
10363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10366 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10367 | if (PyErr_Occurred()) SWIG_fail; | |
10368 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
10369 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10370 | { |
10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10372 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10373 | ||
10374 | wxPyEndAllowThreads(__tstate); | |
10375 | if (PyErr_Occurred()) SWIG_fail; | |
10376 | } | |
4f89f6a3 RD |
10377 | { |
10378 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10379 | } | |
d14a1e28 RD |
10380 | return resultobj; |
10381 | fail: | |
10382 | return NULL; | |
10383 | } | |
10384 | ||
10385 | ||
10386 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10387 | PyObject *resultobj; | |
10388 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10389 | size_t arg2 ; | |
10390 | PyObject * obj0 = 0 ; | |
10391 | PyObject * obj1 = 0 ; | |
10392 | char *kwnames[] = { | |
10393 | (char *) "self",(char *) "item", NULL | |
10394 | }; | |
10395 | ||
10396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10399 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10400 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10401 | { |
10402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10403 | (arg1)->Toggle(arg2); | |
10404 | ||
10405 | wxPyEndAllowThreads(__tstate); | |
10406 | if (PyErr_Occurred()) SWIG_fail; | |
10407 | } | |
10408 | Py_INCREF(Py_None); resultobj = Py_None; | |
10409 | return resultobj; | |
10410 | fail: | |
10411 | return NULL; | |
10412 | } | |
10413 | ||
10414 | ||
10415 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10416 | PyObject *resultobj; | |
10417 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10418 | bool result; | |
10419 | PyObject * obj0 = 0 ; | |
10420 | char *kwnames[] = { | |
10421 | (char *) "self", NULL | |
10422 | }; | |
10423 | ||
10424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10427 | { |
10428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10429 | result = (bool)(arg1)->SelectAll(); | |
10430 | ||
10431 | wxPyEndAllowThreads(__tstate); | |
10432 | if (PyErr_Occurred()) SWIG_fail; | |
10433 | } | |
4f89f6a3 RD |
10434 | { |
10435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10436 | } | |
d14a1e28 RD |
10437 | return resultobj; |
10438 | fail: | |
10439 | return NULL; | |
10440 | } | |
10441 | ||
10442 | ||
10443 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10444 | PyObject *resultobj; | |
10445 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10446 | bool result; | |
10447 | PyObject * obj0 = 0 ; | |
10448 | char *kwnames[] = { | |
10449 | (char *) "self", NULL | |
10450 | }; | |
10451 | ||
10452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10455 | { |
10456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10457 | result = (bool)(arg1)->DeselectAll(); | |
10458 | ||
10459 | wxPyEndAllowThreads(__tstate); | |
10460 | if (PyErr_Occurred()) SWIG_fail; | |
10461 | } | |
4f89f6a3 RD |
10462 | { |
10463 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10464 | } | |
d14a1e28 RD |
10465 | return resultobj; |
10466 | fail: | |
10467 | return NULL; | |
10468 | } | |
10469 | ||
10470 | ||
10471 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10472 | PyObject *resultobj; | |
10473 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10474 | wxPoint *arg2 = 0 ; | |
10475 | wxPoint temp2 ; | |
10476 | PyObject * obj0 = 0 ; | |
10477 | PyObject * obj1 = 0 ; | |
10478 | char *kwnames[] = { | |
10479 | (char *) "self",(char *) "pt", NULL | |
10480 | }; | |
10481 | ||
10482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10485 | { |
10486 | arg2 = &temp2; | |
10487 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10488 | } | |
10489 | { | |
10490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10491 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10492 | ||
10493 | wxPyEndAllowThreads(__tstate); | |
10494 | if (PyErr_Occurred()) SWIG_fail; | |
10495 | } | |
10496 | Py_INCREF(Py_None); resultobj = Py_None; | |
10497 | return resultobj; | |
10498 | fail: | |
10499 | return NULL; | |
10500 | } | |
10501 | ||
10502 | ||
10503 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10504 | PyObject *resultobj; | |
10505 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10506 | int arg2 ; |
10507 | int arg3 ; | |
d14a1e28 | 10508 | PyObject * obj0 = 0 ; |
994141e6 RD |
10509 | PyObject * obj1 = 0 ; |
10510 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10511 | char *kwnames[] = { |
10512 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10513 | }; | |
10514 | ||
994141e6 | 10515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10518 | arg2 = (int) SWIG_AsInt(obj1); | |
10519 | if (PyErr_Occurred()) SWIG_fail; | |
10520 | arg3 = (int) SWIG_AsInt(obj2); | |
10521 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10522 | { |
10523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10524 | (arg1)->SetMargins(arg2,arg3); | |
10525 | ||
10526 | wxPyEndAllowThreads(__tstate); | |
10527 | if (PyErr_Occurred()) SWIG_fail; | |
10528 | } | |
10529 | Py_INCREF(Py_None); resultobj = Py_None; | |
10530 | return resultobj; | |
10531 | fail: | |
10532 | return NULL; | |
10533 | } | |
10534 | ||
10535 | ||
10536 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10537 | PyObject *resultobj; | |
10538 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10539 | wxColour *arg2 = 0 ; | |
10540 | wxColour temp2 ; | |
10541 | PyObject * obj0 = 0 ; | |
10542 | PyObject * obj1 = 0 ; | |
10543 | char *kwnames[] = { | |
10544 | (char *) "self",(char *) "col", NULL | |
10545 | }; | |
10546 | ||
10547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10550 | { |
10551 | arg2 = &temp2; | |
10552 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10553 | } | |
10554 | { | |
10555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10556 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10557 | ||
10558 | wxPyEndAllowThreads(__tstate); | |
10559 | if (PyErr_Occurred()) SWIG_fail; | |
10560 | } | |
10561 | Py_INCREF(Py_None); resultobj = Py_None; | |
10562 | return resultobj; | |
10563 | fail: | |
10564 | return NULL; | |
10565 | } | |
10566 | ||
10567 | ||
10568 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10569 | PyObject *obj; | |
10570 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10571 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10572 | Py_INCREF(obj); | |
10573 | return Py_BuildValue((char *)""); | |
10574 | } | |
10575 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10576 | PyObject *resultobj; | |
10577 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10578 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10579 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10580 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10581 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10582 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10583 | long arg5 = (long) 0 ; | |
10584 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10585 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10586 | wxPyHtmlListBox *result; | |
10587 | wxPoint temp3 ; | |
10588 | wxSize temp4 ; | |
e811c8ce | 10589 | bool temp6 = False ; |
d14a1e28 | 10590 | PyObject * obj0 = 0 ; |
994141e6 | 10591 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10592 | PyObject * obj2 = 0 ; |
10593 | PyObject * obj3 = 0 ; | |
994141e6 | 10594 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10595 | PyObject * obj5 = 0 ; |
10596 | char *kwnames[] = { | |
10597 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10598 | }; | |
10599 | ||
994141e6 | 10600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10603 | if (obj1) { |
15afbcd0 RD |
10604 | arg2 = (int) SWIG_AsInt(obj1); |
10605 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10606 | } |
d14a1e28 RD |
10607 | if (obj2) { |
10608 | { | |
10609 | arg3 = &temp3; | |
10610 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10611 | } | |
10612 | } | |
10613 | if (obj3) { | |
10614 | { | |
10615 | arg4 = &temp4; | |
10616 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10617 | } | |
10618 | } | |
994141e6 | 10619 | if (obj4) { |
15afbcd0 RD |
10620 | arg5 = (long) SWIG_AsLong(obj4); |
10621 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10622 | } |
d14a1e28 RD |
10623 | if (obj5) { |
10624 | { | |
10625 | arg6 = wxString_in_helper(obj5); | |
10626 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10627 | temp6 = True; |
d14a1e28 RD |
10628 | } |
10629 | } | |
10630 | { | |
e3b71cb8 | 10631 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10633 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10634 | ||
10635 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 10636 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10637 | } |
15afbcd0 | 10638 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10639 | { |
10640 | if (temp6) | |
10641 | delete arg6; | |
10642 | } | |
10643 | return resultobj; | |
10644 | fail: | |
10645 | { | |
10646 | if (temp6) | |
10647 | delete arg6; | |
10648 | } | |
10649 | return NULL; | |
10650 | } | |
10651 | ||
10652 | ||
10653 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10654 | PyObject *resultobj; | |
10655 | wxPyHtmlListBox *result; | |
10656 | char *kwnames[] = { | |
10657 | NULL | |
10658 | }; | |
10659 | ||
10660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10661 | { | |
e3b71cb8 | 10662 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10664 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10665 | ||
10666 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 10667 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10668 | } |
15afbcd0 | 10669 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10670 | return resultobj; |
10671 | fail: | |
10672 | return NULL; | |
10673 | } | |
10674 | ||
10675 | ||
10676 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10677 | PyObject *resultobj; | |
10678 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10679 | PyObject *arg2 = (PyObject *) 0 ; | |
10680 | PyObject *arg3 = (PyObject *) 0 ; | |
10681 | PyObject * obj0 = 0 ; | |
10682 | PyObject * obj1 = 0 ; | |
10683 | PyObject * obj2 = 0 ; | |
10684 | char *kwnames[] = { | |
10685 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10686 | }; | |
10687 | ||
10688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10691 | arg2 = obj1; |
10692 | arg3 = obj2; | |
10693 | { | |
10694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10695 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10696 | ||
10697 | wxPyEndAllowThreads(__tstate); | |
10698 | if (PyErr_Occurred()) SWIG_fail; | |
10699 | } | |
10700 | Py_INCREF(Py_None); resultobj = Py_None; | |
10701 | return resultobj; | |
10702 | fail: | |
10703 | return NULL; | |
10704 | } | |
10705 | ||
10706 | ||
10707 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10708 | PyObject *resultobj; | |
10709 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10710 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10711 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10712 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10713 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10714 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10715 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10716 | long arg6 = (long) 0 ; | |
10717 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10718 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10719 | bool result; | |
10720 | wxPoint temp4 ; | |
10721 | wxSize temp5 ; | |
e811c8ce | 10722 | bool temp7 = False ; |
d14a1e28 RD |
10723 | PyObject * obj0 = 0 ; |
10724 | PyObject * obj1 = 0 ; | |
994141e6 | 10725 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10726 | PyObject * obj3 = 0 ; |
10727 | PyObject * obj4 = 0 ; | |
994141e6 | 10728 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10729 | PyObject * obj6 = 0 ; |
10730 | char *kwnames[] = { | |
10731 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10732 | }; | |
10733 | ||
994141e6 | 10734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10737 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10739 | if (obj2) { |
15afbcd0 RD |
10740 | arg3 = (int) SWIG_AsInt(obj2); |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10742 | } |
d14a1e28 RD |
10743 | if (obj3) { |
10744 | { | |
10745 | arg4 = &temp4; | |
10746 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10747 | } | |
10748 | } | |
10749 | if (obj4) { | |
10750 | { | |
10751 | arg5 = &temp5; | |
10752 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10753 | } | |
10754 | } | |
994141e6 | 10755 | if (obj5) { |
15afbcd0 RD |
10756 | arg6 = (long) SWIG_AsLong(obj5); |
10757 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10758 | } |
d14a1e28 RD |
10759 | if (obj6) { |
10760 | { | |
10761 | arg7 = wxString_in_helper(obj6); | |
10762 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10763 | temp7 = True; |
d14a1e28 RD |
10764 | } |
10765 | } | |
10766 | { | |
10767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10768 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10769 | ||
10770 | wxPyEndAllowThreads(__tstate); | |
10771 | if (PyErr_Occurred()) SWIG_fail; | |
10772 | } | |
4f89f6a3 RD |
10773 | { |
10774 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10775 | } | |
d14a1e28 RD |
10776 | { |
10777 | if (temp7) | |
10778 | delete arg7; | |
10779 | } | |
10780 | return resultobj; | |
10781 | fail: | |
10782 | { | |
10783 | if (temp7) | |
10784 | delete arg7; | |
10785 | } | |
10786 | return NULL; | |
10787 | } | |
10788 | ||
10789 | ||
10790 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10791 | PyObject *resultobj; | |
10792 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10793 | PyObject * obj0 = 0 ; | |
10794 | char *kwnames[] = { | |
10795 | (char *) "self", NULL | |
10796 | }; | |
10797 | ||
10798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10801 | { |
10802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10803 | (arg1)->RefreshAll(); | |
10804 | ||
10805 | wxPyEndAllowThreads(__tstate); | |
10806 | if (PyErr_Occurred()) SWIG_fail; | |
10807 | } | |
10808 | Py_INCREF(Py_None); resultobj = Py_None; | |
10809 | return resultobj; | |
10810 | fail: | |
10811 | return NULL; | |
10812 | } | |
10813 | ||
10814 | ||
10815 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10816 | PyObject *resultobj; | |
10817 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10818 | size_t arg2 ; | |
10819 | PyObject * obj0 = 0 ; | |
10820 | PyObject * obj1 = 0 ; | |
10821 | char *kwnames[] = { | |
10822 | (char *) "self",(char *) "count", NULL | |
10823 | }; | |
10824 | ||
10825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10828 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10829 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10830 | { |
10831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10832 | (arg1)->SetItemCount(arg2); | |
10833 | ||
10834 | wxPyEndAllowThreads(__tstate); | |
10835 | if (PyErr_Occurred()) SWIG_fail; | |
10836 | } | |
10837 | Py_INCREF(Py_None); resultobj = Py_None; | |
10838 | return resultobj; | |
10839 | fail: | |
10840 | return NULL; | |
10841 | } | |
10842 | ||
10843 | ||
7fdaaabe RD |
10844 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) { |
10845 | PyObject *resultobj; | |
10846 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10847 | wxFileSystem *result; | |
10848 | PyObject * obj0 = 0 ; | |
10849 | char *kwnames[] = { | |
10850 | (char *) "self", NULL | |
10851 | }; | |
10852 | ||
10853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
10854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
10855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10856 | { | |
10857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10858 | { | |
10859 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
10860 | result = (wxFileSystem *) &_result_ref; | |
10861 | } | |
10862 | ||
10863 | wxPyEndAllowThreads(__tstate); | |
10864 | if (PyErr_Occurred()) SWIG_fail; | |
10865 | } | |
10866 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
10867 | return resultobj; | |
10868 | fail: | |
10869 | return NULL; | |
10870 | } | |
10871 | ||
10872 | ||
d14a1e28 RD |
10873 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { |
10874 | PyObject *obj; | |
10875 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10876 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10877 | Py_INCREF(obj); | |
10878 | return Py_BuildValue((char *)""); | |
10879 | } | |
10880 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10881 | PyObject *resultobj; | |
10882 | wxTaskBarIcon *result; | |
10883 | char *kwnames[] = { | |
10884 | NULL | |
10885 | }; | |
10886 | ||
10887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10888 | { | |
e3b71cb8 | 10889 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10891 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10892 | ||
10893 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 10894 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10895 | } |
15afbcd0 | 10896 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10897 | return resultobj; |
10898 | fail: | |
10899 | return NULL; | |
10900 | } | |
10901 | ||
10902 | ||
10903 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10904 | PyObject *resultobj; | |
10905 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10906 | PyObject * obj0 = 0 ; | |
10907 | char *kwnames[] = { | |
10908 | (char *) "self", NULL | |
10909 | }; | |
10910 | ||
10911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10914 | { |
10915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10916 | delete arg1; | |
10917 | ||
10918 | wxPyEndAllowThreads(__tstate); | |
10919 | if (PyErr_Occurred()) SWIG_fail; | |
10920 | } | |
10921 | Py_INCREF(Py_None); resultobj = Py_None; | |
10922 | return resultobj; | |
10923 | fail: | |
10924 | return NULL; | |
10925 | } | |
10926 | ||
10927 | ||
74a57fcd RD |
10928 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { |
10929 | PyObject *resultobj; | |
10930 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10931 | PyObject * obj0 = 0 ; | |
10932 | char *kwnames[] = { | |
10933 | (char *) "self", NULL | |
10934 | }; | |
10935 | ||
10936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
10937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, | |
10938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10939 | { | |
10940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10941 | wxTaskBarIcon_Destroy(arg1); | |
10942 | ||
10943 | wxPyEndAllowThreads(__tstate); | |
10944 | if (PyErr_Occurred()) SWIG_fail; | |
10945 | } | |
10946 | Py_INCREF(Py_None); resultobj = Py_None; | |
10947 | return resultobj; | |
10948 | fail: | |
10949 | return NULL; | |
10950 | } | |
10951 | ||
10952 | ||
d14a1e28 RD |
10953 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { |
10954 | PyObject *resultobj; | |
10955 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10956 | bool result; | |
10957 | PyObject * obj0 = 0 ; | |
10958 | char *kwnames[] = { | |
10959 | (char *) "self", NULL | |
10960 | }; | |
10961 | ||
10962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10965 | { |
10966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10967 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10968 | ||
10969 | wxPyEndAllowThreads(__tstate); | |
10970 | if (PyErr_Occurred()) SWIG_fail; | |
10971 | } | |
4f89f6a3 RD |
10972 | { |
10973 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10974 | } | |
d14a1e28 RD |
10975 | return resultobj; |
10976 | fail: | |
10977 | return NULL; | |
10978 | } | |
10979 | ||
10980 | ||
10981 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10982 | PyObject *resultobj; | |
10983 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10984 | bool result; | |
10985 | PyObject * obj0 = 0 ; | |
10986 | char *kwnames[] = { | |
10987 | (char *) "self", NULL | |
10988 | }; | |
10989 | ||
10990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10993 | { |
10994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10995 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10996 | ||
10997 | wxPyEndAllowThreads(__tstate); | |
10998 | if (PyErr_Occurred()) SWIG_fail; | |
10999 | } | |
4f89f6a3 RD |
11000 | { |
11001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11002 | } | |
d14a1e28 RD |
11003 | return resultobj; |
11004 | fail: | |
11005 | return NULL; | |
11006 | } | |
11007 | ||
11008 | ||
11009 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11010 | PyObject *resultobj; | |
11011 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11012 | wxIcon *arg2 = 0 ; | |
11013 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11014 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11015 | bool result; | |
e811c8ce | 11016 | bool temp3 = False ; |
d14a1e28 RD |
11017 | PyObject * obj0 = 0 ; |
11018 | PyObject * obj1 = 0 ; | |
11019 | PyObject * obj2 = 0 ; | |
11020 | char *kwnames[] = { | |
11021 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
11022 | }; | |
11023 | ||
11024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
11025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
11026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11027 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
11028 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
11029 | SWIG_fail; | |
d14a1e28 | 11030 | if (arg2 == NULL) { |
15afbcd0 RD |
11031 | PyErr_SetString(PyExc_TypeError,"null reference"); |
11032 | SWIG_fail; | |
d14a1e28 RD |
11033 | } |
11034 | if (obj2) { | |
11035 | { | |
11036 | arg3 = wxString_in_helper(obj2); | |
11037 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11038 | temp3 = True; |
d14a1e28 RD |
11039 | } |
11040 | } | |
11041 | { | |
11042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11043 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
11044 | ||
11045 | wxPyEndAllowThreads(__tstate); | |
11046 | if (PyErr_Occurred()) SWIG_fail; | |
11047 | } | |
4f89f6a3 RD |
11048 | { |
11049 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11050 | } | |
d14a1e28 RD |
11051 | { |
11052 | if (temp3) | |
11053 | delete arg3; | |
11054 | } | |
11055 | return resultobj; | |
11056 | fail: | |
11057 | { | |
11058 | if (temp3) | |
11059 | delete arg3; | |
11060 | } | |
11061 | return NULL; | |
11062 | } | |
11063 | ||
11064 | ||
11065 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11066 | PyObject *resultobj; | |
11067 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11068 | bool result; | |
11069 | PyObject * obj0 = 0 ; | |
11070 | char *kwnames[] = { | |
11071 | (char *) "self", NULL | |
11072 | }; | |
11073 | ||
11074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
11076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11077 | { |
11078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11079 | result = (bool)(arg1)->RemoveIcon(); | |
11080 | ||
11081 | wxPyEndAllowThreads(__tstate); | |
11082 | if (PyErr_Occurred()) SWIG_fail; | |
11083 | } | |
4f89f6a3 RD |
11084 | { |
11085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11086 | } | |
d14a1e28 RD |
11087 | return resultobj; |
11088 | fail: | |
11089 | return NULL; | |
11090 | } | |
11091 | ||
11092 | ||
11093 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11094 | PyObject *resultobj; | |
11095 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
11096 | wxMenu *arg2 = (wxMenu *) 0 ; | |
11097 | bool result; | |
11098 | PyObject * obj0 = 0 ; | |
11099 | PyObject * obj1 = 0 ; | |
11100 | char *kwnames[] = { | |
11101 | (char *) "self",(char *) "menu", NULL | |
11102 | }; | |
11103 | ||
11104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
11106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11107 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
11108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11109 | { |
11110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11111 | result = (bool)(arg1)->PopupMenu(arg2); | |
11112 | ||
11113 | wxPyEndAllowThreads(__tstate); | |
11114 | if (PyErr_Occurred()) SWIG_fail; | |
11115 | } | |
4f89f6a3 RD |
11116 | { |
11117 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11118 | } | |
d14a1e28 RD |
11119 | return resultobj; |
11120 | fail: | |
11121 | return NULL; | |
11122 | } | |
11123 | ||
11124 | ||
11125 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
11126 | PyObject *obj; | |
11127 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11128 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
11129 | Py_INCREF(obj); | |
11130 | return Py_BuildValue((char *)""); | |
11131 | } | |
11132 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11133 | PyObject *resultobj; | |
11134 | wxEventType arg1 ; | |
11135 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
11136 | wxTaskBarIconEvent *result; | |
994141e6 | 11137 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
11138 | PyObject * obj1 = 0 ; |
11139 | char *kwnames[] = { | |
11140 | (char *) "evtType",(char *) "tbIcon", NULL | |
11141 | }; | |
11142 | ||
994141e6 | 11143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11144 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
11145 | if (PyErr_Occurred()) SWIG_fail; | |
11146 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
11147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11148 | { |
11149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11150 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
11151 | ||
11152 | wxPyEndAllowThreads(__tstate); | |
11153 | if (PyErr_Occurred()) SWIG_fail; | |
11154 | } | |
15afbcd0 | 11155 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
11156 | return resultobj; |
11157 | fail: | |
11158 | return NULL; | |
11159 | } | |
11160 | ||
11161 | ||
11162 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
11163 | PyObject *obj; | |
11164 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11165 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
11166 | Py_INCREF(obj); | |
11167 | return Py_BuildValue((char *)""); | |
11168 | } | |
b2dc1044 RD |
11169 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
11170 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
11171 | return 1; | |
11172 | } | |
11173 | ||
11174 | ||
11175 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
11176 | PyObject *pyobj; | |
11177 | ||
11178 | { | |
11179 | #if wxUSE_UNICODE | |
11180 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11181 | #else | |
11182 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11183 | #endif | |
11184 | } | |
11185 | return pyobj; | |
11186 | } | |
11187 | ||
11188 | ||
11189 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
11190 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
11191 | return 1; | |
11192 | } | |
11193 | ||
11194 | ||
11195 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
11196 | PyObject *pyobj; | |
11197 | ||
11198 | { | |
11199 | #if wxUSE_UNICODE | |
11200 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11201 | #else | |
11202 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11203 | #endif | |
11204 | } | |
11205 | return pyobj; | |
11206 | } | |
11207 | ||
11208 | ||
11209 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
11210 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
11211 | return 1; | |
11212 | } | |
11213 | ||
11214 | ||
11215 | static PyObject *_wrap_DirDialogNameStr_get() { | |
11216 | PyObject *pyobj; | |
11217 | ||
11218 | { | |
11219 | #if wxUSE_UNICODE | |
11220 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11221 | #else | |
11222 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11223 | #endif | |
11224 | } | |
11225 | return pyobj; | |
11226 | } | |
11227 | ||
11228 | ||
11229 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
11230 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
11231 | return 1; | |
11232 | } | |
11233 | ||
11234 | ||
11235 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
11236 | PyObject *pyobj; | |
11237 | ||
11238 | { | |
11239 | #if wxUSE_UNICODE | |
11240 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11241 | #else | |
11242 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11243 | #endif | |
11244 | } | |
11245 | return pyobj; | |
11246 | } | |
11247 | ||
11248 | ||
11249 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
11250 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
11251 | return 1; | |
11252 | } | |
11253 | ||
11254 | ||
11255 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
11256 | PyObject *pyobj; | |
11257 | ||
11258 | { | |
11259 | #if wxUSE_UNICODE | |
11260 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11261 | #else | |
11262 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11263 | #endif | |
11264 | } | |
11265 | return pyobj; | |
11266 | } | |
11267 | ||
11268 | ||
11269 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
11270 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
11271 | return 1; | |
11272 | } | |
11273 | ||
11274 | ||
11275 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
11276 | PyObject *pyobj; | |
11277 | ||
11278 | { | |
11279 | #if wxUSE_UNICODE | |
11280 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11281 | #else | |
11282 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11283 | #endif | |
11284 | } | |
11285 | return pyobj; | |
11286 | } | |
11287 | ||
11288 | ||
d14a1e28 RD |
11289 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
11290 | PyObject *resultobj; | |
11291 | wxColourData *result; | |
11292 | char *kwnames[] = { | |
11293 | NULL | |
11294 | }; | |
11295 | ||
11296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
11297 | { | |
11298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11299 | result = (wxColourData *)new wxColourData(); | |
11300 | ||
11301 | wxPyEndAllowThreads(__tstate); | |
11302 | if (PyErr_Occurred()) SWIG_fail; | |
11303 | } | |
15afbcd0 | 11304 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
11305 | return resultobj; |
11306 | fail: | |
11307 | return NULL; | |
11308 | } | |
11309 | ||
11310 | ||
11311 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11312 | PyObject *resultobj; | |
11313 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11314 | PyObject * obj0 = 0 ; | |
11315 | char *kwnames[] = { | |
11316 | (char *) "self", NULL | |
11317 | }; | |
11318 | ||
11319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11322 | { |
11323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11324 | delete arg1; | |
11325 | ||
11326 | wxPyEndAllowThreads(__tstate); | |
11327 | if (PyErr_Occurred()) SWIG_fail; | |
11328 | } | |
11329 | Py_INCREF(Py_None); resultobj = Py_None; | |
11330 | return resultobj; | |
11331 | fail: | |
11332 | return NULL; | |
11333 | } | |
11334 | ||
11335 | ||
11336 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11337 | PyObject *resultobj; | |
11338 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11339 | bool result; | |
11340 | PyObject * obj0 = 0 ; | |
11341 | char *kwnames[] = { | |
11342 | (char *) "self", NULL | |
11343 | }; | |
11344 | ||
11345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11348 | { |
11349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11350 | result = (bool)(arg1)->GetChooseFull(); | |
11351 | ||
11352 | wxPyEndAllowThreads(__tstate); | |
11353 | if (PyErr_Occurred()) SWIG_fail; | |
11354 | } | |
4f89f6a3 RD |
11355 | { |
11356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11357 | } | |
d14a1e28 RD |
11358 | return resultobj; |
11359 | fail: | |
11360 | return NULL; | |
11361 | } | |
11362 | ||
11363 | ||
11364 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11365 | PyObject *resultobj; | |
11366 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11367 | wxColour result; | |
11368 | PyObject * obj0 = 0 ; | |
11369 | char *kwnames[] = { | |
11370 | (char *) "self", NULL | |
11371 | }; | |
11372 | ||
11373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11376 | { |
11377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11378 | result = (arg1)->GetColour(); | |
11379 | ||
11380 | wxPyEndAllowThreads(__tstate); | |
11381 | if (PyErr_Occurred()) SWIG_fail; | |
11382 | } | |
11383 | { | |
11384 | wxColour * resultptr; | |
11385 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11386 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11387 | } |
11388 | return resultobj; | |
11389 | fail: | |
11390 | return NULL; | |
11391 | } | |
11392 | ||
11393 | ||
11394 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11395 | PyObject *resultobj; | |
11396 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11397 | int arg2 ; | |
11398 | wxColour result; | |
11399 | PyObject * obj0 = 0 ; | |
994141e6 | 11400 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11401 | char *kwnames[] = { |
11402 | (char *) "self",(char *) "i", NULL | |
11403 | }; | |
11404 | ||
994141e6 | 11405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11408 | arg2 = (int) SWIG_AsInt(obj1); | |
11409 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11410 | { |
11411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11412 | result = (arg1)->GetCustomColour(arg2); | |
11413 | ||
11414 | wxPyEndAllowThreads(__tstate); | |
11415 | if (PyErr_Occurred()) SWIG_fail; | |
11416 | } | |
11417 | { | |
11418 | wxColour * resultptr; | |
11419 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11420 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11421 | } |
11422 | return resultobj; | |
11423 | fail: | |
11424 | return NULL; | |
11425 | } | |
11426 | ||
11427 | ||
11428 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11429 | PyObject *resultobj; | |
11430 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11431 | int arg2 ; | |
11432 | PyObject * obj0 = 0 ; | |
994141e6 | 11433 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11434 | char *kwnames[] = { |
11435 | (char *) "self",(char *) "flag", NULL | |
11436 | }; | |
11437 | ||
994141e6 | 11438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11441 | arg2 = (int) SWIG_AsInt(obj1); | |
11442 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11443 | { |
11444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11445 | (arg1)->SetChooseFull(arg2); | |
11446 | ||
11447 | wxPyEndAllowThreads(__tstate); | |
11448 | if (PyErr_Occurred()) SWIG_fail; | |
11449 | } | |
11450 | Py_INCREF(Py_None); resultobj = Py_None; | |
11451 | return resultobj; | |
11452 | fail: | |
11453 | return NULL; | |
11454 | } | |
11455 | ||
11456 | ||
11457 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11458 | PyObject *resultobj; | |
11459 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11460 | wxColour *arg2 = 0 ; | |
11461 | wxColour temp2 ; | |
11462 | PyObject * obj0 = 0 ; | |
11463 | PyObject * obj1 = 0 ; | |
11464 | char *kwnames[] = { | |
11465 | (char *) "self",(char *) "colour", NULL | |
11466 | }; | |
11467 | ||
11468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11471 | { |
11472 | arg2 = &temp2; | |
11473 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11474 | } | |
11475 | { | |
11476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11477 | (arg1)->SetColour((wxColour const &)*arg2); | |
11478 | ||
11479 | wxPyEndAllowThreads(__tstate); | |
11480 | if (PyErr_Occurred()) SWIG_fail; | |
11481 | } | |
11482 | Py_INCREF(Py_None); resultobj = Py_None; | |
11483 | return resultobj; | |
11484 | fail: | |
11485 | return NULL; | |
11486 | } | |
11487 | ||
11488 | ||
11489 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11490 | PyObject *resultobj; | |
11491 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11492 | int arg2 ; | |
11493 | wxColour *arg3 = 0 ; | |
11494 | wxColour temp3 ; | |
11495 | PyObject * obj0 = 0 ; | |
994141e6 | 11496 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11497 | PyObject * obj2 = 0 ; |
11498 | char *kwnames[] = { | |
11499 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11500 | }; | |
11501 | ||
994141e6 | 11502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11505 | arg2 = (int) SWIG_AsInt(obj1); | |
11506 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11507 | { |
11508 | arg3 = &temp3; | |
11509 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11510 | } | |
11511 | { | |
11512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11513 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11514 | ||
11515 | wxPyEndAllowThreads(__tstate); | |
11516 | if (PyErr_Occurred()) SWIG_fail; | |
11517 | } | |
11518 | Py_INCREF(Py_None); resultobj = Py_None; | |
11519 | return resultobj; | |
11520 | fail: | |
11521 | return NULL; | |
11522 | } | |
11523 | ||
11524 | ||
11525 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11526 | PyObject *obj; | |
11527 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11528 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11529 | Py_INCREF(obj); | |
11530 | return Py_BuildValue((char *)""); | |
11531 | } | |
11532 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11533 | PyObject *resultobj; | |
11534 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11535 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11536 | wxColourDialog *result; | |
11537 | PyObject * obj0 = 0 ; | |
11538 | PyObject * obj1 = 0 ; | |
11539 | char *kwnames[] = { | |
11540 | (char *) "parent",(char *) "data", NULL | |
11541 | }; | |
11542 | ||
11543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11546 | if (obj1) { |
15afbcd0 RD |
11547 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11549 | } |
11550 | { | |
e3b71cb8 | 11551 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11553 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11554 | ||
11555 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 11556 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11557 | } |
15afbcd0 | 11558 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11559 | return resultobj; |
11560 | fail: | |
11561 | return NULL; | |
11562 | } | |
11563 | ||
11564 | ||
11565 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11566 | PyObject *resultobj; | |
11567 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11568 | wxColourData *result; | |
11569 | PyObject * obj0 = 0 ; | |
11570 | char *kwnames[] = { | |
11571 | (char *) "self", NULL | |
11572 | }; | |
11573 | ||
11574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11577 | { |
11578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11579 | { | |
11580 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11581 | result = (wxColourData *) &_result_ref; | |
11582 | } | |
11583 | ||
11584 | wxPyEndAllowThreads(__tstate); | |
11585 | if (PyErr_Occurred()) SWIG_fail; | |
11586 | } | |
15afbcd0 | 11587 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11588 | return resultobj; |
11589 | fail: | |
11590 | return NULL; | |
11591 | } | |
11592 | ||
11593 | ||
d14a1e28 RD |
11594 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11595 | PyObject *obj; | |
11596 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11597 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11598 | Py_INCREF(obj); | |
11599 | return Py_BuildValue((char *)""); | |
11600 | } | |
11601 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11602 | PyObject *resultobj; | |
11603 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11604 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11605 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11606 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11607 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11608 | long arg4 = (long) 0 ; | |
11609 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11610 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11611 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11612 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11613 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11614 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11615 | wxDirDialog *result; | |
e811c8ce RD |
11616 | bool temp2 = False ; |
11617 | bool temp3 = False ; | |
d14a1e28 RD |
11618 | wxPoint temp5 ; |
11619 | wxSize temp6 ; | |
e811c8ce | 11620 | bool temp7 = False ; |
d14a1e28 RD |
11621 | PyObject * obj0 = 0 ; |
11622 | PyObject * obj1 = 0 ; | |
11623 | PyObject * obj2 = 0 ; | |
994141e6 | 11624 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11625 | PyObject * obj4 = 0 ; |
11626 | PyObject * obj5 = 0 ; | |
11627 | PyObject * obj6 = 0 ; | |
11628 | char *kwnames[] = { | |
11629 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11630 | }; | |
11631 | ||
994141e6 | 11632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11635 | if (obj1) { |
11636 | { | |
11637 | arg2 = wxString_in_helper(obj1); | |
11638 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11639 | temp2 = True; |
d14a1e28 RD |
11640 | } |
11641 | } | |
11642 | if (obj2) { | |
11643 | { | |
11644 | arg3 = wxString_in_helper(obj2); | |
11645 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11646 | temp3 = True; |
d14a1e28 RD |
11647 | } |
11648 | } | |
994141e6 | 11649 | if (obj3) { |
15afbcd0 RD |
11650 | arg4 = (long) SWIG_AsLong(obj3); |
11651 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11652 | } |
d14a1e28 RD |
11653 | if (obj4) { |
11654 | { | |
11655 | arg5 = &temp5; | |
11656 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11657 | } | |
11658 | } | |
11659 | if (obj5) { | |
11660 | { | |
11661 | arg6 = &temp6; | |
11662 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11663 | } | |
11664 | } | |
11665 | if (obj6) { | |
11666 | { | |
11667 | arg7 = wxString_in_helper(obj6); | |
11668 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11669 | temp7 = True; |
d14a1e28 RD |
11670 | } |
11671 | } | |
11672 | { | |
e3b71cb8 | 11673 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11675 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11676 | ||
11677 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 11678 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11679 | } |
15afbcd0 | 11680 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11681 | { |
11682 | if (temp2) | |
11683 | delete arg2; | |
11684 | } | |
11685 | { | |
11686 | if (temp3) | |
11687 | delete arg3; | |
11688 | } | |
11689 | { | |
11690 | if (temp7) | |
11691 | delete arg7; | |
11692 | } | |
11693 | return resultobj; | |
11694 | fail: | |
11695 | { | |
11696 | if (temp2) | |
11697 | delete arg2; | |
11698 | } | |
11699 | { | |
11700 | if (temp3) | |
11701 | delete arg3; | |
11702 | } | |
11703 | { | |
11704 | if (temp7) | |
11705 | delete arg7; | |
11706 | } | |
11707 | return NULL; | |
11708 | } | |
11709 | ||
11710 | ||
11711 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11712 | PyObject *resultobj; | |
11713 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11714 | wxString result; | |
11715 | PyObject * obj0 = 0 ; | |
11716 | char *kwnames[] = { | |
11717 | (char *) "self", NULL | |
11718 | }; | |
11719 | ||
11720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11723 | { |
11724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11725 | result = (arg1)->GetPath(); | |
11726 | ||
11727 | wxPyEndAllowThreads(__tstate); | |
11728 | if (PyErr_Occurred()) SWIG_fail; | |
11729 | } | |
11730 | { | |
11731 | #if wxUSE_UNICODE | |
11732 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11733 | #else | |
11734 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11735 | #endif | |
11736 | } | |
11737 | return resultobj; | |
11738 | fail: | |
11739 | return NULL; | |
11740 | } | |
11741 | ||
11742 | ||
11743 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11744 | PyObject *resultobj; | |
11745 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11746 | wxString result; | |
11747 | PyObject * obj0 = 0 ; | |
11748 | char *kwnames[] = { | |
11749 | (char *) "self", NULL | |
11750 | }; | |
11751 | ||
11752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11755 | { |
11756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11757 | result = (arg1)->GetMessage(); | |
11758 | ||
11759 | wxPyEndAllowThreads(__tstate); | |
11760 | if (PyErr_Occurred()) SWIG_fail; | |
11761 | } | |
11762 | { | |
11763 | #if wxUSE_UNICODE | |
11764 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11765 | #else | |
11766 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11767 | #endif | |
11768 | } | |
11769 | return resultobj; | |
11770 | fail: | |
11771 | return NULL; | |
11772 | } | |
11773 | ||
11774 | ||
11775 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11776 | PyObject *resultobj; | |
11777 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11778 | long result; | |
11779 | PyObject * obj0 = 0 ; | |
11780 | char *kwnames[] = { | |
11781 | (char *) "self", NULL | |
11782 | }; | |
11783 | ||
11784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11787 | { |
11788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11789 | result = (long)(arg1)->GetStyle(); | |
11790 | ||
11791 | wxPyEndAllowThreads(__tstate); | |
11792 | if (PyErr_Occurred()) SWIG_fail; | |
11793 | } | |
15afbcd0 | 11794 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11795 | return resultobj; |
11796 | fail: | |
11797 | return NULL; | |
11798 | } | |
11799 | ||
11800 | ||
11801 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11802 | PyObject *resultobj; | |
11803 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11804 | wxString *arg2 = 0 ; | |
e811c8ce | 11805 | bool temp2 = False ; |
d14a1e28 RD |
11806 | PyObject * obj0 = 0 ; |
11807 | PyObject * obj1 = 0 ; | |
11808 | char *kwnames[] = { | |
11809 | (char *) "self",(char *) "message", NULL | |
11810 | }; | |
11811 | ||
11812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11815 | { |
11816 | arg2 = wxString_in_helper(obj1); | |
11817 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11818 | temp2 = True; |
d14a1e28 RD |
11819 | } |
11820 | { | |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11822 | (arg1)->SetMessage((wxString const &)*arg2); | |
11823 | ||
11824 | wxPyEndAllowThreads(__tstate); | |
11825 | if (PyErr_Occurred()) SWIG_fail; | |
11826 | } | |
11827 | Py_INCREF(Py_None); resultobj = Py_None; | |
11828 | { | |
11829 | if (temp2) | |
11830 | delete arg2; | |
11831 | } | |
11832 | return resultobj; | |
11833 | fail: | |
11834 | { | |
11835 | if (temp2) | |
11836 | delete arg2; | |
11837 | } | |
11838 | return NULL; | |
11839 | } | |
11840 | ||
11841 | ||
11842 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11843 | PyObject *resultobj; | |
11844 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11845 | wxString *arg2 = 0 ; | |
e811c8ce | 11846 | bool temp2 = False ; |
d14a1e28 RD |
11847 | PyObject * obj0 = 0 ; |
11848 | PyObject * obj1 = 0 ; | |
11849 | char *kwnames[] = { | |
11850 | (char *) "self",(char *) "path", NULL | |
11851 | }; | |
11852 | ||
11853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11856 | { |
11857 | arg2 = wxString_in_helper(obj1); | |
11858 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11859 | temp2 = True; |
d14a1e28 RD |
11860 | } |
11861 | { | |
11862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11863 | (arg1)->SetPath((wxString const &)*arg2); | |
11864 | ||
11865 | wxPyEndAllowThreads(__tstate); | |
11866 | if (PyErr_Occurred()) SWIG_fail; | |
11867 | } | |
11868 | Py_INCREF(Py_None); resultobj = Py_None; | |
11869 | { | |
11870 | if (temp2) | |
11871 | delete arg2; | |
11872 | } | |
11873 | return resultobj; | |
11874 | fail: | |
11875 | { | |
11876 | if (temp2) | |
11877 | delete arg2; | |
11878 | } | |
11879 | return NULL; | |
11880 | } | |
11881 | ||
11882 | ||
d14a1e28 RD |
11883 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11884 | PyObject *obj; | |
11885 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11886 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11887 | Py_INCREF(obj); | |
11888 | return Py_BuildValue((char *)""); | |
11889 | } | |
11890 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11891 | PyObject *resultobj; | |
11892 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11893 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11894 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11895 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11896 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11897 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11898 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11899 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11900 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11901 | long arg6 = (long) 0 ; | |
11902 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11903 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11904 | wxFileDialog *result; | |
e811c8ce RD |
11905 | bool temp2 = False ; |
11906 | bool temp3 = False ; | |
11907 | bool temp4 = False ; | |
11908 | bool temp5 = False ; | |
d14a1e28 RD |
11909 | wxPoint temp7 ; |
11910 | PyObject * obj0 = 0 ; | |
11911 | PyObject * obj1 = 0 ; | |
11912 | PyObject * obj2 = 0 ; | |
11913 | PyObject * obj3 = 0 ; | |
11914 | PyObject * obj4 = 0 ; | |
994141e6 | 11915 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11916 | PyObject * obj6 = 0 ; |
11917 | char *kwnames[] = { | |
11918 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11919 | }; | |
11920 | ||
994141e6 | 11921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11924 | if (obj1) { |
11925 | { | |
11926 | arg2 = wxString_in_helper(obj1); | |
11927 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11928 | temp2 = True; |
d14a1e28 RD |
11929 | } |
11930 | } | |
11931 | if (obj2) { | |
11932 | { | |
11933 | arg3 = wxString_in_helper(obj2); | |
11934 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11935 | temp3 = True; |
d14a1e28 RD |
11936 | } |
11937 | } | |
11938 | if (obj3) { | |
11939 | { | |
11940 | arg4 = wxString_in_helper(obj3); | |
11941 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11942 | temp4 = True; |
d14a1e28 RD |
11943 | } |
11944 | } | |
11945 | if (obj4) { | |
11946 | { | |
11947 | arg5 = wxString_in_helper(obj4); | |
11948 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11949 | temp5 = True; |
d14a1e28 RD |
11950 | } |
11951 | } | |
994141e6 | 11952 | if (obj5) { |
15afbcd0 RD |
11953 | arg6 = (long) SWIG_AsLong(obj5); |
11954 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11955 | } |
d14a1e28 RD |
11956 | if (obj6) { |
11957 | { | |
11958 | arg7 = &temp7; | |
11959 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11960 | } | |
11961 | } | |
11962 | { | |
e3b71cb8 | 11963 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11965 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11966 | ||
11967 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 11968 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11969 | } |
15afbcd0 | 11970 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11971 | { |
11972 | if (temp2) | |
11973 | delete arg2; | |
11974 | } | |
11975 | { | |
11976 | if (temp3) | |
11977 | delete arg3; | |
11978 | } | |
11979 | { | |
11980 | if (temp4) | |
11981 | delete arg4; | |
11982 | } | |
11983 | { | |
11984 | if (temp5) | |
11985 | delete arg5; | |
11986 | } | |
11987 | return resultobj; | |
11988 | fail: | |
11989 | { | |
11990 | if (temp2) | |
11991 | delete arg2; | |
11992 | } | |
11993 | { | |
11994 | if (temp3) | |
11995 | delete arg3; | |
11996 | } | |
11997 | { | |
11998 | if (temp4) | |
11999 | delete arg4; | |
12000 | } | |
12001 | { | |
12002 | if (temp5) | |
12003 | delete arg5; | |
12004 | } | |
12005 | return NULL; | |
12006 | } | |
12007 | ||
12008 | ||
12009 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12010 | PyObject *resultobj; | |
12011 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12012 | wxString *arg2 = 0 ; | |
e811c8ce | 12013 | bool temp2 = False ; |
d14a1e28 RD |
12014 | PyObject * obj0 = 0 ; |
12015 | PyObject * obj1 = 0 ; | |
12016 | char *kwnames[] = { | |
12017 | (char *) "self",(char *) "message", NULL | |
12018 | }; | |
12019 | ||
12020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12023 | { |
12024 | arg2 = wxString_in_helper(obj1); | |
12025 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12026 | temp2 = True; |
d14a1e28 RD |
12027 | } |
12028 | { | |
12029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12030 | (arg1)->SetMessage((wxString const &)*arg2); | |
12031 | ||
12032 | wxPyEndAllowThreads(__tstate); | |
12033 | if (PyErr_Occurred()) SWIG_fail; | |
12034 | } | |
12035 | Py_INCREF(Py_None); resultobj = Py_None; | |
12036 | { | |
12037 | if (temp2) | |
12038 | delete arg2; | |
12039 | } | |
12040 | return resultobj; | |
12041 | fail: | |
12042 | { | |
12043 | if (temp2) | |
12044 | delete arg2; | |
12045 | } | |
12046 | return NULL; | |
12047 | } | |
12048 | ||
12049 | ||
12050 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12051 | PyObject *resultobj; | |
12052 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12053 | wxString *arg2 = 0 ; | |
e811c8ce | 12054 | bool temp2 = False ; |
d14a1e28 RD |
12055 | PyObject * obj0 = 0 ; |
12056 | PyObject * obj1 = 0 ; | |
12057 | char *kwnames[] = { | |
12058 | (char *) "self",(char *) "path", NULL | |
12059 | }; | |
12060 | ||
12061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12064 | { |
12065 | arg2 = wxString_in_helper(obj1); | |
12066 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12067 | temp2 = True; |
d14a1e28 RD |
12068 | } |
12069 | { | |
12070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12071 | (arg1)->SetPath((wxString const &)*arg2); | |
12072 | ||
12073 | wxPyEndAllowThreads(__tstate); | |
12074 | if (PyErr_Occurred()) SWIG_fail; | |
12075 | } | |
12076 | Py_INCREF(Py_None); resultobj = Py_None; | |
12077 | { | |
12078 | if (temp2) | |
12079 | delete arg2; | |
12080 | } | |
12081 | return resultobj; | |
12082 | fail: | |
12083 | { | |
12084 | if (temp2) | |
12085 | delete arg2; | |
12086 | } | |
12087 | return NULL; | |
12088 | } | |
12089 | ||
12090 | ||
12091 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12092 | PyObject *resultobj; | |
12093 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12094 | wxString *arg2 = 0 ; | |
e811c8ce | 12095 | bool temp2 = False ; |
d14a1e28 RD |
12096 | PyObject * obj0 = 0 ; |
12097 | PyObject * obj1 = 0 ; | |
12098 | char *kwnames[] = { | |
12099 | (char *) "self",(char *) "dir", NULL | |
12100 | }; | |
12101 | ||
12102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12105 | { |
12106 | arg2 = wxString_in_helper(obj1); | |
12107 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12108 | temp2 = True; |
d14a1e28 RD |
12109 | } |
12110 | { | |
12111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12112 | (arg1)->SetDirectory((wxString const &)*arg2); | |
12113 | ||
12114 | wxPyEndAllowThreads(__tstate); | |
12115 | if (PyErr_Occurred()) SWIG_fail; | |
12116 | } | |
12117 | Py_INCREF(Py_None); resultobj = Py_None; | |
12118 | { | |
12119 | if (temp2) | |
12120 | delete arg2; | |
12121 | } | |
12122 | return resultobj; | |
12123 | fail: | |
12124 | { | |
12125 | if (temp2) | |
12126 | delete arg2; | |
12127 | } | |
12128 | return NULL; | |
12129 | } | |
12130 | ||
12131 | ||
12132 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12133 | PyObject *resultobj; | |
12134 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12135 | wxString *arg2 = 0 ; | |
e811c8ce | 12136 | bool temp2 = False ; |
d14a1e28 RD |
12137 | PyObject * obj0 = 0 ; |
12138 | PyObject * obj1 = 0 ; | |
12139 | char *kwnames[] = { | |
12140 | (char *) "self",(char *) "name", NULL | |
12141 | }; | |
12142 | ||
12143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12146 | { |
12147 | arg2 = wxString_in_helper(obj1); | |
12148 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12149 | temp2 = True; |
d14a1e28 RD |
12150 | } |
12151 | { | |
12152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12153 | (arg1)->SetFilename((wxString const &)*arg2); | |
12154 | ||
12155 | wxPyEndAllowThreads(__tstate); | |
12156 | if (PyErr_Occurred()) SWIG_fail; | |
12157 | } | |
12158 | Py_INCREF(Py_None); resultobj = Py_None; | |
12159 | { | |
12160 | if (temp2) | |
12161 | delete arg2; | |
12162 | } | |
12163 | return resultobj; | |
12164 | fail: | |
12165 | { | |
12166 | if (temp2) | |
12167 | delete arg2; | |
12168 | } | |
12169 | return NULL; | |
12170 | } | |
12171 | ||
12172 | ||
12173 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12174 | PyObject *resultobj; | |
12175 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12176 | wxString *arg2 = 0 ; | |
e811c8ce | 12177 | bool temp2 = False ; |
d14a1e28 RD |
12178 | PyObject * obj0 = 0 ; |
12179 | PyObject * obj1 = 0 ; | |
12180 | char *kwnames[] = { | |
12181 | (char *) "self",(char *) "wildCard", NULL | |
12182 | }; | |
12183 | ||
12184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12187 | { |
12188 | arg2 = wxString_in_helper(obj1); | |
12189 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12190 | temp2 = True; |
d14a1e28 RD |
12191 | } |
12192 | { | |
12193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12194 | (arg1)->SetWildcard((wxString const &)*arg2); | |
12195 | ||
12196 | wxPyEndAllowThreads(__tstate); | |
12197 | if (PyErr_Occurred()) SWIG_fail; | |
12198 | } | |
12199 | Py_INCREF(Py_None); resultobj = Py_None; | |
12200 | { | |
12201 | if (temp2) | |
12202 | delete arg2; | |
12203 | } | |
12204 | return resultobj; | |
12205 | fail: | |
12206 | { | |
12207 | if (temp2) | |
12208 | delete arg2; | |
12209 | } | |
12210 | return NULL; | |
12211 | } | |
12212 | ||
12213 | ||
12214 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12215 | PyObject *resultobj; | |
12216 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12217 | long arg2 ; | |
12218 | PyObject * obj0 = 0 ; | |
994141e6 | 12219 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12220 | char *kwnames[] = { |
12221 | (char *) "self",(char *) "style", NULL | |
12222 | }; | |
12223 | ||
994141e6 | 12224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12227 | arg2 = (long) SWIG_AsLong(obj1); | |
12228 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12229 | { |
12230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12231 | (arg1)->SetStyle(arg2); | |
12232 | ||
12233 | wxPyEndAllowThreads(__tstate); | |
12234 | if (PyErr_Occurred()) SWIG_fail; | |
12235 | } | |
12236 | Py_INCREF(Py_None); resultobj = Py_None; | |
12237 | return resultobj; | |
12238 | fail: | |
12239 | return NULL; | |
12240 | } | |
12241 | ||
12242 | ||
12243 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12244 | PyObject *resultobj; | |
12245 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12246 | int arg2 ; | |
12247 | PyObject * obj0 = 0 ; | |
994141e6 | 12248 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12249 | char *kwnames[] = { |
12250 | (char *) "self",(char *) "filterIndex", NULL | |
12251 | }; | |
12252 | ||
994141e6 | 12253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12256 | arg2 = (int) SWIG_AsInt(obj1); | |
12257 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12258 | { |
12259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12260 | (arg1)->SetFilterIndex(arg2); | |
12261 | ||
12262 | wxPyEndAllowThreads(__tstate); | |
12263 | if (PyErr_Occurred()) SWIG_fail; | |
12264 | } | |
12265 | Py_INCREF(Py_None); resultobj = Py_None; | |
12266 | return resultobj; | |
12267 | fail: | |
12268 | return NULL; | |
12269 | } | |
12270 | ||
12271 | ||
12272 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12273 | PyObject *resultobj; | |
12274 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12275 | wxString result; | |
12276 | PyObject * obj0 = 0 ; | |
12277 | char *kwnames[] = { | |
12278 | (char *) "self", NULL | |
12279 | }; | |
12280 | ||
12281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12284 | { |
12285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12286 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
12287 | ||
12288 | wxPyEndAllowThreads(__tstate); | |
12289 | if (PyErr_Occurred()) SWIG_fail; | |
12290 | } | |
12291 | { | |
12292 | #if wxUSE_UNICODE | |
12293 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12294 | #else | |
12295 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12296 | #endif | |
12297 | } | |
12298 | return resultobj; | |
12299 | fail: | |
12300 | return NULL; | |
12301 | } | |
12302 | ||
12303 | ||
12304 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12305 | PyObject *resultobj; | |
12306 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12307 | wxString result; | |
12308 | PyObject * obj0 = 0 ; | |
12309 | char *kwnames[] = { | |
12310 | (char *) "self", NULL | |
12311 | }; | |
12312 | ||
12313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12316 | { |
12317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12318 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
12319 | ||
12320 | wxPyEndAllowThreads(__tstate); | |
12321 | if (PyErr_Occurred()) SWIG_fail; | |
12322 | } | |
12323 | { | |
12324 | #if wxUSE_UNICODE | |
12325 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12326 | #else | |
12327 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12328 | #endif | |
12329 | } | |
12330 | return resultobj; | |
12331 | fail: | |
12332 | return NULL; | |
12333 | } | |
12334 | ||
12335 | ||
12336 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12337 | PyObject *resultobj; | |
12338 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12339 | wxString result; | |
12340 | PyObject * obj0 = 0 ; | |
12341 | char *kwnames[] = { | |
12342 | (char *) "self", NULL | |
12343 | }; | |
12344 | ||
12345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12348 | { |
12349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12350 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12351 | ||
12352 | wxPyEndAllowThreads(__tstate); | |
12353 | if (PyErr_Occurred()) SWIG_fail; | |
12354 | } | |
12355 | { | |
12356 | #if wxUSE_UNICODE | |
12357 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12358 | #else | |
12359 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12360 | #endif | |
12361 | } | |
12362 | return resultobj; | |
12363 | fail: | |
12364 | return NULL; | |
12365 | } | |
12366 | ||
12367 | ||
12368 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12369 | PyObject *resultobj; | |
12370 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12371 | wxString result; | |
12372 | PyObject * obj0 = 0 ; | |
12373 | char *kwnames[] = { | |
12374 | (char *) "self", NULL | |
12375 | }; | |
12376 | ||
12377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12380 | { |
12381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12382 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12383 | ||
12384 | wxPyEndAllowThreads(__tstate); | |
12385 | if (PyErr_Occurred()) SWIG_fail; | |
12386 | } | |
12387 | { | |
12388 | #if wxUSE_UNICODE | |
12389 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12390 | #else | |
12391 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12392 | #endif | |
12393 | } | |
12394 | return resultobj; | |
12395 | fail: | |
12396 | return NULL; | |
12397 | } | |
12398 | ||
12399 | ||
12400 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12401 | PyObject *resultobj; | |
12402 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12403 | wxString result; | |
12404 | PyObject * obj0 = 0 ; | |
12405 | char *kwnames[] = { | |
12406 | (char *) "self", NULL | |
12407 | }; | |
12408 | ||
12409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12412 | { |
12413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12414 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12415 | ||
12416 | wxPyEndAllowThreads(__tstate); | |
12417 | if (PyErr_Occurred()) SWIG_fail; | |
12418 | } | |
12419 | { | |
12420 | #if wxUSE_UNICODE | |
12421 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12422 | #else | |
12423 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12424 | #endif | |
12425 | } | |
12426 | return resultobj; | |
12427 | fail: | |
12428 | return NULL; | |
12429 | } | |
12430 | ||
12431 | ||
12432 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12433 | PyObject *resultobj; | |
12434 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12435 | long result; | |
12436 | PyObject * obj0 = 0 ; | |
12437 | char *kwnames[] = { | |
12438 | (char *) "self", NULL | |
12439 | }; | |
12440 | ||
12441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12444 | { |
12445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12446 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12447 | ||
12448 | wxPyEndAllowThreads(__tstate); | |
12449 | if (PyErr_Occurred()) SWIG_fail; | |
12450 | } | |
15afbcd0 | 12451 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
12452 | return resultobj; |
12453 | fail: | |
12454 | return NULL; | |
12455 | } | |
12456 | ||
12457 | ||
12458 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12459 | PyObject *resultobj; | |
12460 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12461 | int result; | |
12462 | PyObject * obj0 = 0 ; | |
12463 | char *kwnames[] = { | |
12464 | (char *) "self", NULL | |
12465 | }; | |
12466 | ||
12467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12470 | { |
12471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12472 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12473 | ||
12474 | wxPyEndAllowThreads(__tstate); | |
12475 | if (PyErr_Occurred()) SWIG_fail; | |
12476 | } | |
15afbcd0 | 12477 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12478 | return resultobj; |
12479 | fail: | |
12480 | return NULL; | |
12481 | } | |
12482 | ||
12483 | ||
12484 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12485 | PyObject *resultobj; | |
12486 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12487 | PyObject *result; | |
12488 | PyObject * obj0 = 0 ; | |
12489 | char *kwnames[] = { | |
12490 | (char *) "self", NULL | |
12491 | }; | |
12492 | ||
12493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12496 | { |
12497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12498 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12499 | ||
12500 | wxPyEndAllowThreads(__tstate); | |
12501 | if (PyErr_Occurred()) SWIG_fail; | |
12502 | } | |
12503 | resultobj = result; | |
12504 | return resultobj; | |
12505 | fail: | |
12506 | return NULL; | |
12507 | } | |
12508 | ||
12509 | ||
12510 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12511 | PyObject *resultobj; | |
12512 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12513 | PyObject *result; | |
12514 | PyObject * obj0 = 0 ; | |
12515 | char *kwnames[] = { | |
12516 | (char *) "self", NULL | |
12517 | }; | |
12518 | ||
12519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12522 | { |
12523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12524 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12525 | ||
12526 | wxPyEndAllowThreads(__tstate); | |
12527 | if (PyErr_Occurred()) SWIG_fail; | |
12528 | } | |
12529 | resultobj = result; | |
12530 | return resultobj; | |
12531 | fail: | |
12532 | return NULL; | |
12533 | } | |
12534 | ||
12535 | ||
12536 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12537 | PyObject *obj; | |
12538 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12539 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12540 | Py_INCREF(obj); | |
12541 | return Py_BuildValue((char *)""); | |
12542 | } | |
12543 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12544 | PyObject *resultobj; | |
12545 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12546 | wxString *arg2 = 0 ; | |
12547 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12548 | int arg4 = (int) 0 ; |
248ed943 | 12549 | wxString *arg5 = (wxString *) NULL ; |
d14a1e28 RD |
12550 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
12551 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12552 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12553 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
12554 | bool temp2 = False ; |
12555 | bool temp3 = False ; | |
4d5c3d91 | 12556 | wxPoint temp6 ; |
d14a1e28 RD |
12557 | PyObject * obj0 = 0 ; |
12558 | PyObject * obj1 = 0 ; | |
12559 | PyObject * obj2 = 0 ; | |
994141e6 | 12560 | PyObject * obj3 = 0 ; |
d14a1e28 | 12561 | PyObject * obj4 = 0 ; |
994141e6 | 12562 | PyObject * obj5 = 0 ; |
d14a1e28 | 12563 | char *kwnames[] = { |
4d5c3d91 | 12564 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12565 | }; |
12566 | ||
4d5c3d91 | 12567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12570 | { |
12571 | arg2 = wxString_in_helper(obj1); | |
12572 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12573 | temp2 = True; |
d14a1e28 RD |
12574 | } |
12575 | { | |
12576 | arg3 = wxString_in_helper(obj2); | |
12577 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12578 | temp3 = True; |
d14a1e28 | 12579 | } |
4d5c3d91 RD |
12580 | if (obj3) { |
12581 | { | |
12582 | arg4 = PyList_Size(obj3); | |
12583 | arg5 = wxString_LIST_helper(obj3); | |
12584 | if (arg5 == NULL) SWIG_fail; | |
12585 | } | |
7eae615b | 12586 | } |
4d5c3d91 | 12587 | if (obj4) { |
15afbcd0 RD |
12588 | arg6 = (long) SWIG_AsLong(obj4); |
12589 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12590 | } |
4d5c3d91 | 12591 | if (obj5) { |
d14a1e28 | 12592 | { |
4d5c3d91 RD |
12593 | arg7 = &temp6; |
12594 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12595 | } |
12596 | } | |
12597 | { | |
e3b71cb8 | 12598 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12600 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12601 | ||
12602 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 12603 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12604 | } |
15afbcd0 | 12605 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12606 | { |
12607 | if (temp2) | |
12608 | delete arg2; | |
12609 | } | |
12610 | { | |
12611 | if (temp3) | |
12612 | delete arg3; | |
12613 | } | |
7eae615b | 12614 | { |
4d5c3d91 | 12615 | if (arg5) delete [] arg5; |
7eae615b | 12616 | } |
d14a1e28 RD |
12617 | return resultobj; |
12618 | fail: | |
12619 | { | |
12620 | if (temp2) | |
12621 | delete arg2; | |
12622 | } | |
12623 | { | |
12624 | if (temp3) | |
12625 | delete arg3; | |
12626 | } | |
7eae615b | 12627 | { |
4d5c3d91 | 12628 | if (arg5) delete [] arg5; |
7eae615b | 12629 | } |
d14a1e28 RD |
12630 | return NULL; |
12631 | } | |
12632 | ||
12633 | ||
12634 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12635 | PyObject *resultobj; | |
12636 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12637 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12638 | bool temp2 = False ; |
d14a1e28 RD |
12639 | PyObject * obj0 = 0 ; |
12640 | PyObject * obj1 = 0 ; | |
12641 | char *kwnames[] = { | |
12642 | (char *) "self",(char *) "selections", NULL | |
12643 | }; | |
12644 | ||
12645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12648 | { |
12649 | if (! PySequence_Check(obj1)) { | |
12650 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12651 | SWIG_fail; | |
12652 | } | |
12653 | arg2 = new wxArrayInt; | |
3adfb63b | 12654 | temp2 = True; |
d14a1e28 RD |
12655 | int i, len=PySequence_Length(obj1); |
12656 | for (i=0; i<len; i++) { | |
12657 | PyObject* item = PySequence_GetItem(obj1, i); | |
12658 | PyObject* number = PyNumber_Int(item); | |
12659 | arg2->Add(PyInt_AS_LONG(number)); | |
12660 | Py_DECREF(item); | |
12661 | Py_DECREF(number); | |
12662 | } | |
12663 | } | |
12664 | { | |
12665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12666 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12667 | ||
12668 | wxPyEndAllowThreads(__tstate); | |
12669 | if (PyErr_Occurred()) SWIG_fail; | |
12670 | } | |
12671 | Py_INCREF(Py_None); resultobj = Py_None; | |
12672 | { | |
3adfb63b | 12673 | if (temp2) delete arg2; |
d14a1e28 RD |
12674 | } |
12675 | return resultobj; | |
12676 | fail: | |
12677 | { | |
3adfb63b | 12678 | if (temp2) delete arg2; |
d14a1e28 RD |
12679 | } |
12680 | return NULL; | |
12681 | } | |
12682 | ||
12683 | ||
12684 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12685 | PyObject *resultobj; | |
12686 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12687 | PyObject *result; | |
12688 | PyObject * obj0 = 0 ; | |
12689 | char *kwnames[] = { | |
12690 | (char *) "self", NULL | |
12691 | }; | |
12692 | ||
12693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12696 | { |
12697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12698 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12699 | ||
12700 | wxPyEndAllowThreads(__tstate); | |
12701 | if (PyErr_Occurred()) SWIG_fail; | |
12702 | } | |
12703 | resultobj = result; | |
12704 | return resultobj; | |
12705 | fail: | |
12706 | return NULL; | |
12707 | } | |
12708 | ||
12709 | ||
12710 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12711 | PyObject *obj; | |
12712 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12713 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12714 | Py_INCREF(obj); | |
12715 | return Py_BuildValue((char *)""); | |
12716 | } | |
12717 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12718 | PyObject *resultobj; | |
12719 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12720 | wxString *arg2 = 0 ; | |
12721 | wxString *arg3 = 0 ; | |
12722 | int arg4 ; | |
12723 | wxString *arg5 = (wxString *) 0 ; | |
12724 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12725 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12726 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12727 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12728 | bool temp2 = False ; |
12729 | bool temp3 = False ; | |
d14a1e28 RD |
12730 | wxPoint temp6 ; |
12731 | PyObject * obj0 = 0 ; | |
12732 | PyObject * obj1 = 0 ; | |
12733 | PyObject * obj2 = 0 ; | |
12734 | PyObject * obj3 = 0 ; | |
994141e6 | 12735 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12736 | PyObject * obj5 = 0 ; |
12737 | char *kwnames[] = { | |
12738 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12739 | }; | |
12740 | ||
994141e6 | 12741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12744 | { |
12745 | arg2 = wxString_in_helper(obj1); | |
12746 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12747 | temp2 = True; |
d14a1e28 RD |
12748 | } |
12749 | { | |
12750 | arg3 = wxString_in_helper(obj2); | |
12751 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12752 | temp3 = True; |
d14a1e28 RD |
12753 | } |
12754 | { | |
12755 | arg4 = PyList_Size(obj3); | |
12756 | arg5 = wxString_LIST_helper(obj3); | |
12757 | if (arg5 == NULL) SWIG_fail; | |
12758 | } | |
994141e6 | 12759 | if (obj4) { |
15afbcd0 RD |
12760 | arg6 = (long) SWIG_AsLong(obj4); |
12761 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12762 | } |
d14a1e28 RD |
12763 | if (obj5) { |
12764 | { | |
12765 | arg7 = &temp6; | |
12766 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12767 | } | |
12768 | } | |
12769 | { | |
e3b71cb8 | 12770 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12772 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12773 | ||
12774 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 12775 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12776 | } |
15afbcd0 | 12777 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12778 | { |
12779 | if (temp2) | |
12780 | delete arg2; | |
12781 | } | |
12782 | { | |
12783 | if (temp3) | |
12784 | delete arg3; | |
12785 | } | |
12786 | { | |
12787 | if (arg5) delete [] arg5; | |
12788 | } | |
12789 | return resultobj; | |
12790 | fail: | |
12791 | { | |
12792 | if (temp2) | |
12793 | delete arg2; | |
12794 | } | |
12795 | { | |
12796 | if (temp3) | |
12797 | delete arg3; | |
12798 | } | |
12799 | { | |
12800 | if (arg5) delete [] arg5; | |
12801 | } | |
12802 | return NULL; | |
12803 | } | |
12804 | ||
12805 | ||
12806 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12807 | PyObject *resultobj; | |
12808 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12809 | int result; | |
12810 | PyObject * obj0 = 0 ; | |
12811 | char *kwnames[] = { | |
12812 | (char *) "self", NULL | |
12813 | }; | |
12814 | ||
12815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12818 | { |
12819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12820 | result = (int)(arg1)->GetSelection(); | |
12821 | ||
12822 | wxPyEndAllowThreads(__tstate); | |
12823 | if (PyErr_Occurred()) SWIG_fail; | |
12824 | } | |
15afbcd0 | 12825 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12826 | return resultobj; |
12827 | fail: | |
12828 | return NULL; | |
12829 | } | |
12830 | ||
12831 | ||
12832 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12833 | PyObject *resultobj; | |
12834 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12835 | wxString result; | |
12836 | PyObject * obj0 = 0 ; | |
12837 | char *kwnames[] = { | |
12838 | (char *) "self", NULL | |
12839 | }; | |
12840 | ||
12841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12844 | { |
12845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12846 | result = (arg1)->GetStringSelection(); | |
12847 | ||
12848 | wxPyEndAllowThreads(__tstate); | |
12849 | if (PyErr_Occurred()) SWIG_fail; | |
12850 | } | |
12851 | { | |
12852 | #if wxUSE_UNICODE | |
12853 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12854 | #else | |
12855 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12856 | #endif | |
12857 | } | |
12858 | return resultobj; | |
12859 | fail: | |
12860 | return NULL; | |
12861 | } | |
12862 | ||
12863 | ||
12864 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12865 | PyObject *resultobj; | |
12866 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12867 | int arg2 ; | |
12868 | PyObject * obj0 = 0 ; | |
994141e6 | 12869 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12870 | char *kwnames[] = { |
12871 | (char *) "self",(char *) "sel", NULL | |
12872 | }; | |
12873 | ||
994141e6 | 12874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12877 | arg2 = (int) SWIG_AsInt(obj1); | |
12878 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12879 | { |
12880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12881 | (arg1)->SetSelection(arg2); | |
12882 | ||
12883 | wxPyEndAllowThreads(__tstate); | |
12884 | if (PyErr_Occurred()) SWIG_fail; | |
12885 | } | |
12886 | Py_INCREF(Py_None); resultobj = Py_None; | |
12887 | return resultobj; | |
12888 | fail: | |
12889 | return NULL; | |
12890 | } | |
12891 | ||
12892 | ||
d14a1e28 RD |
12893 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12894 | PyObject *obj; | |
12895 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12896 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12897 | Py_INCREF(obj); | |
12898 | return Py_BuildValue((char *)""); | |
12899 | } | |
12900 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12901 | PyObject *resultobj; | |
12902 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12903 | wxString *arg2 = 0 ; | |
12904 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12905 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12906 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12907 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12908 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12909 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12910 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12911 | wxTextEntryDialog *result; | |
e811c8ce RD |
12912 | bool temp2 = False ; |
12913 | bool temp3 = False ; | |
12914 | bool temp4 = False ; | |
d14a1e28 RD |
12915 | wxPoint temp6 ; |
12916 | PyObject * obj0 = 0 ; | |
12917 | PyObject * obj1 = 0 ; | |
12918 | PyObject * obj2 = 0 ; | |
12919 | PyObject * obj3 = 0 ; | |
994141e6 | 12920 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12921 | PyObject * obj5 = 0 ; |
12922 | char *kwnames[] = { | |
12923 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12924 | }; | |
12925 | ||
994141e6 | 12926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12929 | { |
12930 | arg2 = wxString_in_helper(obj1); | |
12931 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12932 | temp2 = True; |
d14a1e28 RD |
12933 | } |
12934 | if (obj2) { | |
12935 | { | |
12936 | arg3 = wxString_in_helper(obj2); | |
12937 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12938 | temp3 = True; |
d14a1e28 RD |
12939 | } |
12940 | } | |
12941 | if (obj3) { | |
12942 | { | |
12943 | arg4 = wxString_in_helper(obj3); | |
12944 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12945 | temp4 = True; |
d14a1e28 RD |
12946 | } |
12947 | } | |
994141e6 | 12948 | if (obj4) { |
15afbcd0 RD |
12949 | arg5 = (long) SWIG_AsLong(obj4); |
12950 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12951 | } |
d14a1e28 RD |
12952 | if (obj5) { |
12953 | { | |
12954 | arg6 = &temp6; | |
12955 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12956 | } | |
12957 | } | |
12958 | { | |
e3b71cb8 | 12959 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12961 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12962 | ||
12963 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 12964 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12965 | } |
15afbcd0 | 12966 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12967 | { |
12968 | if (temp2) | |
12969 | delete arg2; | |
12970 | } | |
12971 | { | |
12972 | if (temp3) | |
12973 | delete arg3; | |
12974 | } | |
12975 | { | |
12976 | if (temp4) | |
12977 | delete arg4; | |
12978 | } | |
12979 | return resultobj; | |
12980 | fail: | |
12981 | { | |
12982 | if (temp2) | |
12983 | delete arg2; | |
12984 | } | |
12985 | { | |
12986 | if (temp3) | |
12987 | delete arg3; | |
12988 | } | |
12989 | { | |
12990 | if (temp4) | |
12991 | delete arg4; | |
12992 | } | |
12993 | return NULL; | |
12994 | } | |
12995 | ||
12996 | ||
12997 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12998 | PyObject *resultobj; | |
12999 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13000 | wxString result; | |
13001 | PyObject * obj0 = 0 ; | |
13002 | char *kwnames[] = { | |
13003 | (char *) "self", NULL | |
13004 | }; | |
13005 | ||
13006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13009 | { |
13010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13011 | result = (arg1)->GetValue(); | |
13012 | ||
13013 | wxPyEndAllowThreads(__tstate); | |
13014 | if (PyErr_Occurred()) SWIG_fail; | |
13015 | } | |
13016 | { | |
13017 | #if wxUSE_UNICODE | |
13018 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13019 | #else | |
13020 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13021 | #endif | |
13022 | } | |
13023 | return resultobj; | |
13024 | fail: | |
13025 | return NULL; | |
13026 | } | |
13027 | ||
13028 | ||
13029 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13030 | PyObject *resultobj; | |
13031 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13032 | wxString *arg2 = 0 ; | |
e811c8ce | 13033 | bool temp2 = False ; |
d14a1e28 RD |
13034 | PyObject * obj0 = 0 ; |
13035 | PyObject * obj1 = 0 ; | |
13036 | char *kwnames[] = { | |
13037 | (char *) "self",(char *) "value", NULL | |
13038 | }; | |
13039 | ||
13040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13043 | { |
13044 | arg2 = wxString_in_helper(obj1); | |
13045 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13046 | temp2 = True; |
d14a1e28 RD |
13047 | } |
13048 | { | |
13049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13050 | (arg1)->SetValue((wxString const &)*arg2); | |
13051 | ||
13052 | wxPyEndAllowThreads(__tstate); | |
13053 | if (PyErr_Occurred()) SWIG_fail; | |
13054 | } | |
13055 | Py_INCREF(Py_None); resultobj = Py_None; | |
13056 | { | |
13057 | if (temp2) | |
13058 | delete arg2; | |
13059 | } | |
13060 | return resultobj; | |
13061 | fail: | |
13062 | { | |
13063 | if (temp2) | |
13064 | delete arg2; | |
13065 | } | |
13066 | return NULL; | |
13067 | } | |
13068 | ||
13069 | ||
d14a1e28 RD |
13070 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
13071 | PyObject *obj; | |
13072 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13073 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
13074 | Py_INCREF(obj); | |
13075 | return Py_BuildValue((char *)""); | |
13076 | } | |
13077 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13078 | PyObject *resultobj; | |
13079 | wxFontData *result; | |
13080 | char *kwnames[] = { | |
13081 | NULL | |
13082 | }; | |
13083 | ||
13084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
13085 | { | |
13086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13087 | result = (wxFontData *)new wxFontData(); | |
13088 | ||
13089 | wxPyEndAllowThreads(__tstate); | |
13090 | if (PyErr_Occurred()) SWIG_fail; | |
13091 | } | |
15afbcd0 | 13092 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
13093 | return resultobj; |
13094 | fail: | |
13095 | return NULL; | |
13096 | } | |
13097 | ||
13098 | ||
13099 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13100 | PyObject *resultobj; | |
13101 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13102 | PyObject * obj0 = 0 ; | |
13103 | char *kwnames[] = { | |
13104 | (char *) "self", NULL | |
13105 | }; | |
13106 | ||
13107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13110 | { |
13111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13112 | delete arg1; | |
13113 | ||
13114 | wxPyEndAllowThreads(__tstate); | |
13115 | if (PyErr_Occurred()) SWIG_fail; | |
13116 | } | |
13117 | Py_INCREF(Py_None); resultobj = Py_None; | |
13118 | return resultobj; | |
13119 | fail: | |
13120 | return NULL; | |
13121 | } | |
13122 | ||
13123 | ||
13124 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13125 | PyObject *resultobj; | |
13126 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13127 | bool arg2 ; | |
13128 | PyObject * obj0 = 0 ; | |
13129 | PyObject * obj1 = 0 ; | |
13130 | char *kwnames[] = { | |
13131 | (char *) "self",(char *) "enable", NULL | |
13132 | }; | |
13133 | ||
13134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13137 | arg2 = (bool) SWIG_AsBool(obj1); | |
13138 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13139 | { |
13140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13141 | (arg1)->EnableEffects(arg2); | |
13142 | ||
13143 | wxPyEndAllowThreads(__tstate); | |
13144 | if (PyErr_Occurred()) SWIG_fail; | |
13145 | } | |
13146 | Py_INCREF(Py_None); resultobj = Py_None; | |
13147 | return resultobj; | |
13148 | fail: | |
13149 | return NULL; | |
13150 | } | |
13151 | ||
13152 | ||
13153 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13154 | PyObject *resultobj; | |
13155 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13156 | bool result; | |
13157 | PyObject * obj0 = 0 ; | |
13158 | char *kwnames[] = { | |
13159 | (char *) "self", NULL | |
13160 | }; | |
13161 | ||
13162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13165 | { |
13166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13167 | result = (bool)(arg1)->GetAllowSymbols(); | |
13168 | ||
13169 | wxPyEndAllowThreads(__tstate); | |
13170 | if (PyErr_Occurred()) SWIG_fail; | |
13171 | } | |
4f89f6a3 RD |
13172 | { |
13173 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13174 | } | |
d14a1e28 RD |
13175 | return resultobj; |
13176 | fail: | |
13177 | return NULL; | |
13178 | } | |
13179 | ||
13180 | ||
13181 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13182 | PyObject *resultobj; | |
13183 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13184 | wxColour result; | |
13185 | PyObject * obj0 = 0 ; | |
13186 | char *kwnames[] = { | |
13187 | (char *) "self", NULL | |
13188 | }; | |
13189 | ||
13190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13193 | { |
13194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13195 | result = (arg1)->GetColour(); | |
13196 | ||
13197 | wxPyEndAllowThreads(__tstate); | |
13198 | if (PyErr_Occurred()) SWIG_fail; | |
13199 | } | |
13200 | { | |
13201 | wxColour * resultptr; | |
13202 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 13203 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13204 | } |
13205 | return resultobj; | |
13206 | fail: | |
13207 | return NULL; | |
13208 | } | |
13209 | ||
13210 | ||
13211 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13212 | PyObject *resultobj; | |
13213 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13214 | wxFont result; | |
13215 | PyObject * obj0 = 0 ; | |
13216 | char *kwnames[] = { | |
13217 | (char *) "self", NULL | |
13218 | }; | |
13219 | ||
13220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13223 | { |
13224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13225 | result = (arg1)->GetChosenFont(); | |
13226 | ||
13227 | wxPyEndAllowThreads(__tstate); | |
13228 | if (PyErr_Occurred()) SWIG_fail; | |
13229 | } | |
13230 | { | |
13231 | wxFont * resultptr; | |
13232 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13233 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13234 | } |
13235 | return resultobj; | |
13236 | fail: | |
13237 | return NULL; | |
13238 | } | |
13239 | ||
13240 | ||
13241 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13242 | PyObject *resultobj; | |
13243 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13244 | bool result; | |
13245 | PyObject * obj0 = 0 ; | |
13246 | char *kwnames[] = { | |
13247 | (char *) "self", NULL | |
13248 | }; | |
13249 | ||
13250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13253 | { |
13254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13255 | result = (bool)(arg1)->GetEnableEffects(); | |
13256 | ||
13257 | wxPyEndAllowThreads(__tstate); | |
13258 | if (PyErr_Occurred()) SWIG_fail; | |
13259 | } | |
4f89f6a3 RD |
13260 | { |
13261 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13262 | } | |
d14a1e28 RD |
13263 | return resultobj; |
13264 | fail: | |
13265 | return NULL; | |
13266 | } | |
13267 | ||
13268 | ||
13269 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13270 | PyObject *resultobj; | |
13271 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13272 | wxFont result; | |
13273 | PyObject * obj0 = 0 ; | |
13274 | char *kwnames[] = { | |
13275 | (char *) "self", NULL | |
13276 | }; | |
13277 | ||
13278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13281 | { |
13282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13283 | result = (arg1)->GetInitialFont(); | |
13284 | ||
13285 | wxPyEndAllowThreads(__tstate); | |
13286 | if (PyErr_Occurred()) SWIG_fail; | |
13287 | } | |
13288 | { | |
13289 | wxFont * resultptr; | |
13290 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13291 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13292 | } |
13293 | return resultobj; | |
13294 | fail: | |
13295 | return NULL; | |
13296 | } | |
13297 | ||
13298 | ||
13299 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13300 | PyObject *resultobj; | |
13301 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13302 | bool result; | |
13303 | PyObject * obj0 = 0 ; | |
13304 | char *kwnames[] = { | |
13305 | (char *) "self", NULL | |
13306 | }; | |
13307 | ||
13308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13311 | { |
13312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13313 | result = (bool)(arg1)->GetShowHelp(); | |
13314 | ||
13315 | wxPyEndAllowThreads(__tstate); | |
13316 | if (PyErr_Occurred()) SWIG_fail; | |
13317 | } | |
4f89f6a3 RD |
13318 | { |
13319 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13320 | } | |
d14a1e28 RD |
13321 | return resultobj; |
13322 | fail: | |
13323 | return NULL; | |
13324 | } | |
13325 | ||
13326 | ||
13327 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13328 | PyObject *resultobj; | |
13329 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13330 | bool arg2 ; | |
13331 | PyObject * obj0 = 0 ; | |
13332 | PyObject * obj1 = 0 ; | |
13333 | char *kwnames[] = { | |
13334 | (char *) "self",(char *) "allowSymbols", NULL | |
13335 | }; | |
13336 | ||
13337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13340 | arg2 = (bool) SWIG_AsBool(obj1); | |
13341 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13342 | { |
13343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13344 | (arg1)->SetAllowSymbols(arg2); | |
13345 | ||
13346 | wxPyEndAllowThreads(__tstate); | |
13347 | if (PyErr_Occurred()) SWIG_fail; | |
13348 | } | |
13349 | Py_INCREF(Py_None); resultobj = Py_None; | |
13350 | return resultobj; | |
13351 | fail: | |
13352 | return NULL; | |
13353 | } | |
13354 | ||
13355 | ||
13356 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13357 | PyObject *resultobj; | |
13358 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13359 | wxFont *arg2 = 0 ; | |
13360 | PyObject * obj0 = 0 ; | |
13361 | PyObject * obj1 = 0 ; | |
13362 | char *kwnames[] = { | |
13363 | (char *) "self",(char *) "font", NULL | |
13364 | }; | |
13365 | ||
13366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13367 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13368 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13369 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13370 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13371 | SWIG_fail; | |
d14a1e28 | 13372 | if (arg2 == NULL) { |
15afbcd0 RD |
13373 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13374 | SWIG_fail; | |
d14a1e28 RD |
13375 | } |
13376 | { | |
13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13378 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13379 | ||
13380 | wxPyEndAllowThreads(__tstate); | |
13381 | if (PyErr_Occurred()) SWIG_fail; | |
13382 | } | |
13383 | Py_INCREF(Py_None); resultobj = Py_None; | |
13384 | return resultobj; | |
13385 | fail: | |
13386 | return NULL; | |
13387 | } | |
13388 | ||
13389 | ||
13390 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13391 | PyObject *resultobj; | |
13392 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13393 | wxColour *arg2 = 0 ; | |
13394 | wxColour temp2 ; | |
13395 | PyObject * obj0 = 0 ; | |
13396 | PyObject * obj1 = 0 ; | |
13397 | char *kwnames[] = { | |
13398 | (char *) "self",(char *) "colour", NULL | |
13399 | }; | |
13400 | ||
13401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13404 | { |
13405 | arg2 = &temp2; | |
13406 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13407 | } | |
13408 | { | |
13409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13410 | (arg1)->SetColour((wxColour const &)*arg2); | |
13411 | ||
13412 | wxPyEndAllowThreads(__tstate); | |
13413 | if (PyErr_Occurred()) SWIG_fail; | |
13414 | } | |
13415 | Py_INCREF(Py_None); resultobj = Py_None; | |
13416 | return resultobj; | |
13417 | fail: | |
13418 | return NULL; | |
13419 | } | |
13420 | ||
13421 | ||
13422 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13423 | PyObject *resultobj; | |
13424 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13425 | wxFont *arg2 = 0 ; | |
13426 | PyObject * obj0 = 0 ; | |
13427 | PyObject * obj1 = 0 ; | |
13428 | char *kwnames[] = { | |
13429 | (char *) "self",(char *) "font", NULL | |
13430 | }; | |
13431 | ||
13432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13435 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13436 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13437 | SWIG_fail; | |
d14a1e28 | 13438 | if (arg2 == NULL) { |
15afbcd0 RD |
13439 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13440 | SWIG_fail; | |
d14a1e28 RD |
13441 | } |
13442 | { | |
13443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13444 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13445 | ||
13446 | wxPyEndAllowThreads(__tstate); | |
13447 | if (PyErr_Occurred()) SWIG_fail; | |
13448 | } | |
13449 | Py_INCREF(Py_None); resultobj = Py_None; | |
13450 | return resultobj; | |
13451 | fail: | |
13452 | return NULL; | |
13453 | } | |
13454 | ||
13455 | ||
13456 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13457 | PyObject *resultobj; | |
13458 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13459 | int arg2 ; | |
13460 | int arg3 ; | |
13461 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13462 | PyObject * obj1 = 0 ; |
13463 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13464 | char *kwnames[] = { |
13465 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13466 | }; | |
13467 | ||
994141e6 | 13468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13471 | arg2 = (int) SWIG_AsInt(obj1); | |
13472 | if (PyErr_Occurred()) SWIG_fail; | |
13473 | arg3 = (int) SWIG_AsInt(obj2); | |
13474 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13475 | { |
13476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13477 | (arg1)->SetRange(arg2,arg3); | |
13478 | ||
13479 | wxPyEndAllowThreads(__tstate); | |
13480 | if (PyErr_Occurred()) SWIG_fail; | |
13481 | } | |
13482 | Py_INCREF(Py_None); resultobj = Py_None; | |
13483 | return resultobj; | |
13484 | fail: | |
13485 | return NULL; | |
13486 | } | |
13487 | ||
13488 | ||
13489 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13490 | PyObject *resultobj; | |
13491 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13492 | bool arg2 ; | |
13493 | PyObject * obj0 = 0 ; | |
13494 | PyObject * obj1 = 0 ; | |
13495 | char *kwnames[] = { | |
13496 | (char *) "self",(char *) "showHelp", NULL | |
13497 | }; | |
13498 | ||
13499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13502 | arg2 = (bool) SWIG_AsBool(obj1); | |
13503 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13504 | { |
13505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13506 | (arg1)->SetShowHelp(arg2); | |
13507 | ||
13508 | wxPyEndAllowThreads(__tstate); | |
13509 | if (PyErr_Occurred()) SWIG_fail; | |
13510 | } | |
13511 | Py_INCREF(Py_None); resultobj = Py_None; | |
13512 | return resultobj; | |
13513 | fail: | |
13514 | return NULL; | |
13515 | } | |
13516 | ||
13517 | ||
13518 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13519 | PyObject *obj; | |
13520 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13521 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13522 | Py_INCREF(obj); | |
13523 | return Py_BuildValue((char *)""); | |
13524 | } | |
15afbcd0 | 13525 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13526 | PyObject *resultobj; |
e498079e RD |
13527 | wxWindow *arg1 = (wxWindow *) 0 ; |
13528 | wxFontData *arg2 = 0 ; | |
13529 | wxFontDialog *result; | |
d14a1e28 | 13530 | PyObject * obj0 = 0 ; |
e498079e | 13531 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
13532 | char *kwnames[] = { |
13533 | (char *) "parent",(char *) "data", NULL | |
13534 | }; | |
d14a1e28 | 13535 | |
15afbcd0 RD |
13536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13539 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13540 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13541 | SWIG_fail; | |
e498079e | 13542 | if (arg2 == NULL) { |
15afbcd0 RD |
13543 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13544 | SWIG_fail; | |
e498079e | 13545 | } |
d14a1e28 | 13546 | { |
e3b71cb8 | 13547 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 13548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
e498079e | 13549 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13550 | |
13551 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 13552 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13553 | } |
15afbcd0 | 13554 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13555 | return resultobj; |
13556 | fail: | |
13557 | return NULL; | |
13558 | } | |
13559 | ||
13560 | ||
e498079e | 13561 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13562 | PyObject *resultobj; |
13563 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 13564 | wxFontData *result; |
d14a1e28 RD |
13565 | PyObject * obj0 = 0 ; |
13566 | char *kwnames[] = { | |
13567 | (char *) "self", NULL | |
13568 | }; | |
13569 | ||
e498079e | 13570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
13571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13573 | { |
13574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
13575 | { |
13576 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13577 | result = (wxFontData *) &_result_ref; | |
13578 | } | |
d14a1e28 RD |
13579 | |
13580 | wxPyEndAllowThreads(__tstate); | |
13581 | if (PyErr_Occurred()) SWIG_fail; | |
13582 | } | |
15afbcd0 | 13583 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13584 | return resultobj; |
13585 | fail: | |
13586 | return NULL; | |
13587 | } | |
13588 | ||
13589 | ||
13590 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13591 | PyObject *obj; | |
13592 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13593 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13594 | Py_INCREF(obj); | |
13595 | return Py_BuildValue((char *)""); | |
13596 | } | |
13597 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13598 | PyObject *resultobj; | |
13599 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13600 | wxString *arg2 = 0 ; | |
13601 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13602 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13603 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13604 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13605 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13606 | wxMessageDialog *result; | |
e811c8ce RD |
13607 | bool temp2 = False ; |
13608 | bool temp3 = False ; | |
d14a1e28 RD |
13609 | wxPoint temp5 ; |
13610 | PyObject * obj0 = 0 ; | |
13611 | PyObject * obj1 = 0 ; | |
13612 | PyObject * obj2 = 0 ; | |
994141e6 | 13613 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13614 | PyObject * obj4 = 0 ; |
13615 | char *kwnames[] = { | |
13616 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13617 | }; | |
13618 | ||
994141e6 | 13619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13622 | { |
13623 | arg2 = wxString_in_helper(obj1); | |
13624 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13625 | temp2 = True; |
d14a1e28 RD |
13626 | } |
13627 | if (obj2) { | |
13628 | { | |
13629 | arg3 = wxString_in_helper(obj2); | |
13630 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13631 | temp3 = True; |
d14a1e28 RD |
13632 | } |
13633 | } | |
994141e6 | 13634 | if (obj3) { |
15afbcd0 RD |
13635 | arg4 = (long) SWIG_AsLong(obj3); |
13636 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13637 | } |
d14a1e28 RD |
13638 | if (obj4) { |
13639 | { | |
13640 | arg5 = &temp5; | |
13641 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13642 | } | |
13643 | } | |
13644 | { | |
e3b71cb8 | 13645 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13647 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13648 | ||
13649 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 13650 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13651 | } |
15afbcd0 | 13652 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13653 | { |
13654 | if (temp2) | |
13655 | delete arg2; | |
13656 | } | |
13657 | { | |
13658 | if (temp3) | |
13659 | delete arg3; | |
13660 | } | |
13661 | return resultobj; | |
13662 | fail: | |
13663 | { | |
13664 | if (temp2) | |
13665 | delete arg2; | |
13666 | } | |
13667 | { | |
13668 | if (temp3) | |
13669 | delete arg3; | |
13670 | } | |
13671 | return NULL; | |
13672 | } | |
13673 | ||
13674 | ||
d14a1e28 RD |
13675 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13676 | PyObject *obj; | |
13677 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13678 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13679 | Py_INCREF(obj); | |
13680 | return Py_BuildValue((char *)""); | |
13681 | } | |
13682 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13683 | PyObject *resultobj; | |
13684 | wxString *arg1 = 0 ; | |
13685 | wxString *arg2 = 0 ; | |
13686 | int arg3 = (int) 100 ; | |
13687 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13688 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13689 | wxProgressDialog *result; | |
e811c8ce RD |
13690 | bool temp1 = False ; |
13691 | bool temp2 = False ; | |
d14a1e28 RD |
13692 | PyObject * obj0 = 0 ; |
13693 | PyObject * obj1 = 0 ; | |
994141e6 | 13694 | PyObject * obj2 = 0 ; |
d14a1e28 | 13695 | PyObject * obj3 = 0 ; |
994141e6 | 13696 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13697 | char *kwnames[] = { |
13698 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13699 | }; | |
13700 | ||
994141e6 | 13701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13702 | { |
13703 | arg1 = wxString_in_helper(obj0); | |
13704 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13705 | temp1 = True; |
d14a1e28 RD |
13706 | } |
13707 | { | |
13708 | arg2 = wxString_in_helper(obj1); | |
13709 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13710 | temp2 = True; |
d14a1e28 | 13711 | } |
994141e6 | 13712 | if (obj2) { |
15afbcd0 RD |
13713 | arg3 = (int) SWIG_AsInt(obj2); |
13714 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13715 | } |
d14a1e28 | 13716 | if (obj3) { |
15afbcd0 RD |
13717 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13719 | } |
994141e6 | 13720 | if (obj4) { |
15afbcd0 RD |
13721 | arg5 = (int) SWIG_AsInt(obj4); |
13722 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13723 | } |
d14a1e28 | 13724 | { |
e3b71cb8 | 13725 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13727 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13728 | ||
13729 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 13730 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13731 | } |
15afbcd0 | 13732 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13733 | { |
13734 | if (temp1) | |
13735 | delete arg1; | |
13736 | } | |
13737 | { | |
13738 | if (temp2) | |
13739 | delete arg2; | |
13740 | } | |
13741 | return resultobj; | |
13742 | fail: | |
13743 | { | |
13744 | if (temp1) | |
13745 | delete arg1; | |
13746 | } | |
13747 | { | |
13748 | if (temp2) | |
13749 | delete arg2; | |
13750 | } | |
13751 | return NULL; | |
13752 | } | |
13753 | ||
13754 | ||
13755 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13756 | PyObject *resultobj; | |
13757 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13758 | int arg2 ; | |
13759 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13760 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13761 | bool result; | |
e811c8ce | 13762 | bool temp3 = False ; |
d14a1e28 | 13763 | PyObject * obj0 = 0 ; |
994141e6 | 13764 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13765 | PyObject * obj2 = 0 ; |
13766 | char *kwnames[] = { | |
13767 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13768 | }; | |
13769 | ||
994141e6 | 13770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13773 | arg2 = (int) SWIG_AsInt(obj1); | |
13774 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13775 | if (obj2) { |
13776 | { | |
13777 | arg3 = wxString_in_helper(obj2); | |
13778 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13779 | temp3 = True; |
d14a1e28 RD |
13780 | } |
13781 | } | |
13782 | { | |
13783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13784 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13785 | ||
13786 | wxPyEndAllowThreads(__tstate); | |
13787 | if (PyErr_Occurred()) SWIG_fail; | |
13788 | } | |
4f89f6a3 RD |
13789 | { |
13790 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13791 | } | |
d14a1e28 RD |
13792 | { |
13793 | if (temp3) | |
13794 | delete arg3; | |
13795 | } | |
13796 | return resultobj; | |
13797 | fail: | |
13798 | { | |
13799 | if (temp3) | |
13800 | delete arg3; | |
13801 | } | |
13802 | return NULL; | |
13803 | } | |
13804 | ||
13805 | ||
13806 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13807 | PyObject *resultobj; | |
13808 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13809 | PyObject * obj0 = 0 ; | |
13810 | char *kwnames[] = { | |
13811 | (char *) "self", NULL | |
13812 | }; | |
13813 | ||
13814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13817 | { |
13818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13819 | (arg1)->Resume(); | |
13820 | ||
13821 | wxPyEndAllowThreads(__tstate); | |
13822 | if (PyErr_Occurred()) SWIG_fail; | |
13823 | } | |
13824 | Py_INCREF(Py_None); resultobj = Py_None; | |
13825 | return resultobj; | |
13826 | fail: | |
13827 | return NULL; | |
13828 | } | |
13829 | ||
13830 | ||
13831 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13832 | PyObject *obj; | |
13833 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13834 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13835 | Py_INCREF(obj); | |
13836 | return Py_BuildValue((char *)""); | |
13837 | } | |
13838 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13839 | PyObject *resultobj; | |
13840 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13841 | int arg2 = (int) 0 ; | |
13842 | wxFindDialogEvent *result; | |
994141e6 RD |
13843 | PyObject * obj0 = 0 ; |
13844 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13845 | char *kwnames[] = { |
13846 | (char *) "commandType",(char *) "id", NULL | |
13847 | }; | |
13848 | ||
994141e6 RD |
13849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13850 | if (obj0) { | |
15afbcd0 RD |
13851 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13852 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13853 | } |
13854 | if (obj1) { | |
15afbcd0 RD |
13855 | arg2 = (int) SWIG_AsInt(obj1); |
13856 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13857 | } |
d14a1e28 RD |
13858 | { |
13859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13860 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13861 | ||
13862 | wxPyEndAllowThreads(__tstate); | |
13863 | if (PyErr_Occurred()) SWIG_fail; | |
13864 | } | |
15afbcd0 | 13865 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13866 | return resultobj; |
13867 | fail: | |
13868 | return NULL; | |
13869 | } | |
13870 | ||
13871 | ||
13872 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13873 | PyObject *resultobj; | |
13874 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13875 | int result; | |
13876 | PyObject * obj0 = 0 ; | |
13877 | char *kwnames[] = { | |
13878 | (char *) "self", NULL | |
13879 | }; | |
13880 | ||
13881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13884 | { |
13885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13886 | result = (int)(arg1)->GetFlags(); | |
13887 | ||
13888 | wxPyEndAllowThreads(__tstate); | |
13889 | if (PyErr_Occurred()) SWIG_fail; | |
13890 | } | |
15afbcd0 | 13891 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13892 | return resultobj; |
13893 | fail: | |
13894 | return NULL; | |
13895 | } | |
13896 | ||
13897 | ||
13898 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13899 | PyObject *resultobj; | |
13900 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13901 | wxString *result; |
d14a1e28 RD |
13902 | PyObject * obj0 = 0 ; |
13903 | char *kwnames[] = { | |
13904 | (char *) "self", NULL | |
13905 | }; | |
13906 | ||
13907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13910 | { |
13911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13912 | { |
13913 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13914 | result = (wxString *) &_result_ref; | |
13915 | } | |
d14a1e28 RD |
13916 | |
13917 | wxPyEndAllowThreads(__tstate); | |
13918 | if (PyErr_Occurred()) SWIG_fail; | |
13919 | } | |
13920 | { | |
13921 | #if wxUSE_UNICODE | |
cc6dd355 | 13922 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13923 | #else |
cc6dd355 | 13924 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13925 | #endif |
13926 | } | |
13927 | return resultobj; | |
13928 | fail: | |
13929 | return NULL; | |
13930 | } | |
13931 | ||
13932 | ||
13933 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13934 | PyObject *resultobj; | |
13935 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13936 | wxString *result; | |
13937 | PyObject * obj0 = 0 ; | |
13938 | char *kwnames[] = { | |
13939 | (char *) "self", NULL | |
13940 | }; | |
13941 | ||
13942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13945 | { |
13946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13947 | { | |
13948 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13949 | result = (wxString *) &_result_ref; | |
13950 | } | |
13951 | ||
13952 | wxPyEndAllowThreads(__tstate); | |
13953 | if (PyErr_Occurred()) SWIG_fail; | |
13954 | } | |
cc6dd355 RD |
13955 | { |
13956 | #if wxUSE_UNICODE | |
13957 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13958 | #else | |
13959 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13960 | #endif | |
13961 | } | |
d14a1e28 RD |
13962 | return resultobj; |
13963 | fail: | |
13964 | return NULL; | |
13965 | } | |
13966 | ||
13967 | ||
13968 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13969 | PyObject *resultobj; | |
13970 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13971 | wxFindReplaceDialog *result; | |
13972 | PyObject * obj0 = 0 ; | |
13973 | char *kwnames[] = { | |
13974 | (char *) "self", NULL | |
13975 | }; | |
13976 | ||
13977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13980 | { |
13981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13982 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13983 | ||
13984 | wxPyEndAllowThreads(__tstate); | |
13985 | if (PyErr_Occurred()) SWIG_fail; | |
13986 | } | |
15afbcd0 | 13987 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13988 | return resultobj; |
13989 | fail: | |
13990 | return NULL; | |
13991 | } | |
13992 | ||
13993 | ||
13994 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13995 | PyObject *resultobj; | |
13996 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13997 | int arg2 ; | |
13998 | PyObject * obj0 = 0 ; | |
994141e6 | 13999 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14000 | char *kwnames[] = { |
14001 | (char *) "self",(char *) "flags", NULL | |
14002 | }; | |
14003 | ||
994141e6 | 14004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14007 | arg2 = (int) SWIG_AsInt(obj1); | |
14008 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14009 | { |
14010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14011 | (arg1)->SetFlags(arg2); | |
14012 | ||
14013 | wxPyEndAllowThreads(__tstate); | |
14014 | if (PyErr_Occurred()) SWIG_fail; | |
14015 | } | |
14016 | Py_INCREF(Py_None); resultobj = Py_None; | |
14017 | return resultobj; | |
14018 | fail: | |
14019 | return NULL; | |
14020 | } | |
14021 | ||
14022 | ||
14023 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14024 | PyObject *resultobj; | |
14025 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14026 | wxString *arg2 = 0 ; | |
e811c8ce | 14027 | bool temp2 = False ; |
d14a1e28 RD |
14028 | PyObject * obj0 = 0 ; |
14029 | PyObject * obj1 = 0 ; | |
14030 | char *kwnames[] = { | |
14031 | (char *) "self",(char *) "str", NULL | |
14032 | }; | |
14033 | ||
14034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14037 | { |
14038 | arg2 = wxString_in_helper(obj1); | |
14039 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 14040 | temp2 = True; |
d14a1e28 RD |
14041 | } |
14042 | { | |
14043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14044 | (arg1)->SetFindString((wxString const &)*arg2); | |
14045 | ||
14046 | wxPyEndAllowThreads(__tstate); | |
14047 | if (PyErr_Occurred()) SWIG_fail; | |
14048 | } | |
14049 | Py_INCREF(Py_None); resultobj = Py_None; | |
14050 | { | |
14051 | if (temp2) | |
14052 | delete arg2; | |
14053 | } | |
14054 | return resultobj; | |
14055 | fail: | |
14056 | { | |
14057 | if (temp2) | |
14058 | delete arg2; | |
14059 | } | |
14060 | return NULL; | |
14061 | } | |
14062 | ||
14063 | ||
14064 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14065 | PyObject *resultobj; | |
14066 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14067 | wxString *arg2 = 0 ; | |
e811c8ce | 14068 | bool temp2 = False ; |
d14a1e28 RD |
14069 | PyObject * obj0 = 0 ; |
14070 | PyObject * obj1 = 0 ; | |
14071 | char *kwnames[] = { | |
14072 | (char *) "self",(char *) "str", NULL | |
14073 | }; | |
14074 | ||
14075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14078 | { |
14079 | arg2 = wxString_in_helper(obj1); | |
14080 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 14081 | temp2 = True; |
d14a1e28 RD |
14082 | } |
14083 | { | |
14084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14085 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14086 | ||
14087 | wxPyEndAllowThreads(__tstate); | |
14088 | if (PyErr_Occurred()) SWIG_fail; | |
14089 | } | |
14090 | Py_INCREF(Py_None); resultobj = Py_None; | |
14091 | { | |
14092 | if (temp2) | |
14093 | delete arg2; | |
14094 | } | |
14095 | return resultobj; | |
14096 | fail: | |
14097 | { | |
14098 | if (temp2) | |
14099 | delete arg2; | |
14100 | } | |
14101 | return NULL; | |
14102 | } | |
14103 | ||
14104 | ||
14105 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
14106 | PyObject *obj; | |
14107 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14108 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
14109 | Py_INCREF(obj); | |
14110 | return Py_BuildValue((char *)""); | |
14111 | } | |
14112 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14113 | PyObject *resultobj; | |
14114 | int arg1 = (int) 0 ; | |
14115 | wxFindReplaceData *result; | |
994141e6 | 14116 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
14117 | char *kwnames[] = { |
14118 | (char *) "flags", NULL | |
14119 | }; | |
14120 | ||
994141e6 RD |
14121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
14122 | if (obj0) { | |
15afbcd0 RD |
14123 | arg1 = (int) SWIG_AsInt(obj0); |
14124 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14125 | } |
d14a1e28 RD |
14126 | { |
14127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14128 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
14129 | ||
14130 | wxPyEndAllowThreads(__tstate); | |
14131 | if (PyErr_Occurred()) SWIG_fail; | |
14132 | } | |
15afbcd0 | 14133 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
14134 | return resultobj; |
14135 | fail: | |
14136 | return NULL; | |
14137 | } | |
14138 | ||
14139 | ||
14140 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14141 | PyObject *resultobj; | |
14142 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14143 | PyObject * obj0 = 0 ; | |
14144 | char *kwnames[] = { | |
14145 | (char *) "self", NULL | |
14146 | }; | |
14147 | ||
14148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14151 | { |
14152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14153 | delete arg1; | |
14154 | ||
14155 | wxPyEndAllowThreads(__tstate); | |
14156 | if (PyErr_Occurred()) SWIG_fail; | |
14157 | } | |
14158 | Py_INCREF(Py_None); resultobj = Py_None; | |
14159 | return resultobj; | |
14160 | fail: | |
14161 | return NULL; | |
14162 | } | |
14163 | ||
14164 | ||
14165 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14166 | PyObject *resultobj; | |
14167 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14168 | wxString *result; | |
14169 | PyObject * obj0 = 0 ; | |
14170 | char *kwnames[] = { | |
14171 | (char *) "self", NULL | |
14172 | }; | |
14173 | ||
14174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14177 | { |
14178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14179 | { | |
14180 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14181 | result = (wxString *) &_result_ref; | |
14182 | } | |
14183 | ||
14184 | wxPyEndAllowThreads(__tstate); | |
14185 | if (PyErr_Occurred()) SWIG_fail; | |
14186 | } | |
cc6dd355 RD |
14187 | { |
14188 | #if wxUSE_UNICODE | |
14189 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14190 | #else | |
14191 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14192 | #endif | |
14193 | } | |
d14a1e28 RD |
14194 | return resultobj; |
14195 | fail: | |
14196 | return NULL; | |
14197 | } | |
14198 | ||
14199 | ||
14200 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14201 | PyObject *resultobj; | |
14202 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14203 | wxString *result; | |
14204 | PyObject * obj0 = 0 ; | |
14205 | char *kwnames[] = { | |
14206 | (char *) "self", NULL | |
14207 | }; | |
14208 | ||
14209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14212 | { |
14213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14214 | { | |
14215 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14216 | result = (wxString *) &_result_ref; | |
14217 | } | |
14218 | ||
14219 | wxPyEndAllowThreads(__tstate); | |
14220 | if (PyErr_Occurred()) SWIG_fail; | |
14221 | } | |
cc6dd355 RD |
14222 | { |
14223 | #if wxUSE_UNICODE | |
14224 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14225 | #else | |
14226 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14227 | #endif | |
14228 | } | |
d14a1e28 RD |
14229 | return resultobj; |
14230 | fail: | |
14231 | return NULL; | |
14232 | } | |
14233 | ||
14234 | ||
14235 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14236 | PyObject *resultobj; | |
14237 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14238 | int result; | |
14239 | PyObject * obj0 = 0 ; | |
14240 | char *kwnames[] = { | |
14241 | (char *) "self", NULL | |
14242 | }; | |
14243 | ||
14244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14247 | { |
14248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14249 | result = (int)(arg1)->GetFlags(); | |
14250 | ||
14251 | wxPyEndAllowThreads(__tstate); | |
14252 | if (PyErr_Occurred()) SWIG_fail; | |
14253 | } | |
15afbcd0 | 14254 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
14255 | return resultobj; |
14256 | fail: | |
14257 | return NULL; | |
14258 | } | |
14259 | ||
14260 | ||
14261 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14262 | PyObject *resultobj; | |
14263 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14264 | int arg2 ; | |
14265 | PyObject * obj0 = 0 ; | |
994141e6 | 14266 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14267 | char *kwnames[] = { |
14268 | (char *) "self",(char *) "flags", NULL | |
14269 | }; | |
14270 | ||
994141e6 | 14271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14274 | arg2 = (int) SWIG_AsInt(obj1); | |
14275 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14276 | { |
14277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14278 | (arg1)->SetFlags(arg2); | |
14279 | ||
14280 | wxPyEndAllowThreads(__tstate); | |
14281 | if (PyErr_Occurred()) SWIG_fail; | |
14282 | } | |
14283 | Py_INCREF(Py_None); resultobj = Py_None; | |
14284 | return resultobj; | |
14285 | fail: | |
14286 | return NULL; | |
14287 | } | |
14288 | ||
14289 | ||
14290 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14291 | PyObject *resultobj; | |
14292 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14293 | wxString *arg2 = 0 ; | |
e811c8ce | 14294 | bool temp2 = False ; |
d14a1e28 RD |
14295 | PyObject * obj0 = 0 ; |
14296 | PyObject * obj1 = 0 ; | |
14297 | char *kwnames[] = { | |
14298 | (char *) "self",(char *) "str", NULL | |
14299 | }; | |
14300 | ||
14301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14304 | { |
14305 | arg2 = wxString_in_helper(obj1); | |
14306 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 14307 | temp2 = True; |
d14a1e28 RD |
14308 | } |
14309 | { | |
14310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14311 | (arg1)->SetFindString((wxString const &)*arg2); | |
14312 | ||
14313 | wxPyEndAllowThreads(__tstate); | |
14314 | if (PyErr_Occurred()) SWIG_fail; | |
14315 | } | |
14316 | Py_INCREF(Py_None); resultobj = Py_None; | |
14317 | { | |
14318 | if (temp2) | |
14319 | delete arg2; | |
14320 | } | |
14321 | return resultobj; | |
14322 | fail: | |
14323 | { | |
14324 | if (temp2) | |
14325 | delete arg2; | |
14326 | } | |
14327 | return NULL; | |
14328 | } | |
14329 | ||
14330 | ||
14331 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14332 | PyObject *resultobj; | |
14333 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14334 | wxString *arg2 = 0 ; | |
e811c8ce | 14335 | bool temp2 = False ; |
d14a1e28 RD |
14336 | PyObject * obj0 = 0 ; |
14337 | PyObject * obj1 = 0 ; | |
14338 | char *kwnames[] = { | |
14339 | (char *) "self",(char *) "str", NULL | |
14340 | }; | |
14341 | ||
14342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14345 | { |
14346 | arg2 = wxString_in_helper(obj1); | |
14347 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 14348 | temp2 = True; |
d14a1e28 RD |
14349 | } |
14350 | { | |
14351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14352 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14353 | ||
14354 | wxPyEndAllowThreads(__tstate); | |
14355 | if (PyErr_Occurred()) SWIG_fail; | |
14356 | } | |
14357 | Py_INCREF(Py_None); resultobj = Py_None; | |
14358 | { | |
14359 | if (temp2) | |
14360 | delete arg2; | |
14361 | } | |
14362 | return resultobj; | |
14363 | fail: | |
14364 | { | |
14365 | if (temp2) | |
14366 | delete arg2; | |
14367 | } | |
14368 | return NULL; | |
14369 | } | |
14370 | ||
14371 | ||
14372 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
14373 | PyObject *obj; | |
14374 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14375 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14376 | Py_INCREF(obj); | |
14377 | return Py_BuildValue((char *)""); | |
14378 | } | |
14379 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14380 | PyObject *resultobj; | |
14381 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14382 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14383 | wxString *arg3 = 0 ; | |
14384 | int arg4 = (int) 0 ; | |
14385 | wxFindReplaceDialog *result; | |
e811c8ce | 14386 | bool temp3 = False ; |
d14a1e28 RD |
14387 | PyObject * obj0 = 0 ; |
14388 | PyObject * obj1 = 0 ; | |
14389 | PyObject * obj2 = 0 ; | |
994141e6 | 14390 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14391 | char *kwnames[] = { |
14392 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14393 | }; | |
14394 | ||
994141e6 | 14395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
14396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14398 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14400 | { |
14401 | arg3 = wxString_in_helper(obj2); | |
14402 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14403 | temp3 = True; |
d14a1e28 | 14404 | } |
994141e6 | 14405 | if (obj3) { |
15afbcd0 RD |
14406 | arg4 = (int) SWIG_AsInt(obj3); |
14407 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14408 | } |
d14a1e28 | 14409 | { |
e3b71cb8 | 14410 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14412 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14413 | ||
14414 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 14415 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14416 | } |
15afbcd0 | 14417 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14418 | { |
14419 | if (temp3) | |
14420 | delete arg3; | |
14421 | } | |
14422 | return resultobj; | |
14423 | fail: | |
14424 | { | |
14425 | if (temp3) | |
14426 | delete arg3; | |
14427 | } | |
14428 | return NULL; | |
14429 | } | |
14430 | ||
14431 | ||
14432 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14433 | PyObject *resultobj; | |
14434 | wxFindReplaceDialog *result; | |
14435 | char *kwnames[] = { | |
14436 | NULL | |
14437 | }; | |
14438 | ||
14439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14440 | { | |
e3b71cb8 | 14441 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14443 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14444 | ||
14445 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 14446 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14447 | } |
15afbcd0 | 14448 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14449 | return resultobj; |
14450 | fail: | |
14451 | return NULL; | |
14452 | } | |
14453 | ||
14454 | ||
14455 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14456 | PyObject *resultobj; | |
14457 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14458 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14459 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14460 | wxString *arg4 = 0 ; | |
14461 | int arg5 = (int) 0 ; | |
14462 | bool result; | |
e811c8ce | 14463 | bool temp4 = False ; |
d14a1e28 RD |
14464 | PyObject * obj0 = 0 ; |
14465 | PyObject * obj1 = 0 ; | |
14466 | PyObject * obj2 = 0 ; | |
14467 | PyObject * obj3 = 0 ; | |
994141e6 | 14468 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14469 | char *kwnames[] = { |
14470 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14471 | }; | |
14472 | ||
994141e6 | 14473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14476 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14478 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14480 | { |
14481 | arg4 = wxString_in_helper(obj3); | |
14482 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14483 | temp4 = True; |
d14a1e28 | 14484 | } |
994141e6 | 14485 | if (obj4) { |
15afbcd0 RD |
14486 | arg5 = (int) SWIG_AsInt(obj4); |
14487 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14488 | } |
d14a1e28 RD |
14489 | { |
14490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14491 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14492 | ||
14493 | wxPyEndAllowThreads(__tstate); | |
14494 | if (PyErr_Occurred()) SWIG_fail; | |
14495 | } | |
4f89f6a3 RD |
14496 | { |
14497 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14498 | } | |
d14a1e28 RD |
14499 | { |
14500 | if (temp4) | |
14501 | delete arg4; | |
14502 | } | |
14503 | return resultobj; | |
14504 | fail: | |
14505 | { | |
14506 | if (temp4) | |
14507 | delete arg4; | |
14508 | } | |
14509 | return NULL; | |
14510 | } | |
14511 | ||
14512 | ||
14513 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14514 | PyObject *resultobj; | |
14515 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14516 | wxFindReplaceData *result; | |
14517 | PyObject * obj0 = 0 ; | |
14518 | char *kwnames[] = { | |
14519 | (char *) "self", NULL | |
14520 | }; | |
14521 | ||
14522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14525 | { |
14526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14527 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14528 | ||
14529 | wxPyEndAllowThreads(__tstate); | |
14530 | if (PyErr_Occurred()) SWIG_fail; | |
14531 | } | |
15afbcd0 | 14532 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14533 | return resultobj; |
14534 | fail: | |
14535 | return NULL; | |
14536 | } | |
14537 | ||
14538 | ||
14539 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14540 | PyObject *resultobj; | |
14541 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14542 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14543 | PyObject * obj0 = 0 ; | |
14544 | PyObject * obj1 = 0 ; | |
14545 | char *kwnames[] = { | |
14546 | (char *) "self",(char *) "data", NULL | |
14547 | }; | |
14548 | ||
14549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14552 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14554 | { |
14555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14556 | (arg1)->SetData(arg2); | |
14557 | ||
14558 | wxPyEndAllowThreads(__tstate); | |
14559 | if (PyErr_Occurred()) SWIG_fail; | |
14560 | } | |
14561 | Py_INCREF(Py_None); resultobj = Py_None; | |
14562 | return resultobj; | |
14563 | fail: | |
14564 | return NULL; | |
14565 | } | |
14566 | ||
14567 | ||
14568 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14569 | PyObject *obj; | |
14570 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14571 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14572 | Py_INCREF(obj); | |
14573 | return Py_BuildValue((char *)""); | |
14574 | } | |
14575 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14576 | PyObject *resultobj; | |
14577 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
14578 | int arg2 = (int) (int)-1 ; |
14579 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14580 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
14581 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
14582 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14583 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14584 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14585 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14586 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14587 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14588 | wxMDIParentFrame *result; | |
e811c8ce | 14589 | bool temp3 = False ; |
d14a1e28 RD |
14590 | wxPoint temp4 ; |
14591 | wxSize temp5 ; | |
e811c8ce | 14592 | bool temp7 = False ; |
d14a1e28 | 14593 | PyObject * obj0 = 0 ; |
994141e6 | 14594 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14595 | PyObject * obj2 = 0 ; |
14596 | PyObject * obj3 = 0 ; | |
14597 | PyObject * obj4 = 0 ; | |
994141e6 | 14598 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14599 | PyObject * obj6 = 0 ; |
14600 | char *kwnames[] = { | |
14601 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14602 | }; | |
14603 | ||
248ed943 | 14604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
14607 | if (obj1) { |
14608 | arg2 = (int const) SWIG_AsInt(obj1); | |
14609 | if (PyErr_Occurred()) SWIG_fail; | |
14610 | } | |
14611 | if (obj2) { | |
14612 | { | |
14613 | arg3 = wxString_in_helper(obj2); | |
14614 | if (arg3 == NULL) SWIG_fail; | |
14615 | temp3 = True; | |
14616 | } | |
d14a1e28 RD |
14617 | } |
14618 | if (obj3) { | |
14619 | { | |
14620 | arg4 = &temp4; | |
14621 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14622 | } | |
14623 | } | |
14624 | if (obj4) { | |
14625 | { | |
14626 | arg5 = &temp5; | |
14627 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14628 | } | |
14629 | } | |
994141e6 | 14630 | if (obj5) { |
15afbcd0 RD |
14631 | arg6 = (long) SWIG_AsLong(obj5); |
14632 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14633 | } |
d14a1e28 RD |
14634 | if (obj6) { |
14635 | { | |
14636 | arg7 = wxString_in_helper(obj6); | |
14637 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14638 | temp7 = True; |
d14a1e28 RD |
14639 | } |
14640 | } | |
14641 | { | |
e3b71cb8 | 14642 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14644 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14645 | ||
14646 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 14647 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14648 | } |
15afbcd0 | 14649 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14650 | { |
14651 | if (temp3) | |
14652 | delete arg3; | |
14653 | } | |
14654 | { | |
14655 | if (temp7) | |
14656 | delete arg7; | |
14657 | } | |
14658 | return resultobj; | |
14659 | fail: | |
14660 | { | |
14661 | if (temp3) | |
14662 | delete arg3; | |
14663 | } | |
14664 | { | |
14665 | if (temp7) | |
14666 | delete arg7; | |
14667 | } | |
14668 | return NULL; | |
14669 | } | |
14670 | ||
14671 | ||
14672 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14673 | PyObject *resultobj; | |
14674 | wxMDIParentFrame *result; | |
14675 | char *kwnames[] = { | |
14676 | NULL | |
14677 | }; | |
14678 | ||
14679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14680 | { | |
e3b71cb8 | 14681 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14683 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14684 | ||
14685 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 14686 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14687 | } |
15afbcd0 | 14688 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14689 | return resultobj; |
14690 | fail: | |
14691 | return NULL; | |
14692 | } | |
14693 | ||
14694 | ||
14695 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14696 | PyObject *resultobj; | |
14697 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14698 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
14699 | int arg3 = (int) (int)-1 ; |
14700 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14701 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
14702 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
14703 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14704 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14705 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14706 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14707 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14708 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14709 | bool result; | |
e811c8ce | 14710 | bool temp4 = False ; |
d14a1e28 RD |
14711 | wxPoint temp5 ; |
14712 | wxSize temp6 ; | |
e811c8ce | 14713 | bool temp8 = False ; |
d14a1e28 RD |
14714 | PyObject * obj0 = 0 ; |
14715 | PyObject * obj1 = 0 ; | |
994141e6 | 14716 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14717 | PyObject * obj3 = 0 ; |
14718 | PyObject * obj4 = 0 ; | |
14719 | PyObject * obj5 = 0 ; | |
994141e6 | 14720 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14721 | PyObject * obj7 = 0 ; |
14722 | char *kwnames[] = { | |
14723 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14724 | }; | |
14725 | ||
248ed943 | 14726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14729 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
14731 | if (obj2) { |
14732 | arg3 = (int const) SWIG_AsInt(obj2); | |
14733 | if (PyErr_Occurred()) SWIG_fail; | |
14734 | } | |
14735 | if (obj3) { | |
14736 | { | |
14737 | arg4 = wxString_in_helper(obj3); | |
14738 | if (arg4 == NULL) SWIG_fail; | |
14739 | temp4 = True; | |
14740 | } | |
d14a1e28 RD |
14741 | } |
14742 | if (obj4) { | |
14743 | { | |
14744 | arg5 = &temp5; | |
14745 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14746 | } | |
14747 | } | |
14748 | if (obj5) { | |
14749 | { | |
14750 | arg6 = &temp6; | |
14751 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14752 | } | |
14753 | } | |
994141e6 | 14754 | if (obj6) { |
15afbcd0 RD |
14755 | arg7 = (long) SWIG_AsLong(obj6); |
14756 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14757 | } |
d14a1e28 RD |
14758 | if (obj7) { |
14759 | { | |
14760 | arg8 = wxString_in_helper(obj7); | |
14761 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14762 | temp8 = True; |
d14a1e28 RD |
14763 | } |
14764 | } | |
14765 | { | |
14766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14767 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14768 | ||
14769 | wxPyEndAllowThreads(__tstate); | |
14770 | if (PyErr_Occurred()) SWIG_fail; | |
14771 | } | |
4f89f6a3 RD |
14772 | { |
14773 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14774 | } | |
d14a1e28 RD |
14775 | { |
14776 | if (temp4) | |
14777 | delete arg4; | |
14778 | } | |
14779 | { | |
14780 | if (temp8) | |
14781 | delete arg8; | |
14782 | } | |
14783 | return resultobj; | |
14784 | fail: | |
14785 | { | |
14786 | if (temp4) | |
14787 | delete arg4; | |
14788 | } | |
14789 | { | |
14790 | if (temp8) | |
14791 | delete arg8; | |
14792 | } | |
14793 | return NULL; | |
14794 | } | |
14795 | ||
14796 | ||
14797 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14798 | PyObject *resultobj; | |
14799 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14800 | PyObject * obj0 = 0 ; | |
14801 | char *kwnames[] = { | |
14802 | (char *) "self", NULL | |
14803 | }; | |
14804 | ||
14805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14808 | { |
14809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14810 | (arg1)->ActivateNext(); | |
14811 | ||
14812 | wxPyEndAllowThreads(__tstate); | |
14813 | if (PyErr_Occurred()) SWIG_fail; | |
14814 | } | |
14815 | Py_INCREF(Py_None); resultobj = Py_None; | |
14816 | return resultobj; | |
14817 | fail: | |
14818 | return NULL; | |
14819 | } | |
14820 | ||
14821 | ||
14822 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14823 | PyObject *resultobj; | |
14824 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14825 | PyObject * obj0 = 0 ; | |
14826 | char *kwnames[] = { | |
14827 | (char *) "self", NULL | |
14828 | }; | |
14829 | ||
14830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14833 | { |
14834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14835 | (arg1)->ActivatePrevious(); | |
14836 | ||
14837 | wxPyEndAllowThreads(__tstate); | |
14838 | if (PyErr_Occurred()) SWIG_fail; | |
14839 | } | |
14840 | Py_INCREF(Py_None); resultobj = Py_None; | |
14841 | return resultobj; | |
14842 | fail: | |
14843 | return NULL; | |
14844 | } | |
14845 | ||
14846 | ||
14847 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14848 | PyObject *resultobj; | |
14849 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14850 | PyObject * obj0 = 0 ; | |
14851 | char *kwnames[] = { | |
14852 | (char *) "self", NULL | |
14853 | }; | |
14854 | ||
14855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14858 | { |
14859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14860 | (arg1)->ArrangeIcons(); | |
14861 | ||
14862 | wxPyEndAllowThreads(__tstate); | |
14863 | if (PyErr_Occurred()) SWIG_fail; | |
14864 | } | |
14865 | Py_INCREF(Py_None); resultobj = Py_None; | |
14866 | return resultobj; | |
14867 | fail: | |
14868 | return NULL; | |
14869 | } | |
14870 | ||
14871 | ||
14872 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14873 | PyObject *resultobj; | |
14874 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14875 | PyObject * obj0 = 0 ; | |
14876 | char *kwnames[] = { | |
14877 | (char *) "self", NULL | |
14878 | }; | |
14879 | ||
14880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14883 | { |
14884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14885 | (arg1)->Cascade(); | |
14886 | ||
14887 | wxPyEndAllowThreads(__tstate); | |
14888 | if (PyErr_Occurred()) SWIG_fail; | |
14889 | } | |
14890 | Py_INCREF(Py_None); resultobj = Py_None; | |
14891 | return resultobj; | |
14892 | fail: | |
14893 | return NULL; | |
14894 | } | |
14895 | ||
14896 | ||
14897 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14898 | PyObject *resultobj; | |
14899 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14900 | wxMDIChildFrame *result; | |
14901 | PyObject * obj0 = 0 ; | |
14902 | char *kwnames[] = { | |
14903 | (char *) "self", NULL | |
14904 | }; | |
14905 | ||
14906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14909 | { |
14910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14911 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14912 | ||
14913 | wxPyEndAllowThreads(__tstate); | |
14914 | if (PyErr_Occurred()) SWIG_fail; | |
14915 | } | |
14916 | { | |
14917 | resultobj = wxPyMake_wxObject(result); | |
14918 | } | |
14919 | return resultobj; | |
14920 | fail: | |
14921 | return NULL; | |
14922 | } | |
14923 | ||
14924 | ||
14925 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14926 | PyObject *resultobj; | |
14927 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14928 | wxMDIClientWindow *result; | |
14929 | PyObject * obj0 = 0 ; | |
14930 | char *kwnames[] = { | |
14931 | (char *) "self", NULL | |
14932 | }; | |
14933 | ||
14934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14937 | { |
14938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14939 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14940 | ||
14941 | wxPyEndAllowThreads(__tstate); | |
14942 | if (PyErr_Occurred()) SWIG_fail; | |
14943 | } | |
14944 | { | |
14945 | resultobj = wxPyMake_wxObject(result); | |
14946 | } | |
14947 | return resultobj; | |
14948 | fail: | |
14949 | return NULL; | |
14950 | } | |
14951 | ||
14952 | ||
14953 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14954 | PyObject *resultobj; | |
14955 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14956 | wxWindow *result; | |
14957 | PyObject * obj0 = 0 ; | |
14958 | char *kwnames[] = { | |
14959 | (char *) "self", NULL | |
14960 | }; | |
14961 | ||
14962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14965 | { |
14966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14967 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14968 | ||
14969 | wxPyEndAllowThreads(__tstate); | |
14970 | if (PyErr_Occurred()) SWIG_fail; | |
14971 | } | |
14972 | { | |
14973 | resultobj = wxPyMake_wxObject(result); | |
14974 | } | |
14975 | return resultobj; | |
14976 | fail: | |
14977 | return NULL; | |
14978 | } | |
14979 | ||
14980 | ||
14981 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14982 | PyObject *resultobj; | |
14983 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14984 | PyObject * obj0 = 0 ; | |
14985 | char *kwnames[] = { | |
14986 | (char *) "self", NULL | |
14987 | }; | |
14988 | ||
14989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14992 | { |
14993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14994 | (arg1)->Tile(); | |
14995 | ||
14996 | wxPyEndAllowThreads(__tstate); | |
14997 | if (PyErr_Occurred()) SWIG_fail; | |
14998 | } | |
14999 | Py_INCREF(Py_None); resultobj = Py_None; | |
15000 | return resultobj; | |
15001 | fail: | |
15002 | return NULL; | |
15003 | } | |
15004 | ||
15005 | ||
15006 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
15007 | PyObject *obj; | |
15008 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15009 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
15010 | Py_INCREF(obj); | |
15011 | return Py_BuildValue((char *)""); | |
15012 | } | |
15013 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15014 | PyObject *resultobj; | |
15015 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15016 | int arg2 = (int) (int)-1 ; |
15017 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15018 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
15019 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15020 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15021 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15022 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15023 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
15024 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15025 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15026 | wxMDIChildFrame *result; | |
e811c8ce | 15027 | bool temp3 = False ; |
d14a1e28 RD |
15028 | wxPoint temp4 ; |
15029 | wxSize temp5 ; | |
e811c8ce | 15030 | bool temp7 = False ; |
d14a1e28 | 15031 | PyObject * obj0 = 0 ; |
994141e6 | 15032 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15033 | PyObject * obj2 = 0 ; |
15034 | PyObject * obj3 = 0 ; | |
15035 | PyObject * obj4 = 0 ; | |
994141e6 | 15036 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
15037 | PyObject * obj6 = 0 ; |
15038 | char *kwnames[] = { | |
15039 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15040 | }; | |
15041 | ||
248ed943 | 15042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
15043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15045 | if (obj1) { |
15046 | arg2 = (int const) SWIG_AsInt(obj1); | |
15047 | if (PyErr_Occurred()) SWIG_fail; | |
15048 | } | |
15049 | if (obj2) { | |
15050 | { | |
15051 | arg3 = wxString_in_helper(obj2); | |
15052 | if (arg3 == NULL) SWIG_fail; | |
15053 | temp3 = True; | |
15054 | } | |
d14a1e28 RD |
15055 | } |
15056 | if (obj3) { | |
15057 | { | |
15058 | arg4 = &temp4; | |
15059 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15060 | } | |
15061 | } | |
15062 | if (obj4) { | |
15063 | { | |
15064 | arg5 = &temp5; | |
15065 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15066 | } | |
15067 | } | |
994141e6 | 15068 | if (obj5) { |
15afbcd0 RD |
15069 | arg6 = (long) SWIG_AsLong(obj5); |
15070 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15071 | } |
d14a1e28 RD |
15072 | if (obj6) { |
15073 | { | |
15074 | arg7 = wxString_in_helper(obj6); | |
15075 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 15076 | temp7 = True; |
d14a1e28 RD |
15077 | } |
15078 | } | |
15079 | { | |
e3b71cb8 | 15080 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15082 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15083 | ||
15084 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15085 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15086 | } |
15087 | { | |
15088 | resultobj = wxPyMake_wxObject(result); | |
15089 | } | |
15090 | { | |
15091 | if (temp3) | |
15092 | delete arg3; | |
15093 | } | |
15094 | { | |
15095 | if (temp7) | |
15096 | delete arg7; | |
15097 | } | |
15098 | return resultobj; | |
15099 | fail: | |
15100 | { | |
15101 | if (temp3) | |
15102 | delete arg3; | |
15103 | } | |
15104 | { | |
15105 | if (temp7) | |
15106 | delete arg7; | |
15107 | } | |
15108 | return NULL; | |
15109 | } | |
15110 | ||
15111 | ||
15112 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15113 | PyObject *resultobj; | |
15114 | wxMDIChildFrame *result; | |
15115 | char *kwnames[] = { | |
15116 | NULL | |
15117 | }; | |
15118 | ||
15119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
15120 | { | |
e3b71cb8 | 15121 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15123 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
15124 | ||
15125 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15126 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15127 | } |
15128 | { | |
15129 | resultobj = wxPyMake_wxObject(result); | |
15130 | } | |
15131 | return resultobj; | |
15132 | fail: | |
15133 | return NULL; | |
15134 | } | |
15135 | ||
15136 | ||
15137 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15138 | PyObject *resultobj; | |
15139 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15140 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15141 | int arg3 = (int) (int)-1 ; |
15142 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15143 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
15144 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15145 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15146 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15147 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15148 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
15149 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15150 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15151 | bool result; | |
e811c8ce | 15152 | bool temp4 = False ; |
d14a1e28 RD |
15153 | wxPoint temp5 ; |
15154 | wxSize temp6 ; | |
e811c8ce | 15155 | bool temp8 = False ; |
d14a1e28 RD |
15156 | PyObject * obj0 = 0 ; |
15157 | PyObject * obj1 = 0 ; | |
994141e6 | 15158 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15159 | PyObject * obj3 = 0 ; |
15160 | PyObject * obj4 = 0 ; | |
15161 | PyObject * obj5 = 0 ; | |
994141e6 | 15162 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
15163 | PyObject * obj7 = 0 ; |
15164 | char *kwnames[] = { | |
15165 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15166 | }; | |
15167 | ||
248ed943 | 15168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
15169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15171 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15173 | if (obj2) { |
15174 | arg3 = (int const) SWIG_AsInt(obj2); | |
15175 | if (PyErr_Occurred()) SWIG_fail; | |
15176 | } | |
15177 | if (obj3) { | |
15178 | { | |
15179 | arg4 = wxString_in_helper(obj3); | |
15180 | if (arg4 == NULL) SWIG_fail; | |
15181 | temp4 = True; | |
15182 | } | |
d14a1e28 RD |
15183 | } |
15184 | if (obj4) { | |
15185 | { | |
15186 | arg5 = &temp5; | |
15187 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15188 | } | |
15189 | } | |
15190 | if (obj5) { | |
15191 | { | |
15192 | arg6 = &temp6; | |
15193 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15194 | } | |
15195 | } | |
994141e6 | 15196 | if (obj6) { |
15afbcd0 RD |
15197 | arg7 = (long) SWIG_AsLong(obj6); |
15198 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15199 | } |
d14a1e28 RD |
15200 | if (obj7) { |
15201 | { | |
15202 | arg8 = wxString_in_helper(obj7); | |
15203 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 15204 | temp8 = True; |
d14a1e28 RD |
15205 | } |
15206 | } | |
15207 | { | |
15208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15209 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15210 | ||
15211 | wxPyEndAllowThreads(__tstate); | |
15212 | if (PyErr_Occurred()) SWIG_fail; | |
15213 | } | |
4f89f6a3 RD |
15214 | { |
15215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15216 | } | |
d14a1e28 RD |
15217 | { |
15218 | if (temp4) | |
15219 | delete arg4; | |
15220 | } | |
15221 | { | |
15222 | if (temp8) | |
15223 | delete arg8; | |
15224 | } | |
15225 | return resultobj; | |
15226 | fail: | |
15227 | { | |
15228 | if (temp4) | |
15229 | delete arg4; | |
15230 | } | |
15231 | { | |
15232 | if (temp8) | |
15233 | delete arg8; | |
15234 | } | |
15235 | return NULL; | |
15236 | } | |
15237 | ||
15238 | ||
15239 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15240 | PyObject *resultobj; | |
15241 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15242 | PyObject * obj0 = 0 ; | |
15243 | char *kwnames[] = { | |
15244 | (char *) "self", NULL | |
15245 | }; | |
15246 | ||
15247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15250 | { |
15251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15252 | (arg1)->Activate(); | |
15253 | ||
15254 | wxPyEndAllowThreads(__tstate); | |
15255 | if (PyErr_Occurred()) SWIG_fail; | |
15256 | } | |
15257 | Py_INCREF(Py_None); resultobj = Py_None; | |
15258 | return resultobj; | |
15259 | fail: | |
15260 | return NULL; | |
15261 | } | |
15262 | ||
15263 | ||
15264 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15265 | PyObject *resultobj; | |
15266 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15267 | bool arg2 ; | |
15268 | PyObject * obj0 = 0 ; | |
15269 | PyObject * obj1 = 0 ; | |
15270 | char *kwnames[] = { | |
15271 | (char *) "self",(char *) "maximize", NULL | |
15272 | }; | |
15273 | ||
15274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15277 | arg2 = (bool) SWIG_AsBool(obj1); | |
15278 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15279 | { |
15280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15281 | (arg1)->Maximize(arg2); | |
15282 | ||
15283 | wxPyEndAllowThreads(__tstate); | |
15284 | if (PyErr_Occurred()) SWIG_fail; | |
15285 | } | |
15286 | Py_INCREF(Py_None); resultobj = Py_None; | |
15287 | return resultobj; | |
15288 | fail: | |
15289 | return NULL; | |
15290 | } | |
15291 | ||
15292 | ||
15293 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15294 | PyObject *resultobj; | |
15295 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15296 | PyObject * obj0 = 0 ; | |
15297 | char *kwnames[] = { | |
15298 | (char *) "self", NULL | |
15299 | }; | |
15300 | ||
15301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15304 | { |
15305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15306 | (arg1)->Restore(); | |
15307 | ||
15308 | wxPyEndAllowThreads(__tstate); | |
15309 | if (PyErr_Occurred()) SWIG_fail; | |
15310 | } | |
15311 | Py_INCREF(Py_None); resultobj = Py_None; | |
15312 | return resultobj; | |
15313 | fail: | |
15314 | return NULL; | |
15315 | } | |
15316 | ||
15317 | ||
15318 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
15319 | PyObject *obj; | |
15320 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15321 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
15322 | Py_INCREF(obj); | |
15323 | return Py_BuildValue((char *)""); | |
15324 | } | |
15325 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15326 | PyObject *resultobj; | |
15327 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15328 | long arg2 = (long) 0 ; | |
15329 | wxMDIClientWindow *result; | |
15330 | PyObject * obj0 = 0 ; | |
994141e6 | 15331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15332 | char *kwnames[] = { |
15333 | (char *) "parent",(char *) "style", NULL | |
15334 | }; | |
15335 | ||
994141e6 | 15336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
15337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15339 | if (obj1) { |
15afbcd0 RD |
15340 | arg2 = (long) SWIG_AsLong(obj1); |
15341 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15342 | } |
d14a1e28 | 15343 | { |
e3b71cb8 | 15344 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15346 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
15347 | ||
15348 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15349 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15350 | } |
15351 | { | |
15352 | resultobj = wxPyMake_wxObject(result); | |
15353 | } | |
15354 | return resultobj; | |
15355 | fail: | |
15356 | return NULL; | |
15357 | } | |
15358 | ||
15359 | ||
15360 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15361 | PyObject *resultobj; | |
15362 | wxMDIClientWindow *result; | |
15363 | char *kwnames[] = { | |
15364 | NULL | |
15365 | }; | |
15366 | ||
15367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15368 | { | |
e3b71cb8 | 15369 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15371 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15372 | ||
15373 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15374 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
15375 | } |
15376 | { | |
15377 | resultobj = wxPyMake_wxObject(result); | |
15378 | } | |
15379 | return resultobj; | |
15380 | fail: | |
15381 | return NULL; | |
15382 | } | |
15383 | ||
15384 | ||
15385 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15386 | PyObject *resultobj; | |
15387 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15388 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15389 | long arg3 = (long) 0 ; | |
15390 | bool result; | |
15391 | PyObject * obj0 = 0 ; | |
15392 | PyObject * obj1 = 0 ; | |
994141e6 | 15393 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15394 | char *kwnames[] = { |
15395 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15396 | }; | |
15397 | ||
994141e6 | 15398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
15400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15401 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15403 | if (obj2) { |
15afbcd0 RD |
15404 | arg3 = (long) SWIG_AsLong(obj2); |
15405 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15406 | } |
d14a1e28 RD |
15407 | { |
15408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15409 | result = (bool)(arg1)->Create(arg2,arg3); | |
15410 | ||
15411 | wxPyEndAllowThreads(__tstate); | |
15412 | if (PyErr_Occurred()) SWIG_fail; | |
15413 | } | |
4f89f6a3 RD |
15414 | { |
15415 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15416 | } | |
d14a1e28 RD |
15417 | return resultobj; |
15418 | fail: | |
15419 | return NULL; | |
15420 | } | |
15421 | ||
15422 | ||
15423 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15424 | PyObject *obj; | |
15425 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15426 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15427 | Py_INCREF(obj); | |
15428 | return Py_BuildValue((char *)""); | |
15429 | } | |
15430 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15431 | PyObject *resultobj; | |
15432 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 15433 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
15434 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15435 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15436 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15437 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15438 | long arg5 = (long) 0 ; | |
15439 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15440 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15441 | wxPyWindow *result; | |
15442 | wxPoint temp3 ; | |
15443 | wxSize temp4 ; | |
e811c8ce | 15444 | bool temp6 = False ; |
d14a1e28 | 15445 | PyObject * obj0 = 0 ; |
994141e6 | 15446 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15447 | PyObject * obj2 = 0 ; |
15448 | PyObject * obj3 = 0 ; | |
994141e6 | 15449 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15450 | PyObject * obj5 = 0 ; |
15451 | char *kwnames[] = { | |
15452 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15453 | }; | |
15454 | ||
248ed943 | 15455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
15458 | if (obj1) { |
15459 | arg2 = (int const) SWIG_AsInt(obj1); | |
15460 | if (PyErr_Occurred()) SWIG_fail; | |
15461 | } | |
d14a1e28 RD |
15462 | if (obj2) { |
15463 | { | |
15464 | arg3 = &temp3; | |
15465 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15466 | } | |
15467 | } | |
15468 | if (obj3) { | |
15469 | { | |
15470 | arg4 = &temp4; | |
15471 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15472 | } | |
15473 | } | |
994141e6 | 15474 | if (obj4) { |
15afbcd0 RD |
15475 | arg5 = (long) SWIG_AsLong(obj4); |
15476 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15477 | } |
d14a1e28 RD |
15478 | if (obj5) { |
15479 | { | |
15480 | arg6 = wxString_in_helper(obj5); | |
15481 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15482 | temp6 = True; |
d14a1e28 RD |
15483 | } |
15484 | } | |
15485 | { | |
e3b71cb8 | 15486 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15488 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15489 | ||
15490 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15491 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15492 | } |
15afbcd0 | 15493 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
15494 | { |
15495 | if (temp6) | |
15496 | delete arg6; | |
15497 | } | |
15498 | return resultobj; | |
15499 | fail: | |
15500 | { | |
15501 | if (temp6) | |
15502 | delete arg6; | |
15503 | } | |
15504 | return NULL; | |
15505 | } | |
15506 | ||
15507 | ||
1cb4a8aa RD |
15508 | static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
15509 | PyObject *resultobj; | |
15510 | wxPyWindow *result; | |
15511 | char *kwnames[] = { | |
15512 | NULL | |
15513 | }; | |
15514 | ||
15515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
15516 | { | |
e3b71cb8 | 15517 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
15518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15519 | result = (wxPyWindow *)new wxPyWindow(); | |
15520 | ||
15521 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 15522 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
15523 | } |
15524 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
15525 | return resultobj; | |
15526 | fail: | |
15527 | return NULL; | |
15528 | } | |
15529 | ||
15530 | ||
d14a1e28 RD |
15531 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
15532 | PyObject *resultobj; | |
15533 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15534 | PyObject *arg2 = (PyObject *) 0 ; | |
15535 | PyObject *arg3 = (PyObject *) 0 ; | |
15536 | PyObject * obj0 = 0 ; | |
15537 | PyObject * obj1 = 0 ; | |
15538 | PyObject * obj2 = 0 ; | |
15539 | char *kwnames[] = { | |
15540 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15541 | }; | |
15542 | ||
15543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15546 | arg2 = obj1; |
15547 | arg3 = obj2; | |
15548 | { | |
15549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15550 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15551 | ||
15552 | wxPyEndAllowThreads(__tstate); | |
15553 | if (PyErr_Occurred()) SWIG_fail; | |
15554 | } | |
15555 | Py_INCREF(Py_None); resultobj = Py_None; | |
15556 | return resultobj; | |
15557 | fail: | |
15558 | return NULL; | |
15559 | } | |
15560 | ||
15561 | ||
db3e571a RD |
15562 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
15563 | PyObject *resultobj; | |
15564 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15565 | wxSize *arg2 = 0 ; | |
15566 | wxSize temp2 ; | |
15567 | PyObject * obj0 = 0 ; | |
15568 | PyObject * obj1 = 0 ; | |
15569 | char *kwnames[] = { | |
15570 | (char *) "self",(char *) "size", NULL | |
15571 | }; | |
15572 | ||
15573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
15574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15576 | { | |
15577 | arg2 = &temp2; | |
15578 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15579 | } | |
15580 | { | |
15581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15582 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
15583 | ||
15584 | wxPyEndAllowThreads(__tstate); | |
15585 | if (PyErr_Occurred()) SWIG_fail; | |
15586 | } | |
15587 | Py_INCREF(Py_None); resultobj = Py_None; | |
15588 | return resultobj; | |
15589 | fail: | |
15590 | return NULL; | |
15591 | } | |
15592 | ||
15593 | ||
d14a1e28 RD |
15594 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
15595 | PyObject *resultobj; | |
15596 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15597 | int arg2 ; | |
15598 | int arg3 ; | |
15599 | int arg4 ; | |
15600 | int arg5 ; | |
15601 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15602 | PyObject * obj1 = 0 ; |
15603 | PyObject * obj2 = 0 ; | |
15604 | PyObject * obj3 = 0 ; | |
15605 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15606 | char *kwnames[] = { |
15607 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15608 | }; | |
15609 | ||
994141e6 | 15610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15613 | arg2 = (int) SWIG_AsInt(obj1); | |
15614 | if (PyErr_Occurred()) SWIG_fail; | |
15615 | arg3 = (int) SWIG_AsInt(obj2); | |
15616 | if (PyErr_Occurred()) SWIG_fail; | |
15617 | arg4 = (int) SWIG_AsInt(obj3); | |
15618 | if (PyErr_Occurred()) SWIG_fail; | |
15619 | arg5 = (int) SWIG_AsInt(obj4); | |
15620 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15621 | { |
15622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15623 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15624 | ||
15625 | wxPyEndAllowThreads(__tstate); | |
15626 | if (PyErr_Occurred()) SWIG_fail; | |
15627 | } | |
15628 | Py_INCREF(Py_None); resultobj = Py_None; | |
15629 | return resultobj; | |
15630 | fail: | |
15631 | return NULL; | |
15632 | } | |
15633 | ||
15634 | ||
15635 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15636 | PyObject *resultobj; | |
15637 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15638 | int arg2 ; | |
15639 | int arg3 ; | |
15640 | int arg4 ; | |
15641 | int arg5 ; | |
15642 | int arg6 = (int) wxSIZE_AUTO ; | |
15643 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15644 | PyObject * obj1 = 0 ; |
15645 | PyObject * obj2 = 0 ; | |
15646 | PyObject * obj3 = 0 ; | |
15647 | PyObject * obj4 = 0 ; | |
15648 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15649 | char *kwnames[] = { |
15650 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15651 | }; | |
15652 | ||
994141e6 | 15653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15656 | arg2 = (int) SWIG_AsInt(obj1); | |
15657 | if (PyErr_Occurred()) SWIG_fail; | |
15658 | arg3 = (int) SWIG_AsInt(obj2); | |
15659 | if (PyErr_Occurred()) SWIG_fail; | |
15660 | arg4 = (int) SWIG_AsInt(obj3); | |
15661 | if (PyErr_Occurred()) SWIG_fail; | |
15662 | arg5 = (int) SWIG_AsInt(obj4); | |
15663 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15664 | if (obj5) { |
15afbcd0 RD |
15665 | arg6 = (int) SWIG_AsInt(obj5); |
15666 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15667 | } |
d14a1e28 RD |
15668 | { |
15669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15670 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15671 | ||
15672 | wxPyEndAllowThreads(__tstate); | |
15673 | if (PyErr_Occurred()) SWIG_fail; | |
15674 | } | |
15675 | Py_INCREF(Py_None); resultobj = Py_None; | |
15676 | return resultobj; | |
15677 | fail: | |
15678 | return NULL; | |
15679 | } | |
15680 | ||
15681 | ||
15682 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15683 | PyObject *resultobj; | |
15684 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15685 | int arg2 ; | |
15686 | int arg3 ; | |
15687 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15688 | PyObject * obj1 = 0 ; |
15689 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15690 | char *kwnames[] = { |
15691 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15692 | }; | |
15693 | ||
994141e6 | 15694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15697 | arg2 = (int) SWIG_AsInt(obj1); | |
15698 | if (PyErr_Occurred()) SWIG_fail; | |
15699 | arg3 = (int) SWIG_AsInt(obj2); | |
15700 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15701 | { |
15702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15703 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15704 | ||
15705 | wxPyEndAllowThreads(__tstate); | |
15706 | if (PyErr_Occurred()) SWIG_fail; | |
15707 | } | |
15708 | Py_INCREF(Py_None); resultobj = Py_None; | |
15709 | return resultobj; | |
15710 | fail: | |
15711 | return NULL; | |
15712 | } | |
15713 | ||
15714 | ||
15715 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15716 | PyObject *resultobj; | |
15717 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15718 | int arg2 ; | |
15719 | int arg3 ; | |
15720 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15721 | PyObject * obj1 = 0 ; |
15722 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15723 | char *kwnames[] = { |
15afbcd0 RD |
15724 | (char *) "self",(char *) "x",(char *) "y", NULL |
15725 | }; | |
15726 | ||
15727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15730 | arg2 = (int) SWIG_AsInt(obj1); | |
15731 | if (PyErr_Occurred()) SWIG_fail; | |
15732 | arg3 = (int) SWIG_AsInt(obj2); | |
15733 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15734 | { |
15735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15736 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15737 | ||
15738 | wxPyEndAllowThreads(__tstate); | |
15739 | if (PyErr_Occurred()) SWIG_fail; | |
15740 | } | |
15741 | Py_INCREF(Py_None); resultobj = Py_None; | |
15742 | return resultobj; | |
15743 | fail: | |
15744 | return NULL; | |
15745 | } | |
15746 | ||
15747 | ||
15748 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15749 | PyObject *resultobj; | |
15750 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15751 | int *arg2 = (int *) 0 ; | |
15752 | int *arg3 = (int *) 0 ; | |
15753 | int temp2 ; | |
15754 | int temp3 ; | |
15755 | PyObject * obj0 = 0 ; | |
15756 | char *kwnames[] = { | |
15757 | (char *) "self", NULL | |
15758 | }; | |
15759 | ||
15760 | arg2 = &temp2; | |
15761 | arg3 = &temp3; | |
15762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15765 | { |
15766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15767 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15768 | ||
15769 | wxPyEndAllowThreads(__tstate); | |
15770 | if (PyErr_Occurred()) SWIG_fail; | |
15771 | } | |
15772 | Py_INCREF(Py_None); resultobj = Py_None; | |
15773 | { | |
15774 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15775 | resultobj = t_output_helper(resultobj,o); | |
15776 | } | |
15777 | { | |
15778 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15779 | resultobj = t_output_helper(resultobj,o); | |
15780 | } | |
15781 | return resultobj; | |
15782 | fail: | |
15783 | return NULL; | |
15784 | } | |
15785 | ||
15786 | ||
15787 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15788 | PyObject *resultobj; | |
15789 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15790 | int *arg2 = (int *) 0 ; | |
15791 | int *arg3 = (int *) 0 ; | |
15792 | int temp2 ; | |
15793 | int temp3 ; | |
15794 | PyObject * obj0 = 0 ; | |
15795 | char *kwnames[] = { | |
15796 | (char *) "self", NULL | |
15797 | }; | |
15798 | ||
15799 | arg2 = &temp2; | |
15800 | arg3 = &temp3; | |
15801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15804 | { |
15805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15806 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15807 | ||
15808 | wxPyEndAllowThreads(__tstate); | |
15809 | if (PyErr_Occurred()) SWIG_fail; | |
15810 | } | |
15811 | Py_INCREF(Py_None); resultobj = Py_None; | |
15812 | { | |
15813 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15814 | resultobj = t_output_helper(resultobj,o); | |
15815 | } | |
15816 | { | |
15817 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15818 | resultobj = t_output_helper(resultobj,o); | |
15819 | } | |
15820 | return resultobj; | |
15821 | fail: | |
15822 | return NULL; | |
15823 | } | |
15824 | ||
15825 | ||
15826 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15827 | PyObject *resultobj; | |
15828 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15829 | int *arg2 = (int *) 0 ; | |
15830 | int *arg3 = (int *) 0 ; | |
15831 | int temp2 ; | |
15832 | int temp3 ; | |
15833 | PyObject * obj0 = 0 ; | |
15834 | char *kwnames[] = { | |
15835 | (char *) "self", NULL | |
15836 | }; | |
15837 | ||
15838 | arg2 = &temp2; | |
15839 | arg3 = &temp3; | |
15840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15843 | { |
15844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15845 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15846 | ||
15847 | wxPyEndAllowThreads(__tstate); | |
15848 | if (PyErr_Occurred()) SWIG_fail; | |
15849 | } | |
15850 | Py_INCREF(Py_None); resultobj = Py_None; | |
15851 | { | |
15852 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15853 | resultobj = t_output_helper(resultobj,o); | |
15854 | } | |
15855 | { | |
15856 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15857 | resultobj = t_output_helper(resultobj,o); | |
15858 | } | |
15859 | return resultobj; | |
15860 | fail: | |
15861 | return NULL; | |
15862 | } | |
15863 | ||
15864 | ||
15865 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15866 | PyObject *resultobj; | |
15867 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15868 | wxSize result; | |
15869 | PyObject * obj0 = 0 ; | |
15870 | char *kwnames[] = { | |
15871 | (char *) "self", NULL | |
15872 | }; | |
15873 | ||
15874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15877 | { |
15878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15879 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15880 | ||
15881 | wxPyEndAllowThreads(__tstate); | |
15882 | if (PyErr_Occurred()) SWIG_fail; | |
15883 | } | |
15884 | { | |
15885 | wxSize * resultptr; | |
15886 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15887 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15888 | } |
15889 | return resultobj; | |
15890 | fail: | |
15891 | return NULL; | |
15892 | } | |
15893 | ||
15894 | ||
15895 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15896 | PyObject *resultobj; | |
15897 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15898 | wxSize result; | |
15899 | PyObject * obj0 = 0 ; | |
15900 | char *kwnames[] = { | |
15901 | (char *) "self", NULL | |
15902 | }; | |
15903 | ||
15904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15905 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15907 | { |
15908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15909 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15910 | ||
15911 | wxPyEndAllowThreads(__tstate); | |
15912 | if (PyErr_Occurred()) SWIG_fail; | |
15913 | } | |
15914 | { | |
15915 | wxSize * resultptr; | |
15916 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15917 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15918 | } |
15919 | return resultobj; | |
15920 | fail: | |
15921 | return NULL; | |
15922 | } | |
15923 | ||
15924 | ||
15925 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15926 | PyObject *resultobj; | |
15927 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15928 | PyObject * obj0 = 0 ; | |
15929 | char *kwnames[] = { | |
15930 | (char *) "self", NULL | |
15931 | }; | |
15932 | ||
15933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15936 | { |
15937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15938 | (arg1)->base_InitDialog(); | |
15939 | ||
15940 | wxPyEndAllowThreads(__tstate); | |
15941 | if (PyErr_Occurred()) SWIG_fail; | |
15942 | } | |
15943 | Py_INCREF(Py_None); resultobj = Py_None; | |
15944 | return resultobj; | |
15945 | fail: | |
15946 | return NULL; | |
15947 | } | |
15948 | ||
15949 | ||
15950 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15951 | PyObject *resultobj; | |
15952 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15953 | bool result; | |
15954 | PyObject * obj0 = 0 ; | |
15955 | char *kwnames[] = { | |
15956 | (char *) "self", NULL | |
15957 | }; | |
15958 | ||
15959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15962 | { |
15963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15964 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15965 | ||
15966 | wxPyEndAllowThreads(__tstate); | |
15967 | if (PyErr_Occurred()) SWIG_fail; | |
15968 | } | |
4f89f6a3 RD |
15969 | { |
15970 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15971 | } | |
d14a1e28 RD |
15972 | return resultobj; |
15973 | fail: | |
15974 | return NULL; | |
15975 | } | |
15976 | ||
15977 | ||
15978 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15979 | PyObject *resultobj; | |
15980 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15981 | bool result; | |
15982 | PyObject * obj0 = 0 ; | |
15983 | char *kwnames[] = { | |
15984 | (char *) "self", NULL | |
15985 | }; | |
15986 | ||
15987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15990 | { |
15991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15992 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15993 | ||
15994 | wxPyEndAllowThreads(__tstate); | |
15995 | if (PyErr_Occurred()) SWIG_fail; | |
15996 | } | |
4f89f6a3 RD |
15997 | { |
15998 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15999 | } | |
d14a1e28 RD |
16000 | return resultobj; |
16001 | fail: | |
16002 | return NULL; | |
16003 | } | |
16004 | ||
16005 | ||
16006 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16007 | PyObject *resultobj; | |
16008 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16009 | bool result; | |
16010 | PyObject * obj0 = 0 ; | |
16011 | char *kwnames[] = { | |
16012 | (char *) "self", NULL | |
16013 | }; | |
16014 | ||
16015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16018 | { |
16019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16020 | result = (bool)(arg1)->base_Validate(); | |
16021 | ||
16022 | wxPyEndAllowThreads(__tstate); | |
16023 | if (PyErr_Occurred()) SWIG_fail; | |
16024 | } | |
4f89f6a3 RD |
16025 | { |
16026 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16027 | } | |
d14a1e28 RD |
16028 | return resultobj; |
16029 | fail: | |
16030 | return NULL; | |
16031 | } | |
16032 | ||
16033 | ||
16034 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16035 | PyObject *resultobj; | |
16036 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16037 | bool result; | |
16038 | PyObject * obj0 = 0 ; | |
16039 | char *kwnames[] = { | |
16040 | (char *) "self", NULL | |
16041 | }; | |
16042 | ||
16043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16046 | { |
16047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16048 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
16049 | ||
16050 | wxPyEndAllowThreads(__tstate); | |
16051 | if (PyErr_Occurred()) SWIG_fail; | |
16052 | } | |
4f89f6a3 RD |
16053 | { |
16054 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16055 | } | |
d14a1e28 RD |
16056 | return resultobj; |
16057 | fail: | |
16058 | return NULL; | |
16059 | } | |
16060 | ||
16061 | ||
16062 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16063 | PyObject *resultobj; | |
16064 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16065 | bool result; | |
16066 | PyObject * obj0 = 0 ; | |
16067 | char *kwnames[] = { | |
16068 | (char *) "self", NULL | |
16069 | }; | |
16070 | ||
16071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16072 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16073 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16074 | { |
16075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16076 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16077 | ||
16078 | wxPyEndAllowThreads(__tstate); | |
16079 | if (PyErr_Occurred()) SWIG_fail; | |
16080 | } | |
4f89f6a3 RD |
16081 | { |
16082 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16083 | } | |
d14a1e28 RD |
16084 | return resultobj; |
16085 | fail: | |
16086 | return NULL; | |
16087 | } | |
16088 | ||
16089 | ||
16090 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16091 | PyObject *resultobj; | |
16092 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16093 | wxSize result; | |
16094 | PyObject * obj0 = 0 ; | |
16095 | char *kwnames[] = { | |
16096 | (char *) "self", NULL | |
16097 | }; | |
16098 | ||
16099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16102 | { |
16103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16104 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
16105 | ||
16106 | wxPyEndAllowThreads(__tstate); | |
16107 | if (PyErr_Occurred()) SWIG_fail; | |
16108 | } | |
16109 | { | |
16110 | wxSize * resultptr; | |
16111 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16112 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16113 | } |
16114 | return resultobj; | |
16115 | fail: | |
16116 | return NULL; | |
16117 | } | |
16118 | ||
16119 | ||
16120 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16121 | PyObject *resultobj; | |
16122 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16123 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16124 | PyObject * obj0 = 0 ; | |
16125 | PyObject * obj1 = 0 ; | |
16126 | char *kwnames[] = { | |
16127 | (char *) "self",(char *) "child", NULL | |
16128 | }; | |
16129 | ||
16130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16131 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16133 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16135 | { |
16136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16137 | (arg1)->base_AddChild(arg2); | |
16138 | ||
16139 | wxPyEndAllowThreads(__tstate); | |
16140 | if (PyErr_Occurred()) SWIG_fail; | |
16141 | } | |
16142 | Py_INCREF(Py_None); resultobj = Py_None; | |
16143 | return resultobj; | |
16144 | fail: | |
16145 | return NULL; | |
16146 | } | |
16147 | ||
16148 | ||
16149 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16150 | PyObject *resultobj; | |
16151 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16152 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16153 | PyObject * obj0 = 0 ; | |
16154 | PyObject * obj1 = 0 ; | |
16155 | char *kwnames[] = { | |
16156 | (char *) "self",(char *) "child", NULL | |
16157 | }; | |
16158 | ||
16159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16162 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16164 | { |
16165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16166 | (arg1)->base_RemoveChild(arg2); | |
16167 | ||
16168 | wxPyEndAllowThreads(__tstate); | |
16169 | if (PyErr_Occurred()) SWIG_fail; | |
16170 | } | |
16171 | Py_INCREF(Py_None); resultobj = Py_None; | |
16172 | return resultobj; | |
16173 | fail: | |
16174 | return NULL; | |
16175 | } | |
16176 | ||
16177 | ||
1cb4a8aa RD |
16178 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
16179 | PyObject *resultobj; | |
16180 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16181 | bool result; | |
16182 | PyObject * obj0 = 0 ; | |
16183 | char *kwnames[] = { | |
16184 | (char *) "self", NULL | |
16185 | }; | |
16186 | ||
16187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
16188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16190 | { | |
16191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 16192 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
16193 | |
16194 | wxPyEndAllowThreads(__tstate); | |
16195 | if (PyErr_Occurred()) SWIG_fail; | |
16196 | } | |
16197 | { | |
16198 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16199 | } | |
16200 | return resultobj; | |
16201 | fail: | |
16202 | return NULL; | |
16203 | } | |
16204 | ||
16205 | ||
16206 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16207 | PyObject *resultobj; | |
16208 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16209 | wxColour *arg2 = 0 ; | |
16210 | wxColour temp2 ; | |
16211 | PyObject * obj0 = 0 ; | |
16212 | PyObject * obj1 = 0 ; | |
16213 | char *kwnames[] = { | |
16214 | (char *) "self",(char *) "c", NULL | |
16215 | }; | |
16216 | ||
16217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
16218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16220 | { | |
16221 | arg2 = &temp2; | |
16222 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16223 | } | |
16224 | { | |
16225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16226 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
16227 | ||
16228 | wxPyEndAllowThreads(__tstate); | |
16229 | if (PyErr_Occurred()) SWIG_fail; | |
16230 | } | |
16231 | Py_INCREF(Py_None); resultobj = Py_None; | |
16232 | return resultobj; | |
16233 | fail: | |
16234 | return NULL; | |
16235 | } | |
16236 | ||
16237 | ||
db3e571a RD |
16238 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
16239 | PyObject *resultobj; | |
16240 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16241 | wxVisualAttributes result; | |
16242 | PyObject * obj0 = 0 ; | |
16243 | char *kwnames[] = { | |
16244 | (char *) "self", NULL | |
16245 | }; | |
16246 | ||
16247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
16248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16250 | { | |
16251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16252 | result = (arg1)->base_GetDefaultAttributes(); | |
16253 | ||
16254 | wxPyEndAllowThreads(__tstate); | |
16255 | if (PyErr_Occurred()) SWIG_fail; | |
16256 | } | |
16257 | { | |
16258 | wxVisualAttributes * resultptr; | |
16259 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
16260 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
16261 | } | |
16262 | return resultobj; | |
16263 | fail: | |
16264 | return NULL; | |
16265 | } | |
16266 | ||
16267 | ||
d14a1e28 RD |
16268 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { |
16269 | PyObject *obj; | |
16270 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16271 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
16272 | Py_INCREF(obj); | |
16273 | return Py_BuildValue((char *)""); | |
16274 | } | |
16275 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16276 | PyObject *resultobj; | |
16277 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 16278 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
16279 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
16280 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16281 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16282 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16283 | long arg5 = (long) 0 ; | |
16284 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16285 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16286 | wxPyPanel *result; | |
16287 | wxPoint temp3 ; | |
16288 | wxSize temp4 ; | |
e811c8ce | 16289 | bool temp6 = False ; |
d14a1e28 | 16290 | PyObject * obj0 = 0 ; |
994141e6 | 16291 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16292 | PyObject * obj2 = 0 ; |
16293 | PyObject * obj3 = 0 ; | |
994141e6 | 16294 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
16295 | PyObject * obj5 = 0 ; |
16296 | char *kwnames[] = { | |
16297 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16298 | }; | |
16299 | ||
248ed943 | 16300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
16302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
16303 | if (obj1) { |
16304 | arg2 = (int const) SWIG_AsInt(obj1); | |
16305 | if (PyErr_Occurred()) SWIG_fail; | |
16306 | } | |
d14a1e28 RD |
16307 | if (obj2) { |
16308 | { | |
16309 | arg3 = &temp3; | |
16310 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16311 | } | |
16312 | } | |
16313 | if (obj3) { | |
16314 | { | |
16315 | arg4 = &temp4; | |
16316 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16317 | } | |
16318 | } | |
994141e6 | 16319 | if (obj4) { |
15afbcd0 RD |
16320 | arg5 = (long) SWIG_AsLong(obj4); |
16321 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16322 | } |
d14a1e28 RD |
16323 | if (obj5) { |
16324 | { | |
16325 | arg6 = wxString_in_helper(obj5); | |
16326 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 16327 | temp6 = True; |
d14a1e28 RD |
16328 | } |
16329 | } | |
16330 | { | |
e3b71cb8 | 16331 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16333 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16334 | ||
16335 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 16336 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16337 | } |
15afbcd0 | 16338 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
16339 | { |
16340 | if (temp6) | |
16341 | delete arg6; | |
16342 | } | |
16343 | return resultobj; | |
16344 | fail: | |
16345 | { | |
16346 | if (temp6) | |
16347 | delete arg6; | |
16348 | } | |
16349 | return NULL; | |
16350 | } | |
16351 | ||
16352 | ||
1cb4a8aa RD |
16353 | static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { |
16354 | PyObject *resultobj; | |
16355 | wxPyPanel *result; | |
16356 | char *kwnames[] = { | |
16357 | NULL | |
16358 | }; | |
16359 | ||
16360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
16361 | { | |
e3b71cb8 | 16362 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
16363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16364 | result = (wxPyPanel *)new wxPyPanel(); | |
16365 | ||
16366 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 16367 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
16368 | } |
16369 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16370 | return resultobj; | |
16371 | fail: | |
16372 | return NULL; | |
16373 | } | |
16374 | ||
16375 | ||
d14a1e28 RD |
16376 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
16377 | PyObject *resultobj; | |
16378 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16379 | PyObject *arg2 = (PyObject *) 0 ; | |
16380 | PyObject *arg3 = (PyObject *) 0 ; | |
16381 | PyObject * obj0 = 0 ; | |
16382 | PyObject * obj1 = 0 ; | |
16383 | PyObject * obj2 = 0 ; | |
16384 | char *kwnames[] = { | |
16385 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16386 | }; | |
16387 | ||
16388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
16389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16391 | arg2 = obj1; |
16392 | arg3 = obj2; | |
16393 | { | |
16394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16395 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16396 | ||
16397 | wxPyEndAllowThreads(__tstate); | |
16398 | if (PyErr_Occurred()) SWIG_fail; | |
16399 | } | |
16400 | Py_INCREF(Py_None); resultobj = Py_None; | |
16401 | return resultobj; | |
16402 | fail: | |
16403 | return NULL; | |
16404 | } | |
16405 | ||
16406 | ||
db3e571a RD |
16407 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
16408 | PyObject *resultobj; | |
16409 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16410 | wxSize *arg2 = 0 ; | |
16411 | wxSize temp2 ; | |
16412 | PyObject * obj0 = 0 ; | |
16413 | PyObject * obj1 = 0 ; | |
16414 | char *kwnames[] = { | |
16415 | (char *) "self",(char *) "size", NULL | |
16416 | }; | |
16417 | ||
16418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16421 | { | |
16422 | arg2 = &temp2; | |
16423 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16424 | } | |
16425 | { | |
16426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16427 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16428 | ||
16429 | wxPyEndAllowThreads(__tstate); | |
16430 | if (PyErr_Occurred()) SWIG_fail; | |
16431 | } | |
16432 | Py_INCREF(Py_None); resultobj = Py_None; | |
16433 | return resultobj; | |
16434 | fail: | |
16435 | return NULL; | |
16436 | } | |
16437 | ||
16438 | ||
d14a1e28 RD |
16439 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
16440 | PyObject *resultobj; | |
16441 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16442 | int arg2 ; | |
16443 | int arg3 ; | |
16444 | int arg4 ; | |
16445 | int arg5 ; | |
16446 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16447 | PyObject * obj1 = 0 ; |
16448 | PyObject * obj2 = 0 ; | |
16449 | PyObject * obj3 = 0 ; | |
16450 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
16451 | char *kwnames[] = { |
16452 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16453 | }; | |
16454 | ||
994141e6 | 16455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
16456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16458 | arg2 = (int) SWIG_AsInt(obj1); | |
16459 | if (PyErr_Occurred()) SWIG_fail; | |
16460 | arg3 = (int) SWIG_AsInt(obj2); | |
16461 | if (PyErr_Occurred()) SWIG_fail; | |
16462 | arg4 = (int) SWIG_AsInt(obj3); | |
16463 | if (PyErr_Occurred()) SWIG_fail; | |
16464 | arg5 = (int) SWIG_AsInt(obj4); | |
16465 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16466 | { |
16467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16468 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16469 | ||
16470 | wxPyEndAllowThreads(__tstate); | |
16471 | if (PyErr_Occurred()) SWIG_fail; | |
16472 | } | |
16473 | Py_INCREF(Py_None); resultobj = Py_None; | |
16474 | return resultobj; | |
16475 | fail: | |
16476 | return NULL; | |
16477 | } | |
16478 | ||
16479 | ||
16480 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16481 | PyObject *resultobj; | |
16482 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16483 | int arg2 ; | |
16484 | int arg3 ; | |
16485 | int arg4 ; | |
16486 | int arg5 ; | |
16487 | int arg6 = (int) wxSIZE_AUTO ; | |
16488 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16489 | PyObject * obj1 = 0 ; |
16490 | PyObject * obj2 = 0 ; | |
16491 | PyObject * obj3 = 0 ; | |
16492 | PyObject * obj4 = 0 ; | |
16493 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
16494 | char *kwnames[] = { |
16495 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16496 | }; | |
16497 | ||
994141e6 | 16498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16501 | arg2 = (int) SWIG_AsInt(obj1); | |
16502 | if (PyErr_Occurred()) SWIG_fail; | |
16503 | arg3 = (int) SWIG_AsInt(obj2); | |
16504 | if (PyErr_Occurred()) SWIG_fail; | |
16505 | arg4 = (int) SWIG_AsInt(obj3); | |
16506 | if (PyErr_Occurred()) SWIG_fail; | |
16507 | arg5 = (int) SWIG_AsInt(obj4); | |
16508 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16509 | if (obj5) { |
15afbcd0 RD |
16510 | arg6 = (int) SWIG_AsInt(obj5); |
16511 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 16512 | } |
d14a1e28 RD |
16513 | { |
16514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16515 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16516 | ||
16517 | wxPyEndAllowThreads(__tstate); | |
16518 | if (PyErr_Occurred()) SWIG_fail; | |
16519 | } | |
16520 | Py_INCREF(Py_None); resultobj = Py_None; | |
16521 | return resultobj; | |
16522 | fail: | |
16523 | return NULL; | |
16524 | } | |
16525 | ||
16526 | ||
16527 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16528 | PyObject *resultobj; | |
16529 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16530 | int arg2 ; | |
16531 | int arg3 ; | |
16532 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16533 | PyObject * obj1 = 0 ; |
16534 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16535 | char *kwnames[] = { |
16536 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16537 | }; | |
16538 | ||
994141e6 | 16539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16542 | arg2 = (int) SWIG_AsInt(obj1); | |
16543 | if (PyErr_Occurred()) SWIG_fail; | |
16544 | arg3 = (int) SWIG_AsInt(obj2); | |
16545 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16546 | { |
16547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16548 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16549 | ||
16550 | wxPyEndAllowThreads(__tstate); | |
16551 | if (PyErr_Occurred()) SWIG_fail; | |
16552 | } | |
16553 | Py_INCREF(Py_None); resultobj = Py_None; | |
16554 | return resultobj; | |
16555 | fail: | |
16556 | return NULL; | |
16557 | } | |
16558 | ||
16559 | ||
16560 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16561 | PyObject *resultobj; | |
16562 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16563 | int arg2 ; | |
16564 | int arg3 ; | |
16565 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16566 | PyObject * obj1 = 0 ; |
16567 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16568 | char *kwnames[] = { |
16569 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16570 | }; | |
16571 | ||
994141e6 | 16572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16575 | arg2 = (int) SWIG_AsInt(obj1); | |
16576 | if (PyErr_Occurred()) SWIG_fail; | |
16577 | arg3 = (int) SWIG_AsInt(obj2); | |
16578 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16579 | { |
16580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16581 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16582 | ||
16583 | wxPyEndAllowThreads(__tstate); | |
16584 | if (PyErr_Occurred()) SWIG_fail; | |
16585 | } | |
16586 | Py_INCREF(Py_None); resultobj = Py_None; | |
16587 | return resultobj; | |
16588 | fail: | |
16589 | return NULL; | |
16590 | } | |
16591 | ||
16592 | ||
16593 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16594 | PyObject *resultobj; | |
16595 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16596 | int *arg2 = (int *) 0 ; | |
16597 | int *arg3 = (int *) 0 ; | |
16598 | int temp2 ; | |
16599 | int temp3 ; | |
16600 | PyObject * obj0 = 0 ; | |
16601 | char *kwnames[] = { | |
16602 | (char *) "self", NULL | |
16603 | }; | |
16604 | ||
16605 | arg2 = &temp2; | |
16606 | arg3 = &temp3; | |
16607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16610 | { |
16611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16612 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16613 | ||
16614 | wxPyEndAllowThreads(__tstate); | |
16615 | if (PyErr_Occurred()) SWIG_fail; | |
16616 | } | |
16617 | Py_INCREF(Py_None); resultobj = Py_None; | |
16618 | { | |
16619 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16620 | resultobj = t_output_helper(resultobj,o); | |
16621 | } | |
16622 | { | |
16623 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16624 | resultobj = t_output_helper(resultobj,o); | |
16625 | } | |
16626 | return resultobj; | |
16627 | fail: | |
16628 | return NULL; | |
16629 | } | |
16630 | ||
16631 | ||
16632 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16633 | PyObject *resultobj; | |
16634 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16635 | int *arg2 = (int *) 0 ; | |
16636 | int *arg3 = (int *) 0 ; | |
16637 | int temp2 ; | |
16638 | int temp3 ; | |
16639 | PyObject * obj0 = 0 ; | |
16640 | char *kwnames[] = { | |
16641 | (char *) "self", NULL | |
16642 | }; | |
16643 | ||
16644 | arg2 = &temp2; | |
16645 | arg3 = &temp3; | |
16646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16649 | { |
16650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16651 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16652 | ||
16653 | wxPyEndAllowThreads(__tstate); | |
16654 | if (PyErr_Occurred()) SWIG_fail; | |
16655 | } | |
16656 | Py_INCREF(Py_None); resultobj = Py_None; | |
16657 | { | |
16658 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16659 | resultobj = t_output_helper(resultobj,o); | |
16660 | } | |
16661 | { | |
16662 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16663 | resultobj = t_output_helper(resultobj,o); | |
16664 | } | |
16665 | return resultobj; | |
16666 | fail: | |
16667 | return NULL; | |
16668 | } | |
16669 | ||
16670 | ||
16671 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16672 | PyObject *resultobj; | |
16673 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16674 | int *arg2 = (int *) 0 ; | |
16675 | int *arg3 = (int *) 0 ; | |
16676 | int temp2 ; | |
16677 | int temp3 ; | |
16678 | PyObject * obj0 = 0 ; | |
16679 | char *kwnames[] = { | |
16680 | (char *) "self", NULL | |
16681 | }; | |
16682 | ||
16683 | arg2 = &temp2; | |
16684 | arg3 = &temp3; | |
16685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16688 | { |
16689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16690 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16691 | ||
16692 | wxPyEndAllowThreads(__tstate); | |
16693 | if (PyErr_Occurred()) SWIG_fail; | |
16694 | } | |
16695 | Py_INCREF(Py_None); resultobj = Py_None; | |
16696 | { | |
16697 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16698 | resultobj = t_output_helper(resultobj,o); | |
16699 | } | |
16700 | { | |
16701 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16702 | resultobj = t_output_helper(resultobj,o); | |
16703 | } | |
16704 | return resultobj; | |
16705 | fail: | |
16706 | return NULL; | |
16707 | } | |
16708 | ||
16709 | ||
16710 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16711 | PyObject *resultobj; | |
16712 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16713 | wxSize result; | |
16714 | PyObject * obj0 = 0 ; | |
16715 | char *kwnames[] = { | |
16716 | (char *) "self", NULL | |
16717 | }; | |
16718 | ||
16719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16722 | { |
16723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16724 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16725 | ||
16726 | wxPyEndAllowThreads(__tstate); | |
16727 | if (PyErr_Occurred()) SWIG_fail; | |
16728 | } | |
16729 | { | |
16730 | wxSize * resultptr; | |
16731 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16732 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16733 | } |
16734 | return resultobj; | |
16735 | fail: | |
16736 | return NULL; | |
16737 | } | |
16738 | ||
16739 | ||
16740 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16741 | PyObject *resultobj; | |
16742 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16743 | wxSize result; | |
16744 | PyObject * obj0 = 0 ; | |
16745 | char *kwnames[] = { | |
16746 | (char *) "self", NULL | |
16747 | }; | |
16748 | ||
16749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16752 | { |
16753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16754 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16755 | ||
16756 | wxPyEndAllowThreads(__tstate); | |
16757 | if (PyErr_Occurred()) SWIG_fail; | |
16758 | } | |
16759 | { | |
16760 | wxSize * resultptr; | |
16761 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16762 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16763 | } |
16764 | return resultobj; | |
16765 | fail: | |
16766 | return NULL; | |
16767 | } | |
16768 | ||
16769 | ||
16770 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16771 | PyObject *resultobj; | |
16772 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16773 | PyObject * obj0 = 0 ; | |
16774 | char *kwnames[] = { | |
16775 | (char *) "self", NULL | |
16776 | }; | |
16777 | ||
16778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16779 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16781 | { |
16782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16783 | (arg1)->base_InitDialog(); | |
16784 | ||
16785 | wxPyEndAllowThreads(__tstate); | |
16786 | if (PyErr_Occurred()) SWIG_fail; | |
16787 | } | |
16788 | Py_INCREF(Py_None); resultobj = Py_None; | |
16789 | return resultobj; | |
16790 | fail: | |
16791 | return NULL; | |
16792 | } | |
16793 | ||
16794 | ||
16795 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16796 | PyObject *resultobj; | |
16797 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16798 | bool result; | |
16799 | PyObject * obj0 = 0 ; | |
16800 | char *kwnames[] = { | |
16801 | (char *) "self", NULL | |
16802 | }; | |
16803 | ||
16804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16807 | { |
16808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16809 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16810 | ||
16811 | wxPyEndAllowThreads(__tstate); | |
16812 | if (PyErr_Occurred()) SWIG_fail; | |
16813 | } | |
4f89f6a3 RD |
16814 | { |
16815 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16816 | } | |
d14a1e28 RD |
16817 | return resultobj; |
16818 | fail: | |
16819 | return NULL; | |
16820 | } | |
16821 | ||
16822 | ||
16823 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16824 | PyObject *resultobj; | |
16825 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16826 | bool result; | |
16827 | PyObject * obj0 = 0 ; | |
16828 | char *kwnames[] = { | |
16829 | (char *) "self", NULL | |
16830 | }; | |
16831 | ||
16832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16835 | { |
16836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16837 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16838 | ||
16839 | wxPyEndAllowThreads(__tstate); | |
16840 | if (PyErr_Occurred()) SWIG_fail; | |
16841 | } | |
4f89f6a3 RD |
16842 | { |
16843 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16844 | } | |
d14a1e28 RD |
16845 | return resultobj; |
16846 | fail: | |
16847 | return NULL; | |
16848 | } | |
16849 | ||
16850 | ||
16851 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16852 | PyObject *resultobj; | |
16853 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16854 | bool result; | |
16855 | PyObject * obj0 = 0 ; | |
16856 | char *kwnames[] = { | |
16857 | (char *) "self", NULL | |
16858 | }; | |
16859 | ||
16860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16863 | { |
16864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16865 | result = (bool)(arg1)->base_Validate(); | |
16866 | ||
16867 | wxPyEndAllowThreads(__tstate); | |
16868 | if (PyErr_Occurred()) SWIG_fail; | |
16869 | } | |
4f89f6a3 RD |
16870 | { |
16871 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16872 | } | |
d14a1e28 RD |
16873 | return resultobj; |
16874 | fail: | |
16875 | return NULL; | |
16876 | } | |
16877 | ||
16878 | ||
16879 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16880 | PyObject *resultobj; | |
16881 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16882 | bool result; | |
16883 | PyObject * obj0 = 0 ; | |
16884 | char *kwnames[] = { | |
16885 | (char *) "self", NULL | |
16886 | }; | |
16887 | ||
16888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16891 | { |
16892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16893 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16894 | ||
16895 | wxPyEndAllowThreads(__tstate); | |
16896 | if (PyErr_Occurred()) SWIG_fail; | |
16897 | } | |
4f89f6a3 RD |
16898 | { |
16899 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16900 | } | |
d14a1e28 RD |
16901 | return resultobj; |
16902 | fail: | |
16903 | return NULL; | |
16904 | } | |
16905 | ||
16906 | ||
16907 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16908 | PyObject *resultobj; | |
16909 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16910 | bool result; | |
16911 | PyObject * obj0 = 0 ; | |
16912 | char *kwnames[] = { | |
16913 | (char *) "self", NULL | |
16914 | }; | |
16915 | ||
16916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16919 | { |
16920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16921 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16922 | ||
16923 | wxPyEndAllowThreads(__tstate); | |
16924 | if (PyErr_Occurred()) SWIG_fail; | |
16925 | } | |
4f89f6a3 RD |
16926 | { |
16927 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16928 | } | |
d14a1e28 RD |
16929 | return resultobj; |
16930 | fail: | |
16931 | return NULL; | |
16932 | } | |
16933 | ||
16934 | ||
16935 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16936 | PyObject *resultobj; | |
16937 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16938 | wxSize result; | |
16939 | PyObject * obj0 = 0 ; | |
16940 | char *kwnames[] = { | |
16941 | (char *) "self", NULL | |
16942 | }; | |
16943 | ||
16944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16947 | { |
16948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16949 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16950 | ||
16951 | wxPyEndAllowThreads(__tstate); | |
16952 | if (PyErr_Occurred()) SWIG_fail; | |
16953 | } | |
16954 | { | |
16955 | wxSize * resultptr; | |
16956 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16957 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16958 | } |
16959 | return resultobj; | |
16960 | fail: | |
16961 | return NULL; | |
16962 | } | |
16963 | ||
16964 | ||
16965 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16966 | PyObject *resultobj; | |
16967 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16968 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16969 | PyObject * obj0 = 0 ; | |
16970 | PyObject * obj1 = 0 ; | |
16971 | char *kwnames[] = { | |
16972 | (char *) "self",(char *) "child", NULL | |
16973 | }; | |
16974 | ||
16975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16978 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16980 | { |
16981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16982 | (arg1)->base_AddChild(arg2); | |
16983 | ||
16984 | wxPyEndAllowThreads(__tstate); | |
16985 | if (PyErr_Occurred()) SWIG_fail; | |
16986 | } | |
16987 | Py_INCREF(Py_None); resultobj = Py_None; | |
16988 | return resultobj; | |
16989 | fail: | |
16990 | return NULL; | |
16991 | } | |
16992 | ||
16993 | ||
16994 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16995 | PyObject *resultobj; | |
16996 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16997 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16998 | PyObject * obj0 = 0 ; | |
16999 | PyObject * obj1 = 0 ; | |
17000 | char *kwnames[] = { | |
17001 | (char *) "self",(char *) "child", NULL | |
17002 | }; | |
17003 | ||
17004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17007 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17009 | { |
17010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17011 | (arg1)->base_RemoveChild(arg2); | |
17012 | ||
17013 | wxPyEndAllowThreads(__tstate); | |
17014 | if (PyErr_Occurred()) SWIG_fail; | |
17015 | } | |
17016 | Py_INCREF(Py_None); resultobj = Py_None; | |
17017 | return resultobj; | |
17018 | fail: | |
17019 | return NULL; | |
17020 | } | |
17021 | ||
17022 | ||
1cb4a8aa | 17023 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17024 | PyObject *resultobj; |
1cb4a8aa RD |
17025 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17026 | bool result; | |
17027 | PyObject * obj0 = 0 ; | |
d14a1e28 | 17028 | char *kwnames[] = { |
1cb4a8aa | 17029 | (char *) "self", NULL |
d14a1e28 RD |
17030 | }; |
17031 | ||
1cb4a8aa RD |
17032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; |
17033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17035 | { |
17036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 17037 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d14a1e28 RD |
17038 | |
17039 | wxPyEndAllowThreads(__tstate); | |
17040 | if (PyErr_Occurred()) SWIG_fail; | |
17041 | } | |
1cb4a8aa RD |
17042 | { |
17043 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17044 | } | |
d14a1e28 RD |
17045 | return resultobj; |
17046 | fail: | |
17047 | return NULL; | |
17048 | } | |
17049 | ||
17050 | ||
1cb4a8aa | 17051 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17052 | PyObject *resultobj; |
1cb4a8aa RD |
17053 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17054 | wxColour *arg2 = 0 ; | |
17055 | wxColour temp2 ; | |
d14a1e28 | 17056 | PyObject * obj0 = 0 ; |
1cb4a8aa | 17057 | PyObject * obj1 = 0 ; |
d14a1e28 | 17058 | char *kwnames[] = { |
1cb4a8aa | 17059 | (char *) "self",(char *) "c", NULL |
d14a1e28 RD |
17060 | }; |
17061 | ||
1cb4a8aa RD |
17062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; |
17063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
15afbcd0 | 17064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
17065 | { |
17066 | arg2 = &temp2; | |
17067 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17068 | } | |
d14a1e28 RD |
17069 | { |
17070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 17071 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); |
d14a1e28 RD |
17072 | |
17073 | wxPyEndAllowThreads(__tstate); | |
17074 | if (PyErr_Occurred()) SWIG_fail; | |
17075 | } | |
17076 | Py_INCREF(Py_None); resultobj = Py_None; | |
17077 | return resultobj; | |
17078 | fail: | |
17079 | return NULL; | |
17080 | } | |
17081 | ||
17082 | ||
db3e571a RD |
17083 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
17084 | PyObject *resultobj; | |
17085 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17086 | wxVisualAttributes result; | |
17087 | PyObject * obj0 = 0 ; | |
17088 | char *kwnames[] = { | |
17089 | (char *) "self", NULL | |
17090 | }; | |
17091 | ||
17092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17095 | { | |
17096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17097 | result = (arg1)->base_GetDefaultAttributes(); | |
17098 | ||
17099 | wxPyEndAllowThreads(__tstate); | |
17100 | if (PyErr_Occurred()) SWIG_fail; | |
17101 | } | |
17102 | { | |
17103 | wxVisualAttributes * resultptr; | |
17104 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17105 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17106 | } | |
17107 | return resultobj; | |
17108 | fail: | |
17109 | return NULL; | |
17110 | } | |
17111 | ||
17112 | ||
1cb4a8aa RD |
17113 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { |
17114 | PyObject *obj; | |
17115 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17116 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
17117 | Py_INCREF(obj); | |
17118 | return Py_BuildValue((char *)""); | |
17119 | } | |
17120 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d14a1e28 | 17121 | PyObject *resultobj; |
1cb4a8aa | 17122 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 17123 | int arg2 = (int) (int)-1 ; |
1cb4a8aa RD |
17124 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17125 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17126 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17127 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17128 | long arg5 = (long) 0 ; | |
17129 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17130 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17131 | wxPyScrolledWindow *result; | |
17132 | wxPoint temp3 ; | |
17133 | wxSize temp4 ; | |
17134 | bool temp6 = False ; | |
d14a1e28 | 17135 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
17136 | PyObject * obj1 = 0 ; |
17137 | PyObject * obj2 = 0 ; | |
17138 | PyObject * obj3 = 0 ; | |
17139 | PyObject * obj4 = 0 ; | |
17140 | PyObject * obj5 = 0 ; | |
d14a1e28 | 17141 | char *kwnames[] = { |
1cb4a8aa | 17142 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
17143 | }; |
17144 | ||
248ed943 | 17145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1cb4a8aa | 17146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15afbcd0 | 17147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
248ed943 RD |
17148 | if (obj1) { |
17149 | arg2 = (int const) SWIG_AsInt(obj1); | |
17150 | if (PyErr_Occurred()) SWIG_fail; | |
17151 | } | |
1cb4a8aa RD |
17152 | if (obj2) { |
17153 | { | |
17154 | arg3 = &temp3; | |
17155 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17156 | } | |
17157 | } | |
17158 | if (obj3) { | |
17159 | { | |
17160 | arg4 = &temp4; | |
17161 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17162 | } | |
17163 | } | |
17164 | if (obj4) { | |
17165 | arg5 = (long) SWIG_AsLong(obj4); | |
17166 | if (PyErr_Occurred()) SWIG_fail; | |
17167 | } | |
17168 | if (obj5) { | |
17169 | { | |
17170 | arg6 = wxString_in_helper(obj5); | |
17171 | if (arg6 == NULL) SWIG_fail; | |
17172 | temp6 = True; | |
17173 | } | |
17174 | } | |
17175 | { | |
e3b71cb8 | 17176 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17178 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17179 | ||
17180 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 17181 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17182 | } |
17183 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17184 | { | |
17185 | if (temp6) | |
17186 | delete arg6; | |
17187 | } | |
17188 | return resultobj; | |
17189 | fail: | |
17190 | { | |
17191 | if (temp6) | |
17192 | delete arg6; | |
17193 | } | |
17194 | return NULL; | |
17195 | } | |
17196 | ||
17197 | ||
17198 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17199 | PyObject *resultobj; | |
17200 | wxPyScrolledWindow *result; | |
17201 | char *kwnames[] = { | |
17202 | NULL | |
17203 | }; | |
17204 | ||
17205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
17206 | { | |
e3b71cb8 | 17207 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17209 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
17210 | ||
17211 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 17212 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17213 | } |
17214 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17215 | return resultobj; | |
17216 | fail: | |
17217 | return NULL; | |
17218 | } | |
17219 | ||
17220 | ||
17221 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17222 | PyObject *resultobj; | |
17223 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17224 | PyObject *arg2 = (PyObject *) 0 ; | |
17225 | PyObject *arg3 = (PyObject *) 0 ; | |
17226 | PyObject * obj0 = 0 ; | |
17227 | PyObject * obj1 = 0 ; | |
17228 | PyObject * obj2 = 0 ; | |
17229 | char *kwnames[] = { | |
17230 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17231 | }; | |
17232 | ||
17233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17236 | arg2 = obj1; | |
17237 | arg3 = obj2; | |
17238 | { | |
17239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17240 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17241 | ||
17242 | wxPyEndAllowThreads(__tstate); | |
17243 | if (PyErr_Occurred()) SWIG_fail; | |
17244 | } | |
17245 | Py_INCREF(Py_None); resultobj = Py_None; | |
17246 | return resultobj; | |
17247 | fail: | |
17248 | return NULL; | |
17249 | } | |
17250 | ||
17251 | ||
db3e571a RD |
17252 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
17253 | PyObject *resultobj; | |
17254 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17255 | wxSize *arg2 = 0 ; | |
17256 | wxSize temp2 ; | |
17257 | PyObject * obj0 = 0 ; | |
17258 | PyObject * obj1 = 0 ; | |
17259 | char *kwnames[] = { | |
17260 | (char *) "self",(char *) "size", NULL | |
17261 | }; | |
17262 | ||
17263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
17264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17266 | { | |
17267 | arg2 = &temp2; | |
17268 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17269 | } | |
17270 | { | |
17271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17272 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17273 | ||
17274 | wxPyEndAllowThreads(__tstate); | |
17275 | if (PyErr_Occurred()) SWIG_fail; | |
17276 | } | |
17277 | Py_INCREF(Py_None); resultobj = Py_None; | |
17278 | return resultobj; | |
17279 | fail: | |
17280 | return NULL; | |
17281 | } | |
17282 | ||
17283 | ||
1cb4a8aa RD |
17284 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
17285 | PyObject *resultobj; | |
17286 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17287 | int arg2 ; | |
17288 | int arg3 ; | |
17289 | int arg4 ; | |
17290 | int arg5 ; | |
17291 | PyObject * obj0 = 0 ; | |
17292 | PyObject * obj1 = 0 ; | |
17293 | PyObject * obj2 = 0 ; | |
17294 | PyObject * obj3 = 0 ; | |
17295 | PyObject * obj4 = 0 ; | |
17296 | char *kwnames[] = { | |
17297 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17298 | }; | |
17299 | ||
17300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
17301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17303 | arg2 = (int) SWIG_AsInt(obj1); | |
17304 | if (PyErr_Occurred()) SWIG_fail; | |
17305 | arg3 = (int) SWIG_AsInt(obj2); | |
17306 | if (PyErr_Occurred()) SWIG_fail; | |
17307 | arg4 = (int) SWIG_AsInt(obj3); | |
17308 | if (PyErr_Occurred()) SWIG_fail; | |
17309 | arg5 = (int) SWIG_AsInt(obj4); | |
17310 | if (PyErr_Occurred()) SWIG_fail; | |
17311 | { | |
17312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17313 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17314 | ||
17315 | wxPyEndAllowThreads(__tstate); | |
17316 | if (PyErr_Occurred()) SWIG_fail; | |
17317 | } | |
17318 | Py_INCREF(Py_None); resultobj = Py_None; | |
17319 | return resultobj; | |
17320 | fail: | |
17321 | return NULL; | |
17322 | } | |
17323 | ||
17324 | ||
17325 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17326 | PyObject *resultobj; | |
17327 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17328 | int arg2 ; | |
17329 | int arg3 ; | |
17330 | int arg4 ; | |
17331 | int arg5 ; | |
17332 | int arg6 = (int) wxSIZE_AUTO ; | |
17333 | PyObject * obj0 = 0 ; | |
17334 | PyObject * obj1 = 0 ; | |
17335 | PyObject * obj2 = 0 ; | |
17336 | PyObject * obj3 = 0 ; | |
17337 | PyObject * obj4 = 0 ; | |
17338 | PyObject * obj5 = 0 ; | |
17339 | char *kwnames[] = { | |
17340 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17341 | }; | |
17342 | ||
17343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
17344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17346 | arg2 = (int) SWIG_AsInt(obj1); | |
17347 | if (PyErr_Occurred()) SWIG_fail; | |
17348 | arg3 = (int) SWIG_AsInt(obj2); | |
17349 | if (PyErr_Occurred()) SWIG_fail; | |
17350 | arg4 = (int) SWIG_AsInt(obj3); | |
17351 | if (PyErr_Occurred()) SWIG_fail; | |
17352 | arg5 = (int) SWIG_AsInt(obj4); | |
17353 | if (PyErr_Occurred()) SWIG_fail; | |
17354 | if (obj5) { | |
17355 | arg6 = (int) SWIG_AsInt(obj5); | |
17356 | if (PyErr_Occurred()) SWIG_fail; | |
17357 | } | |
17358 | { | |
17359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17360 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17361 | ||
17362 | wxPyEndAllowThreads(__tstate); | |
17363 | if (PyErr_Occurred()) SWIG_fail; | |
17364 | } | |
17365 | Py_INCREF(Py_None); resultobj = Py_None; | |
17366 | return resultobj; | |
17367 | fail: | |
17368 | return NULL; | |
17369 | } | |
17370 | ||
17371 | ||
17372 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17373 | PyObject *resultobj; | |
17374 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17375 | int arg2 ; | |
17376 | int arg3 ; | |
17377 | PyObject * obj0 = 0 ; | |
17378 | PyObject * obj1 = 0 ; | |
17379 | PyObject * obj2 = 0 ; | |
17380 | char *kwnames[] = { | |
17381 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17382 | }; | |
17383 | ||
17384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17387 | arg2 = (int) SWIG_AsInt(obj1); | |
17388 | if (PyErr_Occurred()) SWIG_fail; | |
17389 | arg3 = (int) SWIG_AsInt(obj2); | |
17390 | if (PyErr_Occurred()) SWIG_fail; | |
17391 | { | |
17392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17393 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17394 | ||
17395 | wxPyEndAllowThreads(__tstate); | |
17396 | if (PyErr_Occurred()) SWIG_fail; | |
17397 | } | |
17398 | Py_INCREF(Py_None); resultobj = Py_None; | |
17399 | return resultobj; | |
17400 | fail: | |
17401 | return NULL; | |
17402 | } | |
17403 | ||
17404 | ||
17405 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17406 | PyObject *resultobj; | |
17407 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17408 | int arg2 ; | |
17409 | int arg3 ; | |
17410 | PyObject * obj0 = 0 ; | |
17411 | PyObject * obj1 = 0 ; | |
17412 | PyObject * obj2 = 0 ; | |
17413 | char *kwnames[] = { | |
17414 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17415 | }; | |
17416 | ||
17417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17420 | arg2 = (int) SWIG_AsInt(obj1); | |
17421 | if (PyErr_Occurred()) SWIG_fail; | |
17422 | arg3 = (int) SWIG_AsInt(obj2); | |
17423 | if (PyErr_Occurred()) SWIG_fail; | |
17424 | { | |
17425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17426 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17427 | ||
17428 | wxPyEndAllowThreads(__tstate); | |
17429 | if (PyErr_Occurred()) SWIG_fail; | |
17430 | } | |
17431 | Py_INCREF(Py_None); resultobj = Py_None; | |
17432 | return resultobj; | |
17433 | fail: | |
17434 | return NULL; | |
17435 | } | |
17436 | ||
17437 | ||
17438 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17439 | PyObject *resultobj; | |
17440 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17441 | int *arg2 = (int *) 0 ; | |
17442 | int *arg3 = (int *) 0 ; | |
17443 | int temp2 ; | |
17444 | int temp3 ; | |
17445 | PyObject * obj0 = 0 ; | |
17446 | char *kwnames[] = { | |
17447 | (char *) "self", NULL | |
17448 | }; | |
17449 | ||
17450 | arg2 = &temp2; | |
17451 | arg3 = &temp3; | |
17452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
17453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17455 | { | |
17456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17457 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17458 | ||
17459 | wxPyEndAllowThreads(__tstate); | |
17460 | if (PyErr_Occurred()) SWIG_fail; | |
17461 | } | |
17462 | Py_INCREF(Py_None); resultobj = Py_None; | |
17463 | { | |
17464 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17465 | resultobj = t_output_helper(resultobj,o); | |
17466 | } | |
17467 | { | |
17468 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17469 | resultobj = t_output_helper(resultobj,o); | |
17470 | } | |
17471 | return resultobj; | |
17472 | fail: | |
17473 | return NULL; | |
17474 | } | |
17475 | ||
17476 | ||
17477 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17478 | PyObject *resultobj; | |
17479 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17480 | int *arg2 = (int *) 0 ; | |
17481 | int *arg3 = (int *) 0 ; | |
17482 | int temp2 ; | |
17483 | int temp3 ; | |
17484 | PyObject * obj0 = 0 ; | |
17485 | char *kwnames[] = { | |
17486 | (char *) "self", NULL | |
17487 | }; | |
17488 | ||
17489 | arg2 = &temp2; | |
17490 | arg3 = &temp3; | |
17491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
17492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17494 | { | |
17495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17496 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17497 | ||
17498 | wxPyEndAllowThreads(__tstate); | |
17499 | if (PyErr_Occurred()) SWIG_fail; | |
17500 | } | |
17501 | Py_INCREF(Py_None); resultobj = Py_None; | |
17502 | { | |
17503 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17504 | resultobj = t_output_helper(resultobj,o); | |
17505 | } | |
17506 | { | |
17507 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17508 | resultobj = t_output_helper(resultobj,o); | |
17509 | } | |
17510 | return resultobj; | |
17511 | fail: | |
17512 | return NULL; | |
17513 | } | |
17514 | ||
17515 | ||
17516 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17517 | PyObject *resultobj; | |
17518 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17519 | int *arg2 = (int *) 0 ; | |
17520 | int *arg3 = (int *) 0 ; | |
17521 | int temp2 ; | |
17522 | int temp3 ; | |
17523 | PyObject * obj0 = 0 ; | |
17524 | char *kwnames[] = { | |
17525 | (char *) "self", NULL | |
17526 | }; | |
17527 | ||
17528 | arg2 = &temp2; | |
17529 | arg3 = &temp3; | |
17530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
17531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17533 | { | |
17534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17535 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17536 | ||
17537 | wxPyEndAllowThreads(__tstate); | |
17538 | if (PyErr_Occurred()) SWIG_fail; | |
17539 | } | |
17540 | Py_INCREF(Py_None); resultobj = Py_None; | |
17541 | { | |
17542 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17543 | resultobj = t_output_helper(resultobj,o); | |
17544 | } | |
17545 | { | |
17546 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
17547 | resultobj = t_output_helper(resultobj,o); | |
17548 | } | |
17549 | return resultobj; | |
17550 | fail: | |
17551 | return NULL; | |
17552 | } | |
17553 | ||
17554 | ||
17555 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17556 | PyObject *resultobj; | |
17557 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17558 | wxSize result; | |
17559 | PyObject * obj0 = 0 ; | |
17560 | char *kwnames[] = { | |
17561 | (char *) "self", NULL | |
17562 | }; | |
17563 | ||
17564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
17565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17567 | { | |
17568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17569 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
17570 | ||
17571 | wxPyEndAllowThreads(__tstate); | |
17572 | if (PyErr_Occurred()) SWIG_fail; | |
17573 | } | |
17574 | { | |
17575 | wxSize * resultptr; | |
17576 | resultptr = new wxSize((wxSize &) result); | |
17577 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17578 | } | |
17579 | return resultobj; | |
17580 | fail: | |
17581 | return NULL; | |
17582 | } | |
17583 | ||
17584 | ||
17585 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17586 | PyObject *resultobj; | |
17587 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17588 | wxSize result; | |
17589 | PyObject * obj0 = 0 ; | |
17590 | char *kwnames[] = { | |
17591 | (char *) "self", NULL | |
17592 | }; | |
17593 | ||
17594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
17595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17597 | { | |
17598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17599 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
17600 | ||
17601 | wxPyEndAllowThreads(__tstate); | |
17602 | if (PyErr_Occurred()) SWIG_fail; | |
17603 | } | |
17604 | { | |
17605 | wxSize * resultptr; | |
17606 | resultptr = new wxSize((wxSize &) result); | |
17607 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17608 | } | |
17609 | return resultobj; | |
17610 | fail: | |
17611 | return NULL; | |
17612 | } | |
17613 | ||
17614 | ||
17615 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17616 | PyObject *resultobj; | |
17617 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17618 | PyObject * obj0 = 0 ; | |
17619 | char *kwnames[] = { | |
17620 | (char *) "self", NULL | |
17621 | }; | |
17622 | ||
17623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
17624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17626 | { | |
17627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17628 | (arg1)->base_InitDialog(); | |
17629 | ||
17630 | wxPyEndAllowThreads(__tstate); | |
17631 | if (PyErr_Occurred()) SWIG_fail; | |
17632 | } | |
17633 | Py_INCREF(Py_None); resultobj = Py_None; | |
17634 | return resultobj; | |
17635 | fail: | |
17636 | return NULL; | |
17637 | } | |
17638 | ||
17639 | ||
17640 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17641 | PyObject *resultobj; | |
17642 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17643 | bool result; | |
17644 | PyObject * obj0 = 0 ; | |
17645 | char *kwnames[] = { | |
17646 | (char *) "self", NULL | |
17647 | }; | |
17648 | ||
17649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
17650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17652 | { | |
17653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17654 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17655 | ||
17656 | wxPyEndAllowThreads(__tstate); | |
17657 | if (PyErr_Occurred()) SWIG_fail; | |
17658 | } | |
17659 | { | |
17660 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17661 | } | |
17662 | return resultobj; | |
17663 | fail: | |
17664 | return NULL; | |
17665 | } | |
17666 | ||
17667 | ||
17668 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17669 | PyObject *resultobj; | |
17670 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17671 | bool result; | |
17672 | PyObject * obj0 = 0 ; | |
17673 | char *kwnames[] = { | |
17674 | (char *) "self", NULL | |
17675 | }; | |
17676 | ||
17677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
17678 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17680 | { | |
17681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17682 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17683 | ||
17684 | wxPyEndAllowThreads(__tstate); | |
17685 | if (PyErr_Occurred()) SWIG_fail; | |
17686 | } | |
17687 | { | |
17688 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17689 | } | |
17690 | return resultobj; | |
17691 | fail: | |
17692 | return NULL; | |
17693 | } | |
17694 | ||
17695 | ||
17696 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17697 | PyObject *resultobj; | |
17698 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17699 | bool result; | |
17700 | PyObject * obj0 = 0 ; | |
17701 | char *kwnames[] = { | |
17702 | (char *) "self", NULL | |
17703 | }; | |
17704 | ||
17705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
17706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17708 | { | |
17709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17710 | result = (bool)(arg1)->base_Validate(); | |
17711 | ||
17712 | wxPyEndAllowThreads(__tstate); | |
17713 | if (PyErr_Occurred()) SWIG_fail; | |
17714 | } | |
17715 | { | |
17716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17717 | } | |
17718 | return resultobj; | |
17719 | fail: | |
17720 | return NULL; | |
17721 | } | |
17722 | ||
17723 | ||
17724 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17725 | PyObject *resultobj; | |
17726 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17727 | bool result; | |
17728 | PyObject * obj0 = 0 ; | |
17729 | char *kwnames[] = { | |
17730 | (char *) "self", NULL | |
17731 | }; | |
17732 | ||
17733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
17734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17736 | { | |
17737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17738 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
17739 | ||
17740 | wxPyEndAllowThreads(__tstate); | |
17741 | if (PyErr_Occurred()) SWIG_fail; | |
17742 | } | |
17743 | { | |
17744 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17745 | } | |
17746 | return resultobj; | |
17747 | fail: | |
17748 | return NULL; | |
17749 | } | |
17750 | ||
17751 | ||
17752 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17753 | PyObject *resultobj; | |
17754 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17755 | bool result; | |
17756 | PyObject * obj0 = 0 ; | |
17757 | char *kwnames[] = { | |
17758 | (char *) "self", NULL | |
17759 | }; | |
17760 | ||
17761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
17762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17764 | { | |
17765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17766 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17767 | ||
17768 | wxPyEndAllowThreads(__tstate); | |
17769 | if (PyErr_Occurred()) SWIG_fail; | |
17770 | } | |
17771 | { | |
17772 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17773 | } | |
17774 | return resultobj; | |
17775 | fail: | |
17776 | return NULL; | |
17777 | } | |
17778 | ||
17779 | ||
17780 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17781 | PyObject *resultobj; | |
17782 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17783 | wxSize result; | |
17784 | PyObject * obj0 = 0 ; | |
17785 | char *kwnames[] = { | |
17786 | (char *) "self", NULL | |
17787 | }; | |
17788 | ||
17789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
17790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17792 | { | |
17793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17794 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
17795 | ||
17796 | wxPyEndAllowThreads(__tstate); | |
17797 | if (PyErr_Occurred()) SWIG_fail; | |
17798 | } | |
17799 | { | |
17800 | wxSize * resultptr; | |
17801 | resultptr = new wxSize((wxSize &) result); | |
17802 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
17803 | } | |
17804 | return resultobj; | |
17805 | fail: | |
17806 | return NULL; | |
17807 | } | |
17808 | ||
17809 | ||
17810 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17811 | PyObject *resultobj; | |
17812 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17813 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17814 | PyObject * obj0 = 0 ; | |
17815 | PyObject * obj1 = 0 ; | |
17816 | char *kwnames[] = { | |
17817 | (char *) "self",(char *) "child", NULL | |
17818 | }; | |
17819 | ||
17820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
17821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17823 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17825 | { | |
17826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17827 | (arg1)->base_AddChild(arg2); | |
17828 | ||
17829 | wxPyEndAllowThreads(__tstate); | |
17830 | if (PyErr_Occurred()) SWIG_fail; | |
17831 | } | |
17832 | Py_INCREF(Py_None); resultobj = Py_None; | |
17833 | return resultobj; | |
17834 | fail: | |
17835 | return NULL; | |
17836 | } | |
17837 | ||
17838 | ||
17839 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17840 | PyObject *resultobj; | |
17841 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17842 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17843 | PyObject * obj0 = 0 ; | |
17844 | PyObject * obj1 = 0 ; | |
17845 | char *kwnames[] = { | |
17846 | (char *) "self",(char *) "child", NULL | |
17847 | }; | |
17848 | ||
17849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
17850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17852 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17854 | { | |
17855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17856 | (arg1)->base_RemoveChild(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_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17869 | PyObject *resultobj; | |
17870 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17871 | bool result; | |
17872 | PyObject * obj0 = 0 ; | |
17873 | char *kwnames[] = { | |
17874 | (char *) "self", NULL | |
17875 | }; | |
17876 | ||
17877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
17878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17880 | { | |
17881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 17882 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
17883 | |
17884 | wxPyEndAllowThreads(__tstate); | |
17885 | if (PyErr_Occurred()) SWIG_fail; | |
17886 | } | |
17887 | { | |
17888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17889 | } | |
17890 | return resultobj; | |
17891 | fail: | |
17892 | return NULL; | |
17893 | } | |
17894 | ||
17895 | ||
17896 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17897 | PyObject *resultobj; | |
17898 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17899 | wxColour *arg2 = 0 ; | |
17900 | wxColour temp2 ; | |
17901 | PyObject * obj0 = 0 ; | |
17902 | PyObject * obj1 = 0 ; | |
17903 | char *kwnames[] = { | |
17904 | (char *) "self",(char *) "c", NULL | |
17905 | }; | |
17906 | ||
17907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
17908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17910 | { | |
17911 | arg2 = &temp2; | |
17912 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17913 | } | |
17914 | { | |
17915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17916 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*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 | ||
db3e571a RD |
17928 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { |
17929 | PyObject *resultobj; | |
17930 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17931 | wxVisualAttributes result; | |
17932 | PyObject * obj0 = 0 ; | |
17933 | char *kwnames[] = { | |
17934 | (char *) "self", NULL | |
17935 | }; | |
17936 | ||
17937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17940 | { | |
17941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17942 | result = (arg1)->base_GetDefaultAttributes(); | |
17943 | ||
17944 | wxPyEndAllowThreads(__tstate); | |
17945 | if (PyErr_Occurred()) SWIG_fail; | |
17946 | } | |
17947 | { | |
17948 | wxVisualAttributes * resultptr; | |
17949 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17950 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17951 | } | |
17952 | return resultobj; | |
17953 | fail: | |
17954 | return NULL; | |
17955 | } | |
17956 | ||
17957 | ||
1cb4a8aa RD |
17958 | static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) { |
17959 | PyObject *obj; | |
17960 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17961 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
17962 | Py_INCREF(obj); | |
17963 | return Py_BuildValue((char *)""); | |
17964 | } | |
17965 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { | |
17966 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
17967 | return 1; | |
17968 | } | |
17969 | ||
17970 | ||
17971 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
17972 | PyObject *pyobj; | |
17973 | ||
17974 | { | |
17975 | #if wxUSE_UNICODE | |
17976 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17977 | #else | |
17978 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
17979 | #endif | |
17980 | } | |
17981 | return pyobj; | |
17982 | } | |
17983 | ||
17984 | ||
17985 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
17986 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
17987 | return 1; | |
17988 | } | |
17989 | ||
17990 | ||
17991 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
17992 | PyObject *pyobj; | |
17993 | ||
17994 | { | |
17995 | #if wxUSE_UNICODE | |
17996 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17997 | #else | |
17998 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
17999 | #endif | |
18000 | } | |
18001 | return pyobj; | |
18002 | } | |
18003 | ||
18004 | ||
18005 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18006 | PyObject *resultobj; | |
18007 | wxPrintData *result; | |
18008 | char *kwnames[] = { | |
18009 | NULL | |
18010 | }; | |
18011 | ||
18012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
18013 | { | |
18014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18015 | result = (wxPrintData *)new wxPrintData(); | |
18016 | ||
18017 | wxPyEndAllowThreads(__tstate); | |
18018 | if (PyErr_Occurred()) SWIG_fail; | |
18019 | } | |
18020 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18021 | return resultobj; | |
18022 | fail: | |
18023 | return NULL; | |
18024 | } | |
18025 | ||
18026 | ||
18027 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18028 | PyObject *resultobj; | |
18029 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18030 | PyObject * obj0 = 0 ; | |
18031 | char *kwnames[] = { | |
18032 | (char *) "self", NULL | |
18033 | }; | |
18034 | ||
18035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
18036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18038 | { | |
18039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18040 | delete arg1; | |
18041 | ||
18042 | wxPyEndAllowThreads(__tstate); | |
18043 | if (PyErr_Occurred()) SWIG_fail; | |
18044 | } | |
18045 | Py_INCREF(Py_None); resultobj = Py_None; | |
18046 | return resultobj; | |
18047 | fail: | |
18048 | return NULL; | |
18049 | } | |
18050 | ||
18051 | ||
18052 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18053 | PyObject *resultobj; | |
18054 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18055 | int result; | |
18056 | PyObject * obj0 = 0 ; | |
18057 | char *kwnames[] = { | |
18058 | (char *) "self", NULL | |
18059 | }; | |
18060 | ||
18061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18064 | { | |
18065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18066 | result = (int)(arg1)->GetNoCopies(); | |
18067 | ||
18068 | wxPyEndAllowThreads(__tstate); | |
18069 | if (PyErr_Occurred()) SWIG_fail; | |
18070 | } | |
18071 | resultobj = SWIG_FromInt((int)result); | |
18072 | return resultobj; | |
18073 | fail: | |
d14a1e28 RD |
18074 | return NULL; |
18075 | } | |
18076 | ||
18077 | ||
18078 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18079 | PyObject *resultobj; | |
18080 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18081 | bool result; | |
18082 | PyObject * obj0 = 0 ; | |
18083 | char *kwnames[] = { | |
18084 | (char *) "self", NULL | |
18085 | }; | |
18086 | ||
18087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18090 | { |
18091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18092 | result = (bool)(arg1)->GetCollate(); | |
18093 | ||
18094 | wxPyEndAllowThreads(__tstate); | |
18095 | if (PyErr_Occurred()) SWIG_fail; | |
18096 | } | |
4f89f6a3 RD |
18097 | { |
18098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18099 | } | |
d14a1e28 RD |
18100 | return resultobj; |
18101 | fail: | |
18102 | return NULL; | |
18103 | } | |
18104 | ||
18105 | ||
18106 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18107 | PyObject *resultobj; | |
18108 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18109 | int result; | |
18110 | PyObject * obj0 = 0 ; | |
18111 | char *kwnames[] = { | |
18112 | (char *) "self", NULL | |
18113 | }; | |
18114 | ||
18115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18118 | { |
18119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18120 | result = (int)(arg1)->GetOrientation(); | |
18121 | ||
18122 | wxPyEndAllowThreads(__tstate); | |
18123 | if (PyErr_Occurred()) SWIG_fail; | |
18124 | } | |
15afbcd0 | 18125 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18126 | return resultobj; |
18127 | fail: | |
18128 | return NULL; | |
18129 | } | |
18130 | ||
18131 | ||
18132 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18133 | PyObject *resultobj; | |
18134 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18135 | bool result; | |
18136 | PyObject * obj0 = 0 ; | |
18137 | char *kwnames[] = { | |
18138 | (char *) "self", NULL | |
18139 | }; | |
18140 | ||
18141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18144 | { |
18145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18146 | result = (bool)(arg1)->Ok(); | |
18147 | ||
18148 | wxPyEndAllowThreads(__tstate); | |
18149 | if (PyErr_Occurred()) SWIG_fail; | |
18150 | } | |
4f89f6a3 RD |
18151 | { |
18152 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18153 | } | |
d14a1e28 RD |
18154 | return resultobj; |
18155 | fail: | |
18156 | return NULL; | |
18157 | } | |
18158 | ||
18159 | ||
18160 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18161 | PyObject *resultobj; | |
18162 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18163 | wxString *result; | |
18164 | PyObject * obj0 = 0 ; | |
18165 | char *kwnames[] = { | |
18166 | (char *) "self", NULL | |
18167 | }; | |
18168 | ||
18169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18172 | { |
18173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18174 | { | |
18175 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
18176 | result = (wxString *) &_result_ref; | |
18177 | } | |
18178 | ||
18179 | wxPyEndAllowThreads(__tstate); | |
18180 | if (PyErr_Occurred()) SWIG_fail; | |
18181 | } | |
cc6dd355 RD |
18182 | { |
18183 | #if wxUSE_UNICODE | |
18184 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18185 | #else | |
18186 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18187 | #endif | |
18188 | } | |
d14a1e28 RD |
18189 | return resultobj; |
18190 | fail: | |
18191 | return NULL; | |
18192 | } | |
18193 | ||
18194 | ||
18195 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18196 | PyObject *resultobj; | |
18197 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18198 | bool result; | |
18199 | PyObject * obj0 = 0 ; | |
18200 | char *kwnames[] = { | |
18201 | (char *) "self", NULL | |
18202 | }; | |
18203 | ||
18204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18207 | { |
18208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18209 | result = (bool)(arg1)->GetColour(); | |
18210 | ||
18211 | wxPyEndAllowThreads(__tstate); | |
18212 | if (PyErr_Occurred()) SWIG_fail; | |
18213 | } | |
4f89f6a3 RD |
18214 | { |
18215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18216 | } | |
d14a1e28 RD |
18217 | return resultobj; |
18218 | fail: | |
18219 | return NULL; | |
18220 | } | |
18221 | ||
18222 | ||
18223 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18224 | PyObject *resultobj; | |
18225 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18226 | int result; | |
18227 | PyObject * obj0 = 0 ; | |
18228 | char *kwnames[] = { | |
18229 | (char *) "self", NULL | |
18230 | }; | |
18231 | ||
18232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18235 | { |
18236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18237 | result = (int)(arg1)->GetDuplex(); | |
18238 | ||
18239 | wxPyEndAllowThreads(__tstate); | |
18240 | if (PyErr_Occurred()) SWIG_fail; | |
18241 | } | |
15afbcd0 | 18242 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18243 | return resultobj; |
18244 | fail: | |
18245 | return NULL; | |
18246 | } | |
18247 | ||
18248 | ||
18249 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18250 | PyObject *resultobj; | |
18251 | wxPrintData *arg1 = (wxPrintData *) 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:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18261 | { |
18262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18263 | result = (int)(arg1)->GetPaperId(); | |
18264 | ||
18265 | wxPyEndAllowThreads(__tstate); | |
18266 | if (PyErr_Occurred()) SWIG_fail; | |
18267 | } | |
15afbcd0 | 18268 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18269 | return resultobj; |
18270 | fail: | |
18271 | return NULL; | |
18272 | } | |
18273 | ||
18274 | ||
18275 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18276 | PyObject *resultobj; | |
18277 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18278 | wxSize *result; | |
18279 | PyObject * obj0 = 0 ; | |
18280 | char *kwnames[] = { | |
18281 | (char *) "self", NULL | |
18282 | }; | |
18283 | ||
18284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18287 | { |
18288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18289 | { | |
18290 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
18291 | result = (wxSize *) &_result_ref; | |
18292 | } | |
18293 | ||
18294 | wxPyEndAllowThreads(__tstate); | |
18295 | if (PyErr_Occurred()) SWIG_fail; | |
18296 | } | |
15afbcd0 | 18297 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
18298 | return resultobj; |
18299 | fail: | |
18300 | return NULL; | |
18301 | } | |
18302 | ||
18303 | ||
18304 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18305 | PyObject *resultobj; | |
18306 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18307 | int result; |
d14a1e28 RD |
18308 | PyObject * obj0 = 0 ; |
18309 | char *kwnames[] = { | |
18310 | (char *) "self", NULL | |
18311 | }; | |
18312 | ||
18313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18316 | { |
18317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 18318 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
18319 | |
18320 | wxPyEndAllowThreads(__tstate); | |
18321 | if (PyErr_Occurred()) SWIG_fail; | |
18322 | } | |
15afbcd0 | 18323 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18324 | return resultobj; |
18325 | fail: | |
18326 | return NULL; | |
18327 | } | |
18328 | ||
18329 | ||
18330 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18331 | PyObject *resultobj; | |
18332 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18333 | int arg2 ; | |
18334 | PyObject * obj0 = 0 ; | |
994141e6 | 18335 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18336 | char *kwnames[] = { |
18337 | (char *) "self",(char *) "v", NULL | |
18338 | }; | |
18339 | ||
994141e6 | 18340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18343 | arg2 = (int) SWIG_AsInt(obj1); | |
18344 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18345 | { |
18346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18347 | (arg1)->SetNoCopies(arg2); | |
18348 | ||
18349 | wxPyEndAllowThreads(__tstate); | |
18350 | if (PyErr_Occurred()) SWIG_fail; | |
18351 | } | |
18352 | Py_INCREF(Py_None); resultobj = Py_None; | |
18353 | return resultobj; | |
18354 | fail: | |
18355 | return NULL; | |
18356 | } | |
18357 | ||
18358 | ||
18359 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18360 | PyObject *resultobj; | |
18361 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18362 | bool arg2 ; | |
18363 | PyObject * obj0 = 0 ; | |
18364 | PyObject * obj1 = 0 ; | |
18365 | char *kwnames[] = { | |
18366 | (char *) "self",(char *) "flag", NULL | |
18367 | }; | |
18368 | ||
18369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18372 | arg2 = (bool) SWIG_AsBool(obj1); | |
18373 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18374 | { |
18375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18376 | (arg1)->SetCollate(arg2); | |
18377 | ||
18378 | wxPyEndAllowThreads(__tstate); | |
18379 | if (PyErr_Occurred()) SWIG_fail; | |
18380 | } | |
18381 | Py_INCREF(Py_None); resultobj = Py_None; | |
18382 | return resultobj; | |
18383 | fail: | |
18384 | return NULL; | |
18385 | } | |
18386 | ||
18387 | ||
18388 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18389 | PyObject *resultobj; | |
18390 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18391 | int arg2 ; | |
18392 | PyObject * obj0 = 0 ; | |
994141e6 | 18393 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18394 | char *kwnames[] = { |
18395 | (char *) "self",(char *) "orient", NULL | |
18396 | }; | |
18397 | ||
994141e6 | 18398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18401 | arg2 = (int) SWIG_AsInt(obj1); | |
18402 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18403 | { |
18404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18405 | (arg1)->SetOrientation(arg2); | |
18406 | ||
18407 | wxPyEndAllowThreads(__tstate); | |
18408 | if (PyErr_Occurred()) SWIG_fail; | |
18409 | } | |
18410 | Py_INCREF(Py_None); resultobj = Py_None; | |
18411 | return resultobj; | |
18412 | fail: | |
18413 | return NULL; | |
18414 | } | |
18415 | ||
18416 | ||
18417 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18418 | PyObject *resultobj; | |
18419 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18420 | wxString *arg2 = 0 ; | |
e811c8ce | 18421 | bool temp2 = False ; |
d14a1e28 RD |
18422 | PyObject * obj0 = 0 ; |
18423 | PyObject * obj1 = 0 ; | |
18424 | char *kwnames[] = { | |
18425 | (char *) "self",(char *) "name", NULL | |
18426 | }; | |
18427 | ||
18428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18431 | { |
18432 | arg2 = wxString_in_helper(obj1); | |
18433 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18434 | temp2 = True; |
d14a1e28 RD |
18435 | } |
18436 | { | |
18437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18438 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
18439 | ||
18440 | wxPyEndAllowThreads(__tstate); | |
18441 | if (PyErr_Occurred()) SWIG_fail; | |
18442 | } | |
18443 | Py_INCREF(Py_None); resultobj = Py_None; | |
18444 | { | |
18445 | if (temp2) | |
18446 | delete arg2; | |
18447 | } | |
18448 | return resultobj; | |
18449 | fail: | |
18450 | { | |
18451 | if (temp2) | |
18452 | delete arg2; | |
18453 | } | |
18454 | return NULL; | |
18455 | } | |
18456 | ||
18457 | ||
18458 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18459 | PyObject *resultobj; | |
18460 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18461 | bool arg2 ; | |
18462 | PyObject * obj0 = 0 ; | |
18463 | PyObject * obj1 = 0 ; | |
18464 | char *kwnames[] = { | |
18465 | (char *) "self",(char *) "colour", NULL | |
18466 | }; | |
18467 | ||
18468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18471 | arg2 = (bool) SWIG_AsBool(obj1); | |
18472 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18473 | { |
18474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18475 | (arg1)->SetColour(arg2); | |
18476 | ||
18477 | wxPyEndAllowThreads(__tstate); | |
18478 | if (PyErr_Occurred()) SWIG_fail; | |
18479 | } | |
18480 | Py_INCREF(Py_None); resultobj = Py_None; | |
18481 | return resultobj; | |
18482 | fail: | |
18483 | return NULL; | |
18484 | } | |
18485 | ||
18486 | ||
18487 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18488 | PyObject *resultobj; | |
18489 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18490 | int arg2 ; | |
18491 | PyObject * obj0 = 0 ; | |
994141e6 | 18492 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18493 | char *kwnames[] = { |
18494 | (char *) "self",(char *) "duplex", NULL | |
18495 | }; | |
18496 | ||
994141e6 | 18497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18498 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18500 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
18501 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18502 | { |
18503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18504 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
18505 | ||
18506 | wxPyEndAllowThreads(__tstate); | |
18507 | if (PyErr_Occurred()) SWIG_fail; | |
18508 | } | |
18509 | Py_INCREF(Py_None); resultobj = Py_None; | |
18510 | return resultobj; | |
18511 | fail: | |
18512 | return NULL; | |
18513 | } | |
18514 | ||
18515 | ||
18516 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18517 | PyObject *resultobj; | |
18518 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18519 | int arg2 ; | |
18520 | PyObject * obj0 = 0 ; | |
994141e6 | 18521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18522 | char *kwnames[] = { |
18523 | (char *) "self",(char *) "sizeId", NULL | |
18524 | }; | |
18525 | ||
994141e6 | 18526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18529 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18530 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18531 | { |
18532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18533 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18534 | ||
18535 | wxPyEndAllowThreads(__tstate); | |
18536 | if (PyErr_Occurred()) SWIG_fail; | |
18537 | } | |
18538 | Py_INCREF(Py_None); resultobj = Py_None; | |
18539 | return resultobj; | |
18540 | fail: | |
18541 | return NULL; | |
18542 | } | |
18543 | ||
18544 | ||
18545 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18546 | PyObject *resultobj; | |
18547 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18548 | wxSize *arg2 = 0 ; | |
18549 | wxSize temp2 ; | |
18550 | PyObject * obj0 = 0 ; | |
18551 | PyObject * obj1 = 0 ; | |
18552 | char *kwnames[] = { | |
18553 | (char *) "self",(char *) "sz", NULL | |
18554 | }; | |
18555 | ||
18556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18559 | { |
18560 | arg2 = &temp2; | |
18561 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18562 | } | |
18563 | { | |
18564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18565 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18566 | ||
18567 | wxPyEndAllowThreads(__tstate); | |
18568 | if (PyErr_Occurred()) SWIG_fail; | |
18569 | } | |
18570 | Py_INCREF(Py_None); resultobj = Py_None; | |
18571 | return resultobj; | |
18572 | fail: | |
18573 | return NULL; | |
18574 | } | |
18575 | ||
18576 | ||
18577 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18578 | PyObject *resultobj; | |
18579 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18580 | int arg2 ; |
d14a1e28 | 18581 | PyObject * obj0 = 0 ; |
994141e6 | 18582 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18583 | char *kwnames[] = { |
18584 | (char *) "self",(char *) "quality", NULL | |
18585 | }; | |
18586 | ||
994141e6 | 18587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18590 | arg2 = (int) SWIG_AsInt(obj1); | |
18591 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18592 | { |
18593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18594 | (arg1)->SetQuality(arg2); | |
18595 | ||
18596 | wxPyEndAllowThreads(__tstate); | |
18597 | if (PyErr_Occurred()) SWIG_fail; | |
18598 | } | |
18599 | Py_INCREF(Py_None); resultobj = Py_None; | |
18600 | return resultobj; | |
18601 | fail: | |
18602 | return NULL; | |
18603 | } | |
18604 | ||
18605 | ||
18606 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18607 | PyObject *resultobj; | |
18608 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18609 | wxString *result; | |
18610 | PyObject * obj0 = 0 ; | |
18611 | char *kwnames[] = { | |
18612 | (char *) "self", NULL | |
18613 | }; | |
18614 | ||
18615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18618 | { |
18619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18620 | { | |
18621 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
18622 | result = (wxString *) &_result_ref; | |
18623 | } | |
18624 | ||
18625 | wxPyEndAllowThreads(__tstate); | |
18626 | if (PyErr_Occurred()) SWIG_fail; | |
18627 | } | |
cc6dd355 RD |
18628 | { |
18629 | #if wxUSE_UNICODE | |
18630 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18631 | #else | |
18632 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18633 | #endif | |
18634 | } | |
d14a1e28 RD |
18635 | return resultobj; |
18636 | fail: | |
18637 | return NULL; | |
18638 | } | |
18639 | ||
18640 | ||
18641 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18642 | PyObject *resultobj; | |
18643 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18644 | wxString *result; | |
18645 | PyObject * obj0 = 0 ; | |
18646 | char *kwnames[] = { | |
18647 | (char *) "self", NULL | |
18648 | }; | |
18649 | ||
18650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18653 | { |
18654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18655 | { | |
18656 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
18657 | result = (wxString *) &_result_ref; | |
18658 | } | |
18659 | ||
18660 | wxPyEndAllowThreads(__tstate); | |
18661 | if (PyErr_Occurred()) SWIG_fail; | |
18662 | } | |
cc6dd355 RD |
18663 | { |
18664 | #if wxUSE_UNICODE | |
18665 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18666 | #else | |
18667 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18668 | #endif | |
18669 | } | |
d14a1e28 RD |
18670 | return resultobj; |
18671 | fail: | |
18672 | return NULL; | |
18673 | } | |
18674 | ||
18675 | ||
18676 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18677 | PyObject *resultobj; | |
18678 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18679 | wxString *result; | |
18680 | PyObject * obj0 = 0 ; | |
18681 | char *kwnames[] = { | |
18682 | (char *) "self", NULL | |
18683 | }; | |
18684 | ||
18685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18688 | { |
18689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18690 | { | |
18691 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
18692 | result = (wxString *) &_result_ref; | |
18693 | } | |
18694 | ||
18695 | wxPyEndAllowThreads(__tstate); | |
18696 | if (PyErr_Occurred()) SWIG_fail; | |
18697 | } | |
cc6dd355 RD |
18698 | { |
18699 | #if wxUSE_UNICODE | |
18700 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18701 | #else | |
18702 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18703 | #endif | |
18704 | } | |
d14a1e28 RD |
18705 | return resultobj; |
18706 | fail: | |
18707 | return NULL; | |
18708 | } | |
18709 | ||
18710 | ||
18711 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18712 | PyObject *resultobj; | |
18713 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18714 | wxString *result; | |
18715 | PyObject * obj0 = 0 ; | |
18716 | char *kwnames[] = { | |
18717 | (char *) "self", NULL | |
18718 | }; | |
18719 | ||
18720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18723 | { |
18724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18725 | { | |
18726 | wxString const &_result_ref = (arg1)->GetFilename(); | |
18727 | result = (wxString *) &_result_ref; | |
18728 | } | |
18729 | ||
18730 | wxPyEndAllowThreads(__tstate); | |
18731 | if (PyErr_Occurred()) SWIG_fail; | |
18732 | } | |
cc6dd355 RD |
18733 | { |
18734 | #if wxUSE_UNICODE | |
18735 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18736 | #else | |
18737 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18738 | #endif | |
18739 | } | |
d14a1e28 RD |
18740 | return resultobj; |
18741 | fail: | |
18742 | return NULL; | |
18743 | } | |
18744 | ||
18745 | ||
18746 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18747 | PyObject *resultobj; | |
18748 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18749 | wxString *result; | |
18750 | PyObject * obj0 = 0 ; | |
18751 | char *kwnames[] = { | |
18752 | (char *) "self", NULL | |
18753 | }; | |
18754 | ||
18755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18758 | { |
18759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18760 | { | |
18761 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
18762 | result = (wxString *) &_result_ref; | |
18763 | } | |
18764 | ||
18765 | wxPyEndAllowThreads(__tstate); | |
18766 | if (PyErr_Occurred()) SWIG_fail; | |
18767 | } | |
cc6dd355 RD |
18768 | { |
18769 | #if wxUSE_UNICODE | |
18770 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18771 | #else | |
18772 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18773 | #endif | |
18774 | } | |
d14a1e28 RD |
18775 | return resultobj; |
18776 | fail: | |
18777 | return NULL; | |
18778 | } | |
18779 | ||
18780 | ||
18781 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18782 | PyObject *resultobj; | |
18783 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18784 | double result; | |
18785 | PyObject * obj0 = 0 ; | |
18786 | char *kwnames[] = { | |
18787 | (char *) "self", NULL | |
18788 | }; | |
18789 | ||
18790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18793 | { |
18794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18795 | result = (double)(arg1)->GetPrinterScaleX(); | |
18796 | ||
18797 | wxPyEndAllowThreads(__tstate); | |
18798 | if (PyErr_Occurred()) SWIG_fail; | |
18799 | } | |
15afbcd0 | 18800 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18801 | return resultobj; |
18802 | fail: | |
18803 | return NULL; | |
18804 | } | |
18805 | ||
18806 | ||
18807 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18808 | PyObject *resultobj; | |
18809 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18810 | double result; | |
18811 | PyObject * obj0 = 0 ; | |
18812 | char *kwnames[] = { | |
18813 | (char *) "self", NULL | |
18814 | }; | |
18815 | ||
18816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18819 | { |
18820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18821 | result = (double)(arg1)->GetPrinterScaleY(); | |
18822 | ||
18823 | wxPyEndAllowThreads(__tstate); | |
18824 | if (PyErr_Occurred()) SWIG_fail; | |
18825 | } | |
15afbcd0 | 18826 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
18827 | return resultobj; |
18828 | fail: | |
18829 | return NULL; | |
18830 | } | |
18831 | ||
18832 | ||
18833 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18834 | PyObject *resultobj; | |
18835 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18836 | long result; | |
18837 | PyObject * obj0 = 0 ; | |
18838 | char *kwnames[] = { | |
18839 | (char *) "self", NULL | |
18840 | }; | |
18841 | ||
18842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18845 | { |
18846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18847 | result = (long)(arg1)->GetPrinterTranslateX(); | |
18848 | ||
18849 | wxPyEndAllowThreads(__tstate); | |
18850 | if (PyErr_Occurred()) SWIG_fail; | |
18851 | } | |
15afbcd0 | 18852 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18853 | return resultobj; |
18854 | fail: | |
18855 | return NULL; | |
18856 | } | |
18857 | ||
18858 | ||
18859 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18860 | PyObject *resultobj; | |
18861 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18862 | long result; | |
18863 | PyObject * obj0 = 0 ; | |
18864 | char *kwnames[] = { | |
18865 | (char *) "self", NULL | |
18866 | }; | |
18867 | ||
18868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18871 | { |
18872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18873 | result = (long)(arg1)->GetPrinterTranslateY(); | |
18874 | ||
18875 | wxPyEndAllowThreads(__tstate); | |
18876 | if (PyErr_Occurred()) SWIG_fail; | |
18877 | } | |
15afbcd0 | 18878 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
18879 | return resultobj; |
18880 | fail: | |
18881 | return NULL; | |
18882 | } | |
18883 | ||
18884 | ||
18885 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18886 | PyObject *resultobj; | |
18887 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18888 | int result; | |
18889 | PyObject * obj0 = 0 ; | |
18890 | char *kwnames[] = { | |
18891 | (char *) "self", NULL | |
18892 | }; | |
18893 | ||
18894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18897 | { |
18898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18899 | result = (int)(arg1)->GetPrintMode(); | |
18900 | ||
18901 | wxPyEndAllowThreads(__tstate); | |
18902 | if (PyErr_Occurred()) SWIG_fail; | |
18903 | } | |
15afbcd0 | 18904 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18905 | return resultobj; |
18906 | fail: | |
18907 | return NULL; | |
18908 | } | |
18909 | ||
18910 | ||
18911 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18912 | PyObject *resultobj; | |
18913 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18914 | wxString *arg2 = 0 ; | |
e811c8ce | 18915 | bool temp2 = False ; |
d14a1e28 RD |
18916 | PyObject * obj0 = 0 ; |
18917 | PyObject * obj1 = 0 ; | |
18918 | char *kwnames[] = { | |
18919 | (char *) "self",(char *) "command", NULL | |
18920 | }; | |
18921 | ||
18922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18925 | { |
18926 | arg2 = wxString_in_helper(obj1); | |
18927 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18928 | temp2 = True; |
d14a1e28 RD |
18929 | } |
18930 | { | |
18931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18932 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
18933 | ||
18934 | wxPyEndAllowThreads(__tstate); | |
18935 | if (PyErr_Occurred()) SWIG_fail; | |
18936 | } | |
18937 | Py_INCREF(Py_None); resultobj = Py_None; | |
18938 | { | |
18939 | if (temp2) | |
18940 | delete arg2; | |
18941 | } | |
18942 | return resultobj; | |
18943 | fail: | |
18944 | { | |
18945 | if (temp2) | |
18946 | delete arg2; | |
18947 | } | |
18948 | return NULL; | |
18949 | } | |
18950 | ||
18951 | ||
18952 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18953 | PyObject *resultobj; | |
18954 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18955 | wxString *arg2 = 0 ; | |
e811c8ce | 18956 | bool temp2 = False ; |
d14a1e28 RD |
18957 | PyObject * obj0 = 0 ; |
18958 | PyObject * obj1 = 0 ; | |
18959 | char *kwnames[] = { | |
18960 | (char *) "self",(char *) "options", NULL | |
18961 | }; | |
18962 | ||
18963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18966 | { |
18967 | arg2 = wxString_in_helper(obj1); | |
18968 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 18969 | temp2 = True; |
d14a1e28 RD |
18970 | } |
18971 | { | |
18972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18973 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
18974 | ||
18975 | wxPyEndAllowThreads(__tstate); | |
18976 | if (PyErr_Occurred()) SWIG_fail; | |
18977 | } | |
18978 | Py_INCREF(Py_None); resultobj = Py_None; | |
18979 | { | |
18980 | if (temp2) | |
18981 | delete arg2; | |
18982 | } | |
18983 | return resultobj; | |
18984 | fail: | |
18985 | { | |
18986 | if (temp2) | |
18987 | delete arg2; | |
18988 | } | |
18989 | return NULL; | |
18990 | } | |
18991 | ||
18992 | ||
18993 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18994 | PyObject *resultobj; | |
18995 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18996 | wxString *arg2 = 0 ; | |
e811c8ce | 18997 | bool temp2 = False ; |
d14a1e28 RD |
18998 | PyObject * obj0 = 0 ; |
18999 | PyObject * obj1 = 0 ; | |
19000 | char *kwnames[] = { | |
19001 | (char *) "self",(char *) "command", NULL | |
19002 | }; | |
19003 | ||
19004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19007 | { |
19008 | arg2 = wxString_in_helper(obj1); | |
19009 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 19010 | temp2 = True; |
d14a1e28 RD |
19011 | } |
19012 | { | |
19013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19014 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
19015 | ||
19016 | wxPyEndAllowThreads(__tstate); | |
19017 | if (PyErr_Occurred()) SWIG_fail; | |
19018 | } | |
19019 | Py_INCREF(Py_None); resultobj = Py_None; | |
19020 | { | |
19021 | if (temp2) | |
19022 | delete arg2; | |
19023 | } | |
19024 | return resultobj; | |
19025 | fail: | |
19026 | { | |
19027 | if (temp2) | |
19028 | delete arg2; | |
19029 | } | |
19030 | return NULL; | |
19031 | } | |
19032 | ||
19033 | ||
19034 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19035 | PyObject *resultobj; | |
19036 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19037 | wxString *arg2 = 0 ; | |
e811c8ce | 19038 | bool temp2 = False ; |
d14a1e28 RD |
19039 | PyObject * obj0 = 0 ; |
19040 | PyObject * obj1 = 0 ; | |
19041 | char *kwnames[] = { | |
19042 | (char *) "self",(char *) "filename", NULL | |
19043 | }; | |
19044 | ||
19045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19048 | { |
19049 | arg2 = wxString_in_helper(obj1); | |
19050 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 19051 | temp2 = True; |
d14a1e28 RD |
19052 | } |
19053 | { | |
19054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19055 | (arg1)->SetFilename((wxString const &)*arg2); | |
19056 | ||
19057 | wxPyEndAllowThreads(__tstate); | |
19058 | if (PyErr_Occurred()) SWIG_fail; | |
19059 | } | |
19060 | Py_INCREF(Py_None); resultobj = Py_None; | |
19061 | { | |
19062 | if (temp2) | |
19063 | delete arg2; | |
19064 | } | |
19065 | return resultobj; | |
19066 | fail: | |
19067 | { | |
19068 | if (temp2) | |
19069 | delete arg2; | |
19070 | } | |
19071 | return NULL; | |
19072 | } | |
19073 | ||
19074 | ||
19075 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19076 | PyObject *resultobj; | |
19077 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19078 | wxString *arg2 = 0 ; | |
e811c8ce | 19079 | bool temp2 = False ; |
d14a1e28 RD |
19080 | PyObject * obj0 = 0 ; |
19081 | PyObject * obj1 = 0 ; | |
19082 | char *kwnames[] = { | |
19083 | (char *) "self",(char *) "path", NULL | |
19084 | }; | |
19085 | ||
19086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19089 | { |
19090 | arg2 = wxString_in_helper(obj1); | |
19091 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 19092 | temp2 = True; |
d14a1e28 RD |
19093 | } |
19094 | { | |
19095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19096 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
19097 | ||
19098 | wxPyEndAllowThreads(__tstate); | |
19099 | if (PyErr_Occurred()) SWIG_fail; | |
19100 | } | |
19101 | Py_INCREF(Py_None); resultobj = Py_None; | |
19102 | { | |
19103 | if (temp2) | |
19104 | delete arg2; | |
19105 | } | |
19106 | return resultobj; | |
19107 | fail: | |
19108 | { | |
19109 | if (temp2) | |
19110 | delete arg2; | |
19111 | } | |
19112 | return NULL; | |
19113 | } | |
19114 | ||
19115 | ||
19116 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19117 | PyObject *resultobj; | |
19118 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19119 | double arg2 ; | |
19120 | PyObject * obj0 = 0 ; | |
994141e6 | 19121 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19122 | char *kwnames[] = { |
19123 | (char *) "self",(char *) "x", NULL | |
19124 | }; | |
19125 | ||
994141e6 | 19126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19129 | arg2 = (double) SWIG_AsDouble(obj1); | |
19130 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19131 | { |
19132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19133 | (arg1)->SetPrinterScaleX(arg2); | |
19134 | ||
19135 | wxPyEndAllowThreads(__tstate); | |
19136 | if (PyErr_Occurred()) SWIG_fail; | |
19137 | } | |
19138 | Py_INCREF(Py_None); resultobj = Py_None; | |
19139 | return resultobj; | |
19140 | fail: | |
19141 | return NULL; | |
19142 | } | |
19143 | ||
19144 | ||
19145 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19146 | PyObject *resultobj; | |
19147 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19148 | double arg2 ; | |
19149 | PyObject * obj0 = 0 ; | |
994141e6 | 19150 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19151 | char *kwnames[] = { |
19152 | (char *) "self",(char *) "y", NULL | |
19153 | }; | |
19154 | ||
994141e6 | 19155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19158 | arg2 = (double) SWIG_AsDouble(obj1); | |
19159 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19160 | { |
19161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19162 | (arg1)->SetPrinterScaleY(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_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19175 | PyObject *resultobj; | |
19176 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19177 | double arg2 ; | |
19178 | double arg3 ; | |
19179 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19180 | PyObject * obj1 = 0 ; |
19181 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19182 | char *kwnames[] = { |
19183 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19184 | }; | |
19185 | ||
994141e6 | 19186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19189 | arg2 = (double) SWIG_AsDouble(obj1); | |
19190 | if (PyErr_Occurred()) SWIG_fail; | |
19191 | arg3 = (double) SWIG_AsDouble(obj2); | |
19192 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19193 | { |
19194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19195 | (arg1)->SetPrinterScaling(arg2,arg3); | |
19196 | ||
19197 | wxPyEndAllowThreads(__tstate); | |
19198 | if (PyErr_Occurred()) SWIG_fail; | |
19199 | } | |
19200 | Py_INCREF(Py_None); resultobj = Py_None; | |
19201 | return resultobj; | |
19202 | fail: | |
19203 | return NULL; | |
19204 | } | |
19205 | ||
19206 | ||
19207 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19208 | PyObject *resultobj; | |
19209 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19210 | long arg2 ; | |
19211 | PyObject * obj0 = 0 ; | |
994141e6 | 19212 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19213 | char *kwnames[] = { |
19214 | (char *) "self",(char *) "x", NULL | |
19215 | }; | |
19216 | ||
994141e6 | 19217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19220 | arg2 = (long) SWIG_AsLong(obj1); | |
19221 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19222 | { |
19223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19224 | (arg1)->SetPrinterTranslateX(arg2); | |
19225 | ||
19226 | wxPyEndAllowThreads(__tstate); | |
19227 | if (PyErr_Occurred()) SWIG_fail; | |
19228 | } | |
19229 | Py_INCREF(Py_None); resultobj = Py_None; | |
19230 | return resultobj; | |
19231 | fail: | |
19232 | return NULL; | |
19233 | } | |
19234 | ||
19235 | ||
19236 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19237 | PyObject *resultobj; | |
19238 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19239 | long arg2 ; | |
19240 | PyObject * obj0 = 0 ; | |
994141e6 | 19241 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19242 | char *kwnames[] = { |
19243 | (char *) "self",(char *) "y", NULL | |
19244 | }; | |
19245 | ||
994141e6 | 19246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19249 | arg2 = (long) SWIG_AsLong(obj1); | |
19250 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19251 | { |
19252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19253 | (arg1)->SetPrinterTranslateY(arg2); | |
19254 | ||
19255 | wxPyEndAllowThreads(__tstate); | |
19256 | if (PyErr_Occurred()) SWIG_fail; | |
19257 | } | |
19258 | Py_INCREF(Py_None); resultobj = Py_None; | |
19259 | return resultobj; | |
19260 | fail: | |
19261 | return NULL; | |
19262 | } | |
19263 | ||
19264 | ||
19265 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19266 | PyObject *resultobj; | |
19267 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19268 | long arg2 ; | |
19269 | long arg3 ; | |
19270 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19271 | PyObject * obj1 = 0 ; |
19272 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19273 | char *kwnames[] = { |
19274 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19275 | }; | |
19276 | ||
994141e6 | 19277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19280 | arg2 = (long) SWIG_AsLong(obj1); | |
19281 | if (PyErr_Occurred()) SWIG_fail; | |
19282 | arg3 = (long) SWIG_AsLong(obj2); | |
19283 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19284 | { |
19285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19286 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
19287 | ||
19288 | wxPyEndAllowThreads(__tstate); | |
19289 | if (PyErr_Occurred()) SWIG_fail; | |
19290 | } | |
19291 | Py_INCREF(Py_None); resultobj = Py_None; | |
19292 | return resultobj; | |
19293 | fail: | |
19294 | return NULL; | |
19295 | } | |
19296 | ||
19297 | ||
19298 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19299 | PyObject *resultobj; | |
19300 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19301 | int arg2 ; | |
19302 | PyObject * obj0 = 0 ; | |
994141e6 | 19303 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19304 | char *kwnames[] = { |
19305 | (char *) "self",(char *) "printMode", NULL | |
19306 | }; | |
19307 | ||
994141e6 | 19308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19311 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
19312 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19313 | { |
19314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19315 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
19316 | ||
19317 | wxPyEndAllowThreads(__tstate); | |
19318 | if (PyErr_Occurred()) SWIG_fail; | |
19319 | } | |
19320 | Py_INCREF(Py_None); resultobj = Py_None; | |
19321 | return resultobj; | |
19322 | fail: | |
19323 | return NULL; | |
19324 | } | |
19325 | ||
19326 | ||
db914595 RD |
19327 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
19328 | PyObject *resultobj; | |
19329 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19330 | wxOutputStream *result; | |
19331 | PyObject * obj0 = 0 ; | |
19332 | char *kwnames[] = { | |
19333 | (char *) "self", NULL | |
19334 | }; | |
19335 | ||
19336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
19339 | { |
19340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19341 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
19342 | ||
19343 | wxPyEndAllowThreads(__tstate); | |
19344 | if (PyErr_Occurred()) SWIG_fail; | |
19345 | } | |
15afbcd0 | 19346 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
19347 | return resultobj; |
19348 | fail: | |
19349 | return NULL; | |
19350 | } | |
19351 | ||
19352 | ||
19353 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19354 | PyObject *resultobj; | |
19355 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19356 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
19357 | PyObject * obj0 = 0 ; | |
19358 | PyObject * obj1 = 0 ; | |
19359 | char *kwnames[] = { | |
19360 | (char *) "self",(char *) "outputstream", NULL | |
19361 | }; | |
19362 | ||
19363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19366 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
19367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
19368 | { |
19369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19370 | (arg1)->SetOutputStream(arg2); | |
19371 | ||
19372 | wxPyEndAllowThreads(__tstate); | |
19373 | if (PyErr_Occurred()) SWIG_fail; | |
19374 | } | |
19375 | Py_INCREF(Py_None); resultobj = Py_None; | |
19376 | return resultobj; | |
19377 | fail: | |
19378 | return NULL; | |
19379 | } | |
19380 | ||
19381 | ||
d14a1e28 RD |
19382 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
19383 | PyObject *obj; | |
19384 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19385 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
19386 | Py_INCREF(obj); | |
19387 | return Py_BuildValue((char *)""); | |
19388 | } | |
19389 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19390 | PyObject *resultobj; | |
19391 | wxPageSetupDialogData *result; | |
19392 | char *kwnames[] = { | |
19393 | NULL | |
19394 | }; | |
19395 | ||
19396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
19397 | { | |
19398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19399 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
19400 | ||
19401 | wxPyEndAllowThreads(__tstate); | |
19402 | if (PyErr_Occurred()) SWIG_fail; | |
19403 | } | |
15afbcd0 | 19404 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
19405 | return resultobj; |
19406 | fail: | |
19407 | return NULL; | |
19408 | } | |
19409 | ||
19410 | ||
19411 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19412 | PyObject *resultobj; | |
19413 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19414 | PyObject * obj0 = 0 ; | |
19415 | char *kwnames[] = { | |
19416 | (char *) "self", NULL | |
19417 | }; | |
19418 | ||
19419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19422 | { |
19423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19424 | delete arg1; | |
19425 | ||
19426 | wxPyEndAllowThreads(__tstate); | |
19427 | if (PyErr_Occurred()) SWIG_fail; | |
19428 | } | |
19429 | Py_INCREF(Py_None); resultobj = Py_None; | |
19430 | return resultobj; | |
19431 | fail: | |
19432 | return NULL; | |
19433 | } | |
19434 | ||
19435 | ||
19436 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19437 | PyObject *resultobj; | |
19438 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19439 | bool arg2 ; | |
19440 | PyObject * obj0 = 0 ; | |
19441 | PyObject * obj1 = 0 ; | |
19442 | char *kwnames[] = { | |
19443 | (char *) "self",(char *) "flag", NULL | |
19444 | }; | |
19445 | ||
19446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19449 | arg2 = (bool) SWIG_AsBool(obj1); | |
19450 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19451 | { |
19452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19453 | (arg1)->EnableHelp(arg2); | |
19454 | ||
19455 | wxPyEndAllowThreads(__tstate); | |
19456 | if (PyErr_Occurred()) SWIG_fail; | |
19457 | } | |
19458 | Py_INCREF(Py_None); resultobj = Py_None; | |
19459 | return resultobj; | |
19460 | fail: | |
19461 | return NULL; | |
19462 | } | |
19463 | ||
19464 | ||
19465 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19466 | PyObject *resultobj; | |
19467 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19468 | bool arg2 ; | |
19469 | PyObject * obj0 = 0 ; | |
19470 | PyObject * obj1 = 0 ; | |
19471 | char *kwnames[] = { | |
19472 | (char *) "self",(char *) "flag", NULL | |
19473 | }; | |
19474 | ||
19475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19478 | arg2 = (bool) SWIG_AsBool(obj1); | |
19479 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19480 | { |
19481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19482 | (arg1)->EnableMargins(arg2); | |
19483 | ||
19484 | wxPyEndAllowThreads(__tstate); | |
19485 | if (PyErr_Occurred()) SWIG_fail; | |
19486 | } | |
19487 | Py_INCREF(Py_None); resultobj = Py_None; | |
19488 | return resultobj; | |
19489 | fail: | |
19490 | return NULL; | |
19491 | } | |
19492 | ||
19493 | ||
19494 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19495 | PyObject *resultobj; | |
19496 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19497 | bool arg2 ; | |
19498 | PyObject * obj0 = 0 ; | |
19499 | PyObject * obj1 = 0 ; | |
19500 | char *kwnames[] = { | |
19501 | (char *) "self",(char *) "flag", NULL | |
19502 | }; | |
19503 | ||
19504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19507 | arg2 = (bool) SWIG_AsBool(obj1); | |
19508 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19509 | { |
19510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19511 | (arg1)->EnableOrientation(arg2); | |
19512 | ||
19513 | wxPyEndAllowThreads(__tstate); | |
19514 | if (PyErr_Occurred()) SWIG_fail; | |
19515 | } | |
19516 | Py_INCREF(Py_None); resultobj = Py_None; | |
19517 | return resultobj; | |
19518 | fail: | |
19519 | return NULL; | |
19520 | } | |
19521 | ||
19522 | ||
19523 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19524 | PyObject *resultobj; | |
19525 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19526 | bool arg2 ; | |
19527 | PyObject * obj0 = 0 ; | |
19528 | PyObject * obj1 = 0 ; | |
19529 | char *kwnames[] = { | |
19530 | (char *) "self",(char *) "flag", NULL | |
19531 | }; | |
19532 | ||
19533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19536 | arg2 = (bool) SWIG_AsBool(obj1); | |
19537 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19538 | { |
19539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19540 | (arg1)->EnablePaper(arg2); | |
19541 | ||
19542 | wxPyEndAllowThreads(__tstate); | |
19543 | if (PyErr_Occurred()) SWIG_fail; | |
19544 | } | |
19545 | Py_INCREF(Py_None); resultobj = Py_None; | |
19546 | return resultobj; | |
19547 | fail: | |
19548 | return NULL; | |
19549 | } | |
19550 | ||
19551 | ||
19552 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19553 | PyObject *resultobj; | |
19554 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19555 | bool arg2 ; | |
19556 | PyObject * obj0 = 0 ; | |
19557 | PyObject * obj1 = 0 ; | |
19558 | char *kwnames[] = { | |
19559 | (char *) "self",(char *) "flag", NULL | |
19560 | }; | |
19561 | ||
19562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19565 | arg2 = (bool) SWIG_AsBool(obj1); | |
19566 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19567 | { |
19568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19569 | (arg1)->EnablePrinter(arg2); | |
19570 | ||
19571 | wxPyEndAllowThreads(__tstate); | |
19572 | if (PyErr_Occurred()) SWIG_fail; | |
19573 | } | |
19574 | Py_INCREF(Py_None); resultobj = Py_None; | |
19575 | return resultobj; | |
19576 | fail: | |
19577 | return NULL; | |
19578 | } | |
19579 | ||
19580 | ||
19581 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19582 | PyObject *resultobj; | |
19583 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19584 | bool result; | |
19585 | PyObject * obj0 = 0 ; | |
19586 | char *kwnames[] = { | |
19587 | (char *) "self", NULL | |
19588 | }; | |
19589 | ||
19590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19593 | { |
19594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19595 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
19596 | ||
19597 | wxPyEndAllowThreads(__tstate); | |
19598 | if (PyErr_Occurred()) SWIG_fail; | |
19599 | } | |
4f89f6a3 RD |
19600 | { |
19601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19602 | } | |
d14a1e28 RD |
19603 | return resultobj; |
19604 | fail: | |
19605 | return NULL; | |
19606 | } | |
19607 | ||
19608 | ||
19609 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19610 | PyObject *resultobj; | |
19611 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19612 | bool result; | |
19613 | PyObject * obj0 = 0 ; | |
19614 | char *kwnames[] = { | |
19615 | (char *) "self", NULL | |
19616 | }; | |
19617 | ||
19618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19621 | { |
19622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19623 | result = (bool)(arg1)->GetEnableMargins(); | |
19624 | ||
19625 | wxPyEndAllowThreads(__tstate); | |
19626 | if (PyErr_Occurred()) SWIG_fail; | |
19627 | } | |
4f89f6a3 RD |
19628 | { |
19629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19630 | } | |
d14a1e28 RD |
19631 | return resultobj; |
19632 | fail: | |
19633 | return NULL; | |
19634 | } | |
19635 | ||
19636 | ||
19637 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19638 | PyObject *resultobj; | |
19639 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19640 | bool result; | |
19641 | PyObject * obj0 = 0 ; | |
19642 | char *kwnames[] = { | |
19643 | (char *) "self", NULL | |
19644 | }; | |
19645 | ||
19646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19649 | { |
19650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19651 | result = (bool)(arg1)->GetEnableOrientation(); | |
19652 | ||
19653 | wxPyEndAllowThreads(__tstate); | |
19654 | if (PyErr_Occurred()) SWIG_fail; | |
19655 | } | |
4f89f6a3 RD |
19656 | { |
19657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19658 | } | |
d14a1e28 RD |
19659 | return resultobj; |
19660 | fail: | |
19661 | return NULL; | |
19662 | } | |
19663 | ||
19664 | ||
19665 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19666 | PyObject *resultobj; | |
19667 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19668 | bool result; | |
19669 | PyObject * obj0 = 0 ; | |
19670 | char *kwnames[] = { | |
19671 | (char *) "self", NULL | |
19672 | }; | |
19673 | ||
19674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19677 | { |
19678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19679 | result = (bool)(arg1)->GetEnablePaper(); | |
19680 | ||
19681 | wxPyEndAllowThreads(__tstate); | |
19682 | if (PyErr_Occurred()) SWIG_fail; | |
19683 | } | |
4f89f6a3 RD |
19684 | { |
19685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19686 | } | |
d14a1e28 RD |
19687 | return resultobj; |
19688 | fail: | |
19689 | return NULL; | |
19690 | } | |
19691 | ||
19692 | ||
19693 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19694 | PyObject *resultobj; | |
19695 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19696 | bool result; | |
19697 | PyObject * obj0 = 0 ; | |
19698 | char *kwnames[] = { | |
19699 | (char *) "self", NULL | |
19700 | }; | |
19701 | ||
19702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19705 | { |
19706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19707 | result = (bool)(arg1)->GetEnablePrinter(); | |
19708 | ||
19709 | wxPyEndAllowThreads(__tstate); | |
19710 | if (PyErr_Occurred()) SWIG_fail; | |
19711 | } | |
4f89f6a3 RD |
19712 | { |
19713 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19714 | } | |
d14a1e28 RD |
19715 | return resultobj; |
19716 | fail: | |
19717 | return NULL; | |
19718 | } | |
19719 | ||
19720 | ||
19721 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19722 | PyObject *resultobj; | |
19723 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19724 | bool result; | |
19725 | PyObject * obj0 = 0 ; | |
19726 | char *kwnames[] = { | |
19727 | (char *) "self", NULL | |
19728 | }; | |
19729 | ||
19730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19733 | { |
19734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19735 | result = (bool)(arg1)->GetEnableHelp(); | |
19736 | ||
19737 | wxPyEndAllowThreads(__tstate); | |
19738 | if (PyErr_Occurred()) SWIG_fail; | |
19739 | } | |
4f89f6a3 RD |
19740 | { |
19741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19742 | } | |
d14a1e28 RD |
19743 | return resultobj; |
19744 | fail: | |
19745 | return NULL; | |
19746 | } | |
19747 | ||
19748 | ||
19749 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19750 | PyObject *resultobj; | |
19751 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19752 | bool result; | |
19753 | PyObject * obj0 = 0 ; | |
19754 | char *kwnames[] = { | |
19755 | (char *) "self", NULL | |
19756 | }; | |
19757 | ||
19758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19761 | { |
19762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19763 | result = (bool)(arg1)->GetDefaultInfo(); | |
19764 | ||
19765 | wxPyEndAllowThreads(__tstate); | |
19766 | if (PyErr_Occurred()) SWIG_fail; | |
19767 | } | |
4f89f6a3 RD |
19768 | { |
19769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19770 | } | |
d14a1e28 RD |
19771 | return resultobj; |
19772 | fail: | |
19773 | return NULL; | |
19774 | } | |
19775 | ||
19776 | ||
19777 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19778 | PyObject *resultobj; | |
19779 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19780 | wxPoint result; | |
19781 | PyObject * obj0 = 0 ; | |
19782 | char *kwnames[] = { | |
19783 | (char *) "self", NULL | |
19784 | }; | |
19785 | ||
19786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19789 | { |
19790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19791 | result = (arg1)->GetMarginTopLeft(); | |
19792 | ||
19793 | wxPyEndAllowThreads(__tstate); | |
19794 | if (PyErr_Occurred()) SWIG_fail; | |
19795 | } | |
19796 | { | |
19797 | wxPoint * resultptr; | |
19798 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19799 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19800 | } |
19801 | return resultobj; | |
19802 | fail: | |
19803 | return NULL; | |
19804 | } | |
19805 | ||
19806 | ||
19807 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19808 | PyObject *resultobj; | |
19809 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19810 | wxPoint result; | |
19811 | PyObject * obj0 = 0 ; | |
19812 | char *kwnames[] = { | |
19813 | (char *) "self", NULL | |
19814 | }; | |
19815 | ||
19816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19819 | { |
19820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19821 | result = (arg1)->GetMarginBottomRight(); | |
19822 | ||
19823 | wxPyEndAllowThreads(__tstate); | |
19824 | if (PyErr_Occurred()) SWIG_fail; | |
19825 | } | |
19826 | { | |
19827 | wxPoint * resultptr; | |
19828 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19829 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19830 | } |
19831 | return resultobj; | |
19832 | fail: | |
19833 | return NULL; | |
19834 | } | |
19835 | ||
19836 | ||
19837 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19838 | PyObject *resultobj; | |
19839 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19840 | wxPoint result; | |
19841 | PyObject * obj0 = 0 ; | |
19842 | char *kwnames[] = { | |
19843 | (char *) "self", NULL | |
19844 | }; | |
19845 | ||
19846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19849 | { |
19850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19851 | result = (arg1)->GetMinMarginTopLeft(); | |
19852 | ||
19853 | wxPyEndAllowThreads(__tstate); | |
19854 | if (PyErr_Occurred()) SWIG_fail; | |
19855 | } | |
19856 | { | |
19857 | wxPoint * resultptr; | |
19858 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19859 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19860 | } |
19861 | return resultobj; | |
19862 | fail: | |
19863 | return NULL; | |
19864 | } | |
19865 | ||
19866 | ||
19867 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19868 | PyObject *resultobj; | |
19869 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19870 | wxPoint result; | |
19871 | PyObject * obj0 = 0 ; | |
19872 | char *kwnames[] = { | |
19873 | (char *) "self", NULL | |
19874 | }; | |
19875 | ||
19876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19879 | { |
19880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19881 | result = (arg1)->GetMinMarginBottomRight(); | |
19882 | ||
19883 | wxPyEndAllowThreads(__tstate); | |
19884 | if (PyErr_Occurred()) SWIG_fail; | |
19885 | } | |
19886 | { | |
19887 | wxPoint * resultptr; | |
19888 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 19889 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
19890 | } |
19891 | return resultobj; | |
19892 | fail: | |
19893 | return NULL; | |
19894 | } | |
19895 | ||
19896 | ||
19897 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19898 | PyObject *resultobj; | |
19899 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19900 | int result; | |
19901 | PyObject * obj0 = 0 ; | |
19902 | char *kwnames[] = { | |
19903 | (char *) "self", NULL | |
19904 | }; | |
19905 | ||
19906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19909 | { |
19910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19911 | result = (int)(arg1)->GetPaperId(); | |
19912 | ||
19913 | wxPyEndAllowThreads(__tstate); | |
19914 | if (PyErr_Occurred()) SWIG_fail; | |
19915 | } | |
15afbcd0 | 19916 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19917 | return resultobj; |
19918 | fail: | |
19919 | return NULL; | |
19920 | } | |
19921 | ||
19922 | ||
19923 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19924 | PyObject *resultobj; | |
19925 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19926 | wxSize result; | |
19927 | PyObject * obj0 = 0 ; | |
19928 | char *kwnames[] = { | |
19929 | (char *) "self", NULL | |
19930 | }; | |
19931 | ||
19932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19935 | { |
19936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19937 | result = (arg1)->GetPaperSize(); | |
19938 | ||
19939 | wxPyEndAllowThreads(__tstate); | |
19940 | if (PyErr_Occurred()) SWIG_fail; | |
19941 | } | |
19942 | { | |
19943 | wxSize * resultptr; | |
19944 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 19945 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
19946 | } |
19947 | return resultobj; | |
19948 | fail: | |
19949 | return NULL; | |
19950 | } | |
19951 | ||
19952 | ||
19953 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19954 | PyObject *resultobj; | |
19955 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19956 | wxPrintData *result; | |
19957 | PyObject * obj0 = 0 ; | |
19958 | char *kwnames[] = { | |
19959 | (char *) "self", NULL | |
19960 | }; | |
19961 | ||
19962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19965 | { |
19966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19967 | { | |
19968 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19969 | result = (wxPrintData *) &_result_ref; | |
19970 | } | |
19971 | ||
19972 | wxPyEndAllowThreads(__tstate); | |
19973 | if (PyErr_Occurred()) SWIG_fail; | |
19974 | } | |
15afbcd0 | 19975 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19976 | return resultobj; |
19977 | fail: | |
19978 | return NULL; | |
19979 | } | |
19980 | ||
19981 | ||
19982 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19983 | PyObject *resultobj; | |
19984 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
19985 | bool result; | |
19986 | PyObject * obj0 = 0 ; | |
19987 | char *kwnames[] = { | |
19988 | (char *) "self", NULL | |
19989 | }; | |
19990 | ||
19991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
19993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19994 | { |
19995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19996 | result = (bool)(arg1)->Ok(); | |
19997 | ||
19998 | wxPyEndAllowThreads(__tstate); | |
19999 | if (PyErr_Occurred()) SWIG_fail; | |
20000 | } | |
4f89f6a3 RD |
20001 | { |
20002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20003 | } | |
d14a1e28 RD |
20004 | return resultobj; |
20005 | fail: | |
20006 | return NULL; | |
20007 | } | |
20008 | ||
20009 | ||
20010 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20011 | PyObject *resultobj; | |
20012 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20013 | bool arg2 ; | |
20014 | PyObject * obj0 = 0 ; | |
20015 | PyObject * obj1 = 0 ; | |
20016 | char *kwnames[] = { | |
20017 | (char *) "self",(char *) "flag", NULL | |
20018 | }; | |
20019 | ||
20020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20023 | arg2 = (bool) SWIG_AsBool(obj1); | |
20024 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20025 | { |
20026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20027 | (arg1)->SetDefaultInfo(arg2); | |
20028 | ||
20029 | wxPyEndAllowThreads(__tstate); | |
20030 | if (PyErr_Occurred()) SWIG_fail; | |
20031 | } | |
20032 | Py_INCREF(Py_None); resultobj = Py_None; | |
20033 | return resultobj; | |
20034 | fail: | |
20035 | return NULL; | |
20036 | } | |
20037 | ||
20038 | ||
20039 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20040 | PyObject *resultobj; | |
20041 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20042 | bool arg2 ; | |
20043 | PyObject * obj0 = 0 ; | |
20044 | PyObject * obj1 = 0 ; | |
20045 | char *kwnames[] = { | |
20046 | (char *) "self",(char *) "flag", NULL | |
20047 | }; | |
20048 | ||
20049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20052 | arg2 = (bool) SWIG_AsBool(obj1); | |
20053 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20054 | { |
20055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20056 | (arg1)->SetDefaultMinMargins(arg2); | |
20057 | ||
20058 | wxPyEndAllowThreads(__tstate); | |
20059 | if (PyErr_Occurred()) SWIG_fail; | |
20060 | } | |
20061 | Py_INCREF(Py_None); resultobj = Py_None; | |
20062 | return resultobj; | |
20063 | fail: | |
20064 | return NULL; | |
20065 | } | |
20066 | ||
20067 | ||
20068 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20069 | PyObject *resultobj; | |
20070 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20071 | wxPoint *arg2 = 0 ; | |
20072 | wxPoint temp2 ; | |
20073 | PyObject * obj0 = 0 ; | |
20074 | PyObject * obj1 = 0 ; | |
20075 | char *kwnames[] = { | |
20076 | (char *) "self",(char *) "pt", NULL | |
20077 | }; | |
20078 | ||
20079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20082 | { |
20083 | arg2 = &temp2; | |
20084 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20085 | } | |
20086 | { | |
20087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20088 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
20089 | ||
20090 | wxPyEndAllowThreads(__tstate); | |
20091 | if (PyErr_Occurred()) SWIG_fail; | |
20092 | } | |
20093 | Py_INCREF(Py_None); resultobj = Py_None; | |
20094 | return resultobj; | |
20095 | fail: | |
20096 | return NULL; | |
20097 | } | |
20098 | ||
20099 | ||
20100 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20101 | PyObject *resultobj; | |
20102 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20103 | wxPoint *arg2 = 0 ; | |
20104 | wxPoint temp2 ; | |
20105 | PyObject * obj0 = 0 ; | |
20106 | PyObject * obj1 = 0 ; | |
20107 | char *kwnames[] = { | |
20108 | (char *) "self",(char *) "pt", NULL | |
20109 | }; | |
20110 | ||
20111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20114 | { |
20115 | arg2 = &temp2; | |
20116 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20117 | } | |
20118 | { | |
20119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20120 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
20121 | ||
20122 | wxPyEndAllowThreads(__tstate); | |
20123 | if (PyErr_Occurred()) SWIG_fail; | |
20124 | } | |
20125 | Py_INCREF(Py_None); resultobj = Py_None; | |
20126 | return resultobj; | |
20127 | fail: | |
20128 | return NULL; | |
20129 | } | |
20130 | ||
20131 | ||
20132 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20133 | PyObject *resultobj; | |
20134 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20135 | wxPoint *arg2 = 0 ; | |
20136 | wxPoint temp2 ; | |
20137 | PyObject * obj0 = 0 ; | |
20138 | PyObject * obj1 = 0 ; | |
20139 | char *kwnames[] = { | |
20140 | (char *) "self",(char *) "pt", NULL | |
20141 | }; | |
20142 | ||
20143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20146 | { |
20147 | arg2 = &temp2; | |
20148 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20149 | } | |
20150 | { | |
20151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20152 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
20153 | ||
20154 | wxPyEndAllowThreads(__tstate); | |
20155 | if (PyErr_Occurred()) SWIG_fail; | |
20156 | } | |
20157 | Py_INCREF(Py_None); resultobj = Py_None; | |
20158 | return resultobj; | |
20159 | fail: | |
20160 | return NULL; | |
20161 | } | |
20162 | ||
20163 | ||
20164 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20165 | PyObject *resultobj; | |
20166 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20167 | wxPoint *arg2 = 0 ; | |
20168 | wxPoint temp2 ; | |
20169 | PyObject * obj0 = 0 ; | |
20170 | PyObject * obj1 = 0 ; | |
20171 | char *kwnames[] = { | |
20172 | (char *) "self",(char *) "pt", NULL | |
20173 | }; | |
20174 | ||
20175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20178 | { |
20179 | arg2 = &temp2; | |
20180 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20181 | } | |
20182 | { | |
20183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20184 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
20185 | ||
20186 | wxPyEndAllowThreads(__tstate); | |
20187 | if (PyErr_Occurred()) SWIG_fail; | |
20188 | } | |
20189 | Py_INCREF(Py_None); resultobj = Py_None; | |
20190 | return resultobj; | |
20191 | fail: | |
20192 | return NULL; | |
20193 | } | |
20194 | ||
20195 | ||
20196 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20197 | PyObject *resultobj; | |
20198 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20199 | int arg2 ; | |
20200 | PyObject * obj0 = 0 ; | |
994141e6 | 20201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20202 | char *kwnames[] = { |
20203 | (char *) "self",(char *) "id", NULL | |
20204 | }; | |
20205 | ||
994141e6 | 20206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20209 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
20210 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20211 | { |
20212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20213 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20214 | ||
20215 | wxPyEndAllowThreads(__tstate); | |
20216 | if (PyErr_Occurred()) SWIG_fail; | |
20217 | } | |
20218 | Py_INCREF(Py_None); resultobj = Py_None; | |
20219 | return resultobj; | |
20220 | fail: | |
20221 | return NULL; | |
20222 | } | |
20223 | ||
20224 | ||
20225 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20226 | PyObject *resultobj; | |
20227 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20228 | wxSize *arg2 = 0 ; | |
20229 | wxSize temp2 ; | |
20230 | PyObject * obj0 = 0 ; | |
20231 | PyObject * obj1 = 0 ; | |
20232 | char *kwnames[] = { | |
20233 | (char *) "self",(char *) "size", NULL | |
20234 | }; | |
20235 | ||
20236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20239 | { |
20240 | arg2 = &temp2; | |
20241 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20242 | } | |
20243 | { | |
20244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20245 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20246 | ||
20247 | wxPyEndAllowThreads(__tstate); | |
20248 | if (PyErr_Occurred()) SWIG_fail; | |
20249 | } | |
20250 | Py_INCREF(Py_None); resultobj = Py_None; | |
20251 | return resultobj; | |
20252 | fail: | |
20253 | return NULL; | |
20254 | } | |
20255 | ||
20256 | ||
20257 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20258 | PyObject *resultobj; | |
20259 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20260 | wxPrintData *arg2 = 0 ; | |
20261 | PyObject * obj0 = 0 ; | |
20262 | PyObject * obj1 = 0 ; | |
20263 | char *kwnames[] = { | |
20264 | (char *) "self",(char *) "printData", NULL | |
20265 | }; | |
20266 | ||
20267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20270 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20271 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20272 | SWIG_fail; | |
d14a1e28 | 20273 | if (arg2 == NULL) { |
15afbcd0 RD |
20274 | PyErr_SetString(PyExc_TypeError,"null reference"); |
20275 | SWIG_fail; | |
d14a1e28 RD |
20276 | } |
20277 | { | |
20278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20279 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20280 | ||
20281 | wxPyEndAllowThreads(__tstate); | |
20282 | if (PyErr_Occurred()) SWIG_fail; | |
20283 | } | |
20284 | Py_INCREF(Py_None); resultobj = Py_None; | |
20285 | return resultobj; | |
20286 | fail: | |
20287 | return NULL; | |
20288 | } | |
20289 | ||
20290 | ||
20291 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
20292 | PyObject *obj; | |
20293 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20294 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
20295 | Py_INCREF(obj); | |
20296 | return Py_BuildValue((char *)""); | |
20297 | } | |
20298 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20299 | PyObject *resultobj; | |
20300 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20301 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
20302 | wxPageSetupDialog *result; | |
20303 | PyObject * obj0 = 0 ; | |
20304 | PyObject * obj1 = 0 ; | |
20305 | char *kwnames[] = { | |
20306 | (char *) "parent",(char *) "data", NULL | |
20307 | }; | |
20308 | ||
20309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
20311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 20312 | if (obj1) { |
15afbcd0 RD |
20313 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
20314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20315 | } |
20316 | { | |
e3b71cb8 | 20317 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
20318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20319 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
20320 | ||
20321 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 20322 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 20323 | } |
15afbcd0 | 20324 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
20325 | return resultobj; |
20326 | fail: | |
20327 | return NULL; | |
20328 | } | |
20329 | ||
20330 | ||
20331 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20332 | PyObject *resultobj; | |
20333 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20334 | wxPageSetupDialogData *result; | |
20335 | PyObject * obj0 = 0 ; | |
20336 | char *kwnames[] = { | |
20337 | (char *) "self", NULL | |
20338 | }; | |
20339 | ||
20340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
20342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20343 | { |
20344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20345 | { | |
20346 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
20347 | result = (wxPageSetupDialogData *) &_result_ref; | |
20348 | } | |
20349 | ||
20350 | wxPyEndAllowThreads(__tstate); | |
20351 | if (PyErr_Occurred()) SWIG_fail; | |
20352 | } | |
15afbcd0 | 20353 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
20354 | return resultobj; |
20355 | fail: | |
20356 | return NULL; | |
20357 | } | |
20358 | ||
20359 | ||
20360 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20361 | PyObject *resultobj; | |
20362 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20363 | int result; | |
20364 | PyObject * obj0 = 0 ; | |
20365 | char *kwnames[] = { | |
20366 | (char *) "self", NULL | |
20367 | }; | |
20368 | ||
20369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
20371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20372 | { |
20373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20374 | result = (int)(arg1)->ShowModal(); | |
20375 | ||
20376 | wxPyEndAllowThreads(__tstate); | |
20377 | if (PyErr_Occurred()) SWIG_fail; | |
20378 | } | |
15afbcd0 | 20379 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20380 | return resultobj; |
20381 | fail: | |
20382 | return NULL; | |
20383 | } | |
20384 | ||
20385 | ||
20386 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
20387 | PyObject *obj; | |
20388 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20389 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
20390 | Py_INCREF(obj); | |
20391 | return Py_BuildValue((char *)""); | |
20392 | } | |
4276dc52 | 20393 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
20394 | PyObject *resultobj; |
20395 | wxPrintDialogData *result; | |
d14a1e28 | 20396 | |
4276dc52 | 20397 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
20398 | { |
20399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20400 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
20401 | ||
20402 | wxPyEndAllowThreads(__tstate); | |
20403 | if (PyErr_Occurred()) SWIG_fail; | |
20404 | } | |
15afbcd0 | 20405 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
20406 | return resultobj; |
20407 | fail: | |
20408 | return NULL; | |
20409 | } | |
20410 | ||
20411 | ||
4276dc52 RD |
20412 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
20413 | PyObject *resultobj; | |
20414 | wxPrintData *arg1 = 0 ; | |
20415 | wxPrintDialogData *result; | |
20416 | PyObject * obj0 = 0 ; | |
20417 | ||
20418 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
20419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
20420 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20421 | SWIG_fail; | |
20422 | if (arg1 == NULL) { | |
20423 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
20424 | SWIG_fail; | |
20425 | } | |
20426 | { | |
20427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20428 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
20429 | ||
20430 | wxPyEndAllowThreads(__tstate); | |
20431 | if (PyErr_Occurred()) SWIG_fail; | |
20432 | } | |
20433 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
20434 | return resultobj; | |
20435 | fail: | |
20436 | return NULL; | |
20437 | } | |
20438 | ||
20439 | ||
20440 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
20441 | int argc; | |
20442 | PyObject *argv[2]; | |
20443 | int ii; | |
20444 | ||
20445 | argc = PyObject_Length(args); | |
20446 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20447 | argv[ii] = PyTuple_GetItem(args,ii); | |
20448 | } | |
20449 | if (argc == 0) { | |
20450 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
20451 | } | |
20452 | if (argc == 1) { | |
20453 | int _v; | |
20454 | { | |
20455 | void *ptr; | |
20456 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
20457 | _v = 0; | |
20458 | PyErr_Clear(); | |
20459 | } else { | |
20460 | _v = 1; | |
20461 | } | |
20462 | } | |
20463 | if (_v) { | |
20464 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
20465 | } | |
20466 | } | |
20467 | ||
20468 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
20469 | return NULL; | |
20470 | } | |
20471 | ||
20472 | ||
d14a1e28 RD |
20473 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
20474 | PyObject *resultobj; | |
20475 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20476 | PyObject * obj0 = 0 ; | |
20477 | char *kwnames[] = { | |
20478 | (char *) "self", NULL | |
20479 | }; | |
20480 | ||
20481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20484 | { |
20485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20486 | delete arg1; | |
20487 | ||
20488 | wxPyEndAllowThreads(__tstate); | |
20489 | if (PyErr_Occurred()) SWIG_fail; | |
20490 | } | |
20491 | Py_INCREF(Py_None); resultobj = Py_None; | |
20492 | return resultobj; | |
20493 | fail: | |
20494 | return NULL; | |
20495 | } | |
20496 | ||
20497 | ||
20498 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20499 | PyObject *resultobj; | |
20500 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20501 | int result; | |
20502 | PyObject * obj0 = 0 ; | |
20503 | char *kwnames[] = { | |
20504 | (char *) "self", NULL | |
20505 | }; | |
20506 | ||
20507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20510 | { |
20511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20512 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
20513 | ||
20514 | wxPyEndAllowThreads(__tstate); | |
20515 | if (PyErr_Occurred()) SWIG_fail; | |
20516 | } | |
15afbcd0 | 20517 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20518 | return resultobj; |
20519 | fail: | |
20520 | return NULL; | |
20521 | } | |
20522 | ||
20523 | ||
20524 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20525 | PyObject *resultobj; | |
20526 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20527 | int result; | |
20528 | PyObject * obj0 = 0 ; | |
20529 | char *kwnames[] = { | |
20530 | (char *) "self", NULL | |
20531 | }; | |
20532 | ||
20533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20536 | { |
20537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20538 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
20539 | ||
20540 | wxPyEndAllowThreads(__tstate); | |
20541 | if (PyErr_Occurred()) SWIG_fail; | |
20542 | } | |
15afbcd0 | 20543 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20544 | return resultobj; |
20545 | fail: | |
20546 | return NULL; | |
20547 | } | |
20548 | ||
20549 | ||
20550 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20551 | PyObject *resultobj; | |
20552 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20553 | int result; | |
20554 | PyObject * obj0 = 0 ; | |
20555 | char *kwnames[] = { | |
20556 | (char *) "self", NULL | |
20557 | }; | |
20558 | ||
20559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20562 | { |
20563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20564 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
20565 | ||
20566 | wxPyEndAllowThreads(__tstate); | |
20567 | if (PyErr_Occurred()) SWIG_fail; | |
20568 | } | |
15afbcd0 | 20569 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20570 | return resultobj; |
20571 | fail: | |
20572 | return NULL; | |
20573 | } | |
20574 | ||
20575 | ||
20576 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20577 | PyObject *resultobj; | |
20578 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20579 | int result; | |
20580 | PyObject * obj0 = 0 ; | |
20581 | char *kwnames[] = { | |
20582 | (char *) "self", NULL | |
20583 | }; | |
20584 | ||
20585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20588 | { |
20589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20590 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
20591 | ||
20592 | wxPyEndAllowThreads(__tstate); | |
20593 | if (PyErr_Occurred()) SWIG_fail; | |
20594 | } | |
15afbcd0 | 20595 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20596 | return resultobj; |
20597 | fail: | |
20598 | return NULL; | |
20599 | } | |
20600 | ||
20601 | ||
20602 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20603 | PyObject *resultobj; | |
20604 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20605 | int result; | |
20606 | PyObject * obj0 = 0 ; | |
20607 | char *kwnames[] = { | |
20608 | (char *) "self", NULL | |
20609 | }; | |
20610 | ||
20611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20614 | { |
20615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20616 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
20617 | ||
20618 | wxPyEndAllowThreads(__tstate); | |
20619 | if (PyErr_Occurred()) SWIG_fail; | |
20620 | } | |
15afbcd0 | 20621 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20622 | return resultobj; |
20623 | fail: | |
20624 | return NULL; | |
20625 | } | |
20626 | ||
20627 | ||
20628 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20629 | PyObject *resultobj; | |
20630 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20631 | bool result; | |
20632 | PyObject * obj0 = 0 ; | |
20633 | char *kwnames[] = { | |
20634 | (char *) "self", NULL | |
20635 | }; | |
20636 | ||
20637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20640 | { |
20641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20642 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
20643 | ||
20644 | wxPyEndAllowThreads(__tstate); | |
20645 | if (PyErr_Occurred()) SWIG_fail; | |
20646 | } | |
4f89f6a3 RD |
20647 | { |
20648 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20649 | } | |
d14a1e28 RD |
20650 | return resultobj; |
20651 | fail: | |
20652 | return NULL; | |
20653 | } | |
20654 | ||
20655 | ||
20656 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20657 | PyObject *resultobj; | |
20658 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20659 | bool result; | |
20660 | PyObject * obj0 = 0 ; | |
20661 | char *kwnames[] = { | |
20662 | (char *) "self", NULL | |
20663 | }; | |
20664 | ||
20665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20668 | { |
20669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20670 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
20671 | ||
20672 | wxPyEndAllowThreads(__tstate); | |
20673 | if (PyErr_Occurred()) SWIG_fail; | |
20674 | } | |
4f89f6a3 RD |
20675 | { |
20676 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20677 | } | |
d14a1e28 RD |
20678 | return resultobj; |
20679 | fail: | |
20680 | return NULL; | |
20681 | } | |
20682 | ||
20683 | ||
20684 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20685 | PyObject *resultobj; | |
20686 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20687 | bool result; | |
20688 | PyObject * obj0 = 0 ; | |
20689 | char *kwnames[] = { | |
20690 | (char *) "self", NULL | |
20691 | }; | |
20692 | ||
20693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20696 | { |
20697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20698 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
20699 | ||
20700 | wxPyEndAllowThreads(__tstate); | |
20701 | if (PyErr_Occurred()) SWIG_fail; | |
20702 | } | |
4f89f6a3 RD |
20703 | { |
20704 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20705 | } | |
d14a1e28 RD |
20706 | return resultobj; |
20707 | fail: | |
20708 | return NULL; | |
20709 | } | |
20710 | ||
20711 | ||
20712 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20713 | PyObject *resultobj; | |
20714 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20715 | bool result; | |
20716 | PyObject * obj0 = 0 ; | |
20717 | char *kwnames[] = { | |
20718 | (char *) "self", NULL | |
20719 | }; | |
20720 | ||
20721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20724 | { |
20725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20726 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
20727 | ||
20728 | wxPyEndAllowThreads(__tstate); | |
20729 | if (PyErr_Occurred()) SWIG_fail; | |
20730 | } | |
4f89f6a3 RD |
20731 | { |
20732 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20733 | } | |
d14a1e28 RD |
20734 | return resultobj; |
20735 | fail: | |
20736 | return NULL; | |
20737 | } | |
20738 | ||
20739 | ||
20740 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20741 | PyObject *resultobj; | |
20742 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20743 | bool result; | |
20744 | PyObject * obj0 = 0 ; | |
20745 | char *kwnames[] = { | |
20746 | (char *) "self", NULL | |
20747 | }; | |
20748 | ||
20749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20752 | { |
20753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20754 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
20755 | ||
20756 | wxPyEndAllowThreads(__tstate); | |
20757 | if (PyErr_Occurred()) SWIG_fail; | |
20758 | } | |
4f89f6a3 RD |
20759 | { |
20760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20761 | } | |
d14a1e28 RD |
20762 | return resultobj; |
20763 | fail: | |
20764 | return NULL; | |
20765 | } | |
20766 | ||
20767 | ||
20768 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20769 | PyObject *resultobj; | |
20770 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20771 | int arg2 ; | |
20772 | PyObject * obj0 = 0 ; | |
994141e6 | 20773 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20774 | char *kwnames[] = { |
20775 | (char *) "self",(char *) "v", NULL | |
20776 | }; | |
20777 | ||
994141e6 | 20778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20779 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20781 | arg2 = (int) SWIG_AsInt(obj1); | |
20782 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20783 | { |
20784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20785 | (arg1)->SetFromPage(arg2); | |
20786 | ||
20787 | wxPyEndAllowThreads(__tstate); | |
20788 | if (PyErr_Occurred()) SWIG_fail; | |
20789 | } | |
20790 | Py_INCREF(Py_None); resultobj = Py_None; | |
20791 | return resultobj; | |
20792 | fail: | |
20793 | return NULL; | |
20794 | } | |
20795 | ||
20796 | ||
20797 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20798 | PyObject *resultobj; | |
20799 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20800 | int arg2 ; | |
20801 | PyObject * obj0 = 0 ; | |
994141e6 | 20802 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20803 | char *kwnames[] = { |
20804 | (char *) "self",(char *) "v", NULL | |
20805 | }; | |
20806 | ||
994141e6 | 20807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20810 | arg2 = (int) SWIG_AsInt(obj1); | |
20811 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20812 | { |
20813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20814 | (arg1)->SetToPage(arg2); | |
20815 | ||
20816 | wxPyEndAllowThreads(__tstate); | |
20817 | if (PyErr_Occurred()) SWIG_fail; | |
20818 | } | |
20819 | Py_INCREF(Py_None); resultobj = Py_None; | |
20820 | return resultobj; | |
20821 | fail: | |
20822 | return NULL; | |
20823 | } | |
20824 | ||
20825 | ||
20826 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20827 | PyObject *resultobj; | |
20828 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20829 | int arg2 ; | |
20830 | PyObject * obj0 = 0 ; | |
994141e6 | 20831 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20832 | char *kwnames[] = { |
20833 | (char *) "self",(char *) "v", NULL | |
20834 | }; | |
20835 | ||
994141e6 | 20836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20839 | arg2 = (int) SWIG_AsInt(obj1); | |
20840 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20841 | { |
20842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20843 | (arg1)->SetMinPage(arg2); | |
20844 | ||
20845 | wxPyEndAllowThreads(__tstate); | |
20846 | if (PyErr_Occurred()) SWIG_fail; | |
20847 | } | |
20848 | Py_INCREF(Py_None); resultobj = Py_None; | |
20849 | return resultobj; | |
20850 | fail: | |
20851 | return NULL; | |
20852 | } | |
20853 | ||
20854 | ||
20855 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20856 | PyObject *resultobj; | |
20857 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20858 | int arg2 ; | |
20859 | PyObject * obj0 = 0 ; | |
994141e6 | 20860 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20861 | char *kwnames[] = { |
20862 | (char *) "self",(char *) "v", NULL | |
20863 | }; | |
20864 | ||
994141e6 | 20865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20868 | arg2 = (int) SWIG_AsInt(obj1); | |
20869 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20870 | { |
20871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20872 | (arg1)->SetMaxPage(arg2); | |
20873 | ||
20874 | wxPyEndAllowThreads(__tstate); | |
20875 | if (PyErr_Occurred()) SWIG_fail; | |
20876 | } | |
20877 | Py_INCREF(Py_None); resultobj = Py_None; | |
20878 | return resultobj; | |
20879 | fail: | |
20880 | return NULL; | |
20881 | } | |
20882 | ||
20883 | ||
20884 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20885 | PyObject *resultobj; | |
20886 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20887 | int arg2 ; | |
20888 | PyObject * obj0 = 0 ; | |
994141e6 | 20889 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20890 | char *kwnames[] = { |
20891 | (char *) "self",(char *) "v", NULL | |
20892 | }; | |
20893 | ||
994141e6 | 20894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20897 | arg2 = (int) SWIG_AsInt(obj1); | |
20898 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20899 | { |
20900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20901 | (arg1)->SetNoCopies(arg2); | |
20902 | ||
20903 | wxPyEndAllowThreads(__tstate); | |
20904 | if (PyErr_Occurred()) SWIG_fail; | |
20905 | } | |
20906 | Py_INCREF(Py_None); resultobj = Py_None; | |
20907 | return resultobj; | |
20908 | fail: | |
20909 | return NULL; | |
20910 | } | |
20911 | ||
20912 | ||
20913 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20914 | PyObject *resultobj; | |
20915 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20916 | bool arg2 ; | |
20917 | PyObject * obj0 = 0 ; | |
20918 | PyObject * obj1 = 0 ; | |
20919 | char *kwnames[] = { | |
20920 | (char *) "self",(char *) "flag", NULL | |
20921 | }; | |
20922 | ||
20923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20926 | arg2 = (bool) SWIG_AsBool(obj1); | |
20927 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20928 | { |
20929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20930 | (arg1)->SetAllPages(arg2); | |
20931 | ||
20932 | wxPyEndAllowThreads(__tstate); | |
20933 | if (PyErr_Occurred()) SWIG_fail; | |
20934 | } | |
20935 | Py_INCREF(Py_None); resultobj = Py_None; | |
20936 | return resultobj; | |
20937 | fail: | |
20938 | return NULL; | |
20939 | } | |
20940 | ||
20941 | ||
20942 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20943 | PyObject *resultobj; | |
20944 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20945 | bool arg2 ; | |
20946 | PyObject * obj0 = 0 ; | |
20947 | PyObject * obj1 = 0 ; | |
20948 | char *kwnames[] = { | |
20949 | (char *) "self",(char *) "flag", NULL | |
20950 | }; | |
20951 | ||
20952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20955 | arg2 = (bool) SWIG_AsBool(obj1); | |
20956 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20957 | { |
20958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20959 | (arg1)->SetSelection(arg2); | |
20960 | ||
20961 | wxPyEndAllowThreads(__tstate); | |
20962 | if (PyErr_Occurred()) SWIG_fail; | |
20963 | } | |
20964 | Py_INCREF(Py_None); resultobj = Py_None; | |
20965 | return resultobj; | |
20966 | fail: | |
20967 | return NULL; | |
20968 | } | |
20969 | ||
20970 | ||
20971 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20972 | PyObject *resultobj; | |
20973 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
20974 | bool arg2 ; | |
20975 | PyObject * obj0 = 0 ; | |
20976 | PyObject * obj1 = 0 ; | |
20977 | char *kwnames[] = { | |
20978 | (char *) "self",(char *) "flag", NULL | |
20979 | }; | |
20980 | ||
20981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20984 | arg2 = (bool) SWIG_AsBool(obj1); | |
20985 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20986 | { |
20987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20988 | (arg1)->SetCollate(arg2); | |
20989 | ||
20990 | wxPyEndAllowThreads(__tstate); | |
20991 | if (PyErr_Occurred()) SWIG_fail; | |
20992 | } | |
20993 | Py_INCREF(Py_None); resultobj = Py_None; | |
20994 | return resultobj; | |
20995 | fail: | |
20996 | return NULL; | |
20997 | } | |
20998 | ||
20999 | ||
21000 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21001 | PyObject *resultobj; | |
21002 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21003 | bool arg2 ; | |
21004 | PyObject * obj0 = 0 ; | |
21005 | PyObject * obj1 = 0 ; | |
21006 | char *kwnames[] = { | |
21007 | (char *) "self",(char *) "flag", NULL | |
21008 | }; | |
21009 | ||
21010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21013 | arg2 = (bool) SWIG_AsBool(obj1); | |
21014 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21015 | { |
21016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21017 | (arg1)->SetPrintToFile(arg2); | |
21018 | ||
21019 | wxPyEndAllowThreads(__tstate); | |
21020 | if (PyErr_Occurred()) SWIG_fail; | |
21021 | } | |
21022 | Py_INCREF(Py_None); resultobj = Py_None; | |
21023 | return resultobj; | |
21024 | fail: | |
21025 | return NULL; | |
21026 | } | |
21027 | ||
21028 | ||
21029 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21030 | PyObject *resultobj; | |
21031 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21032 | bool arg2 ; | |
21033 | PyObject * obj0 = 0 ; | |
21034 | PyObject * obj1 = 0 ; | |
21035 | char *kwnames[] = { | |
21036 | (char *) "self",(char *) "flag", NULL | |
21037 | }; | |
21038 | ||
21039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21042 | arg2 = (bool) SWIG_AsBool(obj1); | |
21043 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21044 | { |
21045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21046 | (arg1)->SetSetupDialog(arg2); | |
21047 | ||
21048 | wxPyEndAllowThreads(__tstate); | |
21049 | if (PyErr_Occurred()) SWIG_fail; | |
21050 | } | |
21051 | Py_INCREF(Py_None); resultobj = Py_None; | |
21052 | return resultobj; | |
21053 | fail: | |
21054 | return NULL; | |
21055 | } | |
21056 | ||
21057 | ||
21058 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21059 | PyObject *resultobj; | |
21060 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21061 | bool arg2 ; | |
21062 | PyObject * obj0 = 0 ; | |
21063 | PyObject * obj1 = 0 ; | |
21064 | char *kwnames[] = { | |
21065 | (char *) "self",(char *) "flag", NULL | |
21066 | }; | |
21067 | ||
21068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21071 | arg2 = (bool) SWIG_AsBool(obj1); | |
21072 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21073 | { |
21074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21075 | (arg1)->EnablePrintToFile(arg2); | |
21076 | ||
21077 | wxPyEndAllowThreads(__tstate); | |
21078 | if (PyErr_Occurred()) SWIG_fail; | |
21079 | } | |
21080 | Py_INCREF(Py_None); resultobj = Py_None; | |
21081 | return resultobj; | |
21082 | fail: | |
21083 | return NULL; | |
21084 | } | |
21085 | ||
21086 | ||
21087 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21088 | PyObject *resultobj; | |
21089 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21090 | bool arg2 ; | |
21091 | PyObject * obj0 = 0 ; | |
21092 | PyObject * obj1 = 0 ; | |
21093 | char *kwnames[] = { | |
21094 | (char *) "self",(char *) "flag", NULL | |
21095 | }; | |
21096 | ||
21097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21100 | arg2 = (bool) SWIG_AsBool(obj1); | |
21101 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21102 | { |
21103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21104 | (arg1)->EnableSelection(arg2); | |
21105 | ||
21106 | wxPyEndAllowThreads(__tstate); | |
21107 | if (PyErr_Occurred()) SWIG_fail; | |
21108 | } | |
21109 | Py_INCREF(Py_None); resultobj = Py_None; | |
21110 | return resultobj; | |
21111 | fail: | |
21112 | return NULL; | |
21113 | } | |
21114 | ||
21115 | ||
21116 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21117 | PyObject *resultobj; | |
21118 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21119 | bool arg2 ; | |
21120 | PyObject * obj0 = 0 ; | |
21121 | PyObject * obj1 = 0 ; | |
21122 | char *kwnames[] = { | |
21123 | (char *) "self",(char *) "flag", NULL | |
21124 | }; | |
21125 | ||
21126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21129 | arg2 = (bool) SWIG_AsBool(obj1); | |
21130 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21131 | { |
21132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21133 | (arg1)->EnablePageNumbers(arg2); | |
21134 | ||
21135 | wxPyEndAllowThreads(__tstate); | |
21136 | if (PyErr_Occurred()) SWIG_fail; | |
21137 | } | |
21138 | Py_INCREF(Py_None); resultobj = Py_None; | |
21139 | return resultobj; | |
21140 | fail: | |
21141 | return NULL; | |
21142 | } | |
21143 | ||
21144 | ||
21145 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21146 | PyObject *resultobj; | |
21147 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21148 | bool arg2 ; | |
21149 | PyObject * obj0 = 0 ; | |
21150 | PyObject * obj1 = 0 ; | |
21151 | char *kwnames[] = { | |
21152 | (char *) "self",(char *) "flag", NULL | |
21153 | }; | |
21154 | ||
21155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21158 | arg2 = (bool) SWIG_AsBool(obj1); | |
21159 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21160 | { |
21161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21162 | (arg1)->EnableHelp(arg2); | |
21163 | ||
21164 | wxPyEndAllowThreads(__tstate); | |
21165 | if (PyErr_Occurred()) SWIG_fail; | |
21166 | } | |
21167 | Py_INCREF(Py_None); resultobj = Py_None; | |
21168 | return resultobj; | |
21169 | fail: | |
21170 | return NULL; | |
21171 | } | |
21172 | ||
21173 | ||
21174 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21175 | PyObject *resultobj; | |
21176 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21177 | bool result; | |
21178 | PyObject * obj0 = 0 ; | |
21179 | char *kwnames[] = { | |
21180 | (char *) "self", NULL | |
21181 | }; | |
21182 | ||
21183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21186 | { |
21187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21188 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
21189 | ||
21190 | wxPyEndAllowThreads(__tstate); | |
21191 | if (PyErr_Occurred()) SWIG_fail; | |
21192 | } | |
4f89f6a3 RD |
21193 | { |
21194 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21195 | } | |
d14a1e28 RD |
21196 | return resultobj; |
21197 | fail: | |
21198 | return NULL; | |
21199 | } | |
21200 | ||
21201 | ||
21202 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21203 | PyObject *resultobj; | |
21204 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21205 | bool result; | |
21206 | PyObject * obj0 = 0 ; | |
21207 | char *kwnames[] = { | |
21208 | (char *) "self", NULL | |
21209 | }; | |
21210 | ||
21211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21214 | { |
21215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21216 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
21217 | ||
21218 | wxPyEndAllowThreads(__tstate); | |
21219 | if (PyErr_Occurred()) SWIG_fail; | |
21220 | } | |
4f89f6a3 RD |
21221 | { |
21222 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21223 | } | |
d14a1e28 RD |
21224 | return resultobj; |
21225 | fail: | |
21226 | return NULL; | |
21227 | } | |
21228 | ||
21229 | ||
21230 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21231 | PyObject *resultobj; | |
21232 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21233 | bool result; | |
21234 | PyObject * obj0 = 0 ; | |
21235 | char *kwnames[] = { | |
21236 | (char *) "self", NULL | |
21237 | }; | |
21238 | ||
21239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21242 | { |
21243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21244 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
21245 | ||
21246 | wxPyEndAllowThreads(__tstate); | |
21247 | if (PyErr_Occurred()) SWIG_fail; | |
21248 | } | |
4f89f6a3 RD |
21249 | { |
21250 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21251 | } | |
d14a1e28 RD |
21252 | return resultobj; |
21253 | fail: | |
21254 | return NULL; | |
21255 | } | |
21256 | ||
21257 | ||
21258 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21259 | PyObject *resultobj; | |
21260 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21261 | bool result; | |
21262 | PyObject * obj0 = 0 ; | |
21263 | char *kwnames[] = { | |
21264 | (char *) "self", NULL | |
21265 | }; | |
21266 | ||
21267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21270 | { |
21271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21272 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
21273 | ||
21274 | wxPyEndAllowThreads(__tstate); | |
21275 | if (PyErr_Occurred()) SWIG_fail; | |
21276 | } | |
4f89f6a3 RD |
21277 | { |
21278 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21279 | } | |
d14a1e28 RD |
21280 | return resultobj; |
21281 | fail: | |
21282 | return NULL; | |
21283 | } | |
21284 | ||
21285 | ||
21286 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21287 | PyObject *resultobj; | |
21288 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21289 | bool result; | |
21290 | PyObject * obj0 = 0 ; | |
21291 | char *kwnames[] = { | |
21292 | (char *) "self", NULL | |
21293 | }; | |
21294 | ||
21295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21298 | { |
21299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21300 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
21301 | ||
21302 | wxPyEndAllowThreads(__tstate); | |
21303 | if (PyErr_Occurred()) SWIG_fail; | |
21304 | } | |
4f89f6a3 RD |
21305 | { |
21306 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21307 | } | |
d14a1e28 RD |
21308 | return resultobj; |
21309 | fail: | |
21310 | return NULL; | |
21311 | } | |
21312 | ||
21313 | ||
21314 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21315 | PyObject *resultobj; | |
21316 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21317 | wxPrintData *result; | |
21318 | PyObject * obj0 = 0 ; | |
21319 | char *kwnames[] = { | |
21320 | (char *) "self", NULL | |
21321 | }; | |
21322 | ||
21323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21326 | { |
21327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21328 | { | |
21329 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21330 | result = (wxPrintData *) &_result_ref; | |
21331 | } | |
21332 | ||
21333 | wxPyEndAllowThreads(__tstate); | |
21334 | if (PyErr_Occurred()) SWIG_fail; | |
21335 | } | |
15afbcd0 | 21336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
21337 | return resultobj; |
21338 | fail: | |
21339 | return NULL; | |
21340 | } | |
21341 | ||
21342 | ||
21343 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21344 | PyObject *resultobj; | |
21345 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21346 | wxPrintData *arg2 = 0 ; | |
21347 | PyObject * obj0 = 0 ; | |
21348 | PyObject * obj1 = 0 ; | |
21349 | char *kwnames[] = { | |
21350 | (char *) "self",(char *) "printData", NULL | |
21351 | }; | |
21352 | ||
21353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21356 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
21357 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21358 | SWIG_fail; | |
d14a1e28 | 21359 | if (arg2 == NULL) { |
15afbcd0 RD |
21360 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21361 | SWIG_fail; | |
d14a1e28 RD |
21362 | } |
21363 | { | |
21364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21365 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
21366 | ||
21367 | wxPyEndAllowThreads(__tstate); | |
21368 | if (PyErr_Occurred()) SWIG_fail; | |
21369 | } | |
21370 | Py_INCREF(Py_None); resultobj = Py_None; | |
21371 | return resultobj; | |
21372 | fail: | |
21373 | return NULL; | |
21374 | } | |
21375 | ||
21376 | ||
21377 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
21378 | PyObject *obj; | |
21379 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21380 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
21381 | Py_INCREF(obj); | |
21382 | return Py_BuildValue((char *)""); | |
21383 | } | |
21384 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21385 | PyObject *resultobj; | |
21386 | wxWindow *arg1 = (wxWindow *) 0 ; | |
21387 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
21388 | wxPrintDialog *result; | |
21389 | PyObject * obj0 = 0 ; | |
21390 | PyObject * obj1 = 0 ; | |
21391 | char *kwnames[] = { | |
21392 | (char *) "parent",(char *) "data", NULL | |
21393 | }; | |
21394 | ||
21395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
21397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21398 | if (obj1) { |
15afbcd0 RD |
21399 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
21400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21401 | } |
21402 | { | |
e3b71cb8 | 21403 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
21404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21405 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
21406 | ||
21407 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 21408 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 21409 | } |
15afbcd0 | 21410 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
21411 | return resultobj; |
21412 | fail: | |
21413 | return NULL; | |
21414 | } | |
21415 | ||
21416 | ||
21417 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21418 | PyObject *resultobj; | |
21419 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21420 | wxPrintDialogData *result; | |
21421 | PyObject * obj0 = 0 ; | |
21422 | char *kwnames[] = { | |
21423 | (char *) "self", NULL | |
21424 | }; | |
21425 | ||
21426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21429 | { |
21430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21431 | { | |
21432 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21433 | result = (wxPrintDialogData *) &_result_ref; | |
21434 | } | |
21435 | ||
21436 | wxPyEndAllowThreads(__tstate); | |
21437 | if (PyErr_Occurred()) SWIG_fail; | |
21438 | } | |
15afbcd0 | 21439 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21440 | return resultobj; |
21441 | fail: | |
21442 | return NULL; | |
21443 | } | |
21444 | ||
21445 | ||
21446 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21447 | PyObject *resultobj; | |
21448 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21449 | wxDC *result; | |
21450 | PyObject * obj0 = 0 ; | |
21451 | char *kwnames[] = { | |
21452 | (char *) "self", NULL | |
21453 | }; | |
21454 | ||
21455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21458 | { |
21459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21460 | result = (wxDC *)(arg1)->GetPrintDC(); | |
21461 | ||
21462 | wxPyEndAllowThreads(__tstate); | |
21463 | if (PyErr_Occurred()) SWIG_fail; | |
21464 | } | |
21465 | { | |
21466 | resultobj = wxPyMake_wxObject(result); | |
21467 | } | |
21468 | return resultobj; | |
21469 | fail: | |
21470 | return NULL; | |
21471 | } | |
21472 | ||
21473 | ||
21474 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21475 | PyObject *resultobj; | |
21476 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
21477 | int result; | |
21478 | PyObject * obj0 = 0 ; | |
21479 | char *kwnames[] = { | |
21480 | (char *) "self", NULL | |
21481 | }; | |
21482 | ||
21483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
21485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21486 | { |
21487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21488 | result = (int)(arg1)->ShowModal(); | |
21489 | ||
21490 | wxPyEndAllowThreads(__tstate); | |
21491 | if (PyErr_Occurred()) SWIG_fail; | |
21492 | } | |
15afbcd0 | 21493 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21494 | return resultobj; |
21495 | fail: | |
21496 | return NULL; | |
21497 | } | |
21498 | ||
21499 | ||
21500 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
21501 | PyObject *obj; | |
21502 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21503 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
21504 | Py_INCREF(obj); | |
21505 | return Py_BuildValue((char *)""); | |
21506 | } | |
21507 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21508 | PyObject *resultobj; | |
21509 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
21510 | wxPrinter *result; | |
21511 | PyObject * obj0 = 0 ; | |
21512 | char *kwnames[] = { | |
21513 | (char *) "data", NULL | |
21514 | }; | |
21515 | ||
21516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
21517 | if (obj0) { | |
15afbcd0 RD |
21518 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21519 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21520 | } |
21521 | { | |
e3b71cb8 | 21522 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
21523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21524 | result = (wxPrinter *)new wxPrinter(arg1); | |
21525 | ||
21526 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 21527 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 21528 | } |
15afbcd0 | 21529 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
21530 | return resultobj; |
21531 | fail: | |
21532 | return NULL; | |
21533 | } | |
21534 | ||
21535 | ||
21536 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21537 | PyObject *resultobj; | |
21538 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21539 | PyObject * obj0 = 0 ; | |
21540 | char *kwnames[] = { | |
21541 | (char *) "self", NULL | |
21542 | }; | |
21543 | ||
21544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21547 | { |
21548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21549 | delete arg1; | |
21550 | ||
21551 | wxPyEndAllowThreads(__tstate); | |
21552 | if (PyErr_Occurred()) SWIG_fail; | |
21553 | } | |
21554 | Py_INCREF(Py_None); resultobj = Py_None; | |
21555 | return resultobj; | |
21556 | fail: | |
21557 | return NULL; | |
21558 | } | |
21559 | ||
21560 | ||
21561 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21562 | PyObject *resultobj; | |
21563 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21564 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21565 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21566 | PyObject * obj0 = 0 ; | |
21567 | PyObject * obj1 = 0 ; | |
21568 | PyObject * obj2 = 0 ; | |
21569 | char *kwnames[] = { | |
21570 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
21571 | }; | |
21572 | ||
21573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21576 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21578 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21580 | { |
21581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21582 | (arg1)->CreateAbortWindow(arg2,arg3); | |
21583 | ||
21584 | wxPyEndAllowThreads(__tstate); | |
21585 | if (PyErr_Occurred()) SWIG_fail; | |
21586 | } | |
21587 | Py_INCREF(Py_None); resultobj = Py_None; | |
21588 | return resultobj; | |
21589 | fail: | |
21590 | return NULL; | |
21591 | } | |
21592 | ||
21593 | ||
21594 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21595 | PyObject *resultobj; | |
21596 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21597 | wxPrintDialogData *result; | |
21598 | PyObject * obj0 = 0 ; | |
21599 | char *kwnames[] = { | |
21600 | (char *) "self", NULL | |
21601 | }; | |
21602 | ||
21603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21606 | { |
21607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21608 | { | |
21609 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21610 | result = (wxPrintDialogData *) &_result_ref; | |
21611 | } | |
21612 | ||
21613 | wxPyEndAllowThreads(__tstate); | |
21614 | if (PyErr_Occurred()) SWIG_fail; | |
21615 | } | |
15afbcd0 | 21616 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21617 | return resultobj; |
21618 | fail: | |
21619 | return NULL; | |
21620 | } | |
21621 | ||
21622 | ||
21623 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21624 | PyObject *resultobj; | |
21625 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21626 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21627 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 21628 | int arg4 = (int) True ; |
d14a1e28 RD |
21629 | bool result; |
21630 | PyObject * obj0 = 0 ; | |
21631 | PyObject * obj1 = 0 ; | |
21632 | PyObject * obj2 = 0 ; | |
994141e6 | 21633 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
21634 | char *kwnames[] = { |
21635 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
21636 | }; | |
21637 | ||
994141e6 | 21638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
21639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21641 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21643 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 21645 | if (obj3) { |
15afbcd0 RD |
21646 | arg4 = (int) SWIG_AsInt(obj3); |
21647 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21648 | } |
d14a1e28 RD |
21649 | { |
21650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21651 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
21652 | ||
21653 | wxPyEndAllowThreads(__tstate); | |
21654 | if (PyErr_Occurred()) SWIG_fail; | |
21655 | } | |
4f89f6a3 RD |
21656 | { |
21657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21658 | } | |
d14a1e28 RD |
21659 | return resultobj; |
21660 | fail: | |
21661 | return NULL; | |
21662 | } | |
21663 | ||
21664 | ||
21665 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21666 | PyObject *resultobj; | |
21667 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21668 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21669 | wxDC *result; | |
21670 | PyObject * obj0 = 0 ; | |
21671 | PyObject * obj1 = 0 ; | |
21672 | char *kwnames[] = { | |
21673 | (char *) "self",(char *) "parent", NULL | |
21674 | }; | |
21675 | ||
21676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21679 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21681 | { |
21682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21683 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
21684 | ||
21685 | wxPyEndAllowThreads(__tstate); | |
21686 | if (PyErr_Occurred()) SWIG_fail; | |
21687 | } | |
21688 | { | |
21689 | resultobj = wxPyMake_wxObject(result); | |
21690 | } | |
21691 | return resultobj; | |
21692 | fail: | |
21693 | return NULL; | |
21694 | } | |
21695 | ||
21696 | ||
21697 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21698 | PyObject *resultobj; | |
21699 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21700 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21701 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
21702 | wxString *arg4 = 0 ; | |
e811c8ce | 21703 | bool temp4 = False ; |
d14a1e28 RD |
21704 | PyObject * obj0 = 0 ; |
21705 | PyObject * obj1 = 0 ; | |
21706 | PyObject * obj2 = 0 ; | |
21707 | PyObject * obj3 = 0 ; | |
21708 | char *kwnames[] = { | |
21709 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
21710 | }; | |
21711 | ||
21712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
21713 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21714 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21715 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21717 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
21718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21719 | { |
21720 | arg4 = wxString_in_helper(obj3); | |
21721 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 21722 | temp4 = True; |
d14a1e28 RD |
21723 | } |
21724 | { | |
21725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21726 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
21727 | ||
21728 | wxPyEndAllowThreads(__tstate); | |
21729 | if (PyErr_Occurred()) SWIG_fail; | |
21730 | } | |
21731 | Py_INCREF(Py_None); resultobj = Py_None; | |
21732 | { | |
21733 | if (temp4) | |
21734 | delete arg4; | |
21735 | } | |
21736 | return resultobj; | |
21737 | fail: | |
21738 | { | |
21739 | if (temp4) | |
21740 | delete arg4; | |
21741 | } | |
21742 | return NULL; | |
21743 | } | |
21744 | ||
21745 | ||
21746 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21747 | PyObject *resultobj; | |
21748 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21749 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21750 | bool result; | |
21751 | PyObject * obj0 = 0 ; | |
21752 | PyObject * obj1 = 0 ; | |
21753 | char *kwnames[] = { | |
21754 | (char *) "self",(char *) "parent", NULL | |
21755 | }; | |
21756 | ||
21757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21760 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21762 | { |
21763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21764 | result = (bool)(arg1)->Setup(arg2); | |
21765 | ||
21766 | wxPyEndAllowThreads(__tstate); | |
21767 | if (PyErr_Occurred()) SWIG_fail; | |
21768 | } | |
4f89f6a3 RD |
21769 | { |
21770 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21771 | } | |
d14a1e28 RD |
21772 | return resultobj; |
21773 | fail: | |
21774 | return NULL; | |
21775 | } | |
21776 | ||
21777 | ||
21778 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21779 | PyObject *resultobj; | |
21780 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
21781 | bool result; | |
21782 | PyObject * obj0 = 0 ; | |
21783 | char *kwnames[] = { | |
21784 | (char *) "self", NULL | |
21785 | }; | |
21786 | ||
21787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
21789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21790 | { |
21791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21792 | result = (bool)(arg1)->GetAbort(); | |
21793 | ||
21794 | wxPyEndAllowThreads(__tstate); | |
21795 | if (PyErr_Occurred()) SWIG_fail; | |
21796 | } | |
4f89f6a3 RD |
21797 | { |
21798 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21799 | } | |
d14a1e28 RD |
21800 | return resultobj; |
21801 | fail: | |
21802 | return NULL; | |
21803 | } | |
21804 | ||
21805 | ||
21806 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21807 | PyObject *resultobj; | |
21808 | int result; | |
21809 | char *kwnames[] = { | |
21810 | NULL | |
21811 | }; | |
21812 | ||
21813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
21814 | { | |
21815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21816 | result = (int)wxPrinter::GetLastError(); | |
21817 | ||
21818 | wxPyEndAllowThreads(__tstate); | |
21819 | if (PyErr_Occurred()) SWIG_fail; | |
21820 | } | |
15afbcd0 | 21821 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21822 | return resultobj; |
21823 | fail: | |
21824 | return NULL; | |
21825 | } | |
21826 | ||
21827 | ||
21828 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
21829 | PyObject *obj; | |
21830 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21831 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
21832 | Py_INCREF(obj); | |
21833 | return Py_BuildValue((char *)""); | |
21834 | } | |
21835 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21836 | PyObject *resultobj; | |
21837 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
21838 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
21839 | wxPyPrintout *result; | |
e811c8ce | 21840 | bool temp1 = False ; |
d14a1e28 RD |
21841 | PyObject * obj0 = 0 ; |
21842 | char *kwnames[] = { | |
21843 | (char *) "title", NULL | |
21844 | }; | |
21845 | ||
21846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
21847 | if (obj0) { | |
21848 | { | |
21849 | arg1 = wxString_in_helper(obj0); | |
21850 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 21851 | temp1 = True; |
d14a1e28 RD |
21852 | } |
21853 | } | |
21854 | { | |
e3b71cb8 | 21855 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
21856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
21857 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
21858 | ||
21859 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 21860 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21861 | } |
21862 | { | |
21863 | resultobj = wxPyMake_wxObject(result); | |
21864 | } | |
21865 | { | |
21866 | if (temp1) | |
21867 | delete arg1; | |
21868 | } | |
21869 | return resultobj; | |
21870 | fail: | |
21871 | { | |
21872 | if (temp1) | |
21873 | delete arg1; | |
21874 | } | |
21875 | return NULL; | |
21876 | } | |
21877 | ||
21878 | ||
21879 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21880 | PyObject *resultobj; | |
21881 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21882 | PyObject *arg2 = (PyObject *) 0 ; | |
21883 | PyObject *arg3 = (PyObject *) 0 ; | |
21884 | PyObject * obj0 = 0 ; | |
21885 | PyObject * obj1 = 0 ; | |
21886 | PyObject * obj2 = 0 ; | |
21887 | char *kwnames[] = { | |
21888 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
21889 | }; | |
21890 | ||
21891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21894 | arg2 = obj1; |
21895 | arg3 = obj2; | |
21896 | { | |
21897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21898 | (arg1)->_setCallbackInfo(arg2,arg3); | |
21899 | ||
21900 | wxPyEndAllowThreads(__tstate); | |
21901 | if (PyErr_Occurred()) SWIG_fail; | |
21902 | } | |
21903 | Py_INCREF(Py_None); resultobj = Py_None; | |
21904 | return resultobj; | |
21905 | fail: | |
21906 | return NULL; | |
21907 | } | |
21908 | ||
21909 | ||
21910 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21911 | PyObject *resultobj; | |
21912 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21913 | wxString result; | |
21914 | PyObject * obj0 = 0 ; | |
21915 | char *kwnames[] = { | |
21916 | (char *) "self", NULL | |
21917 | }; | |
21918 | ||
21919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21922 | { |
21923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21924 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
21925 | ||
21926 | wxPyEndAllowThreads(__tstate); | |
21927 | if (PyErr_Occurred()) SWIG_fail; | |
21928 | } | |
21929 | { | |
21930 | #if wxUSE_UNICODE | |
21931 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
21932 | #else | |
21933 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
21934 | #endif | |
21935 | } | |
21936 | return resultobj; | |
21937 | fail: | |
21938 | return NULL; | |
21939 | } | |
21940 | ||
21941 | ||
21942 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21943 | PyObject *resultobj; | |
21944 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21945 | wxDC *result; | |
21946 | PyObject * obj0 = 0 ; | |
21947 | char *kwnames[] = { | |
21948 | (char *) "self", NULL | |
21949 | }; | |
21950 | ||
21951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21954 | { |
21955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21956 | result = (wxDC *)(arg1)->GetDC(); | |
21957 | ||
21958 | wxPyEndAllowThreads(__tstate); | |
21959 | if (PyErr_Occurred()) SWIG_fail; | |
21960 | } | |
21961 | { | |
21962 | resultobj = wxPyMake_wxObject(result); | |
21963 | } | |
21964 | return resultobj; | |
21965 | fail: | |
21966 | return NULL; | |
21967 | } | |
21968 | ||
21969 | ||
21970 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21971 | PyObject *resultobj; | |
21972 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21973 | wxDC *arg2 = (wxDC *) 0 ; | |
21974 | PyObject * obj0 = 0 ; | |
21975 | PyObject * obj1 = 0 ; | |
21976 | char *kwnames[] = { | |
21977 | (char *) "self",(char *) "dc", NULL | |
21978 | }; | |
21979 | ||
21980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21983 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
21984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21985 | { |
21986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21987 | (arg1)->SetDC(arg2); | |
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 | ||
322913ce | 21999 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22000 | PyObject *resultobj; |
22001 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22002 | int arg2 ; |
22003 | int arg3 ; | |
d14a1e28 | 22004 | PyObject * obj0 = 0 ; |
994141e6 RD |
22005 | PyObject * obj1 = 0 ; |
22006 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22007 | char *kwnames[] = { |
322913ce | 22008 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
22009 | }; |
22010 | ||
994141e6 | 22011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22014 | arg2 = (int) SWIG_AsInt(obj1); | |
22015 | if (PyErr_Occurred()) SWIG_fail; | |
22016 | arg3 = (int) SWIG_AsInt(obj2); | |
22017 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22018 | { |
22019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22020 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22021 | |
22022 | wxPyEndAllowThreads(__tstate); | |
22023 | if (PyErr_Occurred()) SWIG_fail; | |
22024 | } | |
22025 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
22026 | return resultobj; |
22027 | fail: | |
22028 | return NULL; | |
22029 | } | |
22030 | ||
22031 | ||
322913ce | 22032 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22033 | PyObject *resultobj; |
22034 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22035 | int *arg2 = (int *) 0 ; |
22036 | int *arg3 = (int *) 0 ; | |
22037 | int temp2 ; | |
22038 | int temp3 ; | |
d14a1e28 RD |
22039 | PyObject * obj0 = 0 ; |
22040 | char *kwnames[] = { | |
322913ce | 22041 | (char *) "self", NULL |
d14a1e28 RD |
22042 | }; |
22043 | ||
322913ce RD |
22044 | arg2 = &temp2; |
22045 | arg3 = &temp3; | |
22046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22049 | { |
22050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22051 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22052 | |
22053 | wxPyEndAllowThreads(__tstate); | |
22054 | if (PyErr_Occurred()) SWIG_fail; | |
22055 | } | |
22056 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
22057 | { |
22058 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22059 | resultobj = t_output_helper(resultobj,o); | |
22060 | } | |
22061 | { | |
22062 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22063 | resultobj = t_output_helper(resultobj,o); | |
22064 | } | |
d14a1e28 RD |
22065 | return resultobj; |
22066 | fail: | |
22067 | return NULL; | |
22068 | } | |
22069 | ||
22070 | ||
22071 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22072 | PyObject *resultobj; | |
22073 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22074 | int arg2 ; | |
22075 | int arg3 ; | |
22076 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22077 | PyObject * obj1 = 0 ; |
22078 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22079 | char *kwnames[] = { |
22080 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22081 | }; | |
22082 | ||
994141e6 | 22083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22086 | arg2 = (int) SWIG_AsInt(obj1); | |
22087 | if (PyErr_Occurred()) SWIG_fail; | |
22088 | arg3 = (int) SWIG_AsInt(obj2); | |
22089 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22090 | { |
22091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22092 | (arg1)->SetPageSizeMM(arg2,arg3); | |
22093 | ||
22094 | wxPyEndAllowThreads(__tstate); | |
22095 | if (PyErr_Occurred()) SWIG_fail; | |
22096 | } | |
22097 | Py_INCREF(Py_None); resultobj = Py_None; | |
22098 | return resultobj; | |
22099 | fail: | |
22100 | return NULL; | |
22101 | } | |
22102 | ||
22103 | ||
22104 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22105 | PyObject *resultobj; | |
22106 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22107 | int *arg2 = (int *) 0 ; | |
22108 | int *arg3 = (int *) 0 ; | |
22109 | int temp2 ; | |
22110 | int temp3 ; | |
22111 | PyObject * obj0 = 0 ; | |
22112 | char *kwnames[] = { | |
22113 | (char *) "self", NULL | |
22114 | }; | |
22115 | ||
22116 | arg2 = &temp2; | |
22117 | arg3 = &temp3; | |
22118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22121 | { |
22122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22123 | (arg1)->GetPageSizeMM(arg2,arg3); | |
22124 | ||
22125 | wxPyEndAllowThreads(__tstate); | |
22126 | if (PyErr_Occurred()) SWIG_fail; | |
22127 | } | |
22128 | Py_INCREF(Py_None); resultobj = Py_None; | |
22129 | { | |
22130 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22131 | resultobj = t_output_helper(resultobj,o); | |
22132 | } | |
22133 | { | |
22134 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22135 | resultobj = t_output_helper(resultobj,o); | |
22136 | } | |
22137 | return resultobj; | |
22138 | fail: | |
22139 | return NULL; | |
22140 | } | |
22141 | ||
22142 | ||
22143 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22144 | PyObject *resultobj; | |
22145 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22146 | int arg2 ; | |
22147 | int arg3 ; | |
22148 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22149 | PyObject * obj1 = 0 ; |
22150 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22151 | char *kwnames[] = { |
22152 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22153 | }; | |
22154 | ||
994141e6 | 22155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22158 | arg2 = (int) SWIG_AsInt(obj1); | |
22159 | if (PyErr_Occurred()) SWIG_fail; | |
22160 | arg3 = (int) SWIG_AsInt(obj2); | |
22161 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22162 | { |
22163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22164 | (arg1)->SetPPIScreen(arg2,arg3); | |
22165 | ||
22166 | wxPyEndAllowThreads(__tstate); | |
22167 | if (PyErr_Occurred()) SWIG_fail; | |
22168 | } | |
22169 | Py_INCREF(Py_None); resultobj = Py_None; | |
22170 | return resultobj; | |
22171 | fail: | |
22172 | return NULL; | |
22173 | } | |
22174 | ||
22175 | ||
22176 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22177 | PyObject *resultobj; | |
22178 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22179 | int *arg2 = (int *) 0 ; | |
22180 | int *arg3 = (int *) 0 ; | |
22181 | int temp2 ; | |
22182 | int temp3 ; | |
22183 | PyObject * obj0 = 0 ; | |
22184 | char *kwnames[] = { | |
22185 | (char *) "self", NULL | |
22186 | }; | |
22187 | ||
22188 | arg2 = &temp2; | |
22189 | arg3 = &temp3; | |
22190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22193 | { |
22194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22195 | (arg1)->GetPPIScreen(arg2,arg3); | |
22196 | ||
22197 | wxPyEndAllowThreads(__tstate); | |
22198 | if (PyErr_Occurred()) SWIG_fail; | |
22199 | } | |
22200 | Py_INCREF(Py_None); resultobj = Py_None; | |
22201 | { | |
22202 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22203 | resultobj = t_output_helper(resultobj,o); | |
22204 | } | |
22205 | { | |
22206 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22207 | resultobj = t_output_helper(resultobj,o); | |
22208 | } | |
22209 | return resultobj; | |
22210 | fail: | |
22211 | return NULL; | |
22212 | } | |
22213 | ||
22214 | ||
22215 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22216 | PyObject *resultobj; | |
22217 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22218 | int arg2 ; | |
22219 | int arg3 ; | |
22220 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22221 | PyObject * obj1 = 0 ; |
22222 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22223 | char *kwnames[] = { |
22224 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22225 | }; | |
22226 | ||
994141e6 | 22227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22230 | arg2 = (int) SWIG_AsInt(obj1); | |
22231 | if (PyErr_Occurred()) SWIG_fail; | |
22232 | arg3 = (int) SWIG_AsInt(obj2); | |
22233 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22234 | { |
22235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22236 | (arg1)->SetPPIPrinter(arg2,arg3); | |
22237 | ||
22238 | wxPyEndAllowThreads(__tstate); | |
22239 | if (PyErr_Occurred()) SWIG_fail; | |
22240 | } | |
22241 | Py_INCREF(Py_None); resultobj = Py_None; | |
22242 | return resultobj; | |
22243 | fail: | |
22244 | return NULL; | |
22245 | } | |
22246 | ||
22247 | ||
22248 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22249 | PyObject *resultobj; | |
22250 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22251 | int *arg2 = (int *) 0 ; | |
22252 | int *arg3 = (int *) 0 ; | |
22253 | int temp2 ; | |
22254 | int temp3 ; | |
22255 | PyObject * obj0 = 0 ; | |
22256 | char *kwnames[] = { | |
22257 | (char *) "self", NULL | |
22258 | }; | |
22259 | ||
22260 | arg2 = &temp2; | |
22261 | arg3 = &temp3; | |
22262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22265 | { |
22266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22267 | (arg1)->GetPPIPrinter(arg2,arg3); | |
22268 | ||
22269 | wxPyEndAllowThreads(__tstate); | |
22270 | if (PyErr_Occurred()) SWIG_fail; | |
22271 | } | |
22272 | Py_INCREF(Py_None); resultobj = Py_None; | |
22273 | { | |
22274 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22275 | resultobj = t_output_helper(resultobj,o); | |
22276 | } | |
22277 | { | |
22278 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22279 | resultobj = t_output_helper(resultobj,o); | |
22280 | } | |
22281 | return resultobj; | |
22282 | fail: | |
22283 | return NULL; | |
22284 | } | |
22285 | ||
22286 | ||
22287 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22288 | PyObject *resultobj; | |
22289 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22290 | bool result; | |
22291 | PyObject * obj0 = 0 ; | |
22292 | char *kwnames[] = { | |
22293 | (char *) "self", NULL | |
22294 | }; | |
22295 | ||
22296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22299 | { |
22300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22301 | result = (bool)(arg1)->IsPreview(); | |
22302 | ||
22303 | wxPyEndAllowThreads(__tstate); | |
22304 | if (PyErr_Occurred()) SWIG_fail; | |
22305 | } | |
4f89f6a3 RD |
22306 | { |
22307 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22308 | } | |
d14a1e28 RD |
22309 | return resultobj; |
22310 | fail: | |
22311 | return NULL; | |
22312 | } | |
22313 | ||
22314 | ||
22315 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22316 | PyObject *resultobj; | |
22317 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22318 | bool arg2 ; | |
22319 | PyObject * obj0 = 0 ; | |
22320 | PyObject * obj1 = 0 ; | |
22321 | char *kwnames[] = { | |
22322 | (char *) "self",(char *) "p", NULL | |
22323 | }; | |
22324 | ||
22325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22328 | arg2 = (bool) SWIG_AsBool(obj1); | |
22329 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22330 | { |
22331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22332 | (arg1)->SetIsPreview(arg2); | |
22333 | ||
22334 | wxPyEndAllowThreads(__tstate); | |
22335 | if (PyErr_Occurred()) SWIG_fail; | |
22336 | } | |
22337 | Py_INCREF(Py_None); resultobj = Py_None; | |
22338 | return resultobj; | |
22339 | fail: | |
22340 | return NULL; | |
22341 | } | |
22342 | ||
22343 | ||
22344 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22345 | PyObject *resultobj; | |
22346 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22347 | int arg2 ; | |
22348 | int arg3 ; | |
22349 | bool result; | |
22350 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22351 | PyObject * obj1 = 0 ; |
22352 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22353 | char *kwnames[] = { |
22354 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
22355 | }; | |
22356 | ||
994141e6 | 22357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22360 | arg2 = (int) SWIG_AsInt(obj1); | |
22361 | if (PyErr_Occurred()) SWIG_fail; | |
22362 | arg3 = (int) SWIG_AsInt(obj2); | |
22363 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22364 | { |
22365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22366 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
22367 | ||
22368 | wxPyEndAllowThreads(__tstate); | |
22369 | if (PyErr_Occurred()) SWIG_fail; | |
22370 | } | |
4f89f6a3 RD |
22371 | { |
22372 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22373 | } | |
d14a1e28 RD |
22374 | return resultobj; |
22375 | fail: | |
22376 | return NULL; | |
22377 | } | |
22378 | ||
22379 | ||
22380 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22381 | PyObject *resultobj; | |
22382 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22383 | PyObject * obj0 = 0 ; | |
22384 | char *kwnames[] = { | |
22385 | (char *) "self", NULL | |
22386 | }; | |
22387 | ||
22388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22391 | { |
22392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22393 | (arg1)->base_OnEndDocument(); | |
22394 | ||
22395 | wxPyEndAllowThreads(__tstate); | |
22396 | if (PyErr_Occurred()) SWIG_fail; | |
22397 | } | |
22398 | Py_INCREF(Py_None); resultobj = Py_None; | |
22399 | return resultobj; | |
22400 | fail: | |
22401 | return NULL; | |
22402 | } | |
22403 | ||
22404 | ||
22405 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22406 | PyObject *resultobj; | |
22407 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22408 | PyObject * obj0 = 0 ; | |
22409 | char *kwnames[] = { | |
22410 | (char *) "self", NULL | |
22411 | }; | |
22412 | ||
22413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22416 | { |
22417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22418 | (arg1)->base_OnBeginPrinting(); | |
22419 | ||
22420 | wxPyEndAllowThreads(__tstate); | |
22421 | if (PyErr_Occurred()) SWIG_fail; | |
22422 | } | |
22423 | Py_INCREF(Py_None); resultobj = Py_None; | |
22424 | return resultobj; | |
22425 | fail: | |
22426 | return NULL; | |
22427 | } | |
22428 | ||
22429 | ||
22430 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22431 | PyObject *resultobj; | |
22432 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22433 | PyObject * obj0 = 0 ; | |
22434 | char *kwnames[] = { | |
22435 | (char *) "self", NULL | |
22436 | }; | |
22437 | ||
22438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22441 | { |
22442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22443 | (arg1)->base_OnEndPrinting(); | |
22444 | ||
22445 | wxPyEndAllowThreads(__tstate); | |
22446 | if (PyErr_Occurred()) SWIG_fail; | |
22447 | } | |
22448 | Py_INCREF(Py_None); resultobj = Py_None; | |
22449 | return resultobj; | |
22450 | fail: | |
22451 | return NULL; | |
22452 | } | |
22453 | ||
22454 | ||
22455 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22456 | PyObject *resultobj; | |
22457 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22458 | PyObject * obj0 = 0 ; | |
22459 | char *kwnames[] = { | |
22460 | (char *) "self", NULL | |
22461 | }; | |
22462 | ||
22463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22466 | { |
22467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22468 | (arg1)->base_OnPreparePrinting(); | |
22469 | ||
22470 | wxPyEndAllowThreads(__tstate); | |
22471 | if (PyErr_Occurred()) SWIG_fail; | |
22472 | } | |
22473 | Py_INCREF(Py_None); resultobj = Py_None; | |
22474 | return resultobj; | |
22475 | fail: | |
22476 | return NULL; | |
22477 | } | |
22478 | ||
22479 | ||
322913ce RD |
22480 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
22481 | PyObject *resultobj; | |
22482 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22483 | int arg2 ; | |
22484 | bool result; | |
22485 | PyObject * obj0 = 0 ; | |
994141e6 | 22486 | PyObject * obj1 = 0 ; |
322913ce RD |
22487 | char *kwnames[] = { |
22488 | (char *) "self",(char *) "page", NULL | |
22489 | }; | |
22490 | ||
994141e6 | 22491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22494 | arg2 = (int) SWIG_AsInt(obj1); | |
22495 | if (PyErr_Occurred()) SWIG_fail; | |
322913ce RD |
22496 | { |
22497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22498 | result = (bool)(arg1)->base_HasPage(arg2); | |
22499 | ||
22500 | wxPyEndAllowThreads(__tstate); | |
22501 | if (PyErr_Occurred()) SWIG_fail; | |
22502 | } | |
4f89f6a3 RD |
22503 | { |
22504 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22505 | } | |
322913ce RD |
22506 | return resultobj; |
22507 | fail: | |
22508 | return NULL; | |
22509 | } | |
22510 | ||
22511 | ||
d14a1e28 RD |
22512 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
22513 | PyObject *resultobj; | |
22514 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22515 | int *arg2 = (int *) 0 ; | |
22516 | int *arg3 = (int *) 0 ; | |
22517 | int *arg4 = (int *) 0 ; | |
22518 | int *arg5 = (int *) 0 ; | |
22519 | int temp2 ; | |
22520 | int temp3 ; | |
22521 | int temp4 ; | |
22522 | int temp5 ; | |
22523 | PyObject * obj0 = 0 ; | |
22524 | char *kwnames[] = { | |
22525 | (char *) "self", NULL | |
22526 | }; | |
22527 | ||
22528 | arg2 = &temp2; | |
22529 | arg3 = &temp3; | |
22530 | arg4 = &temp4; | |
22531 | arg5 = &temp5; | |
22532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22535 | { |
22536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22537 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
22538 | ||
22539 | wxPyEndAllowThreads(__tstate); | |
22540 | if (PyErr_Occurred()) SWIG_fail; | |
22541 | } | |
22542 | Py_INCREF(Py_None); resultobj = Py_None; | |
22543 | { | |
22544 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
22545 | resultobj = t_output_helper(resultobj,o); | |
22546 | } | |
22547 | { | |
22548 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
22549 | resultobj = t_output_helper(resultobj,o); | |
22550 | } | |
22551 | { | |
22552 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
22553 | resultobj = t_output_helper(resultobj,o); | |
22554 | } | |
22555 | { | |
22556 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
22557 | resultobj = t_output_helper(resultobj,o); | |
22558 | } | |
22559 | return resultobj; | |
22560 | fail: | |
22561 | return NULL; | |
22562 | } | |
22563 | ||
22564 | ||
d14a1e28 RD |
22565 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
22566 | PyObject *obj; | |
22567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22568 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
22569 | Py_INCREF(obj); | |
22570 | return Py_BuildValue((char *)""); | |
22571 | } | |
22572 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22573 | PyObject *resultobj; | |
22574 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22575 | wxWindow *arg2 = (wxWindow *) 0 ; | |
22576 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
22577 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
22578 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
22579 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
22580 | long arg5 = (long) 0 ; | |
22581 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
22582 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
22583 | wxPreviewCanvas *result; | |
22584 | wxPoint temp3 ; | |
22585 | wxSize temp4 ; | |
e811c8ce | 22586 | bool temp6 = False ; |
d14a1e28 RD |
22587 | PyObject * obj0 = 0 ; |
22588 | PyObject * obj1 = 0 ; | |
22589 | PyObject * obj2 = 0 ; | |
22590 | PyObject * obj3 = 0 ; | |
994141e6 | 22591 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
22592 | PyObject * obj5 = 0 ; |
22593 | char *kwnames[] = { | |
22594 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22595 | }; | |
22596 | ||
994141e6 | 22597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
22598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22600 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22602 | if (obj2) { |
22603 | { | |
22604 | arg3 = &temp3; | |
22605 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
22606 | } | |
22607 | } | |
22608 | if (obj3) { | |
22609 | { | |
22610 | arg4 = &temp4; | |
22611 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
22612 | } | |
22613 | } | |
994141e6 | 22614 | if (obj4) { |
15afbcd0 RD |
22615 | arg5 = (long) SWIG_AsLong(obj4); |
22616 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22617 | } |
d14a1e28 RD |
22618 | if (obj5) { |
22619 | { | |
22620 | arg6 = wxString_in_helper(obj5); | |
22621 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 22622 | temp6 = True; |
d14a1e28 RD |
22623 | } |
22624 | } | |
22625 | { | |
e3b71cb8 | 22626 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22628 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
22629 | ||
22630 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 22631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22632 | } |
15afbcd0 | 22633 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
22634 | { |
22635 | if (temp6) | |
22636 | delete arg6; | |
22637 | } | |
22638 | return resultobj; | |
22639 | fail: | |
22640 | { | |
22641 | if (temp6) | |
22642 | delete arg6; | |
22643 | } | |
22644 | return NULL; | |
22645 | } | |
22646 | ||
22647 | ||
22648 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
22649 | PyObject *obj; | |
22650 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22651 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
22652 | Py_INCREF(obj); | |
22653 | return Py_BuildValue((char *)""); | |
22654 | } | |
22655 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22656 | PyObject *resultobj; | |
22657 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22658 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22659 | wxString *arg3 = 0 ; | |
22660 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22661 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22662 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22663 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22664 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22665 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22666 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22667 | wxPreviewFrame *result; | |
e811c8ce | 22668 | bool temp3 = False ; |
d14a1e28 RD |
22669 | wxPoint temp4 ; |
22670 | wxSize temp5 ; | |
e811c8ce | 22671 | bool temp7 = False ; |
d14a1e28 RD |
22672 | PyObject * obj0 = 0 ; |
22673 | PyObject * obj1 = 0 ; | |
22674 | PyObject * obj2 = 0 ; | |
22675 | PyObject * obj3 = 0 ; | |
22676 | PyObject * obj4 = 0 ; | |
994141e6 | 22677 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22678 | PyObject * obj6 = 0 ; |
22679 | char *kwnames[] = { | |
22680 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22681 | }; | |
22682 | ||
994141e6 | 22683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22686 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22688 | { |
22689 | arg3 = wxString_in_helper(obj2); | |
22690 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22691 | temp3 = True; |
d14a1e28 RD |
22692 | } |
22693 | if (obj3) { | |
22694 | { | |
22695 | arg4 = &temp4; | |
22696 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22697 | } | |
22698 | } | |
22699 | if (obj4) { | |
22700 | { | |
22701 | arg5 = &temp5; | |
22702 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22703 | } | |
22704 | } | |
994141e6 | 22705 | if (obj5) { |
15afbcd0 RD |
22706 | arg6 = (long) SWIG_AsLong(obj5); |
22707 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22708 | } |
d14a1e28 RD |
22709 | if (obj6) { |
22710 | { | |
22711 | arg7 = wxString_in_helper(obj6); | |
22712 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22713 | temp7 = True; |
d14a1e28 RD |
22714 | } |
22715 | } | |
22716 | { | |
e3b71cb8 | 22717 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22719 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22720 | ||
22721 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 22722 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22723 | } |
15afbcd0 | 22724 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
22725 | { |
22726 | if (temp3) | |
22727 | delete arg3; | |
22728 | } | |
22729 | { | |
22730 | if (temp7) | |
22731 | delete arg7; | |
22732 | } | |
22733 | return resultobj; | |
22734 | fail: | |
22735 | { | |
22736 | if (temp3) | |
22737 | delete arg3; | |
22738 | } | |
22739 | { | |
22740 | if (temp7) | |
22741 | delete arg7; | |
22742 | } | |
22743 | return NULL; | |
22744 | } | |
22745 | ||
22746 | ||
22747 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22748 | PyObject *resultobj; | |
22749 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22750 | PyObject * obj0 = 0 ; | |
22751 | char *kwnames[] = { | |
22752 | (char *) "self", NULL | |
22753 | }; | |
22754 | ||
22755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22758 | { |
22759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22760 | (arg1)->Initialize(); | |
22761 | ||
22762 | wxPyEndAllowThreads(__tstate); | |
22763 | if (PyErr_Occurred()) SWIG_fail; | |
22764 | } | |
22765 | Py_INCREF(Py_None); resultobj = Py_None; | |
22766 | return resultobj; | |
22767 | fail: | |
22768 | return NULL; | |
22769 | } | |
22770 | ||
22771 | ||
22772 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22773 | PyObject *resultobj; | |
22774 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22775 | PyObject * obj0 = 0 ; | |
22776 | char *kwnames[] = { | |
22777 | (char *) "self", NULL | |
22778 | }; | |
22779 | ||
22780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22783 | { |
22784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22785 | (arg1)->CreateControlBar(); | |
22786 | ||
22787 | wxPyEndAllowThreads(__tstate); | |
22788 | if (PyErr_Occurred()) SWIG_fail; | |
22789 | } | |
22790 | Py_INCREF(Py_None); resultobj = Py_None; | |
22791 | return resultobj; | |
22792 | fail: | |
22793 | return NULL; | |
22794 | } | |
22795 | ||
22796 | ||
22797 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22798 | PyObject *resultobj; | |
22799 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22800 | PyObject * obj0 = 0 ; | |
22801 | char *kwnames[] = { | |
22802 | (char *) "self", NULL | |
22803 | }; | |
22804 | ||
22805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22808 | { |
22809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22810 | (arg1)->CreateCanvas(); | |
22811 | ||
22812 | wxPyEndAllowThreads(__tstate); | |
22813 | if (PyErr_Occurred()) SWIG_fail; | |
22814 | } | |
22815 | Py_INCREF(Py_None); resultobj = Py_None; | |
22816 | return resultobj; | |
22817 | fail: | |
22818 | return NULL; | |
22819 | } | |
22820 | ||
22821 | ||
22822 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22823 | PyObject *resultobj; | |
22824 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
22825 | wxPreviewControlBar *result; | |
22826 | PyObject * obj0 = 0 ; | |
22827 | char *kwnames[] = { | |
22828 | (char *) "self", NULL | |
22829 | }; | |
22830 | ||
22831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22832 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
22833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22834 | { |
22835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22836 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
22837 | ||
22838 | wxPyEndAllowThreads(__tstate); | |
22839 | if (PyErr_Occurred()) SWIG_fail; | |
22840 | } | |
15afbcd0 | 22841 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
22842 | return resultobj; |
22843 | fail: | |
22844 | return NULL; | |
22845 | } | |
22846 | ||
22847 | ||
22848 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22849 | PyObject *obj; | |
22850 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22851 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
22852 | Py_INCREF(obj); | |
22853 | return Py_BuildValue((char *)""); | |
22854 | } | |
22855 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22856 | PyObject *resultobj; | |
22857 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22858 | long arg2 ; | |
22859 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22860 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22861 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22862 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22863 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22864 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
22865 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22866 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22867 | wxPreviewControlBar *result; | |
22868 | wxPoint temp4 ; | |
22869 | wxSize temp5 ; | |
e811c8ce | 22870 | bool temp7 = False ; |
d14a1e28 | 22871 | PyObject * obj0 = 0 ; |
994141e6 | 22872 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22873 | PyObject * obj2 = 0 ; |
22874 | PyObject * obj3 = 0 ; | |
22875 | PyObject * obj4 = 0 ; | |
994141e6 | 22876 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22877 | PyObject * obj6 = 0 ; |
22878 | char *kwnames[] = { | |
22879 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22880 | }; | |
22881 | ||
994141e6 | 22882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22885 | arg2 = (long) SWIG_AsLong(obj1); | |
22886 | if (PyErr_Occurred()) SWIG_fail; | |
22887 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
22888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22889 | if (obj3) { |
22890 | { | |
22891 | arg4 = &temp4; | |
22892 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22893 | } | |
22894 | } | |
22895 | if (obj4) { | |
22896 | { | |
22897 | arg5 = &temp5; | |
22898 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22899 | } | |
22900 | } | |
994141e6 | 22901 | if (obj5) { |
15afbcd0 RD |
22902 | arg6 = (long) SWIG_AsLong(obj5); |
22903 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22904 | } |
d14a1e28 RD |
22905 | if (obj6) { |
22906 | { | |
22907 | arg7 = wxString_in_helper(obj6); | |
22908 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22909 | temp7 = True; |
d14a1e28 RD |
22910 | } |
22911 | } | |
22912 | { | |
e3b71cb8 | 22913 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22915 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22916 | ||
22917 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 22918 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22919 | } |
15afbcd0 | 22920 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
22921 | { |
22922 | if (temp7) | |
22923 | delete arg7; | |
22924 | } | |
22925 | return resultobj; | |
22926 | fail: | |
22927 | { | |
22928 | if (temp7) | |
22929 | delete arg7; | |
22930 | } | |
22931 | return NULL; | |
22932 | } | |
22933 | ||
22934 | ||
22935 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22936 | PyObject *resultobj; | |
22937 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22938 | int result; | |
22939 | PyObject * obj0 = 0 ; | |
22940 | char *kwnames[] = { | |
22941 | (char *) "self", NULL | |
22942 | }; | |
22943 | ||
22944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22947 | { |
22948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22949 | result = (int)(arg1)->GetZoomControl(); | |
22950 | ||
22951 | wxPyEndAllowThreads(__tstate); | |
22952 | if (PyErr_Occurred()) SWIG_fail; | |
22953 | } | |
15afbcd0 | 22954 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22955 | return resultobj; |
22956 | fail: | |
22957 | return NULL; | |
22958 | } | |
22959 | ||
22960 | ||
22961 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22962 | PyObject *resultobj; | |
22963 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22964 | int arg2 ; | |
22965 | PyObject * obj0 = 0 ; | |
994141e6 | 22966 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22967 | char *kwnames[] = { |
22968 | (char *) "self",(char *) "zoom", NULL | |
22969 | }; | |
22970 | ||
994141e6 | 22971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
22973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22974 | arg2 = (int) SWIG_AsInt(obj1); | |
22975 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22976 | { |
22977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22978 | (arg1)->SetZoomControl(arg2); | |
22979 | ||
22980 | wxPyEndAllowThreads(__tstate); | |
22981 | if (PyErr_Occurred()) SWIG_fail; | |
22982 | } | |
22983 | Py_INCREF(Py_None); resultobj = Py_None; | |
22984 | return resultobj; | |
22985 | fail: | |
22986 | return NULL; | |
22987 | } | |
22988 | ||
22989 | ||
22990 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22991 | PyObject *resultobj; | |
22992 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
22993 | wxPrintPreview *result; | |
22994 | PyObject * obj0 = 0 ; | |
22995 | char *kwnames[] = { | |
22996 | (char *) "self", NULL | |
22997 | }; | |
22998 | ||
22999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23000 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23002 | { |
23003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23004 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
23005 | ||
23006 | wxPyEndAllowThreads(__tstate); | |
23007 | if (PyErr_Occurred()) SWIG_fail; | |
23008 | } | |
15afbcd0 | 23009 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
23010 | return resultobj; |
23011 | fail: | |
23012 | return NULL; | |
23013 | } | |
23014 | ||
23015 | ||
23016 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23017 | PyObject *resultobj; | |
23018 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23019 | PyObject * obj0 = 0 ; | |
23020 | char *kwnames[] = { | |
23021 | (char *) "self", NULL | |
23022 | }; | |
23023 | ||
23024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23027 | { |
23028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23029 | (arg1)->OnNext(); | |
23030 | ||
23031 | wxPyEndAllowThreads(__tstate); | |
23032 | if (PyErr_Occurred()) SWIG_fail; | |
23033 | } | |
23034 | Py_INCREF(Py_None); resultobj = Py_None; | |
23035 | return resultobj; | |
23036 | fail: | |
23037 | return NULL; | |
23038 | } | |
23039 | ||
23040 | ||
23041 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23042 | PyObject *resultobj; | |
23043 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23044 | PyObject * obj0 = 0 ; | |
23045 | char *kwnames[] = { | |
23046 | (char *) "self", NULL | |
23047 | }; | |
23048 | ||
23049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23052 | { |
23053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23054 | (arg1)->OnPrevious(); | |
23055 | ||
23056 | wxPyEndAllowThreads(__tstate); | |
23057 | if (PyErr_Occurred()) SWIG_fail; | |
23058 | } | |
23059 | Py_INCREF(Py_None); resultobj = Py_None; | |
23060 | return resultobj; | |
23061 | fail: | |
23062 | return NULL; | |
23063 | } | |
23064 | ||
23065 | ||
23066 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23067 | PyObject *resultobj; | |
23068 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23069 | PyObject * obj0 = 0 ; | |
23070 | char *kwnames[] = { | |
23071 | (char *) "self", NULL | |
23072 | }; | |
23073 | ||
23074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23077 | { |
23078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23079 | (arg1)->OnFirst(); | |
23080 | ||
23081 | wxPyEndAllowThreads(__tstate); | |
23082 | if (PyErr_Occurred()) SWIG_fail; | |
23083 | } | |
23084 | Py_INCREF(Py_None); resultobj = Py_None; | |
23085 | return resultobj; | |
23086 | fail: | |
23087 | return NULL; | |
23088 | } | |
23089 | ||
23090 | ||
23091 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23092 | PyObject *resultobj; | |
23093 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23094 | PyObject * obj0 = 0 ; | |
23095 | char *kwnames[] = { | |
23096 | (char *) "self", NULL | |
23097 | }; | |
23098 | ||
23099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23102 | { |
23103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23104 | (arg1)->OnLast(); | |
23105 | ||
23106 | wxPyEndAllowThreads(__tstate); | |
23107 | if (PyErr_Occurred()) SWIG_fail; | |
23108 | } | |
23109 | Py_INCREF(Py_None); resultobj = Py_None; | |
23110 | return resultobj; | |
23111 | fail: | |
23112 | return NULL; | |
23113 | } | |
23114 | ||
23115 | ||
23116 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23117 | PyObject *resultobj; | |
23118 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23119 | PyObject * obj0 = 0 ; | |
23120 | char *kwnames[] = { | |
23121 | (char *) "self", NULL | |
23122 | }; | |
23123 | ||
23124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23127 | { |
23128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23129 | (arg1)->OnGoto(); | |
23130 | ||
23131 | wxPyEndAllowThreads(__tstate); | |
23132 | if (PyErr_Occurred()) SWIG_fail; | |
23133 | } | |
23134 | Py_INCREF(Py_None); resultobj = Py_None; | |
23135 | return resultobj; | |
23136 | fail: | |
23137 | return NULL; | |
23138 | } | |
23139 | ||
23140 | ||
23141 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
23142 | PyObject *obj; | |
23143 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23144 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
23145 | Py_INCREF(obj); | |
23146 | return Py_BuildValue((char *)""); | |
23147 | } | |
4276dc52 | 23148 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
23149 | PyObject *resultobj; |
23150 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23151 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23152 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23153 | wxPrintPreview *result; |
23154 | PyObject * obj0 = 0 ; | |
23155 | PyObject * obj1 = 0 ; | |
23156 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23157 | |
4276dc52 | 23158 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23161 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23163 | if (obj2) { |
4276dc52 | 23164 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23166 | } |
23167 | { | |
e3b71cb8 | 23168 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23170 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23171 | ||
23172 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 23173 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23174 | } |
15afbcd0 | 23175 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
23176 | return resultobj; |
23177 | fail: | |
23178 | return NULL; | |
23179 | } | |
23180 | ||
23181 | ||
4276dc52 RD |
23182 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
23183 | PyObject *resultobj; | |
23184 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23185 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23186 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23187 | wxPrintPreview *result; | |
23188 | PyObject * obj0 = 0 ; | |
23189 | PyObject * obj1 = 0 ; | |
23190 | PyObject * obj2 = 0 ; | |
23191 | ||
23192 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23195 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23197 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23199 | { | |
e3b71cb8 | 23200 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
23201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23202 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23203 | ||
23204 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 23205 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
23206 | } |
23207 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23208 | return resultobj; | |
23209 | fail: | |
23210 | return NULL; | |
23211 | } | |
23212 | ||
23213 | ||
23214 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
23215 | int argc; | |
23216 | PyObject *argv[4]; | |
23217 | int ii; | |
23218 | ||
23219 | argc = PyObject_Length(args); | |
23220 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23221 | argv[ii] = PyTuple_GetItem(args,ii); | |
23222 | } | |
23223 | if ((argc >= 2) && (argc <= 3)) { | |
23224 | int _v; | |
23225 | { | |
23226 | void *ptr; | |
23227 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23228 | _v = 0; | |
23229 | PyErr_Clear(); | |
23230 | } else { | |
23231 | _v = 1; | |
23232 | } | |
23233 | } | |
23234 | if (_v) { | |
23235 | { | |
23236 | void *ptr; | |
23237 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23238 | _v = 0; | |
23239 | PyErr_Clear(); | |
23240 | } else { | |
23241 | _v = 1; | |
23242 | } | |
23243 | } | |
23244 | if (_v) { | |
23245 | if (argc <= 2) { | |
23246 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23247 | } | |
23248 | { | |
23249 | void *ptr; | |
23250 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23251 | _v = 0; | |
23252 | PyErr_Clear(); | |
23253 | } else { | |
23254 | _v = 1; | |
23255 | } | |
23256 | } | |
23257 | if (_v) { | |
23258 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23259 | } | |
23260 | } | |
23261 | } | |
23262 | } | |
23263 | if (argc == 3) { | |
23264 | int _v; | |
23265 | { | |
23266 | void *ptr; | |
23267 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23268 | _v = 0; | |
23269 | PyErr_Clear(); | |
23270 | } else { | |
23271 | _v = 1; | |
23272 | } | |
23273 | } | |
23274 | if (_v) { | |
23275 | { | |
23276 | void *ptr; | |
23277 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23278 | _v = 0; | |
23279 | PyErr_Clear(); | |
23280 | } else { | |
23281 | _v = 1; | |
23282 | } | |
23283 | } | |
23284 | if (_v) { | |
23285 | { | |
23286 | void *ptr; | |
23287 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23288 | _v = 0; | |
23289 | PyErr_Clear(); | |
23290 | } else { | |
23291 | _v = 1; | |
23292 | } | |
23293 | } | |
23294 | if (_v) { | |
23295 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
23296 | } | |
23297 | } | |
23298 | } | |
23299 | } | |
23300 | ||
23301 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
23302 | return NULL; | |
23303 | } | |
23304 | ||
23305 | ||
d14a1e28 RD |
23306 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
23307 | PyObject *resultobj; | |
23308 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23309 | int arg2 ; | |
23310 | bool result; | |
23311 | PyObject * obj0 = 0 ; | |
994141e6 | 23312 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23313 | char *kwnames[] = { |
23314 | (char *) "self",(char *) "pageNum", NULL | |
23315 | }; | |
23316 | ||
994141e6 | 23317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23320 | arg2 = (int) SWIG_AsInt(obj1); | |
23321 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23322 | { |
23323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23324 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
23325 | ||
23326 | wxPyEndAllowThreads(__tstate); | |
23327 | if (PyErr_Occurred()) SWIG_fail; | |
23328 | } | |
4f89f6a3 RD |
23329 | { |
23330 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23331 | } | |
d14a1e28 RD |
23332 | return resultobj; |
23333 | fail: | |
23334 | return NULL; | |
23335 | } | |
23336 | ||
23337 | ||
23338 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23339 | PyObject *resultobj; | |
23340 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23341 | int result; | |
23342 | PyObject * obj0 = 0 ; | |
23343 | char *kwnames[] = { | |
23344 | (char *) "self", NULL | |
23345 | }; | |
23346 | ||
23347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23350 | { |
23351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23352 | result = (int)(arg1)->GetCurrentPage(); | |
23353 | ||
23354 | wxPyEndAllowThreads(__tstate); | |
23355 | if (PyErr_Occurred()) SWIG_fail; | |
23356 | } | |
15afbcd0 | 23357 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23358 | return resultobj; |
23359 | fail: | |
23360 | return NULL; | |
23361 | } | |
23362 | ||
23363 | ||
23364 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23365 | PyObject *resultobj; | |
23366 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23367 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23368 | PyObject * obj0 = 0 ; | |
23369 | PyObject * obj1 = 0 ; | |
23370 | char *kwnames[] = { | |
23371 | (char *) "self",(char *) "printout", NULL | |
23372 | }; | |
23373 | ||
23374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23377 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23379 | { |
23380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23381 | (arg1)->SetPrintout(arg2); | |
23382 | ||
23383 | wxPyEndAllowThreads(__tstate); | |
23384 | if (PyErr_Occurred()) SWIG_fail; | |
23385 | } | |
23386 | Py_INCREF(Py_None); resultobj = Py_None; | |
23387 | return resultobj; | |
23388 | fail: | |
23389 | return NULL; | |
23390 | } | |
23391 | ||
23392 | ||
23393 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23394 | PyObject *resultobj; | |
23395 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23396 | wxPyPrintout *result; | |
23397 | PyObject * obj0 = 0 ; | |
23398 | char *kwnames[] = { | |
23399 | (char *) "self", NULL | |
23400 | }; | |
23401 | ||
23402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23405 | { |
23406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23407 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
23408 | ||
23409 | wxPyEndAllowThreads(__tstate); | |
23410 | if (PyErr_Occurred()) SWIG_fail; | |
23411 | } | |
23412 | { | |
23413 | resultobj = wxPyMake_wxObject(result); | |
23414 | } | |
23415 | return resultobj; | |
23416 | fail: | |
23417 | return NULL; | |
23418 | } | |
23419 | ||
23420 | ||
23421 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23422 | PyObject *resultobj; | |
23423 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23424 | wxPyPrintout *result; | |
23425 | PyObject * obj0 = 0 ; | |
23426 | char *kwnames[] = { | |
23427 | (char *) "self", NULL | |
23428 | }; | |
23429 | ||
23430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23433 | { |
23434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23435 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
23436 | ||
23437 | wxPyEndAllowThreads(__tstate); | |
23438 | if (PyErr_Occurred()) SWIG_fail; | |
23439 | } | |
23440 | { | |
23441 | resultobj = wxPyMake_wxObject(result); | |
23442 | } | |
23443 | return resultobj; | |
23444 | fail: | |
23445 | return NULL; | |
23446 | } | |
23447 | ||
23448 | ||
23449 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23450 | PyObject *resultobj; | |
23451 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23452 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23453 | PyObject * obj0 = 0 ; | |
23454 | PyObject * obj1 = 0 ; | |
23455 | char *kwnames[] = { | |
23456 | (char *) "self",(char *) "frame", NULL | |
23457 | }; | |
23458 | ||
23459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23462 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23464 | { |
23465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23466 | (arg1)->SetFrame(arg2); | |
23467 | ||
23468 | wxPyEndAllowThreads(__tstate); | |
23469 | if (PyErr_Occurred()) SWIG_fail; | |
23470 | } | |
23471 | Py_INCREF(Py_None); resultobj = Py_None; | |
23472 | return resultobj; | |
23473 | fail: | |
23474 | return NULL; | |
23475 | } | |
23476 | ||
23477 | ||
23478 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23479 | PyObject *resultobj; | |
23480 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23481 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23482 | PyObject * obj0 = 0 ; | |
23483 | PyObject * obj1 = 0 ; | |
23484 | char *kwnames[] = { | |
23485 | (char *) "self",(char *) "canvas", NULL | |
23486 | }; | |
23487 | ||
23488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23491 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23493 | { |
23494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23495 | (arg1)->SetCanvas(arg2); | |
23496 | ||
23497 | wxPyEndAllowThreads(__tstate); | |
23498 | if (PyErr_Occurred()) SWIG_fail; | |
23499 | } | |
23500 | Py_INCREF(Py_None); resultobj = Py_None; | |
23501 | return resultobj; | |
23502 | fail: | |
23503 | return NULL; | |
23504 | } | |
23505 | ||
23506 | ||
23507 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23508 | PyObject *resultobj; | |
23509 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23510 | wxFrame *result; | |
23511 | PyObject * obj0 = 0 ; | |
23512 | char *kwnames[] = { | |
23513 | (char *) "self", NULL | |
23514 | }; | |
23515 | ||
23516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23519 | { |
23520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23521 | result = (wxFrame *)(arg1)->GetFrame(); | |
23522 | ||
23523 | wxPyEndAllowThreads(__tstate); | |
23524 | if (PyErr_Occurred()) SWIG_fail; | |
23525 | } | |
23526 | { | |
23527 | resultobj = wxPyMake_wxObject(result); | |
23528 | } | |
23529 | return resultobj; | |
23530 | fail: | |
23531 | return NULL; | |
23532 | } | |
23533 | ||
23534 | ||
23535 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23536 | PyObject *resultobj; | |
23537 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23538 | wxPreviewCanvas *result; | |
23539 | PyObject * obj0 = 0 ; | |
23540 | char *kwnames[] = { | |
23541 | (char *) "self", NULL | |
23542 | }; | |
23543 | ||
23544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23547 | { |
23548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23549 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
23550 | ||
23551 | wxPyEndAllowThreads(__tstate); | |
23552 | if (PyErr_Occurred()) SWIG_fail; | |
23553 | } | |
15afbcd0 | 23554 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
23555 | return resultobj; |
23556 | fail: | |
23557 | return NULL; | |
23558 | } | |
23559 | ||
23560 | ||
23561 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23562 | PyObject *resultobj; | |
23563 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23564 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23565 | wxDC *arg3 = 0 ; | |
23566 | bool result; | |
23567 | PyObject * obj0 = 0 ; | |
23568 | PyObject * obj1 = 0 ; | |
23569 | PyObject * obj2 = 0 ; | |
23570 | char *kwnames[] = { | |
23571 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23572 | }; | |
23573 | ||
23574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23577 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23579 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23580 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23581 | SWIG_fail; | |
d14a1e28 | 23582 | if (arg3 == NULL) { |
15afbcd0 RD |
23583 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23584 | SWIG_fail; | |
d14a1e28 RD |
23585 | } |
23586 | { | |
23587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23588 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
23589 | ||
23590 | wxPyEndAllowThreads(__tstate); | |
23591 | if (PyErr_Occurred()) SWIG_fail; | |
23592 | } | |
4f89f6a3 RD |
23593 | { |
23594 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23595 | } | |
d14a1e28 RD |
23596 | return resultobj; |
23597 | fail: | |
23598 | return NULL; | |
23599 | } | |
23600 | ||
23601 | ||
23602 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23603 | PyObject *resultobj; | |
23604 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23605 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23606 | wxDC *arg3 = 0 ; | |
23607 | bool result; | |
23608 | PyObject * obj0 = 0 ; | |
23609 | PyObject * obj1 = 0 ; | |
23610 | PyObject * obj2 = 0 ; | |
23611 | char *kwnames[] = { | |
23612 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
23613 | }; | |
23614 | ||
23615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23618 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23620 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
23621 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
23622 | SWIG_fail; | |
d14a1e28 | 23623 | if (arg3 == NULL) { |
15afbcd0 RD |
23624 | PyErr_SetString(PyExc_TypeError,"null reference"); |
23625 | SWIG_fail; | |
d14a1e28 RD |
23626 | } |
23627 | { | |
23628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23629 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
23630 | ||
23631 | wxPyEndAllowThreads(__tstate); | |
23632 | if (PyErr_Occurred()) SWIG_fail; | |
23633 | } | |
4f89f6a3 RD |
23634 | { |
23635 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23636 | } | |
d14a1e28 RD |
23637 | return resultobj; |
23638 | fail: | |
23639 | return NULL; | |
23640 | } | |
23641 | ||
23642 | ||
23643 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23644 | PyObject *resultobj; | |
23645 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23646 | int arg2 ; | |
23647 | bool result; | |
23648 | PyObject * obj0 = 0 ; | |
994141e6 | 23649 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23650 | char *kwnames[] = { |
23651 | (char *) "self",(char *) "pageNum", NULL | |
23652 | }; | |
23653 | ||
994141e6 | 23654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23657 | arg2 = (int) SWIG_AsInt(obj1); | |
23658 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23659 | { |
23660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23661 | result = (bool)(arg1)->RenderPage(arg2); | |
23662 | ||
23663 | wxPyEndAllowThreads(__tstate); | |
23664 | if (PyErr_Occurred()) SWIG_fail; | |
23665 | } | |
4f89f6a3 RD |
23666 | { |
23667 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23668 | } | |
d14a1e28 RD |
23669 | return resultobj; |
23670 | fail: | |
23671 | return NULL; | |
23672 | } | |
23673 | ||
23674 | ||
23675 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23676 | PyObject *resultobj; | |
23677 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23678 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23679 | PyObject * obj0 = 0 ; | |
23680 | PyObject * obj1 = 0 ; | |
23681 | char *kwnames[] = { | |
23682 | (char *) "self",(char *) "canvas", NULL | |
23683 | }; | |
23684 | ||
23685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23688 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23690 | { |
23691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23692 | (arg1)->AdjustScrollbars(arg2); | |
23693 | ||
23694 | wxPyEndAllowThreads(__tstate); | |
23695 | if (PyErr_Occurred()) SWIG_fail; | |
23696 | } | |
23697 | Py_INCREF(Py_None); resultobj = Py_None; | |
23698 | return resultobj; | |
23699 | fail: | |
23700 | return NULL; | |
23701 | } | |
23702 | ||
23703 | ||
23704 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23705 | PyObject *resultobj; | |
23706 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23707 | wxPrintDialogData *result; | |
23708 | PyObject * obj0 = 0 ; | |
23709 | char *kwnames[] = { | |
23710 | (char *) "self", NULL | |
23711 | }; | |
23712 | ||
23713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23716 | { |
23717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23718 | { | |
23719 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23720 | result = (wxPrintDialogData *) &_result_ref; | |
23721 | } | |
23722 | ||
23723 | wxPyEndAllowThreads(__tstate); | |
23724 | if (PyErr_Occurred()) SWIG_fail; | |
23725 | } | |
15afbcd0 | 23726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
23727 | return resultobj; |
23728 | fail: | |
23729 | return NULL; | |
23730 | } | |
23731 | ||
23732 | ||
23733 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23734 | PyObject *resultobj; | |
23735 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23736 | int arg2 ; | |
23737 | PyObject * obj0 = 0 ; | |
994141e6 | 23738 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23739 | char *kwnames[] = { |
23740 | (char *) "self",(char *) "percent", NULL | |
23741 | }; | |
23742 | ||
994141e6 | 23743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23746 | arg2 = (int) SWIG_AsInt(obj1); | |
23747 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23748 | { |
23749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23750 | (arg1)->SetZoom(arg2); | |
23751 | ||
23752 | wxPyEndAllowThreads(__tstate); | |
23753 | if (PyErr_Occurred()) SWIG_fail; | |
23754 | } | |
23755 | Py_INCREF(Py_None); resultobj = Py_None; | |
23756 | return resultobj; | |
23757 | fail: | |
23758 | return NULL; | |
23759 | } | |
23760 | ||
23761 | ||
23762 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23763 | PyObject *resultobj; | |
23764 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23765 | int result; | |
23766 | PyObject * obj0 = 0 ; | |
23767 | char *kwnames[] = { | |
23768 | (char *) "self", NULL | |
23769 | }; | |
23770 | ||
23771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23774 | { |
23775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23776 | result = (int)(arg1)->GetZoom(); | |
23777 | ||
23778 | wxPyEndAllowThreads(__tstate); | |
23779 | if (PyErr_Occurred()) SWIG_fail; | |
23780 | } | |
15afbcd0 | 23781 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23782 | return resultobj; |
23783 | fail: | |
23784 | return NULL; | |
23785 | } | |
23786 | ||
23787 | ||
23788 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23789 | PyObject *resultobj; | |
23790 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23791 | int result; | |
23792 | PyObject * obj0 = 0 ; | |
23793 | char *kwnames[] = { | |
23794 | (char *) "self", NULL | |
23795 | }; | |
23796 | ||
23797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23800 | { |
23801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23802 | result = (int)(arg1)->GetMaxPage(); | |
23803 | ||
23804 | wxPyEndAllowThreads(__tstate); | |
23805 | if (PyErr_Occurred()) SWIG_fail; | |
23806 | } | |
15afbcd0 | 23807 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23808 | return resultobj; |
23809 | fail: | |
23810 | return NULL; | |
23811 | } | |
23812 | ||
23813 | ||
23814 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23815 | PyObject *resultobj; | |
23816 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23817 | int result; | |
23818 | PyObject * obj0 = 0 ; | |
23819 | char *kwnames[] = { | |
23820 | (char *) "self", NULL | |
23821 | }; | |
23822 | ||
23823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23826 | { |
23827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23828 | result = (int)(arg1)->GetMinPage(); | |
23829 | ||
23830 | wxPyEndAllowThreads(__tstate); | |
23831 | if (PyErr_Occurred()) SWIG_fail; | |
23832 | } | |
15afbcd0 | 23833 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
23834 | return resultobj; |
23835 | fail: | |
23836 | return NULL; | |
23837 | } | |
23838 | ||
23839 | ||
23840 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23841 | PyObject *resultobj; | |
23842 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23843 | bool result; | |
23844 | PyObject * obj0 = 0 ; | |
23845 | char *kwnames[] = { | |
23846 | (char *) "self", NULL | |
23847 | }; | |
23848 | ||
23849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23852 | { |
23853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23854 | result = (bool)(arg1)->Ok(); | |
23855 | ||
23856 | wxPyEndAllowThreads(__tstate); | |
23857 | if (PyErr_Occurred()) SWIG_fail; | |
23858 | } | |
4f89f6a3 RD |
23859 | { |
23860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23861 | } | |
d14a1e28 RD |
23862 | return resultobj; |
23863 | fail: | |
23864 | return NULL; | |
23865 | } | |
23866 | ||
23867 | ||
23868 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23869 | PyObject *resultobj; | |
23870 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23871 | bool arg2 ; | |
23872 | PyObject * obj0 = 0 ; | |
23873 | PyObject * obj1 = 0 ; | |
23874 | char *kwnames[] = { | |
23875 | (char *) "self",(char *) "ok", NULL | |
23876 | }; | |
23877 | ||
23878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23881 | arg2 = (bool) SWIG_AsBool(obj1); | |
23882 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23883 | { |
23884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23885 | (arg1)->SetOk(arg2); | |
23886 | ||
23887 | wxPyEndAllowThreads(__tstate); | |
23888 | if (PyErr_Occurred()) SWIG_fail; | |
23889 | } | |
23890 | Py_INCREF(Py_None); resultobj = Py_None; | |
23891 | return resultobj; | |
23892 | fail: | |
23893 | return NULL; | |
23894 | } | |
23895 | ||
23896 | ||
23897 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23898 | PyObject *resultobj; | |
23899 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23900 | bool arg2 ; | |
23901 | bool result; | |
23902 | PyObject * obj0 = 0 ; | |
23903 | PyObject * obj1 = 0 ; | |
23904 | char *kwnames[] = { | |
23905 | (char *) "self",(char *) "interactive", NULL | |
23906 | }; | |
23907 | ||
23908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23911 | arg2 = (bool) SWIG_AsBool(obj1); | |
23912 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23913 | { |
23914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23915 | result = (bool)(arg1)->Print(arg2); | |
23916 | ||
23917 | wxPyEndAllowThreads(__tstate); | |
23918 | if (PyErr_Occurred()) SWIG_fail; | |
23919 | } | |
4f89f6a3 RD |
23920 | { |
23921 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23922 | } | |
d14a1e28 RD |
23923 | return resultobj; |
23924 | fail: | |
23925 | return NULL; | |
23926 | } | |
23927 | ||
23928 | ||
23929 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23930 | PyObject *resultobj; | |
23931 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23932 | PyObject * obj0 = 0 ; | |
23933 | char *kwnames[] = { | |
23934 | (char *) "self", NULL | |
23935 | }; | |
23936 | ||
23937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23940 | { |
23941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23942 | (arg1)->DetermineScaling(); | |
23943 | ||
23944 | wxPyEndAllowThreads(__tstate); | |
23945 | if (PyErr_Occurred()) SWIG_fail; | |
23946 | } | |
23947 | Py_INCREF(Py_None); resultobj = Py_None; | |
23948 | return resultobj; | |
23949 | fail: | |
23950 | return NULL; | |
23951 | } | |
23952 | ||
23953 | ||
23954 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
23955 | PyObject *obj; | |
23956 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23957 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
23958 | Py_INCREF(obj); | |
23959 | return Py_BuildValue((char *)""); | |
23960 | } | |
4276dc52 | 23961 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
23962 | PyObject *resultobj; |
23963 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23964 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23965 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23966 | wxPyPrintPreview *result; |
23967 | PyObject * obj0 = 0 ; | |
23968 | PyObject * obj1 = 0 ; | |
23969 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23970 | |
4276dc52 | 23971 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23974 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23976 | if (obj2) { |
4276dc52 | 23977 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23979 | } |
23980 | { | |
e3b71cb8 | 23981 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23983 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
23984 | ||
23985 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 23986 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23987 | } |
15afbcd0 | 23988 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
23989 | return resultobj; |
23990 | fail: | |
23991 | return NULL; | |
23992 | } | |
23993 | ||
23994 | ||
4276dc52 RD |
23995 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
23996 | PyObject *resultobj; | |
23997 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23998 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23999 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
24000 | wxPyPrintPreview *result; | |
24001 | PyObject * obj0 = 0 ; | |
24002 | PyObject * obj1 = 0 ; | |
24003 | PyObject * obj2 = 0 ; | |
24004 | ||
24005 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24006 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24008 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24010 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
24011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24012 | { | |
e3b71cb8 | 24013 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
24014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24015 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24016 | ||
24017 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 24018 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
24019 | } |
24020 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24021 | return resultobj; | |
24022 | fail: | |
24023 | return NULL; | |
24024 | } | |
24025 | ||
24026 | ||
24027 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
24028 | int argc; | |
24029 | PyObject *argv[4]; | |
24030 | int ii; | |
24031 | ||
24032 | argc = PyObject_Length(args); | |
24033 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
24034 | argv[ii] = PyTuple_GetItem(args,ii); | |
24035 | } | |
24036 | if ((argc >= 2) && (argc <= 3)) { | |
24037 | int _v; | |
24038 | { | |
24039 | void *ptr; | |
24040 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24041 | _v = 0; | |
24042 | PyErr_Clear(); | |
24043 | } else { | |
24044 | _v = 1; | |
24045 | } | |
24046 | } | |
24047 | if (_v) { | |
24048 | { | |
24049 | void *ptr; | |
24050 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24051 | _v = 0; | |
24052 | PyErr_Clear(); | |
24053 | } else { | |
24054 | _v = 1; | |
24055 | } | |
24056 | } | |
24057 | if (_v) { | |
24058 | if (argc <= 2) { | |
24059 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24060 | } | |
24061 | { | |
24062 | void *ptr; | |
24063 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
24064 | _v = 0; | |
24065 | PyErr_Clear(); | |
24066 | } else { | |
24067 | _v = 1; | |
24068 | } | |
24069 | } | |
24070 | if (_v) { | |
24071 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24072 | } | |
24073 | } | |
24074 | } | |
24075 | } | |
24076 | if (argc == 3) { | |
24077 | int _v; | |
24078 | { | |
24079 | void *ptr; | |
24080 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24081 | _v = 0; | |
24082 | PyErr_Clear(); | |
24083 | } else { | |
24084 | _v = 1; | |
24085 | } | |
24086 | } | |
24087 | if (_v) { | |
24088 | { | |
24089 | void *ptr; | |
24090 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24091 | _v = 0; | |
24092 | PyErr_Clear(); | |
24093 | } else { | |
24094 | _v = 1; | |
24095 | } | |
24096 | } | |
24097 | if (_v) { | |
24098 | { | |
24099 | void *ptr; | |
24100 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
24101 | _v = 0; | |
24102 | PyErr_Clear(); | |
24103 | } else { | |
24104 | _v = 1; | |
24105 | } | |
24106 | } | |
24107 | if (_v) { | |
24108 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
24109 | } | |
24110 | } | |
24111 | } | |
24112 | } | |
24113 | ||
24114 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
24115 | return NULL; | |
24116 | } | |
24117 | ||
24118 | ||
d14a1e28 RD |
24119 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
24120 | PyObject *resultobj; | |
24121 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24122 | PyObject *arg2 = (PyObject *) 0 ; | |
24123 | PyObject *arg3 = (PyObject *) 0 ; | |
24124 | PyObject * obj0 = 0 ; | |
24125 | PyObject * obj1 = 0 ; | |
24126 | PyObject * obj2 = 0 ; | |
24127 | char *kwnames[] = { | |
24128 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24129 | }; | |
24130 | ||
24131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24134 | arg2 = obj1; |
24135 | arg3 = obj2; | |
24136 | { | |
24137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24138 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24139 | ||
24140 | wxPyEndAllowThreads(__tstate); | |
24141 | if (PyErr_Occurred()) SWIG_fail; | |
24142 | } | |
24143 | Py_INCREF(Py_None); resultobj = Py_None; | |
24144 | return resultobj; | |
24145 | fail: | |
24146 | return NULL; | |
24147 | } | |
24148 | ||
24149 | ||
24150 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24151 | PyObject *resultobj; | |
24152 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24153 | int arg2 ; | |
24154 | bool result; | |
24155 | PyObject * obj0 = 0 ; | |
994141e6 | 24156 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24157 | char *kwnames[] = { |
24158 | (char *) "self",(char *) "pageNum", NULL | |
24159 | }; | |
24160 | ||
994141e6 | 24161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24164 | arg2 = (int) SWIG_AsInt(obj1); | |
24165 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24166 | { |
24167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24168 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
24169 | ||
24170 | wxPyEndAllowThreads(__tstate); | |
24171 | if (PyErr_Occurred()) SWIG_fail; | |
24172 | } | |
4f89f6a3 RD |
24173 | { |
24174 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24175 | } | |
d14a1e28 RD |
24176 | return resultobj; |
24177 | fail: | |
24178 | return NULL; | |
24179 | } | |
24180 | ||
24181 | ||
24182 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24183 | PyObject *resultobj; | |
24184 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24185 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24186 | wxDC *arg3 = 0 ; | |
24187 | bool result; | |
24188 | PyObject * obj0 = 0 ; | |
24189 | PyObject * obj1 = 0 ; | |
24190 | PyObject * obj2 = 0 ; | |
24191 | char *kwnames[] = { | |
24192 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24193 | }; | |
24194 | ||
24195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24196 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24197 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24198 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24200 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24201 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24202 | SWIG_fail; | |
d14a1e28 | 24203 | if (arg3 == NULL) { |
15afbcd0 RD |
24204 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24205 | SWIG_fail; | |
d14a1e28 RD |
24206 | } |
24207 | { | |
24208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24209 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
24210 | ||
24211 | wxPyEndAllowThreads(__tstate); | |
24212 | if (PyErr_Occurred()) SWIG_fail; | |
24213 | } | |
4f89f6a3 RD |
24214 | { |
24215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24216 | } | |
d14a1e28 RD |
24217 | return resultobj; |
24218 | fail: | |
24219 | return NULL; | |
24220 | } | |
24221 | ||
24222 | ||
24223 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24224 | PyObject *resultobj; | |
24225 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24226 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24227 | wxDC *arg3 = 0 ; | |
24228 | bool result; | |
24229 | PyObject * obj0 = 0 ; | |
24230 | PyObject * obj1 = 0 ; | |
24231 | PyObject * obj2 = 0 ; | |
24232 | char *kwnames[] = { | |
24233 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24234 | }; | |
24235 | ||
24236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24239 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24241 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24242 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24243 | SWIG_fail; | |
d14a1e28 | 24244 | if (arg3 == NULL) { |
15afbcd0 RD |
24245 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24246 | SWIG_fail; | |
d14a1e28 RD |
24247 | } |
24248 | { | |
24249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24250 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
24251 | ||
24252 | wxPyEndAllowThreads(__tstate); | |
24253 | if (PyErr_Occurred()) SWIG_fail; | |
24254 | } | |
4f89f6a3 RD |
24255 | { |
24256 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24257 | } | |
d14a1e28 RD |
24258 | return resultobj; |
24259 | fail: | |
24260 | return NULL; | |
24261 | } | |
24262 | ||
24263 | ||
24264 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24265 | PyObject *resultobj; | |
24266 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24267 | int arg2 ; | |
24268 | bool result; | |
24269 | PyObject * obj0 = 0 ; | |
994141e6 | 24270 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24271 | char *kwnames[] = { |
24272 | (char *) "self",(char *) "pageNum", NULL | |
24273 | }; | |
24274 | ||
994141e6 | 24275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24278 | arg2 = (int) SWIG_AsInt(obj1); | |
24279 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24280 | { |
24281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24282 | result = (bool)(arg1)->base_RenderPage(arg2); | |
24283 | ||
24284 | wxPyEndAllowThreads(__tstate); | |
24285 | if (PyErr_Occurred()) SWIG_fail; | |
24286 | } | |
4f89f6a3 RD |
24287 | { |
24288 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24289 | } | |
d14a1e28 RD |
24290 | return resultobj; |
24291 | fail: | |
24292 | return NULL; | |
24293 | } | |
24294 | ||
24295 | ||
24296 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24297 | PyObject *resultobj; | |
24298 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24299 | int arg2 ; | |
24300 | PyObject * obj0 = 0 ; | |
994141e6 | 24301 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24302 | char *kwnames[] = { |
24303 | (char *) "self",(char *) "percent", NULL | |
24304 | }; | |
24305 | ||
994141e6 | 24306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24307 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24309 | arg2 = (int) SWIG_AsInt(obj1); | |
24310 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24311 | { |
24312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24313 | (arg1)->base_SetZoom(arg2); | |
24314 | ||
24315 | wxPyEndAllowThreads(__tstate); | |
24316 | if (PyErr_Occurred()) SWIG_fail; | |
24317 | } | |
24318 | Py_INCREF(Py_None); resultobj = Py_None; | |
24319 | return resultobj; | |
24320 | fail: | |
24321 | return NULL; | |
24322 | } | |
24323 | ||
24324 | ||
24325 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24326 | PyObject *resultobj; | |
24327 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24328 | bool arg2 ; | |
24329 | bool result; | |
24330 | PyObject * obj0 = 0 ; | |
24331 | PyObject * obj1 = 0 ; | |
24332 | char *kwnames[] = { | |
24333 | (char *) "self",(char *) "interactive", NULL | |
24334 | }; | |
24335 | ||
24336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24339 | arg2 = (bool) SWIG_AsBool(obj1); | |
24340 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24341 | { |
24342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24343 | result = (bool)(arg1)->base_Print(arg2); | |
24344 | ||
24345 | wxPyEndAllowThreads(__tstate); | |
24346 | if (PyErr_Occurred()) SWIG_fail; | |
24347 | } | |
4f89f6a3 RD |
24348 | { |
24349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24350 | } | |
d14a1e28 RD |
24351 | return resultobj; |
24352 | fail: | |
24353 | return NULL; | |
24354 | } | |
24355 | ||
24356 | ||
24357 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24358 | PyObject *resultobj; | |
24359 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24360 | PyObject * obj0 = 0 ; | |
24361 | char *kwnames[] = { | |
24362 | (char *) "self", NULL | |
24363 | }; | |
24364 | ||
24365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24368 | { |
24369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24370 | (arg1)->base_DetermineScaling(); | |
24371 | ||
24372 | wxPyEndAllowThreads(__tstate); | |
24373 | if (PyErr_Occurred()) SWIG_fail; | |
24374 | } | |
24375 | Py_INCREF(Py_None); resultobj = Py_None; | |
24376 | return resultobj; | |
24377 | fail: | |
24378 | return NULL; | |
24379 | } | |
24380 | ||
24381 | ||
24382 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
24383 | PyObject *obj; | |
24384 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24385 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
24386 | Py_INCREF(obj); | |
24387 | return Py_BuildValue((char *)""); | |
24388 | } | |
24389 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24390 | PyObject *resultobj; | |
24391 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24392 | wxFrame *arg2 = (wxFrame *) 0 ; | |
24393 | wxString *arg3 = 0 ; | |
24394 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24395 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24396 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24397 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24398 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
24399 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
24400 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24401 | wxPyPreviewFrame *result; | |
e811c8ce | 24402 | bool temp3 = False ; |
d14a1e28 RD |
24403 | wxPoint temp4 ; |
24404 | wxSize temp5 ; | |
e811c8ce | 24405 | bool temp7 = False ; |
d14a1e28 RD |
24406 | PyObject * obj0 = 0 ; |
24407 | PyObject * obj1 = 0 ; | |
24408 | PyObject * obj2 = 0 ; | |
24409 | PyObject * obj3 = 0 ; | |
24410 | PyObject * obj4 = 0 ; | |
994141e6 | 24411 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
24412 | PyObject * obj6 = 0 ; |
24413 | char *kwnames[] = { | |
24414 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24415 | }; | |
24416 | ||
994141e6 | 24417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
24418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24420 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
24421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24422 | { |
24423 | arg3 = wxString_in_helper(obj2); | |
24424 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 24425 | temp3 = True; |
d14a1e28 RD |
24426 | } |
24427 | if (obj3) { | |
24428 | { | |
24429 | arg4 = &temp4; | |
24430 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24431 | } | |
24432 | } | |
24433 | if (obj4) { | |
24434 | { | |
24435 | arg5 = &temp5; | |
24436 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24437 | } | |
24438 | } | |
994141e6 | 24439 | if (obj5) { |
15afbcd0 RD |
24440 | arg6 = (long) SWIG_AsLong(obj5); |
24441 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 24442 | } |
d14a1e28 RD |
24443 | if (obj6) { |
24444 | { | |
24445 | arg7 = wxString_in_helper(obj6); | |
24446 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 24447 | temp7 = True; |
d14a1e28 RD |
24448 | } |
24449 | } | |
24450 | { | |
e3b71cb8 | 24451 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24453 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24454 | ||
24455 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 24456 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24457 | } |
15afbcd0 | 24458 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
24459 | { |
24460 | if (temp3) | |
24461 | delete arg3; | |
24462 | } | |
24463 | { | |
24464 | if (temp7) | |
24465 | delete arg7; | |
24466 | } | |
24467 | return resultobj; | |
24468 | fail: | |
24469 | { | |
24470 | if (temp3) | |
24471 | delete arg3; | |
24472 | } | |
24473 | { | |
24474 | if (temp7) | |
24475 | delete arg7; | |
24476 | } | |
24477 | return NULL; | |
24478 | } | |
24479 | ||
24480 | ||
24481 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24482 | PyObject *resultobj; | |
24483 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24484 | PyObject *arg2 = (PyObject *) 0 ; | |
24485 | PyObject *arg3 = (PyObject *) 0 ; | |
24486 | PyObject * obj0 = 0 ; | |
24487 | PyObject * obj1 = 0 ; | |
24488 | PyObject * obj2 = 0 ; | |
24489 | char *kwnames[] = { | |
24490 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24491 | }; | |
24492 | ||
24493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24496 | arg2 = obj1; |
24497 | arg3 = obj2; | |
24498 | { | |
24499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24500 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24501 | ||
24502 | wxPyEndAllowThreads(__tstate); | |
24503 | if (PyErr_Occurred()) SWIG_fail; | |
24504 | } | |
24505 | Py_INCREF(Py_None); resultobj = Py_None; | |
24506 | return resultobj; | |
24507 | fail: | |
24508 | return NULL; | |
24509 | } | |
24510 | ||
24511 | ||
24512 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24513 | PyObject *resultobj; | |
24514 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24515 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24516 | PyObject * obj0 = 0 ; | |
24517 | PyObject * obj1 = 0 ; | |
24518 | char *kwnames[] = { | |
24519 | (char *) "self",(char *) "canvas", NULL | |
24520 | }; | |
24521 | ||
24522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24525 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24527 | { |
24528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24529 | (arg1)->SetPreviewCanvas(arg2); | |
24530 | ||
24531 | wxPyEndAllowThreads(__tstate); | |
24532 | if (PyErr_Occurred()) SWIG_fail; | |
24533 | } | |
24534 | Py_INCREF(Py_None); resultobj = Py_None; | |
24535 | return resultobj; | |
24536 | fail: | |
24537 | return NULL; | |
24538 | } | |
24539 | ||
24540 | ||
24541 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24542 | PyObject *resultobj; | |
24543 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24544 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
24545 | PyObject * obj0 = 0 ; | |
24546 | PyObject * obj1 = 0 ; | |
24547 | char *kwnames[] = { | |
24548 | (char *) "self",(char *) "bar", NULL | |
24549 | }; | |
24550 | ||
24551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24554 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
24555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24556 | { |
24557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24558 | (arg1)->SetControlBar(arg2); | |
24559 | ||
24560 | wxPyEndAllowThreads(__tstate); | |
24561 | if (PyErr_Occurred()) SWIG_fail; | |
24562 | } | |
24563 | Py_INCREF(Py_None); resultobj = Py_None; | |
24564 | return resultobj; | |
24565 | fail: | |
24566 | return NULL; | |
24567 | } | |
24568 | ||
24569 | ||
24570 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24571 | PyObject *resultobj; | |
24572 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24573 | PyObject * obj0 = 0 ; | |
24574 | char *kwnames[] = { | |
24575 | (char *) "self", NULL | |
24576 | }; | |
24577 | ||
24578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24581 | { |
24582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24583 | (arg1)->base_Initialize(); | |
24584 | ||
24585 | wxPyEndAllowThreads(__tstate); | |
24586 | if (PyErr_Occurred()) SWIG_fail; | |
24587 | } | |
24588 | Py_INCREF(Py_None); resultobj = Py_None; | |
24589 | return resultobj; | |
24590 | fail: | |
24591 | return NULL; | |
24592 | } | |
24593 | ||
24594 | ||
24595 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24596 | PyObject *resultobj; | |
24597 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24598 | PyObject * obj0 = 0 ; | |
24599 | char *kwnames[] = { | |
24600 | (char *) "self", NULL | |
24601 | }; | |
24602 | ||
24603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24606 | { |
24607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24608 | (arg1)->base_CreateCanvas(); | |
24609 | ||
24610 | wxPyEndAllowThreads(__tstate); | |
24611 | if (PyErr_Occurred()) SWIG_fail; | |
24612 | } | |
24613 | Py_INCREF(Py_None); resultobj = Py_None; | |
24614 | return resultobj; | |
24615 | fail: | |
24616 | return NULL; | |
24617 | } | |
24618 | ||
24619 | ||
24620 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24621 | PyObject *resultobj; | |
24622 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
24623 | PyObject * obj0 = 0 ; | |
24624 | char *kwnames[] = { | |
24625 | (char *) "self", NULL | |
24626 | }; | |
24627 | ||
24628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
24630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24631 | { |
24632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24633 | (arg1)->base_CreateControlBar(); | |
24634 | ||
24635 | wxPyEndAllowThreads(__tstate); | |
24636 | if (PyErr_Occurred()) SWIG_fail; | |
24637 | } | |
24638 | Py_INCREF(Py_None); resultobj = Py_None; | |
24639 | return resultobj; | |
24640 | fail: | |
24641 | return NULL; | |
24642 | } | |
24643 | ||
24644 | ||
24645 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
24646 | PyObject *obj; | |
24647 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24648 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
24649 | Py_INCREF(obj); | |
24650 | return Py_BuildValue((char *)""); | |
24651 | } | |
24652 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24653 | PyObject *resultobj; | |
24654 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24655 | long arg2 ; | |
24656 | wxWindow *arg3 = (wxWindow *) 0 ; | |
24657 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
24658 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
24659 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
24660 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
24661 | long arg6 = (long) 0 ; | |
24662 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
24663 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
24664 | wxPyPreviewControlBar *result; | |
24665 | wxPoint temp4 ; | |
24666 | wxSize temp5 ; | |
e811c8ce | 24667 | bool temp7 = False ; |
d14a1e28 | 24668 | PyObject * obj0 = 0 ; |
994141e6 | 24669 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24670 | PyObject * obj2 = 0 ; |
24671 | PyObject * obj3 = 0 ; | |
24672 | PyObject * obj4 = 0 ; | |
994141e6 | 24673 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
24674 | PyObject * obj6 = 0 ; |
24675 | char *kwnames[] = { | |
24676 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24677 | }; | |
24678 | ||
994141e6 | 24679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
24680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24682 | arg2 = (long) SWIG_AsLong(obj1); | |
24683 | if (PyErr_Occurred()) SWIG_fail; | |
24684 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
24685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24686 | if (obj3) { |
24687 | { | |
24688 | arg4 = &temp4; | |
24689 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
24690 | } | |
24691 | } | |
24692 | if (obj4) { | |
24693 | { | |
24694 | arg5 = &temp5; | |
24695 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
24696 | } | |
24697 | } | |
994141e6 | 24698 | if (obj5) { |
15afbcd0 RD |
24699 | arg6 = (long) SWIG_AsLong(obj5); |
24700 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 24701 | } |
d14a1e28 RD |
24702 | if (obj6) { |
24703 | { | |
24704 | arg7 = wxString_in_helper(obj6); | |
24705 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 24706 | temp7 = True; |
d14a1e28 RD |
24707 | } |
24708 | } | |
24709 | { | |
e3b71cb8 | 24710 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24712 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
24713 | ||
24714 | wxPyEndAllowThreads(__tstate); | |
e3b71cb8 | 24715 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24716 | } |
15afbcd0 | 24717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
24718 | { |
24719 | if (temp7) | |
24720 | delete arg7; | |
24721 | } | |
24722 | return resultobj; | |
24723 | fail: | |
24724 | { | |
24725 | if (temp7) | |
24726 | delete arg7; | |
24727 | } | |
24728 | return NULL; | |
24729 | } | |
24730 | ||
24731 | ||
24732 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24733 | PyObject *resultobj; | |
24734 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24735 | PyObject *arg2 = (PyObject *) 0 ; | |
24736 | PyObject *arg3 = (PyObject *) 0 ; | |
24737 | PyObject * obj0 = 0 ; | |
24738 | PyObject * obj1 = 0 ; | |
24739 | PyObject * obj2 = 0 ; | |
24740 | char *kwnames[] = { | |
24741 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24742 | }; | |
24743 | ||
24744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24747 | arg2 = obj1; |
24748 | arg3 = obj2; | |
24749 | { | |
24750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24751 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24752 | ||
24753 | wxPyEndAllowThreads(__tstate); | |
24754 | if (PyErr_Occurred()) SWIG_fail; | |
24755 | } | |
24756 | Py_INCREF(Py_None); resultobj = Py_None; | |
24757 | return resultobj; | |
24758 | fail: | |
24759 | return NULL; | |
24760 | } | |
24761 | ||
24762 | ||
24763 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24764 | PyObject *resultobj; | |
24765 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24766 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
24767 | PyObject * obj0 = 0 ; | |
24768 | PyObject * obj1 = 0 ; | |
24769 | char *kwnames[] = { | |
24770 | (char *) "self",(char *) "preview", NULL | |
24771 | }; | |
24772 | ||
24773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24776 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
24777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24778 | { |
24779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24780 | (arg1)->SetPrintPreview(arg2); | |
24781 | ||
24782 | wxPyEndAllowThreads(__tstate); | |
24783 | if (PyErr_Occurred()) SWIG_fail; | |
24784 | } | |
24785 | Py_INCREF(Py_None); resultobj = Py_None; | |
24786 | return resultobj; | |
24787 | fail: | |
24788 | return NULL; | |
24789 | } | |
24790 | ||
24791 | ||
24792 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24793 | PyObject *resultobj; | |
24794 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24795 | PyObject * obj0 = 0 ; | |
24796 | char *kwnames[] = { | |
24797 | (char *) "self", NULL | |
24798 | }; | |
24799 | ||
24800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24803 | { |
24804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24805 | (arg1)->base_CreateButtons(); | |
24806 | ||
24807 | wxPyEndAllowThreads(__tstate); | |
24808 | if (PyErr_Occurred()) SWIG_fail; | |
24809 | } | |
24810 | Py_INCREF(Py_None); resultobj = Py_None; | |
24811 | return resultobj; | |
24812 | fail: | |
24813 | return NULL; | |
24814 | } | |
24815 | ||
24816 | ||
24817 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
24818 | PyObject *resultobj; | |
24819 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
24820 | int arg2 ; | |
24821 | PyObject * obj0 = 0 ; | |
994141e6 | 24822 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24823 | char *kwnames[] = { |
24824 | (char *) "self",(char *) "zoom", NULL | |
24825 | }; | |
24826 | ||
994141e6 | 24827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
24829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24830 | arg2 = (int) SWIG_AsInt(obj1); | |
24831 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
24832 | { |
24833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24834 | (arg1)->base_SetZoomControl(arg2); | |
24835 | ||
24836 | wxPyEndAllowThreads(__tstate); | |
24837 | if (PyErr_Occurred()) SWIG_fail; | |
24838 | } | |
24839 | Py_INCREF(Py_None); resultobj = Py_None; | |
24840 | return resultobj; | |
24841 | fail: | |
24842 | return NULL; | |
24843 | } | |
24844 | ||
24845 | ||
24846 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
24847 | PyObject *obj; | |
24848 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24849 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
24850 | Py_INCREF(obj); | |
24851 | return Py_BuildValue((char *)""); | |
24852 | } | |
24853 | static PyMethodDef SwigMethods[] = { | |
24854 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
24855 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
24856 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
24857 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24858 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24859 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, |
24860 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24861 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
24862 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24863 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24864 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
24865 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24866 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
24867 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
24868 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
24869 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
24870 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
24871 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
24872 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
24873 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
24874 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
24875 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
24876 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
24877 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
24878 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
24879 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24880 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 24881 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, |
d14a1e28 RD |
24882 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
24883 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
24884 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
24885 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
24886 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
24887 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24888 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
24889 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
24890 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24891 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
24892 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24893 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
24894 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
24895 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
24896 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
24897 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
24898 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24899 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
24900 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
24901 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24902 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
24903 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
24904 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24905 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24906 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24907 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24908 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24909 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24910 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24911 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24912 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
24913 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24914 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24915 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
24916 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
24917 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24918 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24919 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, |
24920 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
24921 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
24922 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
24923 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24924 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
24925 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
24926 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
24927 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
24928 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
24929 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24930 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24931 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, |
24932 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24933 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
24934 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
24935 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
24936 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
24937 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24938 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
24939 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
24940 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
24941 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
24942 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24943 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
24944 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
24945 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24946 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
24947 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
24948 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24949 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
24950 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24951 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24952 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24953 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
24954 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
24955 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
24956 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
24957 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
24958 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24959 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24960 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, |
24961 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24962 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
24963 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24964 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
24965 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
24966 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24967 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
24968 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
24969 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
24970 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
24971 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
24972 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
d00d1b88 | 24973 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24974 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, |
24975 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24976 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24977 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
24978 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
24979 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24980 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24981 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24982 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
24983 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
24984 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
24985 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
24986 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
22bfe96c | 24987 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
24988 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, |
24989 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
24990 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24991 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
24992 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
24993 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
24994 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
24995 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
24996 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24997 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
24998 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
24999 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
25000 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
25001 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
25002 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
25003 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
25004 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25005 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25006 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25007 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
25008 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25009 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25010 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25011 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25012 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25013 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25014 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
25015 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
25016 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
25017 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
25018 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
25019 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
25020 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
25021 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
25022 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
25023 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
25024 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
25025 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
25026 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
25027 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
25028 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
25029 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
25030 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25031 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25032 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
25033 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
25034 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25035 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25036 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25037 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25038 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
25039 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
25040 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25041 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25042 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
25043 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
25044 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
25045 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25046 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25047 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25048 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25049 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25050 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
25051 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
25052 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25053 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
25054 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
25055 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
25056 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
25057 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
25058 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
25059 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
25060 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
25061 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
25062 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25063 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
25064 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
25065 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25066 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25067 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25068 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
25069 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
25070 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
25071 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
25072 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
25073 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
25074 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
25075 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25076 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25077 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25078 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25079 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
25080 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
25081 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
25082 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
25083 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
25084 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
25085 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
25086 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
25087 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
25088 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
25089 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
25090 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
25091 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
25092 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
25093 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
25094 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
25095 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25096 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
25097 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
25098 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
25099 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25100 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
25101 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
25102 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
25103 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
25104 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
25105 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
25106 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
25107 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
25108 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
25109 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25110 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
25111 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
25112 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
25113 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
25114 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
25115 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
25116 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
25117 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
25118 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
25119 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
25120 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
25121 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25122 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
25123 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
25124 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
7fdaaabe | 25125 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25126 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, |
25127 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
25128 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
74a57fcd | 25129 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25130 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, |
25131 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
25132 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
25133 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
25134 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
25135 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
25136 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
25137 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
25138 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
25139 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
25140 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
25141 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25142 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
25143 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
25144 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25145 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
25146 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
25147 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
25148 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25149 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
25150 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
25151 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
25152 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25153 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25154 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25155 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25156 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
25157 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
25158 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25159 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
25160 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
25161 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25162 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
25163 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25164 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
25165 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
25166 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
25167 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
25168 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25169 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
25170 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
25171 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
25172 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
25173 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
25174 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
25175 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25176 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
25177 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
25178 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
25179 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25180 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25181 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
25182 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25183 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
25184 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
25185 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
25186 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25187 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
25188 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
25189 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
25190 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
25191 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
25192 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25193 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
25194 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
25195 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
25196 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
25197 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
25198 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
25199 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25200 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
25201 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
25202 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
25203 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
15afbcd0 | 25204 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 25205 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25206 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
25207 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25208 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
25209 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
25210 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
25211 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
25212 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
25213 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
25214 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25215 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25216 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25217 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
25218 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25219 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25220 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25221 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
25222 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
25223 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
25224 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25225 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25226 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25227 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
25228 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
25229 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
25230 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
25231 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25232 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
25233 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
25234 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
25235 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
25236 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
25237 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
25238 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
25239 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25240 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
25241 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
25242 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
25243 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
25244 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
25245 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25246 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
25247 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
25248 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
25249 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
25250 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
25251 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
25252 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
25253 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
25254 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
25255 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
25256 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25257 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
25258 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
25259 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
25260 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 25261 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 25262 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
db3e571a | 25263 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25264 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25265 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25266 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25267 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25268 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25269 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25270 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25271 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25272 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25273 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25274 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25275 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25276 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25277 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25278 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25279 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25280 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25281 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
25282 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
25283 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
db3e571a | 25284 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25285 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, |
25286 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa | 25287 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 25288 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
db3e571a | 25289 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25290 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25291 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25292 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25293 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25294 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25295 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25296 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25297 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25298 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25299 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25300 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25301 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25302 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25303 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25304 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25305 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25306 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25307 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
1cb4a8aa RD |
25308 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, |
25309 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
db3e571a | 25310 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 25311 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, |
1cb4a8aa RD |
25312 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, |
25313 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
25314 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
db3e571a | 25315 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS }, |
1cb4a8aa RD |
25316 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, |
25317 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
25318 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25319 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25320 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
25321 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
25322 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
25323 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
25324 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
25325 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
25326 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
25327 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
25328 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
25329 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
25330 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
25331 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
25332 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
25333 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
25334 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS }, | |
25335 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS }, | |
db3e571a | 25336 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, |
1cb4a8aa | 25337 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS }, |
d14a1e28 RD |
25338 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, |
25339 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
25340 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25341 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25342 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25343 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25344 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
25345 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
25346 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
25347 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25348 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25349 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
25350 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25351 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25352 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25353 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
25354 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
25355 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
25356 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25357 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25358 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
25359 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
25360 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
25361 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
25362 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25363 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
25364 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
25365 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
25366 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
25367 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
25368 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
25369 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
25370 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
25371 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
25372 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
25373 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
25374 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
25375 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
25376 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
25377 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
25378 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
25379 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
25380 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
25381 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
25382 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
25383 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
25384 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25385 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25386 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25387 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
25388 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25389 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
25390 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
25391 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
25392 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
25393 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
25394 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
25395 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
25396 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25397 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
25398 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25399 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25400 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25401 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25402 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25403 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25404 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25405 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25406 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
25407 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
25408 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25409 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25410 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
25411 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
25412 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
25413 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
25414 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25415 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
25416 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25417 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
25418 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
25419 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
4276dc52 | 25420 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
25421 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
25422 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
25423 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
25424 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25425 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25426 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25427 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
25428 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25429 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25430 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25431 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25432 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
25433 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
25434 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25435 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25436 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
25437 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
25438 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
25439 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
25440 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25441 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
25442 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25443 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
25444 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
25445 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25446 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
25447 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
25448 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
25449 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
25450 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25451 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25452 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
25453 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
25454 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
25455 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25456 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
25457 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
25458 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
25459 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
25460 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
25461 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
25462 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25463 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
25464 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
25465 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
25466 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
25467 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
25468 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
25469 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
25470 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
25471 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25472 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
25473 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
25474 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 25475 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 25476 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25477 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
25478 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
25479 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
25480 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
25481 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
25482 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
25483 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
25484 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
25485 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
25486 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
25487 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25488 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25489 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 25490 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 25491 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
25492 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
25493 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25494 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
25495 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
25496 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
25497 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25498 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25499 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25500 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
25501 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25502 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25503 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25504 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
25505 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
25506 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
25507 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
25508 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
25509 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
25510 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
4276dc52 | 25511 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
25512 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
25513 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
25514 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
25515 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
25516 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
25517 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
25518 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25519 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
25520 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25521 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
25522 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
25523 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
25524 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
25525 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
25526 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25527 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25528 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
25529 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
25530 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
25531 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
25532 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
25533 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
25534 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
4276dc52 | 25535 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
25536 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
25537 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
25538 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
25539 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
25540 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
25541 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
25542 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
25543 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
25544 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
25545 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
25546 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25547 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25548 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25549 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
25550 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
25551 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25552 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
25553 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
25554 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
25555 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
25556 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
25557 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
25558 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
25559 | { NULL, NULL } | |
25560 | }; | |
25561 | ||
25562 | ||
25563 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
25564 | ||
25565 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
25566 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25567 | } | |
25568 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
25569 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
25570 | } | |
25571 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
25572 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
25573 | } | |
25574 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
25575 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
25576 | } | |
25577 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
25578 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
25579 | } | |
25580 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
25581 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
25582 | } | |
25583 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
25584 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
25585 | } | |
25586 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
25587 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25588 | } | |
25589 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
25590 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
25591 | } | |
25592 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
25593 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
25594 | } | |
25595 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
25596 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25597 | } | |
25598 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
25599 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
25600 | } | |
25601 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
25602 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25603 | } | |
25604 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
25605 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
25606 | } | |
25607 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
25608 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
25609 | } | |
25610 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
25611 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
25612 | } | |
25613 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
25614 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
25615 | } | |
25616 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
25617 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
25618 | } | |
25619 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
25620 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
25621 | } | |
25622 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
25623 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
25624 | } | |
25625 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
25626 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
25627 | } | |
25628 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
25629 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
25630 | } | |
25631 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
25632 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
25633 | } | |
25634 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
25635 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
25636 | } | |
25637 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
25638 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25639 | } | |
25640 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
25641 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25642 | } | |
25643 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
25644 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25645 | } | |
25646 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
25647 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25648 | } | |
25649 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
25650 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25651 | } | |
25652 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
25653 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
25654 | } | |
25655 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
25656 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
25657 | } | |
25658 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
25659 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
25660 | } | |
25661 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
25662 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
25663 | } | |
25664 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
25665 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25666 | } | |
25667 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
25668 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
25669 | } | |
25670 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
25671 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
25672 | } | |
25673 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
25674 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25675 | } | |
25676 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
25677 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
25678 | } | |
25679 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
25680 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
25681 | } | |
25682 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
25683 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
25684 | } | |
25685 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
25686 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
25687 | } | |
25688 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
25689 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
25690 | } | |
25691 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
25692 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25693 | } | |
25694 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
25695 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25696 | } | |
25697 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
25698 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
25699 | } | |
25700 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
25701 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25702 | } | |
25703 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
25704 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
25705 | } | |
25706 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
25707 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
25708 | } | |
25709 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
25710 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
25711 | } | |
25712 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
25713 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
25714 | } | |
25715 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
25716 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
25717 | } | |
25718 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25719 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
25720 | } | |
25721 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
25722 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25723 | } | |
25724 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
25725 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25726 | } | |
25727 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
25728 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
25729 | } | |
25730 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
25731 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
25732 | } | |
25733 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
25734 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
25735 | } | |
25736 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
25737 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
25738 | } | |
25739 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
25740 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
25741 | } | |
25742 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25743 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
25744 | } | |
25745 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
25746 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
25747 | } | |
25748 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
25749 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
25750 | } | |
25751 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
25752 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
25753 | } | |
25754 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
25755 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
25756 | } | |
25757 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
25758 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
25759 | } | |
25760 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
25761 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
25762 | } | |
25763 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
25764 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
25765 | } | |
25766 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
25767 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
25768 | } | |
25769 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
25770 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
25771 | } | |
25772 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
25773 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
25774 | } | |
25775 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
25776 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
25777 | } | |
1cb4a8aa RD |
25778 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
25779 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
25780 | } | |
d14a1e28 RD |
25781 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
25782 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
25783 | } | |
25784 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25785 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25786 | } | |
25787 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
25788 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25789 | } | |
25790 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
25791 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25792 | } | |
25793 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
25794 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
25795 | } | |
25796 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
25797 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
25798 | } | |
25799 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
25800 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
25801 | } | |
25802 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
25803 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25804 | } | |
25805 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
25806 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25807 | } | |
25808 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
25809 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
25810 | } | |
25811 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25812 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
25813 | } | |
25814 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
25815 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25816 | } | |
25817 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
25818 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25819 | } | |
25820 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
25821 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
25822 | } | |
25823 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
25824 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
25825 | } | |
25826 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
25827 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
25828 | } | |
25829 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
25830 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
25831 | } | |
25832 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
25833 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
25834 | } | |
25835 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
25836 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
25837 | } | |
25838 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
25839 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
25840 | } | |
25841 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
25842 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
25843 | } | |
25844 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
25845 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
25846 | } | |
25847 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
25848 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
25849 | } | |
25850 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
25851 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
25852 | } | |
25853 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
25854 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
25855 | } | |
25856 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
25857 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25858 | } | |
25859 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
25860 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
25861 | } | |
25862 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
25863 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
25864 | } | |
25865 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
25866 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
25867 | } | |
25868 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
25869 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
25870 | } | |
25871 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
25872 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
25873 | } | |
25874 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
25875 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
25876 | } | |
25877 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
25878 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
25879 | } | |
25880 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
25881 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
25882 | } | |
25883 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
25884 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
25885 | } | |
25886 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
25887 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
25888 | } | |
25889 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
25890 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
25891 | } | |
25892 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
25893 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
25894 | } | |
25895 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
25896 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
25897 | } | |
25898 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
25899 | return (void *)((wxObject *) ((wxSizer *) x)); | |
25900 | } | |
25901 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
25902 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
25903 | } | |
25904 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
25905 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
25906 | } | |
25907 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
25908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
25909 | } | |
25910 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
25911 | return (void *)((wxObject *) ((wxEvent *) x)); | |
25912 | } | |
25913 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
25914 | return (void *)((wxObject *) ((wxFontData *) x)); | |
25915 | } | |
25916 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
25917 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
25918 | } | |
25919 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
25920 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
25921 | } | |
25922 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
25923 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
25924 | } | |
25925 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
25926 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
25927 | } | |
25928 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
25929 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
25930 | } | |
25931 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
25932 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
25933 | } | |
25934 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
25935 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
25936 | } | |
25937 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
25938 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
25939 | } | |
25940 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
25941 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
25942 | } | |
25943 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
25944 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
25945 | } | |
25946 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
25947 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
25948 | } | |
25949 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
25950 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
25951 | } | |
25952 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
25953 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
25954 | } | |
25955 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
25956 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
25957 | } | |
25958 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
25959 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
25960 | } | |
25961 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
25962 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
25963 | } | |
25964 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
25965 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
25966 | } | |
25967 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
25968 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
25969 | } | |
25970 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
25971 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
25972 | } | |
25973 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
25974 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
25975 | } | |
25976 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
25977 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
25978 | } | |
25979 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
25980 | return (void *)((wxObject *) ((wxColourData *) x)); | |
25981 | } | |
25982 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
25983 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
25984 | } | |
25985 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
25986 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
25987 | } | |
25988 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
25989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
25990 | } | |
25991 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
25992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
25993 | } | |
25994 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
25995 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
25996 | } | |
25997 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
25998 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
25999 | } | |
26000 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
26001 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26002 | } | |
26003 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
26004 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26005 | } | |
26006 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
26007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26008 | } | |
26009 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
26010 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26011 | } | |
26012 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
26013 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26014 | } | |
26015 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
26016 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
26017 | } | |
26018 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
26019 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
26020 | } | |
26021 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
26022 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
26023 | } | |
26024 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
26025 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
26026 | } | |
26027 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
26028 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26029 | } | |
26030 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
26031 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26032 | } | |
26033 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
26034 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
26035 | } | |
26036 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
26037 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
26038 | } | |
26039 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
26040 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
26041 | } | |
26042 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
26043 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
26044 | } | |
26045 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
26046 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
26047 | } | |
26048 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
26049 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
26050 | } | |
26051 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
26052 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
26053 | } | |
26054 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
26055 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
26056 | } | |
26057 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
26058 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
26059 | } | |
26060 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
26061 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
26062 | } | |
26063 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
26064 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
26065 | } | |
26066 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
26067 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
26068 | } | |
26069 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
26070 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
26071 | } | |
26072 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
26073 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
26074 | } | |
26075 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
26076 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
26077 | } | |
26078 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
26079 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
26080 | } | |
26081 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
26082 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
26083 | } | |
26084 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
26085 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
26086 | } | |
26087 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
26088 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26089 | } | |
26090 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
26091 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26092 | } | |
26093 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
26094 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26095 | } | |
26096 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
26097 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
26098 | } | |
26099 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
26100 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26101 | } | |
26102 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
26103 | return (void *)((wxObject *) ((wxImage *) x)); | |
26104 | } | |
26105 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
26106 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26107 | } | |
26108 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
26109 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
26110 | } | |
26111 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
26112 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
26113 | } | |
26114 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
26115 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26116 | } | |
26117 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
26118 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
26119 | } | |
26120 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
26121 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26122 | } | |
26123 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
26124 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26125 | } | |
26126 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
26127 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26128 | } | |
26129 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
26130 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
26131 | } | |
d14a1e28 RD |
26132 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
26133 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
26134 | } | |
26135 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
26136 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
26137 | } | |
26138 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
26139 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
26140 | } | |
1e0c8722 RD |
26141 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
26142 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26143 | } | |
d14a1e28 RD |
26144 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
26145 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
26146 | } | |
26147 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
26148 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
26149 | } | |
26150 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
26151 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
26152 | } | |
26153 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
26154 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
26155 | } | |
26156 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
26157 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26158 | } | |
26159 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
26160 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
26161 | } | |
26162 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
26163 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26164 | } | |
26165 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
26166 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26167 | } | |
26168 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
26169 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26170 | } | |
26171 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
26172 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
26173 | } | |
1cb4a8aa RD |
26174 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
26175 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26176 | } | |
d14a1e28 RD |
26177 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
26178 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
26179 | } | |
26180 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
26181 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
26182 | } | |
26183 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
26184 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26185 | } | |
26186 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
26187 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
26188 | } | |
26189 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
26190 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26191 | } | |
26192 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
26193 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26194 | } | |
26195 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
26196 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26197 | } | |
26198 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
26199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26200 | } | |
26201 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
26202 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26203 | } | |
26204 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
26205 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26206 | } | |
26207 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
26208 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
26209 | } | |
26210 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
26211 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26212 | } | |
26213 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
26214 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
26215 | } | |
26216 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
26217 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
26218 | } | |
26219 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
26220 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
26221 | } | |
26222 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
26223 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
26224 | } | |
26225 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
26226 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
26227 | } | |
26228 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
26229 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26230 | } | |
26231 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
26232 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
26233 | } | |
26234 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
26235 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26236 | } | |
26237 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
26238 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26239 | } | |
26240 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
26241 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
26242 | } | |
26243 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
26244 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
26245 | } | |
26246 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
26247 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26248 | } | |
26249 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
26250 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26251 | } | |
26252 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
26253 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
26254 | } | |
26255 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
26256 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
26257 | } | |
26258 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
26259 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
26260 | } | |
26261 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
26262 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
26263 | } | |
26264 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26265 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26266 | } | |
26267 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26268 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26269 | } | |
26270 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
26271 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26272 | } | |
26273 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
26274 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26275 | } | |
26276 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
26277 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26278 | } | |
26279 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
26280 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26281 | } | |
26282 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
26283 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
26284 | } | |
26285 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
26286 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
26287 | } | |
26288 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
26289 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
26290 | } | |
26291 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
26292 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
26293 | } | |
26294 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
26295 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
26296 | } | |
26297 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
26298 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
26299 | } | |
26300 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
26301 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
26302 | } | |
26303 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
26304 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
26305 | } | |
26306 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
26307 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
26308 | } | |
26309 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
26310 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
26311 | } | |
26312 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
26313 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
26314 | } | |
26315 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
26316 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
26317 | } | |
26318 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
26319 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
26320 | } | |
26321 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
26322 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
26323 | } | |
26324 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
26325 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
26326 | } | |
26327 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26328 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26329 | } | |
26330 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26331 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26332 | } | |
26333 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
26334 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
26335 | } | |
26336 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26337 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
26338 | } | |
26339 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
26340 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26341 | } | |
26342 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
26343 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26344 | } | |
26345 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
26346 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26347 | } | |
26348 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
26349 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
26350 | } | |
26351 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
26352 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
26353 | } | |
26354 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
26355 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26356 | } | |
26357 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
26358 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26359 | } | |
26360 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
26361 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26362 | } | |
26363 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
26364 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26365 | } | |
26366 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
26367 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26368 | } | |
26369 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
26370 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26371 | } | |
26372 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
26373 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26374 | } | |
26375 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
26376 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
26377 | } | |
26378 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
26379 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
26380 | } | |
26381 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
26382 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
26383 | } | |
26384 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
26385 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26386 | } | |
26387 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
26388 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26389 | } | |
26390 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
26391 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26392 | } | |
26393 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
26394 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
26395 | } | |
26396 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
26397 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26398 | } | |
26399 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
26400 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
26401 | } | |
26402 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
26403 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
26404 | } | |
26405 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
26406 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
26407 | } | |
26408 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
26409 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
26410 | } | |
26411 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
26412 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
26413 | } | |
1cb4a8aa RD |
26414 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
26415 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26416 | } | |
d14a1e28 RD |
26417 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
26418 | return (void *)((wxWindow *) ((wxControl *) x)); | |
26419 | } | |
26420 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
26421 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26422 | } | |
26423 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
26424 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26425 | } | |
26426 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
26427 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26428 | } | |
26429 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
26430 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
26431 | } | |
26432 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
26433 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
26434 | } | |
26435 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
26436 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26437 | } | |
26438 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
26439 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26440 | } | |
26441 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
26442 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26443 | } | |
26444 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
26445 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
26446 | } | |
26447 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
26448 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26449 | } | |
26450 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
26451 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
26452 | } | |
26453 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
26454 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26455 | } | |
26456 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
26457 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26458 | } | |
26459 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
26460 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26461 | } | |
26462 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
26463 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
26464 | } | |
26465 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
26466 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
26467 | } | |
26468 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
26469 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
26470 | } | |
26471 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
26472 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26473 | } | |
1cb4a8aa RD |
26474 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
26475 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26476 | } | |
d14a1e28 RD |
26477 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
26478 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26479 | } | |
26480 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
26481 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26482 | } | |
26483 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
26484 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
26485 | } | |
26486 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
26487 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
26488 | } | |
26489 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
26490 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
26491 | } | |
26492 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
26493 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
26494 | } | |
26495 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
26496 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
26497 | } | |
26498 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
26499 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
26500 | } | |
26501 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
26502 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26503 | } | |
26504 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
26505 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26506 | } | |
26507 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
26508 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
26509 | } | |
26510 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
26511 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
26512 | } | |
26513 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
26514 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
26515 | } | |
26516 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
26517 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
26518 | } | |
26519 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
26520 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26521 | } | |
1cb4a8aa RD |
26522 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
26523 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26524 | } | |
d14a1e28 RD |
26525 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
26526 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26527 | } | |
26528 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
26529 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26530 | } | |
26531 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
26532 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
26533 | } | |
26534 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
26535 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26536 | } | |
26537 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
26538 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
26539 | } | |
26540 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
26541 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26542 | } | |
26543 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
26544 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26545 | } | |
26546 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
26547 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
26548 | } | |
26549 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
26550 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26551 | } | |
26552 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
26553 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26554 | } | |
26555 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
26556 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26557 | } | |
26558 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
26559 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26560 | } | |
26561 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
26562 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26563 | } | |
26564 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
26565 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26566 | } | |
26567 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
26568 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26569 | } | |
26570 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
26571 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26572 | } | |
26573 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
26574 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
26575 | } | |
26576 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
26577 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26578 | } | |
15afbcd0 RD |
26579 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26580 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26581 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26582 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26583 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
09c21d3b | 26584 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26585 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26586 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26587 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26588 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26589 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26590 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26591 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26592 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26593 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26594 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26595 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26596 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26597 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26598 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26599 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
22bfe96c | 26600 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26601 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26602 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26603 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26604 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26605 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26606 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26607 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26608 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26609 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26610 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26611 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26612 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26613 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26614 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa | 26615 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26616 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26617 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26618 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26619 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26620 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26621 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26622 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26623 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26624 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26625 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26626 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26627 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26628 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa | 26629 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 | 26630 | static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
1cb4a8aa | 26631 | static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26632 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26633 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26634 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26635 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26636 | static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26637 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26638 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26639 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26640 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa RD |
26641 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26642 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15afbcd0 RD |
26643 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26644 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26645 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26646 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26647 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26648 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26649 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26650 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26651 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26652 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
1cb4a8aa | 26653 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26654 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26655 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
7fdaaabe | 26656 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
26657 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
26658 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26659 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26660 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26661 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26662 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26663 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
26664 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d14a1e28 RD |
26665 | |
26666 | static swig_type_info *swig_types_initial[] = { | |
26667 | _swigt__p_wxQueryLayoutInfoEvent, | |
26668 | _swigt__p_wxPreviewFrame, | |
26669 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
26670 | _swigt__p_wxPyPanel, |
26671 | _swigt__p_wxMenu, | |
09c21d3b | 26672 | _swigt__p_wxPrintData, |
d14a1e28 RD |
26673 | _swigt__p_wxFontData, |
26674 | _swigt__p_wxEvent, | |
26675 | _swigt__p_wxTaskBarIcon, | |
26676 | _swigt__p_wxIconBundle, | |
26677 | _swigt__p_wxLayoutAlgorithm, | |
26678 | _swigt__p_wxFindDialogEvent, | |
26679 | _swigt__p_wxPreviewCanvas, | |
26680 | _swigt__p_wxFont, | |
26681 | _swigt__p_wxSplitterEvent, | |
26682 | _swigt__p_wxRegion, | |
26683 | _swigt__p_wxFindReplaceData, | |
26684 | _swigt__p_int, | |
26685 | _swigt__p_wxSize, | |
26686 | _swigt__p_wxDC, | |
26687 | _swigt__p_wxIcon, | |
22bfe96c | 26688 | _swigt__p_wxVisualAttributes, |
d14a1e28 RD |
26689 | _swigt__p_wxMDIChildFrame, |
26690 | _swigt__p_wxColourData, | |
26691 | _swigt__p_wxNotifyEvent, | |
26692 | _swigt__p_wxPyWindow, | |
26693 | _swigt__p_wxSplashScreen, | |
26694 | _swigt__p_wxFindReplaceDialog, | |
26695 | _swigt__p_wxProgressDialog, | |
26696 | _swigt__p_wxMessageDialog, | |
26697 | _swigt__p_wxTextEntryDialog, | |
26698 | _swigt__p_wxSingleChoiceDialog, | |
26699 | _swigt__p_wxMultiChoiceDialog, | |
26700 | _swigt__p_wxFileDialog, | |
26701 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
26702 | _swigt__p_wxArrayInt, |
26703 | _swigt__p_wxEvtHandler, | |
26704 | _swigt__p_wxCalculateLayoutEvent, | |
26705 | _swigt__p_wxPyHtmlListBox, | |
26706 | _swigt__p_wxPyVListBox, | |
26707 | _swigt__p_wxRect, | |
994141e6 | 26708 | _swigt__p_char, |
d14a1e28 RD |
26709 | _swigt__p_wxMiniFrame, |
26710 | _swigt__p_wxFrame, | |
26711 | _swigt__p_wxPyPrintout, | |
26712 | _swigt__p_wxTaskBarIconEvent, | |
26713 | _swigt__p_wxScrollWinEvent, | |
26714 | _swigt__p_wxStatusBar, | |
26715 | _swigt__p_wxMDIParentFrame, | |
26716 | _swigt__p_wxPoint, | |
26717 | _swigt__p_wxObject, | |
db914595 | 26718 | _swigt__p_wxOutputStream, |
1cb4a8aa | 26719 | _swigt__p_wxPyScrolledWindow, |
d14a1e28 RD |
26720 | _swigt__p_wxMDIClientWindow, |
26721 | _swigt__p_wxTipWindow, | |
26722 | _swigt__p_wxSashLayoutWindow, | |
26723 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
26724 | _swigt__p_wxPyVScrolledWindow, |
26725 | _swigt__p_wxPyPopupTransientWindow, | |
26726 | _swigt__p_wxPopupWindow, | |
26727 | _swigt__p_wxSashWindow, | |
26728 | _swigt__p_wxTopLevelWindow, | |
26729 | _swigt__p_wxWindow, | |
26730 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 26731 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
26732 | _swigt__p_wxMenuBar, |
26733 | _swigt__p_wxPrintPreview, | |
26734 | _swigt__p_wxSashEvent, | |
26735 | _swigt__p_wxString, | |
26736 | _swigt__p_wxPyPrintPreview, | |
26737 | _swigt__p_wxFontDialog, | |
26738 | _swigt__p_wxDirDialog, | |
26739 | _swigt__p_wxColourDialog, | |
26740 | _swigt__p_wxDialog, | |
26741 | _swigt__p_wxPanel, | |
db914595 | 26742 | _swigt__p_wxPageSetupDialog, |
d14a1e28 | 26743 | _swigt__p_wxPrintDialog, |
7fdaaabe | 26744 | _swigt__p_wxFileSystem, |
d14a1e28 RD |
26745 | _swigt__p_wxBitmap, |
26746 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
26747 | _swigt__p_wxPreviewControlBar, |
26748 | _swigt__p_wxPyPreviewControlBar, | |
26749 | _swigt__p_wxColour, | |
26750 | _swigt__p_wxToolBar, | |
b2dc1044 | 26751 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 26752 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
26753 | 0 |
26754 | }; | |
26755 | ||
26756 | ||
26757 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
26758 | ||
26759 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
26760 | {0}}; |
26761 | ||
26762 | #ifdef __cplusplus | |
26763 | } | |
26764 | #endif | |
26765 | ||
26766 | #ifdef __cplusplus | |
26767 | extern "C" | |
26768 | #endif | |
26769 | SWIGEXPORT(void) SWIG_init(void) { | |
26770 | static PyObject *SWIG_globals = 0; | |
26771 | static int typeinit = 0; | |
26772 | PyObject *m, *d; | |
26773 | int i; | |
26774 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
26775 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
26776 | d = PyModule_GetDict(m); | |
26777 | ||
26778 | if (!typeinit) { | |
26779 | for (i = 0; swig_types_initial[i]; i++) { | |
26780 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
26781 | } | |
26782 | typeinit = 1; | |
26783 | } | |
26784 | SWIG_InstallConstants(d,swig_const_table); | |
26785 | ||
b2dc1044 RD |
26786 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
26787 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
26788 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
26789 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
26790 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
b2df227b RD |
26791 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP)); |
26792 | PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE)); | |
26793 | PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE)); | |
26794 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE)); | |
26795 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX)); | |
26796 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME)); | |
26797 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU)); | |
26798 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX)); | |
26799 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX)); | |
26800 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ)); | |
26801 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT)); | |
26802 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX)); | |
26803 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER)); | |
26804 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT)); | |
26805 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE)); | |
26806 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE)); | |
26807 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW)); | |
26808 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT)); | |
26809 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU)); | |
26810 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR)); | |
26811 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED)); | |
a95a7133 RD |
26812 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL)); |
26813 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS)); | |
26814 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS)); | |
26815 | PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D)); | |
15afbcd0 RD |
26816 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
26817 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
26818 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
26819 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
26820 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
26821 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
26822 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
26823 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
26824 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
26825 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
26826 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
26827 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 26828 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
15afbcd0 RD |
26829 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
26830 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
26831 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
26832 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
26833 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
26834 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
4276dc52 | 26835 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
15afbcd0 RD |
26836 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
26837 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
26838 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
26839 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
26840 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
26841 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
26842 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
26843 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
26844 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
26845 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
26846 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
26847 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
26848 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
15afbcd0 RD |
26849 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
26850 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
26851 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
26852 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
26853 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
26854 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
26855 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
26856 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
26857 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
26858 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
26859 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
26860 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
26861 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
26862 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
26863 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 26864 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
15afbcd0 RD |
26865 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
26866 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
26867 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
26868 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
26869 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
26870 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
26871 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
26872 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
26873 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
26874 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
26875 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
26876 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
26877 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 26878 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
26879 | |
26880 | // Map renamed classes back to their common name for OOR | |
26881 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
26882 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
26883 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
26884 | ||
26885 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
26886 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
26887 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
26888 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
26889 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
26890 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
26891 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
26892 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
26893 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
26894 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
26895 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
26896 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
26897 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
15afbcd0 RD |
26898 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
26899 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
26900 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
26901 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
26902 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
26903 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
26904 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
26905 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
26906 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
26907 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
26908 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
26909 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
26910 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
15afbcd0 RD |
26911 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
26912 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
26913 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
26914 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
26915 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
26916 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
26917 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
26918 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
b2dc1044 RD |
26919 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
26920 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
15afbcd0 RD |
26921 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
26922 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
26923 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
26924 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
26925 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
26926 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
26927 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
26928 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
26929 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
26930 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
26931 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
26932 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
26933 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
26934 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
26935 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
26936 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
26937 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
26938 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
26939 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
26940 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
26941 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
26942 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
26943 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
26944 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
26945 | |
26946 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
26947 | ||
26948 | } | |
26949 |